Commit Graph

4572 Commits

Author SHA1 Message Date
twinaphex
dad51f5677 Create win32_set_style 2016-01-09 05:24:27 +01:00
twinaphex
a549b86b51 Already done inside win32_set_window 2016-01-09 05:05:37 +01:00
twinaphex
3e9820f6ae (D3D) Use win32_set_window 2016-01-09 05:04:47 +01:00
twinaphex
c1d79c2205 (Win32) Buildfix 2016-01-09 05:00:56 +01:00
twinaphex
c18cfee6d0 Create win32_set_window 2016-01-09 04:59:12 +01:00
twinaphex
8b7bd46612 (D3D) Cleanups 2016-01-09 04:44:44 +01:00
twinaphex
4a7efdf3c5 Move d3d_init_imports around 2016-01-09 04:13:11 +01:00
twinaphex
ae4febc993 (D3D) Move code around 2016-01-09 04:12:33 +01:00
twinaphex
5788801dab (D3D) Move code around 2016-01-09 04:11:20 +01:00
twinaphex
782190c43b Move code around 2016-01-09 04:10:36 +01:00
twinaphex
b90d324150 Cleanup d3d_set_shader 2016-01-09 04:09:50 +01:00
twinaphex
c52fb8c90e Cleanup d3d_set_shader 2016-01-09 04:07:22 +01:00
twinaphex
344c7def0d (XDK) BUildfix
t# Please enter the commit message for your changes. Lines starting
2016-01-09 03:58:56 +01:00
twinaphex
9029bd96d6 Move renderchain->init_driver_shader to top of renderchain->init
function
2016-01-09 03:57:13 +01:00
twinaphex
436180ce95 Move to renderchain_init 2016-01-09 03:53:06 +01:00
twinaphex
a26321f53f N/A 2016-01-09 03:44:58 +01:00
twinaphex
2871aa0950 Include this back - C++ string header conflicts with min definition
inside retro_miscellaneous.h
2016-01-09 03:37:24 +01:00
twinaphex
5caf49458c Take out init_shader_fvf callback 2016-01-09 03:22:16 +01:00
twinaphex
25a997e354 (D3D) Rearrange 2016-01-09 03:19:03 +01:00
twinaphex
710d2b9b27 Cleanup 2016-01-09 03:13:58 +01:00
twinaphex
bbe4b0e286 Fix warning 2016-01-09 03:11:13 +01:00
twinaphex
ba97047cc2 Get rid of some forward declarations 2016-01-09 03:10:37 +01:00
twinaphex
97d146e7c8 (D3D) N/A 2016-01-09 03:10:08 +01:00
twinaphex
7a55c2b8eb Revert "Don't attempt to use std::string anymore in gfx/d3d/d3d.cpp"
This reverts commit f76b7f2b60.
2016-01-09 03:06:18 +01:00
twinaphex
14950cefc2 Revert "(D3D) N/A"
This reverts commit cfa4170c64.
2016-01-09 03:06:11 +01:00
twinaphex
cfa4170c64 (D3D) N/A 2016-01-09 03:01:25 +01:00
twinaphex
f76b7f2b60 Don't attempt to use std::string anymore in gfx/d3d/d3d.cpp 2016-01-09 03:00:33 +01:00
twinaphex
26e59c2037 N/A 2016-01-09 02:56:47 +01:00
twinaphex
620ea3af74 (D3D) N/A 2016-01-09 02:37:48 +01:00
twinaphex
0f0e21441d Add path_is_file argument to function 2016-01-09 02:17:43 +01:00
twinaphex
d80db66795 Revert "Cleanups"
This reverts commit 3e731916ca.
2016-01-09 02:16:09 +01:00
twinaphex
3e731916ca Cleanups 2016-01-09 02:12:34 +01:00
twinaphex
24779fda97 Rename stock_program variables 2016-01-09 02:09:24 +01:00
twinaphex
12aa94f70f Rename renderchain_compile_shaders 2016-01-09 02:06:45 +01:00
twinaphex
699f2dba1e (D3D) N/A 2016-01-09 02:02:02 +01:00
twinaphex
c64b761f80 Buildfix 2016-01-09 01:53:10 +01:00
twinaphex
56b64689b7 N/A 2016-01-09 01:12:50 +01:00
twinaphex
6ff10c5591 (D3D) N/A 2016-01-09 01:10:56 +01:00
twinaphex
6b81cfae9d (D3D) Cleanups 2016-01-09 01:05:40 +01:00
twinaphex
2fc957d369 Cleanups 2016-01-08 21:01:41 +01:00
twinaphex
2fa87013f1 Cleanups 2016-01-08 21:01:41 +01:00
twinaphex
93fed31e3a N/A 2016-01-08 20:51:30 +01:00
twinaphex
1014513e91 N/A 2016-01-08 20:46:33 +01:00
twinaphex
856e6dab64 N/A 2016-01-08 20:40:26 +01:00
twinaphex
3786f5e4f6 (D3D) Use GFX_MAX_VARIABLES 2016-01-08 20:36:20 +01:00
twinaphex
9f6c607a68 (D3D Cg) Cleanups 2016-01-08 20:28:18 +01:00
twinaphex
2829bb9217 (Cg D3D9) Cleanups 2016-01-08 19:16:11 +01:00
twinaphex
770fee3684 Revert "Cleanups"
This reverts commit 340751559e.
2016-01-08 18:38:00 +01:00
twinaphex
340751559e Cleanups 2016-01-08 18:34:15 +01:00
twinaphex
208ce772cf Cleanups 2016-01-08 18:23:40 +01:00
twinaphex
e334278696 Cleanups 2016-01-08 18:12:49 +01:00
twinaphex
39dc2a0d05 Get rid of this messy code 2016-01-08 17:58:53 +01:00
twinaphex
3a7c219e6f N/A 2016-01-08 17:56:13 +01:00
twinaphex
9540d4ccb5 (D3D) Buildfixes 2016-01-08 17:51:03 +01:00
twinaphex
d8f851365f Cleanups 2016-01-08 09:48:46 +01:00
twinaphex
0314b1f811 Take out HAVE_D3D ifdef 2016-01-08 09:02:51 +01:00
twinaphex
deb66a885e (D3D) Fixes courtesy of aliaspider 2016-01-08 08:16:26 +01:00
twinaphex
3d9f7117e4 Cleanups 2016-01-08 05:46:14 +01:00
twinaphex
ed6e35f7e3 (D3D) Buildfix 2016-01-08 05:44:36 +01:00
twinaphex
3a30649876 Pass through data variable to win32_window_create correctly 2016-01-08 05:13:10 +01:00
twinaphex
5453055135 Move resize handling to d3d_alive 2016-01-08 05:06:12 +01:00
twinaphex
377c1f2661 N/A 2016-01-08 04:52:49 +01:00
twinaphex
8635d19b9b (D3D) N/A 2016-01-08 03:46:02 +01:00
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