Commit Graph

40 Commits

Author SHA1 Message Date
twinaphex fd76a28a32 (D3D) Refactor D3DVideo class to d3d_video_t - should be very
similar to XDK D3D driver now
2014-03-07 19:34:17 +01:00
twinaphex e639c6042e (D3D Refactor render_chain.cpp - shouldn't be a class 2014-03-07 19:13:20 +01:00
twinaphex 7cbfb14791 (D3D9 PC) Go through font context driver now 2014-01-18 21:51:30 +01:00
twinaphex ab9d4440db (D3D) Create graphics context driver for D3D and move
state code over to it
2014-01-18 18:43:40 +01:00
twinaphex b34a21be83 (D3D9) quit variable must be static 2014-01-09 22:25:50 +01:00
twinaphex 5752bb1b9c (D3D) Move implementation-specific functions to d3d9_pc.cpp 2014-01-09 21:27:53 +01:00
twinaphex 7cd149c3c6 (D3D) Build fix 2014-01-09 20:06:39 +01:00
twinaphex 51eb1d9e52 (D3D) Compatibility with Xbox 1 - WIP 2014-01-09 20:04:18 +01:00
twinaphex c32fc07b3f (D3D) Turned D3DVideo class into struct 2014-01-09 19:43:45 +01:00
twinaphex eae35b9a50 (D3D) Move more functions out of D3DVideo class 2014-01-09 19:05:31 +01:00
twinaphex e48b7e7d8a (D3D) Refactor D3D driver 2014-01-09 18:44:25 +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 a6df90ff71 (D3D) Move more defines/header includes to d3d_defines.h 2014-01-01 03:15:48 +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 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 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 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 d4850b3cd4 (D3D) Split up D3DVideo-specific code to separate file 2013-12-31 23:20:37 +01:00
Themaister 132c3c46f7 Use struct texture_image instead of video_overlay_image. 2013-12-31 19:05:16 +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
Themaister 332dc3f38b Fixup overlay interface for D3D9. 2013-10-21 13:32:05 +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 53b7d43b67 Rework to D3D9 aspect ratio handling. 2013-04-21 11:21:07 +02:00
OV2 41336a506f win32: respect rgui fullscreen param in d3d 2013-04-13 17:10:49 +02:00
twinaphex 1171b7576a Get rid of set_blend callback - the rgui draw texture function is
now in charge of making sure texture is properly blended - note
to OV2/maister - test if this breaks D3D9 PC driver and if so
fix accordingly
2013-04-11 13:13:37 +02:00
OV2 549fe7f5b8 win32: add preliminary rgui support to d3d 2013-04-07 19:45:02 +02:00
OV2 20d1fba464 win32: use shader_parse for d3d 2013-04-07 01:14:05 +02:00
OV2 34b2a3b210 win32: use stock shader and color for overlay opacity 2013-03-29 11:48:33 +01:00
OV2 66b4b45f5c win32: add opacity shader to overlay 2013-03-28 14:30:39 +01:00
OV2 a61afbde52 win32: add overlay to d3d9 2013-03-28 14:30:32 +01:00
Twinaphex512 3005adffc3 (D3D driver) Add HAVE_CG defines 2012-11-14 01:13:08 +01:00
Themaister 291280670d Set shaders on the fly. 2012-10-31 16:28:44 +01:00
OV2 69193e8b65 win32: regular fullscreen with multimon support, window resizing 2012-10-31 00:03:57 +01:00
Themaister 85b6437fdf Add multi-monitor to D3D9.
Untested as I don't have multiple monitors.
Refactored slightly in WGL to make the code more uniform.
The multi-monitor support should probably be refactored to w32_common or
something similar.
2012-10-30 11:49:40 +01:00
Themaister 1908a81e1c Add RETRO_DEVICE_POINTER.
Implemented only for X11 so far.

Also clears up viewport_size call.
Changed to viewport_info to also grab X/Y info.
2012-10-28 00:38:31 +02:00
Themaister e53dd431b4 Begin merging D3D9 driver. 2012-10-26 22:18:26 +02:00