118 Commits

Author SHA1 Message Date
Themaister
a287ea6c6e Remove debug check. 2014-01-01 17:01:33 +01:00
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
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
d4850b3cd4 (D3D) Split up D3DVideo-specific code to separate file 2013-12-31 23:20:37 +01:00
twinaphex
aa5a74ed7f (MSVC) Build fixes to D3D9 driver 2013-12-31 21:52:15 +01:00
twinaphex
44ff5afcc2 (D3D) Start brining D3D9 and XDK D3D drivers together 2013-12-31 21:24:17 +01:00
Themaister
132c3c46f7 Use struct texture_image instead of video_overlay_image. 2013-12-31 19:05:16 +01:00
twinaphex
bb82c76a4c (D3D9) Fix up D3D driver - use RARC_PERFORMANCE macros 2013-12-22 17:41:08 +01:00
twinaphex
9852c5dc4c Rewrite perf interface - exposes callbacks now for RETRO_PERFORMANCE_INIT/RETRO_PERFORMANCE_START/RETRO_PERFORMANCE_STOP calls without messy, hardcoded preprocessor-dependent variables in macros - will update cores accordingly too 2013-12-18 19:03:08 +01:00
twinaphex
69a67b3df2 Change RARCH_PERFORMANCE_ macro calls to RETRO_PERFORMANCE 2013-12-17 19:14:57 +01:00
Themaister
deadbbc906 Add keyboard callback for Windows.
Only tested in Wine, but seems to work fine.
2013-12-09 14:22:46 +01:00
twinaphex
f8c37fc933 (Menu) Simplify menu preprocessor conditionals - there is now
one common catch-all define called HAVE_MENU
2013-11-08 04:36:47 +01:00
OV2
46345b0ddd win32: add win8 pointer support 2013-11-05 21:23:32 +01:00
ToadKing
375c3c6806 fix compile for SDL and DirectX video 2013-11-01 21:13:19 -04:00
Themaister
332dc3f38b Fixup overlay interface for D3D9. 2013-10-21 13:32:05 +02:00
twinaphex
849cfb680e Saves 'Show Framerate' setting to config file now too 2013-10-11 01:19:54 +02:00
Themaister
fee10d3d76 Fix OSX/Windows build. 2013-10-08 22:49:50 +02:00
twinaphex
c0c6ecc6cb Rewrite gfx_get_fps - now outputs proper string for FPS output 2013-10-07 20:17:07 +02:00
Themaister
178dc692c7 Do proper rounding in set_viewport.
Avoids edge cases where viewport sizes are miscalculated with -1 pixel
due to rounding errors.
2013-09-12 22:23:56 +02:00
Themaister
b2bf3c12de Add swap_interval support.
Again, mostly useful for 120Hz monitors, and/or playing content which is
a fraction of monitor refresh rate.
2013-09-01 13:20:10 +02:00
Themaister
62c34c7871 Add black_frame_insertion support for 120 Hz monitors. 2013-08-30 09:35:13 +02:00
Themaister
02264f4d56 Fix Win32 derp. 2013-06-05 22:00:38 +02:00
Themaister
321ffcbca6 Calculate 1:1 PAR from right dimensions.
Frame cache can be stale or have awkward dimensions which
don't really reflect 1:1 PAR semantics.
2013-06-05 21:29:52 +02:00
Themaister
1521113e8f Build fixes. 2013-04-25 00:03:02 +02:00
Themaister
ff75660c45 Clear out FBO targets correctly. 2013-04-21 15:39:14 +02:00
Themaister
e696f1b18f Clear out backbuffer correctly. 2013-04-21 15:29:44 +02:00
Themaister
37acbc4b7a Fix overlay rotation bug in D3D9. 2013-04-21 15:14:49 +02:00
Themaister
54bf4f68a8 Fix single pass in D3D9. 2013-04-21 14:14:43 +02:00
Themaister
dd351c9483 Always clear out backbuffer fully. 2013-04-21 14:09:48 +02:00
Themaister
8bb4cbae46 Avoid complete reinit on apply_state_changes.
Clean up multi-pass logic a bit in D3D9.
2013-04-21 14:04:16 +02:00
Themaister
068beedf3c Verify that RGUI texture is non-zero.
If we're converting, just use ARGB8888 in d3d9.
2013-04-21 12:07:57 +02:00
Themaister
c7471ac133 Fix D3D9 viewport when X/Y is < 0. 2013-04-21 11:21:53 +02:00
Themaister
53b7d43b67 Rework to D3D9 aspect ratio handling. 2013-04-21 11:21:07 +02:00
Themaister
e95a15d4ed CGP fixes in D3D9. 2013-04-21 11:18:55 +02:00