Commit Graph

361 Commits

Author SHA1 Message Date
twinaphex 132bec0237 (D3D) Fix warning 2015-05-09 18:07:59 +02:00
twinaphex ae408a1d41 Create video_poke get_frame_count function 2015-05-09 15:52:06 +02:00
twinaphex 4ecfe639b3 Create local frame_count variables again in video_drivers 2015-05-09 15:41:10 +02:00
twinaphex 87d9834d06 Move dylib.c to libretro-common 2015-05-08 09:49:49 +02:00
twinaphex 80c5059d43 Revert "(Video) Call gfx_ctx_free from common function - uninit_video_input"
This reverts commit aac304410b.
2015-05-02 22:53:27 +02:00
twinaphex aac304410b (Video) Call gfx_ctx_free from common function - uninit_video_input 2015-05-02 05:52:34 +02:00
twinaphex a9dee4877e Create set_viewport wrapper function - threaded video mode's
set_viewport function does not work yet
2015-04-26 19:46:59 +02:00
twinaphex e52eb7bcf2 (360) Build fixes 2015-04-26 05:44:30 +02:00
twinaphex 0634c7e34f (D3D) Start using global->video_data.width and global->video_data.height 2015-04-26 05:35:41 +02:00
twinaphex c22535b7e1 Reduce HAVE_FBO ifdefs 2015-04-25 02:35:06 +02:00
twinaphex 85dd24c457 (D3D) Use font_osd_driver/font_osd_data from driver struct 2015-04-25 01:05:20 +02:00
twinaphex d794215dcc (D3D) Update - use font_init_first 2015-04-21 17:53:11 +02:00
Alcaro 79280258c7 (D3D) Do use new/delete 2015-04-19 18:58:27 +02:00
twinaphex f4bd33b92f (XDK1) Build fixes 2015-04-12 22:29:55 +02:00
twinaphex 81cd5df961 Update MSVC solutions - 360 buildfix 2015-04-12 19:03:44 +02:00
Alcaro c953b78f07 Fix missing HAVE_MENU ifdef. 2015-04-11 22:05:54 +02:00
twinaphex 0d8bcb518b Add dynamic.h header include 2015-04-11 21:57:03 +02:00
twinaphex 5dfdeba58f Make d3d_make_d3dpp public 2015-04-11 21:56:38 +02:00
twinaphex f50b208ec8 Move d3d_make_d3dpp to d3d.cpp 2015-04-11 21:54:52 +02:00
twinaphex ba0ea3da1d Create dylib.h header 2015-04-11 10:36:13 +02:00
twinaphex ffc5ba0980 Make gfx_ctx_get_ptr static 2015-04-10 09:15:25 +02:00
twinaphex 0fc92790b3 Go through gfx_ctx_input_driver 2015-04-10 08:53:45 +02:00
twinaphex fe69dc2768 Use gfx_ctx_show_mouse 2015-04-10 08:49:01 +02:00
twinaphex 7e6787147e (D3D) Use gfx_ctx_swap_interval 2015-04-10 08:34:28 +02:00
twinaphex 187ab80f71 Go through more gfx_ctx wrapper functions 2015-04-10 08:26:43 +02:00
twinaphex d9f828e047 (D3D) Don't use std::string for title 2015-04-10 07:41:37 +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 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 a029c678d8 (D3D Cg) move cgCtx to renderchain data struct 2015-04-07 03:20:57 +02:00
twinaphex 7df57edf77 (D3D) Move default usage value to d3d_wrapper.cpp function 2015-04-07 02:53:27 +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 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 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 62ae5f1d6f (D3D) Add renderchain_reinit 2015-04-06 23:26:37 +02:00
twinaphex 5c2829d479 (XDK) Small cleanup 2015-04-06 21:38:36 +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 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 2a6456299e (D3D) Renderchain updates 2015-04-06 16:15:29 +02:00
twinaphex ee94ba9a84 (D3D) Cleanup 2015-04-06 06:46:35 +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 e33ca262c3 (D3D) Rename files 2015-04-06 00:30:06 +02:00
twinaphex b48d6306df (D3D) Make renderchain_render_pass static 2015-04-06 00:07:25 +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 05b6b7a2ea (D3D) Cleanups 2015-04-05 23:19:10 +02:00
twinaphex d9aa01da06 (D3D) Move structs around 2015-04-05 18:44:12 +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 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 1a7d3e3ea0 Move Cg Context to render_chain.cpp 2015-04-05 17:59:03 +02:00
twinaphex aaee638f6d (D3D) Cleanup 2015-04-05 17:08:22 +02:00
twinaphex 2adab38d8e (D3D) Use libretro.h pixel format types 2015-04-05 16:51:19 +02:00
twinaphex 162ffd9586 (D3D) Cleanups 2015-04-05 16:34:31 +02:00
twinaphex bf196212f3 (D3D) Refactor renderchain code some more 2015-04-05 04:54:50 +02:00
twinaphex 9081500780 (D3D) Cleanups pt. 3 2015-04-05 00:44:54 +02:00
radius 5e6cf7d74d windows build fixes 2015-04-04 13:56:26 -05:00
twinaphex 02c514a873 (D3D) Build fixes 2015-04-04 03:04:01 +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 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 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 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 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
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 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
twinaphex bcfc9d9077 Update headers 2015-01-07 18:06:50 +01:00
Lioncash ee80a34974 Add/fix some trivial null checks 2014-11-14 23:06:34 -05:00
twinaphex bb327684aa Update d3d_set_osd_msg 2014-11-09 20:27:51 +01:00
Higor Eurípedes 3479614e68 (d3d) Fix undeclared pretro_get_memory_data() error 2014-10-24 20:15:12 -02:00
twinaphex 6eaec2fb97 Update other gfx_ctx_init_first calls 2014-10-24 02:15:30 +02:00
twinaphex 12f22b0c8a (D3D) Include file/file_path.h 2014-10-22 03:56:54 +02:00
twinaphex 83602a79f1 (MSVC) Buildfix 2014-10-22 00:50:30 +02:00
twinaphex bf8cec3d04 (MSVC) Build fixes 2014-10-21 08:02:40 +02:00
twinaphex bcd5f8aa5b Add has_windowed to video driver and graphics context driver 2014-10-08 17:23:02 +02:00
twinaphex 6214e8e211 (360) Build fixes 2014-10-03 22:26:29 +02:00
twinaphex 7a6ee6a300 Get rid of MODE_MENU_HD too -g_extern.lifecycle_state can now
be used for 'injecting' button presses (i.e. libretro button presses
and/or meta button presses)
2014-10-02 21:57:01 +02:00
twinaphex ca12482af0 Move shader files to gfx/shader/ 2014-10-02 00:45:11 +02:00
twinaphex 00e605d9ba Take out MODE_MENu - and introduce g_extern.is_menu 2014-09-25 06:33:28 +02:00
Lioncash f8499aa71a Sanitize against NULL in some free-like functions. 2014-09-15 09:30:27 -04:00
twinaphex a752db392f Revert "Do life cycle state checking outside of graphics driver for"
This reverts commit 06bea05634.
2014-09-14 07:53:18 +02:00
twinaphex 295434151b (D3D) Change dir to gfx/d3d 2014-09-14 06:45:47 +02:00