Commit Graph

3434 Commits

Author SHA1 Message Date
Twinaphex 946193446d (iOS) Move buffer swap to actual buffer swap function 2015-04-15 07:34:22 +02:00
twinaphex 6bf30bb714 (PS3) Buildfixes 2015-04-14 21:58:39 +02:00
twinaphex 0818b178f9 Rename rarch_main_command to event_command 2015-04-13 11:26:02 +02:00
Twinaphex de2eb5f972 Rename RARCH_CMD_* to EVENT_CMD_* 2015-04-13 10:29:15 +02:00
Twinaphex 56a348e9bd Merge pull request #1624 from aliaspider/master
(3DS) video driver: performance improvements.
2015-04-13 02:52:32 +02:00
aliaspider e754c328b0 (3DS) video driver: performance improvements. 2015-04-13 01:50:00 +01:00
twinaphex 59e7ab3048 (XDK1) Build fixes 2015-04-13 00:44:10 +02:00
twinaphex 099d95eb6f (XDK1) Buildfix 2015-04-12 22:32:01 +02:00
twinaphex f4bd33b92f (XDK1) Build fixes 2015-04-12 22:29:55 +02:00
twinaphex 9a3ba16a36 (GL) Cleanup 2015-04-12 22:01:48 +02:00
twinaphex 4479bf5d55 (XDK1) Buildfixes 2015-04-12 20:00:49 +02:00
twinaphex 7fbbac544e Some C89 build fixes 2015-04-12 19:29:38 +02:00
twinaphex 81cd5df961 Update MSVC solutions - 360 buildfix 2015-04-12 19:03:44 +02:00
Twinaphex 0e2ed7c746 (Apple) Cleanups 2015-04-12 16:55:50 +02:00
Twinaphex 68902c9d94 (Cocoa/Apple) Split up Apple GL context driver code to separate file 2015-04-12 16:51:07 +02:00
twinaphex 2e0ea00404 (video filters) Change all existing video filters to single threaded mode -
the code is not thread-safe
2015-04-12 07:45:28 +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 be96b95dda Style nits 2015-04-11 08:45:55 +02:00
twinaphex 54b10d8eca (gfx/drivers) Style nits 2015-04-11 08:39:37 +02:00
twinaphex e76f8b9a71 init_video_pixel_converter - return false if calloc failed 2015-04-11 08:23:02 +02:00
twinaphex b31fd31793 Fix win32_show_cursor 2015-04-11 07:10:35 +02:00
twinaphex c00b1ac7e1 init_video - cleanup 2015-04-11 06:23:40 +02:00
twinaphex b77a3c49ee Cleanup video_driver_set_shader 2015-04-11 06:17:59 +02:00
twinaphex c5cdd729db Create video_driver_suppress_screensaver 2015-04-11 06:12:27 +02:00
twinaphex 5112a6883e Create video_driver_ctx_get_ptr 2015-04-11 06:09:24 +02:00
twinaphex 128fbce403 video_driver.c - Refactor 2015-04-11 05:57:53 +02:00
twinaphex ef825e0c6a (Menu/video) Cleanups 2015-04-11 05:44:35 +02:00
twinaphex dd10134e39 (XDK1 Fonts) Rename pFrontBuffer 2015-04-10 10:11:43 +02:00
twinaphex a3e14acaa3 Create win32_check_window 2015-04-10 09:36:03 +02:00
twinaphex b46c9cea87 Create win32_show_cursor 2015-04-10 09:30:18 +02:00
twinaphex 4f43e4b363 Go through gfx_ctx_get_proc_address 2015-04-10 09:24:10 +02:00
twinaphex ffc5ba0980 Make gfx_ctx_get_ptr static 2015-04-10 09:15:25 +02:00
Twinaphex ced227c214 (gl.c) Cleanups 2015-04-10 09:12:32 +02:00
twinaphex f65f56fdf4 Go through gfx_ctx_get_video_output wrapper functions 2015-04-10 09:11:17 +02:00
twinaphex 234baf09bd Go through gfx_ctx_bind_hw_render 2015-04-10 09:07:53 +02:00
twinaphex 0ef148f460 Go through gfx_ctx_set_video_mode 2015-04-10 09:05:07 +02:00
twinaphex 8082f17e2e Rename egl image buffer functions 2015-04-10 09:02:24 +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 4cb8074bf5 Create more gfx_ctx wrapper functions and use them 2015-04-10 08:33:07 +02:00
twinaphex 187ab80f71 Go through more gfx_ctx wrapper functions 2015-04-10 08:26:43 +02:00
Twinaphex 1a6adcc6f6 (video_context_driver.h) Cleanup 2015-04-10 08:05:31 +02:00
twinaphex e282951163 (360) Change #ifndef LSB_FIRST to #ifdef MSB_FIRST 2015-04-10 08:03:34 +02:00
twinaphex 8012b88bcb (PS3) Buildfix 2015-04-10 07:46:54 +02:00
twinaphex a8a5808b78 (D3D) Cleanup 2015-04-10 07:44:07 +02:00
twinaphex d9f828e047 (D3D) Don't use std::string for title 2015-04-10 07:41:37 +02:00
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 901662caad (vg.c) Use gfx_ctx_translate_aspect 2015-04-10 06:52:51 +02:00
twinaphex d16b22fa80 (vg.c) Start going through gfx_ctx wrapper functions 2015-04-10 06:51:00 +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 89bdccad4d (wgl_ctx.c) Fix warnings 2015-04-10 06:33:18 +02:00
twinaphex 6ff8d368e6 (gl.c) Cleanup 2015-04-10 06:29:27 +02:00
twinaphex a4f234e26e (GL) Cleanup gl_read_viewport 2015-04-10 06:25:25 +02:00
twinaphex 270f10ae04 (gl.c) Cleanup gl_init 2015-04-10 06:17:04 +02:00
twinaphex 37a5a7e653 Create gfx_ctx_suppress_screensaver 2015-04-10 06:13:20 +02:00
twinaphex 7671f3e035 Create gfx_ctx_check_window 2015-04-10 06:10:05 +02:00
twinaphex 33e70124a1 (d3d_ctx.cpp) Cleanup 2015-04-10 06:01:52 +02:00
twinaphex 3213baf452 Take out HAVE_EGL ifdefs in gfx_context_driver_t definition 2015-04-10 05:58:08 +02:00
twinaphex 133d7b7dd2 Wrap more gfx_ctx functions 2015-04-10 05:47:36 +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 0df3f13fc9 Revert "Create wrapper gfx_ctx_check_window"
This reverts commit 4d3b187231.
2015-04-09 22:38:11 +02:00
twinaphex 4d3b187231 Create wrapper gfx_ctx_check_window 2015-04-09 22:37:14 +02:00
twinaphex 82124d6181 Create some more gfx_ctx wrapper functions 2015-04-09 21:58:58 +02:00
twinaphex 4e24111f42 (Graphics context) Create gfx_ctx_translate_aspect 2015-04-09 21:48:20 +02:00
twinaphex a002ce6e6d Create gfx_ctx_get_metrics 2015-04-09 18:55:22 +02:00
twinaphex 8616a9bf28 (VG) Go through gfx_ctx_get_ptr 2015-04-09 18:46:24 +02:00
twinaphex 5b96c82607 (D3D) Start using gfx_ctx_get_ptr 2015-04-09 18:38:24 +02:00
twinaphex 5d60938560 (GL) Go through gfx_ctx_get_ptr 2015-04-09 18:30:30 +02:00
Twinaphex 73bfdfccdb (GL) remove unused variables 2015-04-09 18:20:56 +02:00
twinaphex 849d86db0f (GL) Start going through gfx_ctx_get_ptr 2015-04-09 18:17:52 +02:00
twinaphex 45e87c06e2 (Driver) Create video_context 2015-04-09 18:07:58 +02:00
twinaphex 65310b7699 (Win32) Cleanups/Buildfixes 2015-04-09 05:48:01 +02:00
twinaphex 644d52b6ab (VC Context driver) Style nits/cleanups 2015-04-09 05:35:01 +02:00
twinaphex ff398fe6c8 gfx_ctx_drm_egl_bind_api - return false at the end 2015-04-09 05:29:24 +02:00
twinaphex dc10606b23 Create win32_get_metrics 2015-04-09 05:19:29 +02:00
twinaphex 1f23338ca4 Move win32_common.c to gfx/common 2015-04-09 05:16:02 +02:00
twinaphex 61ca56ae8e Create x11_get_metrics 2015-04-09 05:05:29 +02:00
twinaphex 5e8a78bb25 Move x11_common.c to gfx/common 2015-04-09 05:02:57 +02:00
twinaphex 16b7b454a9 Move gl_common.c to gfx/drivers 2015-04-09 04:57:17 +02:00
twinaphex 8b2c8bae19 (Xvideo) Style nits 2015-04-09 04:15:37 +02:00
twinaphex 2aebce1174 (XEGL/GLX) Implement get_metrics 2015-04-09 03:59:16 +02:00
twinaphex 741e18efb5 (Android) Add android_gfx_ctx_get_metrics 2015-04-09 03:27:41 +02:00
twinaphex 5e4647994b (Windows) Implement get_metrics for D3D and WGL context drivers 2015-04-08 22:06:33 +02:00
twinaphex fab39da46a (Gfx context) Implement get_metrics callback 2015-04-08 20:10:30 +02:00
Twinaphex 66dbd108df Merge pull request #1609 from aliaspider/master
(3DS) video driver update.
2015-04-08 20:05:40 +02:00
aliaspider a7c63f973b (3DS) update video driver:
use a gemotry shader to simulate sprite primitives.
move gpu state commands to the initial display list.
2015-04-08 18:59:41 +01:00
twinaphex 03af36ba64 (WGL) Go through dylib_load 2015-04-08 19:52:15 +02:00
Twinaphex 7781334c98 (OSX) Start implementing apple_gfx_ctx_get_metrics - not yet iOS-compatible 2015-04-08 09:02:47 +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