Commit Graph

299 Commits

Author SHA1 Message Date
twinaphex 4cdde1c7c4 Use d3d_set_viewport_wrap 2015-11-10 21:58:33 +01:00
twinaphex 1f1525a7e8 (D3D) Cleanups 2015-11-10 15:30:24 +01:00
twinaphex 749c0b4ef8 Make d3d_calculate_rect more like gl_set_viewport 2015-11-10 05:47:53 +01:00
twinaphex d9fe978d1c Merge branch 'master' of https://github.com/libretro/RetroArch 2015-11-10 05:32:59 +01:00
twinaphex 29aa5bae27 (D3D) Add keep_aspect 2015-11-10 05:30:25 +01:00
twinaphex bfe0eb9bfb Call gfx_ctx_set_resize from d3d_frame 2015-11-10 05:26:37 +01:00
twinaphex 5cbfbb190c (D3D) Buildfix 2015-11-10 05:11:49 +01:00
twinaphex fd319cb223 (D3D) Cleanups 2015-11-10 05:09:31 +01:00
twinaphex 413d783127 Include header 2015-11-10 01:50:15 +01:00
twinaphex c5b5d3c186 (D3D) Cleanups 2015-11-10 00:13:28 +01:00
twinaphex 9f6e273e6a (D3D) Buildfix 2015-11-09 19:08:57 +01:00
twinaphex 4fbebb57df Revert "Move releasing of devices to d3d_deinitialize"
This reverts commit f90bd16825.
2015-11-09 19:01:24 +01:00
twinaphex f90bd16825 Move releasing of devices to d3d_deinitialize 2015-11-09 18:56:24 +01:00
twinaphex 64bc7cbe36 (D3D) Fix function call 2015-11-09 15:43:46 +01:00
twinaphex 0bb7f30d6a Use d3d wrapper functions more 2015-11-09 15:39:47 +01:00
twinaphex 6a12e874b8 Handle failure with d3d_swap 2015-11-09 01:59:24 +01:00
twinaphex 27671f5dfc (D3D) Update pretro reference 2015-10-07 03:52:35 +02:00
twinaphex 87d44af218 Static code analysis cleanups 2015-09-29 18:08:33 +02:00
twinaphex d482dba2eb More static code analysis fixes 2015-09-28 16:57:22 +02:00
twinaphex 2b840c0384 Refactor perf counters 2015-09-20 10:02:59 +02:00
twinaphex 09c3bd8d9c (d3d.cpp) Use sprintf 2015-09-07 01:46:19 +02:00
twinaphex 3e977034a7 (Win32) More buildfixes 2015-09-05 14:10:16 +02:00
twinaphex 0c023dcb68 Reimplement frame count 2015-08-03 23:01:07 +02:00
twinaphex 3d36cb02ac No more separate runloop_t 2015-08-03 20:15:46 +02:00
twinaphex 6e63f562ea (D3D) Buildfix 2015-07-11 19:47:20 +02:00
twinaphex c3f5ea0fcc Make input_overlay.h no longer depend on RPNG image 2015-07-11 08:14:39 +02:00
twinaphex 43c8f282db (Gfx) Cleanups 2015-06-13 02:10:06 +02:00
Toad King e97ecc17cc fix d3d build 2015-05-20 17:28:12 -05:00
twinaphex e04dff82b5 Add some notes 2015-05-20 23:04:15 +02:00
twinaphex 6e327a3b8d Get rid of more unused global local pointers 2015-05-20 22:48:33 +02:00
twinaphex 2f62cd65e2 Start using video_viewport_get_custom everywhere 2015-05-20 19:12:39 +02:00
twinaphex a053b41223 Create video_viewport_get_system_av_info and video_viewport_get_custom -
move custom viewport and system av info outside of global state
2015-05-20 18:57:17 +02:00
twinaphex b255b5a325 Create video_driver_set_aspect_ratio_value and video_driver_get_aspect_ratio 2015-05-20 18:24:45 +02:00
twinaphex 066617ee62 (MSVC) Buildfixes 2015-05-20 02:45:32 +02:00
twinaphex 4352cca599 Cleanup last remaining references 2015-05-20 02:40:44 +02:00
twinaphex b2d57fd07d (D3D) Remove dependencies on video_data 2015-05-20 02:30:31 +02:00
twinaphex 9ce32fd7af (D3D) Refactor more global->video_data.* {width/height} references 2015-05-20 01:54:57 +02:00
twinaphex 375c49b6c8 Move is_menu out of runloop struct and create get/set functions in menu_driver.c
and make the underlying variable static to make it thread-safe
2015-05-19 20:11:57 +02:00
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