73 Commits

Author SHA1 Message Date
twinaphex
f3cd7f8fe4 (D3D) Create d3d_vertex_buffer_lock 2014-09-13 19:33:06 +02:00
twinaphex
978cc49563 (D3D) Build fix 2014-09-13 18:37:31 +02:00
twinaphex
82e7112f41 (D3D) Use d3d_texture_new 2014-09-13 18:36:35 +02:00
twinaphex
ea1c220ea5 (D3D) Build fix 2014-09-13 18:26:43 +02:00
twinaphex
27ea47ee6d (D3D) Rewrite renderchain_add_lut 2014-09-13 18:25:31 +02:00
twinaphex
6f05da2208 (D3D) Cleanups - only go through d3d_vertex_buffer_new 2014-09-13 18:22:56 +02:00
twinaphex
633c05d677 (D3D) Start going through d3d_texture_free/d3d_vertex_buffer_free 2014-09-13 18:17:34 +02:00
twinaphex
c4b35fb00d (D3D) Rewrite create_vertex_buffer wrapper function 2014-09-13 17:56:33 +02:00
twinaphex
0de251079a (D3D) Pass 'Pass' and 'LinkInfo' by pointer instead of reference 2014-09-13 17:33:58 +02:00
twinaphex
8572e3bc6e (D3D) Some fixes to render_chain.cpp and d3d_wrapper.c 2014-09-13 05:45:49 +02:00
twinaphex
c1118dc12a (D3D) Build fixes for lock_rectangle_clear wrapper function 2014-09-12 21:29:18 +02:00
twinaphex
f778d36272 (D3D) Use d3d_lockrectangle_clear wrapper function 2014-09-12 21:15:49 +02:00
twinaphex
5c8cab7e4f (D3D) Build fix - make d3d_texture_blit wrapper function work 2014-09-12 20:21:56 +02:00
twinaphex
fa0261c1d6 (D3D) Get rid of Texture Blit macros 2014-09-12 20:13:53 +02:00
twinaphex
da088073ec (D3D) Create wrapper for SetVertexShader 2014-09-12 19:42:46 +02:00
twinaphex
402388e369 (D3D) Create wrapper function d3d_set_texture 2014-09-12 19:19:11 +02:00
twinaphex
b65e16254c (D3D) Go through wrapper for SetViewport 2014-09-12 18:01:32 +02:00
twinaphex
b0b1a4c692 (D3D) Go through wrapper for MinFilter/MagFilter 2014-09-12 17:22:46 +02:00
twinaphex
35893e96ea (D3D) Go through more wrapper functions 2014-09-12 17:17:28 +02:00
twinaphex
5e8fd1cf03 (D3D) Nit 2014-09-12 16:22:02 +02:00
twinaphex
05c7d4e573 (D3D/MSVC) Build fix and include d3d_wrapper.c for MSVC build 2014-09-12 08:02:50 +02:00
twinaphex
127441e0c6 (D3D) Start using D3D wrapper functions 2014-09-12 07:49:25 +02:00
twinaphex
2568f1f2e0 (D3D) Build fixes 2014-09-11 19:28:14 +02:00
twinaphex
b376edd0ed (D3D) Indenting style nits 2014-09-08 20:08:49 +02:00
twinaphex
27a60f1d5d Refactor Soft Filter menu option for Wii/Xbox 1 2014-08-31 03:38:21 +02:00
Twinaphex
0b7fe7c9df (MSVC D3D9) Change gfx enum filter type to unsigned 2014-08-19 21:22:39 +02:00
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