Commit Graph

317 Commits

Author SHA1 Message Date
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
twinaphex d264b79418 (XDK) Cleanups 2015-04-05 23:47:02 +02:00
twinaphex cbd5f356c8 (D3D) Cleanups 2015-04-05 23:42:40 +02:00
twinaphex 91f9b5713f (D3D) Make renderchain_blit_to_texture static 2015-04-05 23:30:38 +02:00
twinaphex d4673d6c4c (D3D) Cleanups 2015-04-05 23:28:42 +02:00
twinaphex 508ab03ea2 Make renderchain_compile_shaders static 2015-04-05 23:25:27 +02:00
twinaphex 05b6b7a2ea (D3D) Cleanups 2015-04-05 23:19:10 +02:00
twinaphex f24680fd57 (D3D) Take out some HAVE_CG ifdefs 2015-04-05 23:01:26 +02:00
twinaphex c4126d4d11 (XDK) Turn some functions non-static 2015-04-05 19:23:33 +02:00
twinaphex 36a062bcf3 Update signature for d3d_lockrectangle_clear 2015-04-05 19:17:24 +02:00
twinaphex d3ecc62291 (d3d.h) Cleanups 2015-04-05 19:15:03 +02:00
twinaphex 388206ed6b (XBOX) Move XBOX1 SetFlickerFilter to renderchain_blit_texture 2015-04-05 18:59:13 +02:00
twinaphex d14751a649 (D3D) Turn renderchain_set_mvp static 2015-04-05 18:54:14 +02:00
twinaphex 2066396913 (D3D) Make renderchain_set_vertices static 2015-04-05 18:52:44 +02:00
twinaphex 6365ac2174 (D3D) Turn more functions static 2015-04-05 18:49:29 +02:00
twinaphex 1f3c5fc71c (D3D) Turn some functions static 2015-04-05 18:46:28 +02:00
twinaphex d9aa01da06 (D3D) Move structs around 2015-04-05 18:44:12 +02:00
twinaphex b509e12405 (Cg) Move Cg header include to render_chain.cpp 2015-04-05 18:41:40 +02:00
twinaphex e34c90179f (D3D) Move struct Pass to render_chain.cpp 2015-04-05 18:40:19 +02:00
twinaphex daf3f3bb08 (D3D) Buildfix 2015-04-05 18:33:42 +02:00
twinaphex afe35e774a (D3D) renderchain_set_final_viewport - call d3d_recompute_pass_sizes 2015-04-05 18:31:07 +02:00
twinaphex 7d162b79c0 (d3d_wrapper.cpp ) Cleanup 2015-04-05 18:29:38 +02:00
twinaphex e9f08dfafe (D3D) Don't use Pass from d3d_wrapper.cpp 2015-04-05 18:25:48 +02:00
twinaphex 9c678a3abd (D3D) Buildfix #2 2015-04-05 18:21:25 +02:00
twinaphex 6927d6e47c (D3D) Rename cg_shader to shader_path 2015-04-05 18:20:45 +02:00
twinaphex 56145d279d (D3D) Don't ifdef out d3d_init_shader/d3d_deinit_shader 2015-04-05 18:18:02 +02:00
twinaphex 97acc50b6e (D3D) Fix two extern declarations 2015-04-05 18:15:10 +02:00
twinaphex b148bb0c8a (XDK) Buildfix #2 2015-04-05 18:11:50 +02:00
twinaphex e59d5a26b2 (XDK) Buildfix 2015-04-05 18:08:33 +02:00
twinaphex e022372db5 (D3D) Buildfix 2015-04-05 18:01:33 +02:00
twinaphex 1a7d3e3ea0 Move Cg Context to render_chain.cpp 2015-04-05 17:59:03 +02:00
twinaphex 2ae20608e8 Wrap SetTexture calls 2015-04-05 17:44:27 +02:00
twinaphex 252c9e5947 (D3D) d3d_set_texture - implement it properly 2015-04-05 17:42:53 +02:00
twinaphex 7a2554c750 (D3D) Wrap SetSamplerState calls 2015-04-05 17:41:04 +02:00
twinaphex 07dc651d15 (D3D) Go through d3d_set_stream_source in render_chain.cpp 2015-04-05 17:33:54 +02:00
twinaphex 500ad905a8 (D3D) Cleanups 2015-04-05 17:27:45 +02:00
twinaphex 7f65bf700a Revert "(D3D) More refactors to do with hiding away vertex declaration"
This reverts commit c6458daa0e.
2015-04-05 17:21:52 +02:00
twinaphex c6458daa0e (D3D) More refactors to do with hiding away vertex declaration
code in render_chain.cpp
2015-04-05 17:17:18 +02:00
twinaphex aaee638f6d (D3D) Cleanup 2015-04-05 17:08:22 +02:00
twinaphex 74a1920fda (D3D) Free vertex declaration in d3d_vertex_buffer_free 2015-04-05 17:05:53 +02:00
twinaphex d1af8742f6 (D3D) Turn _XBOX1 ifdef into HAVE_D3D8 2015-04-05 16:54:06 +02:00
twinaphex 2adab38d8e (D3D) Use libretro.h pixel format types 2015-04-05 16:51:19 +02:00
twinaphex e89a712d8d (D3D) Use libretro pixel format types 2015-04-05 16:48:22 +02:00
twinaphex 162ffd9586 (D3D) Cleanups 2015-04-05 16:34:31 +02:00
twinaphex 3f118245a6 Change some _XBOX1 defines to HAVE_D3D8 defines 2015-04-05 16:17:22 +02:00
twinaphex 975464968f (D3D) Style nits 2015-04-05 15:53:06 +02:00
twinaphex e3e99d0516 Include render_chain_cg.h into render_chain.cpp 2015-04-05 05:09:05 +02:00
twinaphex a1106e949e (XDK) Don't increment video frame count in video driver 2015-04-05 05:06:01 +02:00
twinaphex f0dbe674a4 Move struct definition of renderchain_t to render_chain.cpp 2015-04-05 05:01:47 +02:00
twinaphex 8b9d08e8ee (D3D) Refactors pt. 2 2015-04-05 04:59:35 +02:00
twinaphex bf196212f3 (D3D) Refactor renderchain code some more 2015-04-05 04:54:50 +02:00
twinaphex 4ba073424c (D3D) More refactors 2015-04-05 04:30:50 +02:00
twinaphex 122df894ff (D3D) Cleanups 2015-04-05 04:18:49 +02:00
twinaphex 58112a1409 (D3D) Refactor find_semantic 2015-04-05 04:04:19 +02:00
twinaphex 32d80dc413 (D3D) Create renderchain_add_lut 2015-04-05 03:57:09 +02:00
twinaphex e0e54ca093 (D3D) Buildfix 2015-04-05 03:43:28 +02:00
twinaphex 784e7998c1 (D3D) Rewrite renderchain_set_mvp 2015-04-05 03:42:15 +02:00
twinaphex 4a41dbcda7 Rewrite find_param_from_semantic 2015-04-05 03:35:21 +02:00
twinaphex 6e04afad4d (D3D) Update 2015-04-05 02:31:24 +02:00
twinaphex 4e7f1f0dc8 (D3D) Change lut_info.id to char 2015-04-05 02:13:27 +02:00
twinaphex dd3aedf927 (Cg) Rewrite renderbind_chain_pass pt. 2 2015-04-05 02:10:06 +02:00
twinaphex 89b0daa458 (D3D) Rewrite renderchain_bind_pass 2015-04-05 02:08:18 +02:00
twinaphex f425ea56a4 (D3D) Buildfix 2015-04-05 01:50:19 +02:00
twinaphex 0a5a72b8b1 (D3D) Cleanups pt. 8 2015-04-05 01:48:44 +02:00
twinaphex 249a0b898d (D3D) Use pointer arguments instead of references 2015-04-05 01:24:09 +02:00
twinaphex 583855a85c (D3D) Cleanups pt. 7 2015-04-05 01:15:54 +02:00
twinaphex cf4975b059 (D3D) Cleanups pt. 6 2015-04-05 01:05:51 +02:00
twinaphex b6c862c76b (D3D) Cleanups pt. 5 2015-04-05 00:59:02 +02:00
twinaphex 8a516b13ac (D3D) Cleanups pt. 4 2015-04-05 00:54:51 +02:00
twinaphex 9081500780 (D3D) Cleanups pt. 3 2015-04-05 00:44:54 +02:00
twinaphex 880a7813a1 (D3D) Cleanups pt. 2 2015-04-05 00:09:39 +02:00
twinaphex 94fa13512c (D3D) Cleanups 2015-04-05 00:06:53 +02:00
radius 5e6cf7d74d windows build fixes 2015-04-04 13:56:26 -05:00
twinaphex 0a6be957e9 (D3D) Cleanups 2015-04-04 20:49:30 +02:00
twinaphex 02c514a873 (D3D) Build fixes 2015-04-04 03:04:01 +02:00
twinaphex 9e56bd2f23 Rename files back to .cpp 2015-04-04 02:36:55 +02:00
twinaphex 532d112ff8 (Font) Combine font_d3d_driver and font_gl_driver 2015-04-03 20:36:19 +02:00
twinaphex 6131fc7773 Rename d3d_wrapper.cpp 2015-04-03 02:16:55 +02:00
twinaphex 4a8f354fdc Rename d3d_w32_font.cpp to d3d_w32_font.c 2015-04-03 01:53:42 +02:00
twinaphex 318b74332e (XDK1) Cleanups 2015-03-30 02:16:54 +02:00
twinaphex 7c1d3471f6 (XDK1) Build fixes 2015-03-30 02:10:42 +02:00
twinaphex 2c555082ee D3D and GL now use the same font driver interface 2015-03-30 00:55:39 +02:00
twinaphex c849c6bcdf (D3D) Prepare d3d driver for font changes 2015-03-30 00:46:56 +02:00
twinaphex 8f3e83ad10 Pass d3d->font_handle to 'init_first' 2015-03-30 00:34:43 +02:00
twinaphex 5f56455e60 (D3D) Build fixes for font changes 2015-03-29 23:58:00 +02:00
twinaphex 07d28f7b31 Change signature of d3d_font_init_first 2015-03-29 23:51:06 +02:00
twinaphex bfbcbb6ae8 (D3D) Buildfix 2015-03-29 23:34:43 +02:00
twinaphex 4bc4837d95 (D3D) Move font_color variable to d3d_w32_font.cpp 2015-03-29 23:12:05 +02:00
twinaphex a760d25384 Create menu_driver_frame 2015-03-22 05:27:19 +01:00
twinaphex 84f9f64f47 (360 MSVC) Fixes 2015-03-21 22:48:27 +01:00
twinaphex 5a443d229a global_get_ptr update pt. 2 2015-03-21 05:42:49 +01:00
twinaphex f130b00596 Updates pt. 3 2015-03-20 22:08:36 +01:00
twinaphex 3670ef2ac5 Go through driver_get_ptr to grab pointer to driver struct 2015-03-18 19:40:00 +01:00