165 Commits

Author SHA1 Message Date
twinaphex
68593e39ea (D3D9) Replace menu_iterate_xui code 2014-04-01 04:49:32 +02:00
Themaister
6b470442e6 Fixup Win32 build.
D3D stubbed out until it's fixed.
2014-03-09 17:15:10 +01:00
Themaister
6a45de307d Build fix MinGW. 2014-03-09 15:49:20 +01:00
twinaphex
8254e127ec Rename d3d9_p.cpp to gfx/context/d3d_ctx.c 2014-03-08 05:18:05 +01:00
twinaphex
a95290b94a (D3D Move more code over for Xbox 2014-03-08 04:56:27 +01:00
twinaphex
38c04f9b0c (XDK) Use same context driver as PC now 2014-03-08 04:13:20 +01:00
twinaphex
7599caac81 (D3D) Move code around 2014-03-08 04:08:18 +01:00
twinaphex
dabfafc7cc (D3D) Move stuff around 2014-03-08 04:03:12 +01:00
twinaphex
f84e59568c (D3D) Remove some header includes 2014-03-08 03:36:10 +01:00
twinaphex
ff65d6a58c (D3D) Insert more XDK code 2014-03-07 22:26:47 +01:00
twinaphex
856f7a2e2c (D3D) Build fix 2014-03-07 21:58:21 +01:00
twinaphex
8714939ab7 (D3D) Start implementing Xbox code in regular D3D driver 2014-03-07 21:55:18 +01:00
twinaphex
1af941a6ee (D3D) Some changes 2014-03-07 21:22:59 +01:00
twinaphex
2708bef175 (D3D) Add XDK ifdefs in d3d9_pc.cpp 2014-03-07 21:14:56 +01:00
twinaphex
fd76a28a32 (D3D) Refactor D3DVideo class to d3d_video_t - should be very
similar to XDK D3D driver now
2014-03-07 19:34:17 +01:00
twinaphex
85bfecf1e9 (D3D) Cleanup render_chain.hpp 2014-03-07 19:17:59 +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
71854439bb (D3D9) Move d3d_init_shader/d3d_deinit_shader to gfx/d3d9/render_chain_cg.h 2014-03-04 18:49:01 +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
Lioncash
fb9959d338 Fix wrong usage of free in d3d9/d3d.cpp. Should be delete. 2014-02-22 17:19:47 -05:00
OV2
43b209a5c0 D3D9: use new during init so that constructors are run 2014-02-08 19:56:02 +01:00
Themaister
6c5d481f2d Fix MinGW compile. 2014-01-22 16:39:39 +01:00
twinaphex
b480009604 (D3D9) Remove obsolete function d3d_font_msg now 2014-01-18 21:53:40 +01:00
twinaphex
7cbfb14791 (D3D9 PC) Go through font context driver now 2014-01-18 21:51:30 +01:00
twinaphex
7c1f24c861 (D3D) set_resize function bound to D3D context driver 2014-01-18 21:13:08 +01:00
twinaphex
544df55017 (D3D) check_window - check if d3d_quit has been set to true, and if so,
set quit pointer value to true
2014-01-18 21:07:34 +01:00
twinaphex
280b9d5406 (D3D9) Move more code to d3d9_pc context driver 2014-01-18 20:49:57 +01:00
twinaphex
ab9d4440db (D3D) Create graphics context driver for D3D and move
state code over to it
2014-01-18 18:43:40 +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
twinaphex
185dc3731f (D3D) Add HAVE_CG/_XBOX ifdefs 2014-01-15 14:14:37 +01:00
twinaphex
c966629e1b (D3D9) Fixup HAVE_PYTHON ifdef 2014-01-11 15:47:11 +01:00
twinaphex
b34a21be83 (D3D9) quit variable must be static 2014-01-09 22:25:50 +01:00
twinaphex
5752bb1b9c (D3D) Move implementation-specific functions to d3d9_pc.cpp 2014-01-09 21:27:53 +01:00
twinaphex
7cd149c3c6 (D3D) Build fix 2014-01-09 20:06:39 +01:00
twinaphex
51eb1d9e52 (D3D) Compatibility with Xbox 1 - WIP 2014-01-09 20:04:18 +01:00
twinaphex
feb11c525c (D3D) Add some more ifdefs for portability purposes 2014-01-09 19:52:01 +01:00
twinaphex
c32fc07b3f (D3D) Turned D3DVideo class into struct 2014-01-09 19:43:45 +01:00
twinaphex
eae35b9a50 (D3D) Move more functions out of D3DVideo class 2014-01-09 19:05:31 +01:00
twinaphex
e48b7e7d8a (D3D) Refactor D3D driver 2014-01-09 18:44:25 +01:00
twinaphex
d07c3242cf (D3D9) Some cleanups 2014-01-09 13:18:25 +01:00
Themaister
a287ea6c6e Remove debug check. 2014-01-01 17:01:33 +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