Commit Graph

309 Commits

Author SHA1 Message Date
twinaphex
b1258bd179 Wrap more D3D functions and move them to d3d_wrapper.cpp 2015-04-10 07:33:30 +02:00
twinaphex
29f26c634a (D3D) Fix warning 2015-04-10 07:25:45 +02:00
twinaphex
ee79299f3a (D3D) Create d3d_alpha_blend_texture_enable_func 2015-04-10 07:24:13 +02:00
twinaphex
93cbdebd37 Create gfx_ctx_get_video_size 2015-04-10 07:12:15 +02:00
twinaphex
3475dad124 Go through gfx_ctx_show_mouse 2015-04-10 06:46:25 +02:00
twinaphex
5fff3d0879 (D3D) Start using gfx_ctx wrapper functions 2015-04-10 06:41:28 +02:00
twinaphex
c0d58ce467 Take out win32_dwm_common.h header includes 2015-04-09 23:00:08 +02:00
twinaphex
18801c8449 Move gfx_set_dwm call to platform_win32.c 2015-04-09 22:58:57 +02:00
twinaphex
f91f543f74 (D3D) Start using some of the gfx_ctx wrapper functions 2015-04-09 22:47:18 +02:00
twinaphex
5b96c82607 (D3D) Start using gfx_ctx_get_ptr 2015-04-09 18:38:24 +02:00
twinaphex
1f23338ca4 Move win32_common.c to gfx/common 2015-04-09 05:16:02 +02:00
twinaphex
c071731ce8 (D3D) Change some cpp files to C 2015-04-07 22:28:05 +02:00
twinaphex
b28cd13932 (renderchain cg) ifdef out some unused functions right now 2015-04-07 07:04:54 +02:00
Twinaphex
d7b62bf96a Merge pull request #1597 from fr500/master
fixes D3D for MSYS2/MINGW builds
2015-04-07 06:09:43 +02:00
radius
a9da3df191 MSYS2 d3d build fixes 2015-04-06 23:06:32 -05:00
radius
d99c571c35 MSYS2 d3d build fixes 2015-04-06 23:05:34 -05:00
twinaphex
1f8d6a7612 (XDK) Updates 2015-04-07 04:18:12 +02:00
twinaphex
d55ab52a53 (XDK360) Buildfix 2015-04-07 04:06:33 +02:00
twinaphex
7aceb41658 (XDK) Move Xbox variables over to xdk_renderchain_t 2015-04-07 04:03:06 +02:00
twinaphex
ba1c1352ee Revert "(D3D) Updates"
This reverts commit 349d824946.
2015-04-07 03:46:27 +02:00
twinaphex
349d824946 (D3D) Updates 2015-04-07 03:44:09 +02:00
twinaphex
db6dc55480 (D3D) improve on earlier commit 2015-04-07 03:32:10 +02:00
twinaphex
62ff81b6b4 (XDK1) Buildfix 2015-04-07 03:28:54 +02:00
twinaphex
2eee9f0c18 (360) Build fix for d3d_vertex_buffer_new 2015-04-07 03:25:47 +02:00
twinaphex
472e508f5a (D3D) Update other init_shader function implementations 2015-04-07 03:22:24 +02:00
twinaphex
a029c678d8 (D3D Cg) move cgCtx to renderchain data struct 2015-04-07 03:20:57 +02:00
twinaphex
66ecd60da1 (D3D) renderchain_set_mvp - cleanup 2015-04-07 03:08:25 +02:00
twinaphex
20005f194a (D3D) Buildfix 2015-04-07 02:54:33 +02:00
twinaphex
7df57edf77 (D3D) Move default usage value to d3d_wrapper.cpp function 2015-04-07 02:53:27 +02:00
twinaphex
d32af58250 Create d3d_set_vertex_declaration 2015-04-07 02:44:12 +02:00
twinaphex
875adec249 (render_chain_null.c) Remove unused function 2015-04-07 02:38:22 +02:00
twinaphex
38ec5a851f (render_chain_driver.h) Add d3d_defines.h to render_chain_driver.h 2015-04-07 02:37:05 +02:00
twinaphex
a02c600a42 (XDK360) Buildfix 2015-04-07 02:25:31 +02:00
twinaphex
9e6c2de94f (XDK) Updates 2015-04-07 01:09:09 +02:00
twinaphex
becf52bcf4 (XDK) Update init function 2015-04-07 01:03:03 +02:00
twinaphex
78150259dc (D3D) Simplify d3d_texture_blit 2015-04-07 00:46:46 +02:00
twinaphex
50348efc6a Simplify d3d_lockrectangle_clear 2015-04-07 00:45:15 +02:00
twinaphex
c8767090fe (D3D XDK) Move variables to xdk_renderchain 2015-04-07 00:34:07 +02:00
twinaphex
b41861a7a4 (XDK) Update 2015-04-07 00:27:47 +02:00
twinaphex
c319ebe531 (XDK) Take out more ifndef _XBOX ifdefs 2015-04-07 00:24:11 +02:00
twinaphex
2d330596b1 (D3D) Update d3d_texture_blit 2015-04-07 00:13:01 +02:00
twinaphex
200a301eaa (D3D) Update d3d_lockrectangle_clear 2015-04-07 00:07:17 +02:00
twinaphex
20c9c6e240 (XDK) Update pt. 3 2015-04-06 23:56:12 +02:00
twinaphex
4990cc5a54 (XDK) Update pt. 2 2015-04-06 23:53:02 +02:00
twinaphex
6eb06007b0 (XDK) Update 2015-04-06 23:51:39 +02:00
twinaphex
8a5ad0819f (D3D) Cleanups 2015-04-06 23:45:53 +02:00
twinaphex
7e13d24a26 (D3D) Buildfix 2015-04-06 23:38:02 +02:00
twinaphex
dbbf3c5b20 (D3D) Add reinit function pointer 2015-04-06 23:27:55 +02:00
twinaphex
62ae5f1d6f (D3D) Add renderchain_reinit 2015-04-06 23:26:37 +02:00
twinaphex
a1217a9e08 (D3D) Fix cg_d3d9_renderchain_free 2015-04-06 21:57:19 +02:00
twinaphex
5c2829d479 (XDK) Small cleanup 2015-04-06 21:38:36 +02:00
twinaphex
a31589d70f (XDK) Buildfix 2015-04-06 21:35:33 +02:00
twinaphex
bdc97fd5c3 (D3D) Combine deinit functions into one 2015-04-06 21:32:49 +02:00
twinaphex
9b5ba3af36 (D3D) Cleanups 2015-04-06 21:24:12 +02:00
twinaphex
b950e4a86a (XDK) Cleanups 2015-04-06 20:51:24 +02:00
twinaphex
160c581df6 (XDK1) Cleanups 2015-04-06 20:47:29 +02:00
twinaphex
640163044e (D3D) Remove unused null_renderchain_blit_to_texture 2015-04-06 18:21:32 +02:00
twinaphex
bad8859169 (render_chain_driver.h) Remove dependency on video_info_t 2015-04-06 18:20:08 +02:00
twinaphex
e210c2f9ee (XDK) Renderchain buildfix 2015-04-06 18:17:07 +02:00
twinaphex
3b40a8d1ec (D3D) Take out d3d.h dependency from render_chain_driver.h 2015-04-06 18:15:33 +02:00
twinaphex
e9c6a0d990 (renderchain xdk) return true for add_lut 2015-04-06 18:06:03 +02:00
twinaphex
c027d1a367 (D3D) Buildfix 2015-04-06 18:04:41 +02:00
twinaphex
a9a4006ad8 Make all functions static for renderchain drivers 2015-04-06 18:02:42 +02:00
twinaphex
7609c567c9 (Renderchain) Take out public function prototypes 2015-04-06 17:53:24 +02:00
twinaphex
939b0847ed (D3D) Go through more renderchain_driver functions 2015-04-06 17:47:29 +02:00
twinaphex
55d697fbdf (D3D) Go through more renderchain_driver callbacks 2015-04-06 17:18:28 +02:00
twinaphex
d2b6f9d735 (D3D) Go through renderchain_driver 2015-04-06 17:16:22 +02:00
twinaphex
a7c95b9901 (D3D) Start going through renderchain_driver 2015-04-06 17:12:37 +02:00
twinaphex
4d28d6cd53 (D3D) Use renderchain_init_first 2015-04-06 17:07:39 +02:00
twinaphex
5510dc2978 (D3D) Add render_chain_driver.cpp to Griffin 2015-04-06 16:55:05 +02:00
twinaphex
d941ae9863 (D3D) Create null renderchain driver 2015-04-06 16:52:39 +02:00
twinaphex
12d6dd16c4 Add render_chain_driver.cpp 2015-04-06 16:46:58 +02:00
twinaphex
8f74324467 (XDK) Buildfix 2015-04-06 16:24:18 +02:00
twinaphex
2a6456299e (D3D) Renderchain updates 2015-04-06 16:15:29 +02:00
twinaphex
ef1d0987fe (XDK) Provide stub functions 2015-04-06 16:08:23 +02:00
twinaphex
646f86fb73 (D3D) Build fixes 2015-04-06 15:59:53 +02:00
twinaphex
a529e8bc44 Create renderchain_driver_t 2015-04-06 15:52:41 +02:00
twinaphex
ee94ba9a84 (D3D) Cleanup 2015-04-06 06:46:35 +02:00
twinaphex
c8cc92859e (XDK) renderchain_init_shader - should return true 2015-04-06 02:08:38 +02:00
twinaphex
ccd556d99c (XDK1) Buildfix 2015-04-06 01:51:58 +02:00
twinaphex
f205c998d4 (D3D) Cleanups pt. 2 2015-04-06 01:43:47 +02:00
twinaphex
8e91a2fabf (D3D) Refactor d3d_init_chain 2015-04-06 01:36:27 +02:00
twinaphex
8bdfc3d8cb Revert "(D3D) Cleanups"
This reverts commit f93ca7b7e6.
2015-04-06 01:34:31 +02:00
twinaphex
f93ca7b7e6 (D3D) Cleanups 2015-04-06 01:34:05 +02:00
twinaphex
c955664e45 Revert "(D3D) Cleanups"
This reverts commit 6bf2c34da7.
2015-04-06 01:31:54 +02:00
twinaphex
6bf2c34da7 (D3D) Cleanups 2015-04-06 01:25:53 +02:00
twinaphex
ae929ca75a (D3D) Get rid of _XBOX ifdef 2015-04-06 01:14:52 +02:00
twinaphex
37c5c0d98a (D3D) Don't use new/delete 2015-04-06 01:12:42 +02:00
twinaphex
77b3705b89 (D3D) Cleanups 2015-04-06 01:10:39 +02:00
twinaphex
86a35ea9a9 (D3D) Rename render_chain.h to render_chain_driver.h 2015-04-06 01:07:13 +02:00
twinaphex
44894e608b (D3D) Create d3d_enable_blend_func/d3d_disable_blend_func 2015-04-06 00:55:25 +02:00
twinaphex
df164dd328 (D3D) Cleanups 2015-04-06 00:44:15 +02:00
twinaphex
38222a677a (D3D) Buildfix 2015-04-06 00:32:07 +02:00
twinaphex
e33ca262c3 (D3D) Rename files 2015-04-06 00:30:06 +02:00
twinaphex
a49bc54eb1 (XDK) Change signature of renderchain_render 2015-04-06 00:11:04 +02:00
twinaphex
ca39d5f707 (D3D) Move renderchain_unbind_all up 2015-04-06 00:08:15 +02:00
twinaphex
b48d6306df (D3D) Make renderchain_render_pass static 2015-04-06 00:07:25 +02:00
twinaphex
32c3986ff9 (XDK) Cleanups 2015-04-06 00:03:03 +02:00
twinaphex
70ec7c3811 (D3D) Cleanups 2015-04-06 00:01:32 +02:00
twinaphex
49788350e6 (XDK) Cleanups 2015-04-05 23:54:28 +02:00