Commit Graph

27 Commits

Author SHA1 Message Date
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