47 Commits

Author SHA1 Message Date
twinaphex
4522fbb6af (D3D) Create macro D3DTexture_Blit 2014-06-09 01:07:43 +02:00
twinaphex
327b05d760 (D3D) Cleanup SetTexture 2014-06-08 04:35:58 +02:00
twinaphex
bf4dbede7a (XDK) Change DrawVerticeFormat to Vertex 2014-06-08 04:20:49 +02:00
twinaphex
6c50de497f (D3D) Go through macro for SetStreamSource 2014-06-08 04:05:55 +02:00
twinaphex
c4989fbf6b (D3D) Renderchain_clear_texture can go into blit_texture
function now
2014-06-08 03:02:02 +02:00
twinaphex
dbbc764529 (D3D) Go through macro for D3DDevice_CreateVertexBuffer 2014-06-08 02:45:07 +02:00
twinaphex
5d8e4cb358 (D3D) D3DTexture LockRect clear - turned into macro for
both PC D3D and XDK D3D
2014-06-07 07:29:40 +02:00
twinaphex
346a341cf8 (D3D) Go through macros for D3DDevice member functions - will
be needed for XDK compatibility later on
2014-06-07 07:03:36 +02:00
twinaphex
6e333c966c (Xbox/D3D) Make two drivers more alike 2014-05-29 17:35:24 +02:00
Themaister
ca2715841b Fix Win32 build. 2014-05-26 18:52:35 +02:00
twinaphex
8714939ab7 (D3D) Start implementing Xbox code in regular D3D driver 2014-03-07 21:55:18 +01:00
twinaphex
e639c6042e (D3D Refactor render_chain.cpp - shouldn't be a class 2014-03-07 19:13:20 +01:00
twinaphex
8a670dd2c8 (PC D3D9) Go through d3dr pointer 2014-03-05 05:25:27 +01:00
twinaphex
61893a82e8 (D3D9) Move more Cg functions to render_chain_cg.cg 2014-03-05 01:54:09 +01:00
twinaphex
dfe33b5ade (Cg) Move bind_tracker and init_fvf to render_chain_cg.h 2014-03-04 18:42:22 +01:00
twinaphex
35d6ec7a1d (D3D9) Move more Cg code to render_chain_cg.h 2014-03-04 18:31:38 +01:00
twinaphex
e9fb97254b (D3D9) Start isolating all Cg code and move it to render_chain_cg.h 2014-03-04 18:24:47 +01:00
twinaphex
16af303c9e (D3D9) Refactor render_chain.cpp - isolate Cg code 2014-03-04 18:19:47 +01:00
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