29 Commits

Author SHA1 Message Date
twinaphex
7c1f24c861 (D3D) set_resize function bound to D3D context driver 2014-01-18 21:13:08 +01:00
twinaphex
ff3a157a9d (D3D) Ifdefs for HAVE_CG (and miscellaneous) 2014-01-15 19:00:46 +01:00
Themaister
c4978651fa Properly replace template.
Avoid having to assume a magic variable is present in scope.
2014-01-15 17:24:24 +01:00
twinaphex
73b23f7002 (MSVC) Fix warnings 2014-01-15 17:05:08 +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
0a15a17d44 Update years on all license headers 2014-01-01 01:50:59 +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
d4850b3cd4 (D3D) Split up D3DVideo-specific code to separate file 2013-12-31 23:20:37 +01:00
twinaphex
44ff5afcc2 (D3D) Start brining D3D9 and XDK D3D drivers together 2013-12-31 21:24:17 +01:00
Themaister
ff75660c45 Clear out FBO targets correctly. 2013-04-21 15:39:14 +02:00
Themaister
37acbc4b7a Fix overlay rotation bug in D3D9. 2013-04-21 15:14:49 +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
e95a15d4ed CGP fixes in D3D9. 2013-04-21 11:18:55 +02:00
Themaister
2b0697205d Set LUT uniforms for vertex shader as well. 2013-04-16 14:27:24 +02:00
Themaister
0c0a9b4ddb Fix Win32 build. 2013-04-07 02:02:41 +02:00
OV2
20d1fba464 win32: use shader_parse for d3d 2013-04-07 01:14:05 +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
a00858a6be win32: use color in d3d stock shader, pass valid color values 2013-03-29 11:46:56 +01:00
Themaister
0b4cf2d053 Update license headers to 2013. 2013-01-01 01:41:15 +01:00
OV2
681241deb5 win32: fall back to software vertex processing if d3d9 init fails 2012-12-18 21:21:13 +01:00
Themaister
b1ea2dcc1e Log vertex/frag profiles used in Cg. 2012-11-18 23:51:38 +01:00
OV2
54d39dff74 win32: make d3d9 compile in msvc, add linker pragmas to source files 2012-11-14 21:07:06 +01: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