Commit Graph

369 Commits

Author SHA1 Message Date
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
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
twinaphex
7378299282 Create rarch_main_get_ptr 2015-03-18 06:47:22 +01:00
twinaphex
0788eab2bf (D3D) render_chain.cpp - cleanups 2015-03-16 18:40:07 +01:00
twinaphex
15bb15b22c (D3D) Cleanups 2015-03-16 18:33:47 +01:00
twinaphex
02d41ad651 (D3D) Move variables to top 2015-03-16 18:18:37 +01:00
twinaphex
b4e564ad60 (D3D) Get rid of monitor namespace 2015-03-16 17:58:04 +01:00
aliaspider
7a72d46f9a add a read_frame_raw callback to the video_driver_t structure. 2015-03-16 09:33:16 +01:00
twinaphex
7eaf29a443 (D3D) Add runloop.h header include 2015-03-15 18:19:56 +01:00
twinaphex
6ee8da7bc5 (D3D) Buildfix 2015-03-15 17:54:53 +01:00
twinaphex
6fd50c1cdb (D3D) Cleanups 2015-03-15 17:51:27 +01:00
twinaphex
26f2bd4cbf Start going through retro_inline INLINE 2015-03-15 04:37:54 +01:00
twinaphex
d11006e041 Move frame_count to g_runloop 2015-03-07 13:14:04 +01:00
twinaphex
a74cb0574b Create g_runloop and start moving variables there 2015-03-07 12:36:50 +01:00
twinaphex
f80e3740aa Implement set_video_mode in video poke interface 2015-02-24 21:57:51 +01:00
twinaphex
13a391c165 Implement get_video_output_prev/get_video_output_next 2015-02-24 21:36:23 +01:00
twinaphex
f9ede9d00a Add get_video_output_size to video driver's poke interface 2015-02-24 20:06:58 +01:00
twinaphex
59c6bfc772 (D3D) Build fix 2015-02-17 00:38:50 +01:00
twinaphex
4b027ed975 (MSVC) Build fixes 2015-02-14 06:09:45 +01:00
twinaphex
64446ef497 Rename and move rarch_viewport 2015-02-14 05:52:05 +01:00
twinaphex
4d31687899 Create menu_driver_resolve to avoid having to pass state pointer
around between functions
2015-02-13 19:00:59 +01:00
twinaphex
4d478434c7 (Menu) Start getting rid of void * pointer 2015-02-11 20:28:54 +01:00
twinaphex
e5654ac385 (D3D) Buildfix 2015-02-08 18:46:03 +01:00
twinaphex
da88bcdd91 Rename gfx_shader* to video_shader* 2015-01-19 21:24:08 +01:00
twinaphex
b0548e1329 Properly namespace video_shader_parse.c functions 2015-01-19 21:09:39 +01:00
twinaphex
0d89ef49d6 Add video_monitor.h header include to gfx/d3d/d3d.cpp 2015-01-19 19:11:46 +01:00
twinaphex
51d97c3fbb Rename gfx_common.c to win32_dwm_common.c 2015-01-19 01:49:08 +01:00
twinaphex
80d4de7c3f Add gfx/video_viewport.c/viewport.h 2015-01-18 23:59:57 +01:00
twinaphex
8cabbcaf66 (MSVC) Build fixes 2015-01-18 22:43:07 +01:00
twinaphex
de76884bb8 Rename gfx_get_fps to video_monitor_get_fps 2015-01-18 20:03:33 +01:00
twinaphex
0cedae2b15 (360) Cleanups 2015-01-17 06:48:06 +01:00
twinaphex
18ee6912a5 (D3D) Build fix 2015-01-17 06:33:56 +01:00
twinaphex
9490c72876 (D3D) Cleanups 2015-01-17 06:30:39 +01:00
twinaphex
4428fe21cd Add UI Menubar Enable setting 2015-01-17 01:29:15 +01:00
twinaphex
eda9b5b7b5 (D3D) Start showing menubar - doesn't interact yet 2015-01-15 19:05:11 +01:00
Swizzy
122888fa80 Merge branch 'master' of https://github.com/libretro/RetroArch 2015-01-13 01:01:10 +01:00
Swizzy
049a63b9d4 (D3D) Revert a Debug fix which causes reinit to fail 2015-01-13 00:56:50 +01:00
twinaphex
058900ac9f Rename shader_parse.c to video_shader_parse.c 2015-01-12 23:42:50 +01:00
twinaphex
09b25e54c5 Rename gl_font.c and d3d_font.c 2015-01-12 23:19:21 +01:00
twinaphex
64411558eb Rename gfx/shader/ to gfx/drivers_shader 2015-01-12 22:23:48 +01:00
twinaphex
069fb556f0 Rename graphics context drivers 2015-01-12 22:19:31 +01:00
twinaphex
0b2d518531 Rename video_context.c to video_context_driver.c 2015-01-12 21:53:04 +01:00
twinaphex
cec3af8e4a Rename shader_context.c to video_shader_driver.c 2015-01-12 21:41:27 +01:00
twinaphex
bd0f0c3f63 Rename gfx_context.c to video_context.c 2015-01-12 18:47:39 +01:00
twinaphex
fc806d2914 Rename state tracker files 2015-01-12 16:00:13 +01:00
twinaphex
41fbfe3e55 (state_tracker.c) Namespace changes 2015-01-12 02:15:35 +01:00
Swizzy
78db1209f4 (D3D) Fix yet another debug exception 2015-01-09 01:27:49 +01:00
Twinaphex
9895835f04 Merge pull request #1325 from Swizzy/master
Some XDK360 fixes
2015-01-08 14:12:04 +01:00
Swizzy
f7117e9fd5 (XDK360) Fixed some D3D Debug exceptions 2015-01-08 01:09:00 +01:00
twinaphex
f9cd1ba788 Rename .hpp files 2015-01-07 22:23:45 +01:00