4459 Commits

Author SHA1 Message Date
twinaphex
30d98d0693 d3d_calculate_rects - cleanups 2016-01-08 03:14:49 +01:00
twinaphex
1d07c6306e Buildfixes 2016-01-08 03:09:41 +01:00
twinaphex
eb5db8ca60 Create d3d_calculate_rect 2016-01-08 03:07:58 +01:00
twinaphex
7bcf33bff3 Remove d3d->frame_count 2016-01-08 01:09:16 +01:00
twinaphex
281de92d79 Fix function name clashes pt. 1 2016-01-07 09:22:04 +01:00
twinaphex
186a9fe61b Try to set g_inited to true 2016-01-07 07:18:52 +01:00
twinaphex
8a124bb530 N/A 2016-01-07 07:10:02 +01:00
twinaphex
f1bdfaf0ed Cleanups 2016-01-07 06:50:32 +01:00
twinaphex
682071288a N/A 2016-01-07 06:49:10 +01:00
twinaphex
cda09fb6ca N/A 2016-01-07 06:44:35 +01:00
twinaphex
63c35472a9 Don't go through d3dr pointers 2016-01-07 06:38:28 +01:00
twinaphex
23a9715f26 don't grab pointer to d3d device 2016-01-07 06:33:50 +01:00
twinaphex
fbe0b5cb5f N/A 2016-01-07 06:31:26 +01:00
twinaphex
5322b05545 Move freeing of d3d->menu to d3d_free 2016-01-07 04:59:39 +01:00
twinaphex
8c1e371d1c use new / delete for d3d->menu 2016-01-07 04:52:59 +01:00
twinaphex
e2e308d652 (render_chain_cg.cpp) use new/delete 2016-01-07 04:50:11 +01:00
twinaphex
196278305b Change bound_tex back to std::vector 2016-01-07 04:47:28 +01:00
twinaphex
99a8690b50 Change luts back to std::vector list 2016-01-07 04:42:49 +01:00
twinaphex
7bd822e032 (shader_gl_cg.c) Reuse GFX_MAX_VARIABLES 2016-01-07 04:31:31 +01:00
twinaphex
f45f3da8fb bound_tex is no longer a vector 2016-01-07 04:27:21 +01:00
twinaphex
a425ca98ed reimplement d3d_restore 2016-01-07 02:55:27 +01:00
twinaphex
e8656333f1 Make it possible to manually set one of the devices with d3d_device_free 2016-01-07 02:22:53 +01:00
twinaphex
8b9c6d099f Set g_pD3D back to NULL 2016-01-07 02:20:30 +01:00
twinaphex
0b655fdd89 Set g_pD3D to NULL in d3d_free 2016-01-07 02:19:01 +01:00
twinaphex
d6377cb183 Turn g_pD3D into static variable 2016-01-07 01:23:52 +01:00
twinaphex
5a60055aa9 Make curD3D a static variable 2016-01-07 01:18:51 +01:00
twinaphex
e5f327edda N/A 2016-01-07 01:11:26 +01:00
twinaphex
9f616cca07 Check if device is NULL inside d3d_set_resize 2016-01-07 01:10:37 +01:00
twinaphex
b4b3574665 use void pointer 2016-01-07 01:00:11 +01:00
twinaphex
3b8932b302 Turn returntype of set_resize into bool 2016-01-07 00:58:33 +01:00
twinaphex
28b615e62c (D3D) Buildfixes 2016-01-07 00:45:09 +01:00
twinaphex
3b34d6b6f1 WM_SIZE - we need to call the context driver's d3d_resize function 2016-01-07 00:43:16 +01:00
twinaphex
38a58a2a8a Call d3d_restore from d3d.cpp 2016-01-07 00:38:42 +01:00
twinaphex
70a6da0491 (D3D) Cleanups 2016-01-07 00:29:12 +01:00
twinaphex
949c4b6dc3 One cleanup 2016-01-07 00:26:38 +01:00
twinaphex
8d83d4bf81 (D3D) Buildfix 2016-01-07 00:20:23 +01:00
twinaphex
56a17b21f1 Create d3d_device_free 2016-01-07 00:19:27 +01:00
twinaphex
b345d04407 Always call gfx_ctx_free 2016-01-07 00:03:05 +01:00
twinaphex
3b516cacd7 Remove _XBOX ifdef 2016-01-06 23:59:23 +01:00
twinaphex
8cd7cb203e Revert "(D3D) Remove some more _XBOX ifdefs"
This reverts commit de989f202a32b0cd8734371646b02a5d67ef7cb7.
2016-01-06 23:54:53 +01:00
twinaphex
de989f202a (D3D) Remove some more _XBOX ifdefs 2016-01-06 23:52:59 +01:00
twinaphex
054035bd9d Remove some ifndef _XBOX ifdefs 2016-01-06 23:46:46 +01:00
twinaphex
e0e69d2d36 Cleanups 2016-01-06 23:45:10 +01:00
twinaphex
2199e22e63 Remove d3d_restore_device 2016-01-06 04:26:24 +01:00
twinaphex
b8d41df24f (D3D) Add some logging to d3d_restore_device 2016-01-06 04:17:21 +01:00
twinaphex
c64b9bed15 Ifdef global variable for Xbox 2016-01-06 03:59:22 +01:00
twinaphex
08e73ea144 Non_HAVE_MEN codepath fixes - courtesy of Karlton
t # Please enter the commit message for your changes. Lines starting
2016-01-02 02:54:20 +01:00
twinaphex
4fd5f1cad6 Improvements to unsetting the video driver callback 2015-12-28 21:34:57 +01:00
twinaphex
f9f6d49ab7 Move macros to top 2015-12-26 11:27:52 +01:00
twinaphex
c2d7cbe18b Use string_is_empty 2015-12-26 07:59:15 +01:00