Commit Graph

50 Commits

Author SHA1 Message Date
OV2
2b1082df63 derp 2013-04-04 21:23:00 +02:00
OV2
7924e06732 win32: respect last float_framebuffer if applicable 2013-04-04 21:15:35 +02:00
OV2
d1b384ccaf win32: d3d9 float_fbo fix 2013-04-04 01:01:06 +02:00
OV2
0c3b1a7514 style 2013-03-30 14:37:29 +01:00
OV2
144fb0de43 win32: set stock shaders after last pass, destroy cg programs on deinit 2013-03-30 14:20:40 +01:00
OV2
c9f4db8dcc win32: add float_framebuffer and frame_count_mod to d3d9 2013-03-30 14:20:34 +01:00
OV2
88d457baab win32: style, remove left over opacity shader 2013-03-29 15:36:48 +01:00
OV2
29fa71b664 style 2013-03-29 11:50:05 +01:00
OV2
34b2a3b210 win32: use stock shader and color for overlay opacity 2013-03-29 11:48:33 +01:00
OV2
a00858a6be win32: use color in d3d stock shader, pass valid color values 2013-03-29 11:46:56 +01:00
OV2
f250cc14ab style 2013-03-28 15:33:50 +01:00
OV2
15f6026c86 win32: fix compile without HAVE_OVERLAY 2013-03-28 14:55:42 +01:00
OV2
66b4b45f5c win32: add opacity shader to overlay 2013-03-28 14:30:39 +01:00
OV2
b782ec2d33 win32: specify vertex declaration for overlay 2013-03-28 14:30:39 +01:00
OV2
a61afbde52 win32: add overlay to d3d9 2013-03-28 14:30:32 +01:00
Themaister
714a4aa3f7 Fix build for drivers. 2013-03-24 02:24:53 +01:00
Themaister
51b5a2df5c Refactor aspect_ratio member.
Mutate in g_extern.system.aspect_ratio to avoid
getting wrong aspect ratio on reentrancy.
2013-03-17 22:05:15 +01:00
Themaister
0c6e456e65 Merge branch 'master' into thread_video 2013-02-17 15:49:58 +01:00
Themaister
0dcf6791a4 Add integer scale to PC D3D9. 2013-02-17 15:43:31 +01:00
Themaister
843d079002 Begin adding threaded video driver wrapper. 2013-02-16 02:48:08 +01:00
Themaister
312980ee30 Add support for full-screen overlays. 2013-01-11 16:23:04 +01:00
Themaister
e12f805708 Fix build for D3D9. 2013-01-08 04:08:15 +01:00
Themaister
0b4cf2d053 Update license headers to 2013. 2013-01-01 01:41:15 +01:00
Themaister
a47860b230 Clarify intent of cg_shader init. 2012-12-19 21:33:59 +01:00
Themaister
71f2754e91 Revert "Move shader path init to init_cg()."
This reverts commit e0faf0cc47.
2012-12-19 21:33:10 +01:00
Themaister
e0faf0cc47 Move shader path init to init_cg(). 2012-12-19 21:30:23 +01:00
OV2
c9c0936fd5 win32: fix initial multipass cg shader loading in d3d9 2012-12-19 21:16:26 +01:00
OV2
681241deb5 win32: fall back to software vertex processing if d3d9 init fails 2012-12-18 21:21:13 +01:00
twinaphex
799a9c35fb gfx_common.c - make gfx_get_fps into the main public function -
and remove the two public wrapper functions
2012-12-15 07:03:33 +01:00
Themaister
ce47241697 Add perf test to d3d_read_viewport. 2012-11-20 18:06:52 +01:00
Themaister
18551b58e7 Report failed HRESULT in D3D init. 2012-11-20 00:06:51 +01:00
Themaister
b1ea2dcc1e Log vertex/frag profiles used in Cg. 2012-11-18 23:51:38 +01:00
Themaister
5a5983a656 Fix build for VC10. 2012-11-14 22:57:49 +01:00
Themaister
02e1a2b402 Only declare "deleted" constructors. 2012-11-14 22:09:49 +01:00
OV2
54d39dff74 win32: make d3d9 compile in msvc, add linker pragmas to source files 2012-11-14 21:07:06 +01:00
Twinaphex512
3005adffc3 (D3D driver) Add HAVE_CG defines 2012-11-14 01:13:08 +01:00
Themaister
ca44dee735 Fix crash on frame dupes in D3D9. 2012-11-10 13:57:21 +01:00
Themaister
18f704988d Add perf counter to d3d frame. 2012-11-04 00:14:43 +01:00
Themaister
266d1984ee Fix crash on going fullscreen in D3D9.
Fixes crash when going from minimized to (true) fullscreen.
Adds some more robustness by potentially recreating the whole driver if
::Reset calls fail.
2012-10-31 17:32:48 +01:00
Themaister
291280670d Set shaders on the fly. 2012-10-31 16:28:44 +01:00
Themaister
f3831a5558 Fix second pass D3D9. 2012-10-31 16:28:44 +01:00
Themaister
3f359cc362 Add support for second pass D3D9 Cg (untested). 2012-10-31 01:12:18 +01:00
Themaister
b8abbf8131 Style nits. 2012-10-31 00:40:02 +01:00
OV2
17b747d912 win32: fix for "current monitor" setting 2012-10-31 00:07:13 +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
babec2f98a Win32 build fix. 2012-10-28 00:41:24 +02: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
c0323a5677 Use Rarch state tracker. 2012-10-27 12:20:52 +02:00
Themaister
e53dd431b4 Begin merging D3D9 driver. 2012-10-26 22:18:26 +02:00