Commit Graph

9227 Commits

Author SHA1 Message Date
Themaister
f64b670d9a Don't use std::shared_ptr for state tracker. 2014-01-01 16:59:19 +01:00
Themaister
b618306995 Big D3D9 cleanup.
Use bool for return instead of int (many bugs because of that ...).
Remove all use of exceptions, use delayed constructors (due to no
exceptions ...). Drop use of unique_ptr in D3D9 (not really needed).
2014-01-01 16:53:15 +01:00
twinaphex
2158076bd7 (D3D9) Add <algorithm> header include 2014-01-01 16:04:31 +01:00
twinaphex
e38a1096f0 Rename D3D9 in logs to D3D where appropriate (ie. D3D Cg can stay D3D9) 2014-01-01 03:19:57 +01:00
twinaphex
a6df90ff71 (D3D) Move more defines/header includes to d3d_defines.h 2014-01-01 03:15:48 +01:00
twinaphex
d4a9cc3d8c (D3D) Shouldn't need ifdef __cplusplus - extern "C" anymore 2014-01-01 02:58:19 +01:00
twinaphex
22d282c649 (D3D) Should fix Mingw compilation 2014-01-01 02:38:09 +01:00
twinaphex
babba85aff Bump up version number 2014-01-01 01:52:07 +01:00
twinaphex
0a15a17d44 Update years on all license headers 2014-01-01 01:50:59 +01:00
twinaphex
17af6a0465 (D3D) Rename video_d3d9 to video_d3d 2014-01-01 01:09:31 +01:00
twinaphex
115f706f24 (D3D) Split up version-agnostic defines into separate header file - will be
fleshed out later for D3D8, D3D9, etc.
2014-01-01 00:58:21 +01:00
twinaphex
4b0e56a52e (D3D) Use memcmp instead of std::memset 2014-01-01 00:50:26 +01:00
twinaphex
88a0b45ad5 (D3D) Use version-agnostic defines 2014-01-01 00:49:00 +01:00
twinaphex
772383effc (D3D) Use defines to hide away D3D version-specific types 2014-01-01 00:27:55 +01:00
twinaphex
88194bcdae (D3D) Build fix 2014-01-01 00:01:20 +01:00
twinaphex
538bf3b49a (D3D) Cleanups 2014-01-01 00:00:01 +01:00
twinaphex
06becc939e (D3D) Get rid of most throws and exception catching 2013-12-31 23:49:45 +01:00
twinaphex
dc734aea55 (D3D9) Get rid of C++ memory header include 2013-12-31 23:26:12 +01:00
twinaphex
2d651bbc1d (D3D9) Get rid of unneeded headers 2013-12-31 23:23:02 +01:00
twinaphex
fe354b5616 Add new D3D file to Makefile.win too 2013-12-31 23:21:53 +01:00
twinaphex
d4850b3cd4 (D3D) Split up D3DVideo-specific code to separate file 2013-12-31 23:20:37 +01:00
Themaister
e5bedc343a At least use long for return type of read_file().
int is not acceptable as a return type for anything regarding sizes.
long is dubious as well, but better (64-bit on sane ABIs and the return
type of ftell()).
2013-12-31 22:54:11 +01:00
Themaister
a91c416720 Fix licence header in file_path.h. 2013-12-31 22:37:47 +01:00
twinaphex
10915f2093 (MSVC) Rearrange files in project solution 2013-12-31 22:24:26 +01:00
twinaphex
4fa7580dea (MSVC) Builds again 2013-12-31 22:10:58 +01:00
twinaphex
c5cbec6fdc Build fix - don't include msvc_compat.h reference in file_path.h -
instead just change return type for file_read to int
2013-12-31 21:55:09 +01:00
twinaphex
aa5a74ed7f (MSVC) Build fixes to D3D9 driver 2013-12-31 21:52:15 +01:00
twinaphex
5e163045be (MSVC) Downgrade solution to MSVC 2010 - fix some issues 2013-12-31 21:40:49 +01:00
twinaphex
44ff5afcc2 (D3D) Start brining D3D9 and XDK D3D drivers together 2013-12-31 21:24:17 +01:00
twinaphex
f0840a948f (XDK1) Compile in HAVE_OVERLAY - will need to be hooked up
in xdk_d3d driver
2013-12-31 20:56:17 +01:00
twinaphex
0e54989a61 (XDK1) RMenu build fix 2013-12-31 20:50:24 +01:00
Themaister
0d3428ad15 Add texture_image_free().
Cleans up deinit code for textures.
2013-12-31 19:16:29 +01:00
Themaister
132c3c46f7 Use struct texture_image instead of video_overlay_image. 2013-12-31 19:05:16 +01:00
Themaister
43f42b6439 Use correct size with calloc. 2013-12-31 18:55:15 +01:00
Themaister
0e47ad02fe Saturate analogs based on range and not range mod. 2013-12-31 18:42:49 +01:00
Twinaphex
822e48bae7 Merge pull request #454 from libretro/movable-overlay
Movable overlay
2013-12-31 08:44:22 -08:00
Themaister
b8c1c71066 Add analog for example overlay. 2013-12-31 17:16:19 +01:00
Themaister
e164457c02 Add support for movable overlay elements.
Very useful for visual feedback of analog controls.
2013-12-31 17:15:28 +01:00
meancoot
9cbf7ed62a (iOS) Don’t crash when closing an action sheet created by the RunActionSheet function. 2013-12-30 18:21:24 -05:00
twinaphex
c71a688d18 (ARM NEON ASM) Ifdef sinc_neon.S / utils_neon.S with __ARM_NEON__
and/or HAVE_NEON
2013-12-30 20:22:31 +01:00
twinaphex
4433b86546 (iOS) ARM NEON support should now be built in for targets supporting
__ARM_NEON__
2013-12-30 18:44:11 +01:00
twinaphex
c80e4c4315 (iOS) Linker requires that ASM function names are prefixed with '_' -
verified it still builds on Android
2013-12-30 17:53:13 +01:00
twinaphex
255c3dcbd4 (iOS) Add IOS_IS_VERSION_6_OR_LOWER() macro 2013-12-30 17:35:18 +01:00
twinaphex
4acd75155f (iOS) Fix/refactor iOS major version detection 2013-12-30 17:31:16 +01:00
twinaphex
65ed3ab052 (iOS) Fix iOS 7 detection for new gamepad interface 2013-12-30 17:20:13 +01:00
twinaphex
ac70e929be (Apple) Style nits - early return instead of encapsulating
entire function into one big int block - make a function out of
iOS 7 version detection - might need to be hosed outside of apple_gamecontroller.m someday
2013-12-30 17:17:35 +01:00
Themaister
2ace9a81a8 Comment arm_enable_runfast_mode(). 2013-12-30 10:20:16 +01:00
Twinaphex
6180f3c15a Merge pull request #453 from hizzlekizzle/master
changed psx-black to dual-shock and added analog thumbsticks
2013-12-29 22:59:57 -08:00
twinaphex
e80e63788e (ARM) (NEON) Enable ARM runfast mode - see http://infocenter.arm.com/help/topic/com.arm.doc.ddi0274h/Chdiihcd.html - found this inside the code for Mupen64
(glN64 ES2 driver)
2013-12-30 07:58:18 +01:00
hunterk
6cfc3a4381 changed psx-black to dual-shock and added analog thumbsticks 2013-12-29 21:23:35 -06:00