Commit Graph

4635 Commits

Author SHA1 Message Date
twinaphex
d6377cb183 Turn g_pD3D into static variable 2016-01-07 01:23:52 +01:00
twinaphex
5a60055aa9 Make curD3D a static variable 2016-01-07 01:18:51 +01:00
twinaphex
e5f327edda N/A 2016-01-07 01:11:26 +01:00
twinaphex
9f616cca07 Check if device is NULL inside d3d_set_resize 2016-01-07 01:10:37 +01:00
twinaphex
b4b3574665 use void pointer 2016-01-07 01:00:11 +01:00
twinaphex
3b8932b302 Turn returntype of set_resize into bool 2016-01-07 00:58:33 +01:00
twinaphex
28b615e62c (D3D) Buildfixes 2016-01-07 00:45:09 +01:00
twinaphex
3b34d6b6f1 WM_SIZE - we need to call the context driver's d3d_resize function 2016-01-07 00:43:16 +01:00
twinaphex
38a58a2a8a Call d3d_restore from d3d.cpp 2016-01-07 00:38:42 +01:00
twinaphex
70a6da0491 (D3D) Cleanups 2016-01-07 00:29:12 +01:00
twinaphex
949c4b6dc3 One cleanup 2016-01-07 00:26:38 +01:00
twinaphex
8d83d4bf81 (D3D) Buildfix 2016-01-07 00:20:23 +01:00
twinaphex
56a17b21f1 Create d3d_device_free 2016-01-07 00:19:27 +01:00
twinaphex
b345d04407 Always call gfx_ctx_free 2016-01-07 00:03:05 +01:00
twinaphex
3b516cacd7 Remove _XBOX ifdef 2016-01-06 23:59:23 +01:00
twinaphex
8cd7cb203e Revert "(D3D) Remove some more _XBOX ifdefs"
This reverts commit de989f202a.
2016-01-06 23:54:53 +01:00
twinaphex
de989f202a (D3D) Remove some more _XBOX ifdefs 2016-01-06 23:52:59 +01:00
twinaphex
054035bd9d Remove some ifndef _XBOX ifdefs 2016-01-06 23:46:46 +01:00
twinaphex
e0e69d2d36 Cleanups 2016-01-06 23:45:10 +01:00
twinaphex
2199e22e63 Remove d3d_restore_device 2016-01-06 04:26:24 +01:00
twinaphex
b8d41df24f (D3D) Add some logging to d3d_restore_device 2016-01-06 04:17:21 +01:00
twinaphex
c64b9bed15 Ifdef global variable for Xbox 2016-01-06 03:59:22 +01:00
twinaphex
08e73ea144 Non_HAVE_MEN codepath fixes - courtesy of Karlton
t # Please enter the commit message for your changes. Lines starting
2016-01-02 02:54:20 +01:00
twinaphex
4fd5f1cad6 Improvements to unsetting the video driver callback 2015-12-28 21:34:57 +01:00
twinaphex
f9f6d49ab7 Move macros to top 2015-12-26 11:27:52 +01:00
twinaphex
c2d7cbe18b Use string_is_empty 2015-12-26 07:59:15 +01:00
twinaphex
dde68de466 Add new environment callback - RETRO_ENVIRONMENT_GET_CURRENT_SOFTWARE_FRAMEBUFFER 2015-12-25 19:29:14 +01:00
twinaphex
7df9efbffe Get rid of some warnings when compiling for targets with no threaded
video defined
2015-12-25 07:11:34 +01:00
vanfanel
36d079f104 fixed segfault on exit caused by gl driver trying to free font context driver when osd mesages were disabled 2015-12-25 05:47:47 +01:00
vanfanel
886acba67f fixed segfault when osd message rendering was disabled 2015-12-25 05:27:28 +01:00
Monroe88
e4894ded6d (video_shader_parse.h) Increase max parameters to 128 2015-12-23 19:39:09 -06:00
twinaphex
466953fae8 remove this 2015-12-22 21:59:24 +01:00
thedax
0565a92486 Update CTR (3DS) driver for the latest ctrulib SDK, fix a typo, and fix compilation errors. 2015-12-21 13:43:05 -05:00
Higor Eurípedes
3bce2b494f (d3d) Fix context initialization 2015-12-20 21:48:46 -03:00
twinaphex
fd644cb434 Revert "(video_driver.c) Ensure input is initialized in init_video_input"
This reverts commit d191e29d1b.
2015-12-20 23:52:50 +01:00
Higor Eurípedes
d191e29d1b (video_driver.c) Ensure input is initialized in init_video_input 2015-12-20 19:12:14 -03:00
Higor Eurípedes
f6729c0b74 (d3d_ctx) Return video_data as the context data
The d3d context shares the d3d video driver data.
2015-12-20 19:12:14 -03:00
twinaphex
f53711f791 Change return type of load_texture to uintptr_t 2015-12-20 22:38:18 +01:00
twinaphex
20170ef2b0 (D3D) Buildfix 2015-12-20 21:59:57 +01:00
twinaphex
4f499fc5c3 Buildfixes 2015-12-20 21:09:00 +01:00
twinaphex
6362c86c31 Buildfixes 2015-12-20 21:08:03 +01:00
twinaphex
aa488dda25 Create video driver poke load_texture / unload_texture 2015-12-20 20:52:23 +01:00
radius
f64fc93c44 silence a warning 2015-12-17 17:48:58 -05:00
Jean-André Santoni
6f5d09b235 (Mali) Fix mali fbdev build 2015-12-15 10:23:02 +07:00
twinaphex
6feff79547 (GL) Store major/minor version 2015-12-13 14:55:19 +01:00
twinaphex
8a213b8ab4 (sdl_gfx.c) Avoid warning by casting directly 2015-12-12 17:54:27 +01:00
twinaphex
1b768f7dcd Create RARCH_DRIVER_CTL_SET_REFRESH_RATE 2015-12-11 11:00:12 +01:00
twinaphex
fc6505e408 Get rid of rarch_system_info_get_ptr 2015-12-10 22:30:25 +01:00
Alcaro
9e3994408e What is that typecast dance good for? 2015-12-10 14:10:42 +01:00
twinaphex
9b706085c9 C89_BUILD fix 2015-12-10 14:06:55 +01:00
twinaphex
e1331fa6a5 CXX_BUILD fixes 2015-12-10 14:05:56 +01:00
twinaphex
3df5b50d4b Remove header include 2015-12-10 13:38:35 +01:00
twinaphex
71d9a89de9 Revert "gl_glsl_destroy_resources - use glIsBuffer to check if buffer is"
This reverts commit 0deb243c62.
2015-12-09 22:36:43 +01:00
twinaphex
0deb243c62 gl_glsl_destroy_resources - use glIsBuffer to check if buffer is
bound
2015-12-09 18:23:39 +01:00
twinaphex
a710d7057f gl_glsl_destroy_resources - use glIsProgram as a final check 2015-12-09 17:57:25 +01:00
twinaphex
47161af73f video_shader_driver_set_mvp - check if mat is NULL 2015-12-09 17:50:20 +01:00
twinaphex
b4fa396470 Cleanup 2015-12-09 10:14:43 +01:00
twinaphex
7bdc1da676 Create RARCH_DISPLAY_CTL_CACHED_FRAME_SET_PTR 2015-12-09 10:13:48 +01:00
twinaphex
ebb0906f3e Remove function 2015-12-09 09:10:21 +01:00
twinaphex
902997c579 Remove gfx_ctx_data_get_ptr 2015-12-09 09:05:55 +01:00
twinaphex
b7988a33fe shader_driver_ctx_init_first renamed 2015-12-09 08:45:55 +01:00
Higor Eurípedes
d602b8ed5a (d3d) Fix build 2015-12-08 22:16:55 -03:00
Higor Eurípedes
962455fafa (vg) Fix build again 2015-12-08 21:59:59 -03:00
Higor Eurípedes
dc371da6ed (vg) Fix build 2015-12-08 21:51:29 -03:00
Higor Eurípedes
1f51a0d948 (videocore) Fix build 2015-12-08 19:34:26 -03:00
Higor Eurípedes
39b238151f (androidegl_ctx) Lock android_app before accessing it 2015-12-08 19:26:32 -03:00
Higor Eurípedes
7dcecc500f (cocoa) Fix warning 2015-12-08 17:33:59 -03:00
Higor Eurípedes
c2d4da4660 (mali) Convert to new egl common api 2015-12-08 17:33:59 -03:00
Higor Eurípedes
9e90efacbb (videocore) Convert to new egl common api 2015-12-08 17:33:59 -03:00
Higor Eurípedes
98baf27a99 (vivante-fbdev) Convert to new egl common api 2015-12-08 17:33:59 -03:00
twinaphex
77f1bbdb26 (D3D) Buildfix 2015-12-08 20:55:19 +01:00
Higor Eurípedes
7135dfb597 (d3d) Fix build 2015-12-08 16:03:25 -03:00
twinaphex
a5d0770268 (PS3) Get rid of gfx_ctx_free_data 2015-12-08 19:56:43 +01:00
twinaphex
39499eb107 Silence 'cannot be reached' warnings 2015-12-08 19:54:36 +01:00
Higor Eurípedes
5b7069b377 (bbqnx_ctx.c) Convert to the new egl common api 2015-12-08 14:56:46 -03:00
Higor Eurípedes
3a7f93d459 (android_ctx.c) Use the new egl common api 2015-12-08 14:30:45 -03:00
Higor Eurípedes
1cf574cfbe Move most of egl_common globals into egl_ctx_data_t 2015-12-08 13:54:03 -03:00
Higor Eurípedes
c257374dcd (video_context_driver) Make better use of the data argument in context calls 2015-12-08 12:19:08 -03:00
twinaphex
a95762e5cb Create egl_has_config 2015-12-08 14:42:02 +01:00
twinaphex
0f94353b28 Create egl_get_native_visual_id 2015-12-08 14:38:06 +01:00
twinaphex
34dbd35642 Revert "Remove some unnecesary functions"
This reverts commit 1f13f26ba4.
2015-12-08 12:55:43 +01:00
twinaphex
91dcce5d58 Rearrange header 2015-12-08 11:52:32 +01:00
twinaphex
1f13f26ba4 Remove some unnecesary functions 2015-12-08 11:21:57 +01:00
twinaphex
bae51fb3bd Turn rarch_threaded_video_send_and_wait to static function 2015-12-08 11:17:26 +01:00
twinaphex
1ea3b54411 Move definition of thread_packet to video_thread_wrapper.c 2015-12-08 11:09:09 +01:00
twinaphex
aa6c7a5ed3 Create two new threading command wrapper functions 2015-12-08 11:05:18 +01:00
twinaphex
a18811bff6 Remove some obsolete state 2015-12-08 10:34:27 +01:00
twinaphex
c614118ed8 Move context_bind_hw_render inline function to gl.c 2015-12-08 09:44:19 +01:00
twinaphex
75f10bfcdb Remove unused variable 2015-12-08 09:33:36 +01:00
twinaphex
9f96742576 Take out some header includes 2015-12-08 09:30:44 +01:00
twinaphex
f11bed2bdd Get rid of gl->shader parameter 2015-12-08 09:29:23 +01:00
twinaphex
df60523f6c Move current_shader pointer to video_shader_driver.c 2015-12-08 09:27:25 +01:00
twinaphex
9736713279 Create RARCH_DISPLAY_CTL_SET_STUB_FRAME/UNSET_STUB_FRAME 2015-12-07 21:16:15 +01:00
twinaphex
77b7e5b791 (GX) Remove dependency on menu_driver_get_ptr 2015-12-07 15:58:41 +01:00
twinaphex
2d55dc3bda Complete namespace changes 2015-12-07 15:32:14 +01:00
twinaphex
0df4a8d2a2 Put message from video_driver_frame into separate buffer
temporarily for safety
2015-12-07 10:59:53 +01:00
twinaphex
e8a3bd99d8 (3DS/CTR) Buildfix 2015-12-07 09:32:58 +01:00
Twinaphex
15cb1c560a (gfx/video_texture_c.c) Add HAVE_D3D/HAVE_OPENGL ifdefs 2015-12-07 08:06:50 +01:00
Twinaphex
c1bb8f711d Fix some warnings for non-HAVE_THREADS targets 2015-12-07 08:00:27 +01:00
twinaphex
cbdd305626 Add HAVE_THREADS ifdef 2015-12-06 22:42:22 +01:00
twinaphex
a4de5895d8 nit 2015-12-06 21:58:51 +01:00
twinaphex
137757d832 gfx/video_texture_c.c - add HAVE_THREADS ifdef 2015-12-06 21:58:12 +01:00
twinaphex
7f433a36d5 Move rthreads.h header include to video_thread_wrapper.c 2015-12-06 21:35:55 +01:00
twinaphex
9b65988682 Create rarch_threaded_video_send_and_wait 2015-12-06 21:34:39 +01:00
twinaphex
37286ca894 header cleanup 2015-12-06 21:31:20 +01:00
twinaphex
ae58a9ed19 Check if shader->deinit function is bound first 2015-12-06 21:19:52 +01:00
twinaphex
6fbdd319f4 Add header include 2015-12-06 19:59:15 +01:00
twinaphex
c6359d6dbc Divorce g_system_menu from global state 2015-12-06 19:31:47 +01:00
Twinaphex
4e14e6e6fa Merge pull request #2529 from heuripedes/master
(shader_glsl.c) Fix memory leak
2015-12-06 18:31:50 +01:00
twinaphex
99ea0095a3 Create RARCH_MENU_CTL_FRAME 2015-12-06 18:28:37 +01:00
Higor Eurípedes
9bb36cac38 (shader_glsl.c) Fix memory leak 2015-12-06 14:23:51 -03:00
twinaphex
0389474e12 Set dangling pointers to null for RARCH_DISPLAY_CTL_DEINIT
and RARCH_AUDIO_CTL_DEINIT too
2015-12-06 18:15:00 +01:00
twinaphex
a3033c2f66 Buildfixes 2015-12-06 18:12:49 +01:00
twinaphex
09ecd04d67 Make sure gpu_buffer is set back to NULL too upon
RARCH_DISPLAY_CTL_DESTROY time
2015-12-06 17:33:51 +01:00
twinaphex
0f9ba38b76 Make sure all static local variables from video_driver_ctl are
reset back to default state after calling RARCH_DISPLAY_CTL_DESTROY
2015-12-06 17:17:08 +01:00
twinaphex
083d1fec69 video_driver_frame - cleanup 2015-12-06 15:24:06 +01:00
twinaphex
bbbf6513fd move gpu record buffer to video_driver.c 2015-12-06 15:22:20 +01:00
twinaphex
a23598e553 Don't need video_driver_current_msg anymore 2015-12-06 14:32:30 +01:00
twinaphex
39e9d5c5ba Start cutting down on the size of some char local variables - we
don't need PATH_MAX_LENGTH for everything
2015-12-06 13:28:20 +01:00
twinaphex
38a7338592 Fix video_shader_driver_get_current_shader 2015-12-06 11:22:16 +01:00
twinaphex
693e684b4f (font_driver.c) Turn some functions static and remove others that
are unused
2015-12-05 22:58:52 +01:00
twinaphex
ec1b1c3e54 Header cleanups 2015-12-05 21:23:34 +01:00
twinaphex
c79c205a0d Header include cleanup 2015-12-05 20:26:37 +01:00
twinaphex
f45867d1cd More CXX_BUILD fixes 2015-12-05 18:56:37 +01:00
twinaphex
05b1097d37 Rearrange some headers 2015-12-05 18:45:15 +01:00
twinaphex
5b939e810c Get rid of driver_t and driver_get_ptr 2015-12-05 16:54:13 +01:00
twinaphex
18ab12ab83 Take header include record_driver.h out of driver.h 2015-12-05 16:12:29 +01:00
twinaphex
7e5d1f3117 Only rcord_driver.c references driver->recording now 2015-12-05 16:05:35 +01:00
twinaphex
736f343d9f Create RARCH_MENU_CTL_IS_ALIVE 2015-12-05 13:49:34 +01:00
twinaphex
03e2873296 (D3D) Buildfixes 2015-12-05 13:31:02 +01:00
twinaphex
2f29d9f18c Take out menu/menu_driver.h include from driver.h 2015-12-05 13:22:50 +01:00
twinaphex
c8d8176c0c Get rid of unused variables 2015-12-05 12:50:56 +01:00
twinaphex
6a00c1cf9a Take font driver handles out of driver_t struct 2015-12-05 12:25:53 +01:00
twinaphex
612c05ac71 (Xbox) Buildfix 2015-12-05 12:21:20 +01:00
twinaphex
78fef6422b Create font_driver_get_message_width 2015-12-05 12:17:58 +01:00
twinaphex
df813ad58b Create font_driver_flush 2015-12-05 12:10:12 +01:00
twinaphex
df1c6344be Merge font_renderer_driver.c and font_driver.c 2015-12-05 12:07:22 +01:00
twinaphex
44b708642c Expand font_driver_bind_block 2015-12-05 11:34:56 +01:00
twinaphex
988162ed62 Cut down on code duplication 2015-12-05 11:29:06 +01:00
twinaphex
5f27366cb3 Expand font_driver_init_first 2015-12-05 11:18:05 +01:00
twinaphex
4c8a2a3f88 Create font_driver_bind_block 2015-12-05 10:59:03 +01:00
twinaphex
a26e64e24d Expand font_driver_free 2015-12-05 10:54:53 +01:00
twinaphex
e196fdf141 font_driver_render_msg - make it possible to pass special font data 2015-12-05 10:49:28 +01:00
twinaphex
c88d795734 Start using font driver wrapper functions 2015-12-05 10:33:50 +01:00
twinaphex
89721b8837 Start creating font driver wrapper functions 2015-12-05 10:31:15 +01:00
twinaphex
ddff980161 Remove unused variables 2015-12-05 09:14:55 +01:00
twinaphex
f72b69e8d1 Don't include frontend_driver.h as part of driver.h 2015-12-05 09:09:31 +01:00
twinaphex
c36b8e1ae9 Don't touch driver->frontend outside of frontend_driver.c anymore 2015-12-05 08:52:01 +01:00
twinaphex
1fcf63735f Header include changes 2015-12-05 07:45:36 +01:00
twinaphex
e735f84baa Refactor shader subsystem 2015-12-05 07:33:32 +01:00
twinaphex
8c3c22f15a Move rewind.h header include to shader_glsl.c 2015-12-04 16:54:09 +01:00
twinaphex
7b1fb48034 (D3D) Use new video_shader_driver_* functions 2015-12-04 16:46:43 +01:00
twinaphex
ab3f0f0652 Create remaining video_shader_driver_* functions 2015-12-04 16:45:38 +01:00
twinaphex
6d37cfc2fb Create video_shader_driver_get_prev_textures 2015-12-04 16:34:58 +01:00
twinaphex
a2da59ac9b Create video_shader_driver_set_coords and video_shader_driver_set_mvp 2015-12-04 16:33:07 +01:00
twinaphex
827b3cc89b Create video_shader_driver_num_shaders 2015-12-04 16:19:12 +01:00
twinaphex
0ed77247a8 Create video_shader_driver_mipmap_input 2015-12-04 16:16:40 +01:00
twinaphex
c8f2ef7734 Create video_shader_driver_get_ident 2015-12-04 16:05:42 +01:00
twinaphex
1956dffe9b Create video_shader_driver_use 2015-12-04 16:01:09 +01:00
twinaphex
bdf099a19c Create video_shader_driver_deinit 2015-12-04 15:56:36 +01:00
twinaphex
de555d6040 Replace all instances of shader->init 2015-12-04 15:54:10 +01:00
twinaphex
3f6540dd58 Start using video_shader_driver_init for D3D too 2015-12-04 15:53:02 +01:00
twinaphex
11109a198b Create video_shader_driver_init 2015-12-04 15:50:40 +01:00
twinaphex
351077dc78 Start reimplementing audio/video/input driver deiniting 2015-12-04 14:30:59 +01:00
twinaphex
c0a1a6a3fe Move system->shutdown to runloop_ctl, turn it into a local
static variable
2015-12-04 12:44:12 +01:00
twinaphex
bdb54d91b7 video_monitor_fps_statistics - small cleanup 2015-12-04 08:27:47 +01:00
twinaphex
6411a7d0d9 Make video_driver_current_msg smaller 2015-12-04 08:04:16 +01:00
twinaphex
830b3052e5 (video_driver.c) Turn some variables into local static variables 2015-12-04 02:29:49 +01:00
twinaphex
96ddc1f722 egl_destroy - don't do glFlush/glFinish on mobile platforms 2015-12-04 01:44:41 +01:00
Higor Eurípedes
f63468d783 Fix some potential null derefs 2015-12-03 21:22:29 -03:00
twinaphex
faa02023ce Check if video_driver_poke is false 2015-12-04 01:21:46 +01:00
twinaphex
581c856676 Attempt to make gl_raster_font_flush_block more robust 2015-12-04 01:04:27 +01:00
twinaphex
d8b9be9349 Put parentheses around earlier check 2015-12-04 00:26:53 +01:00
twinaphex
b6be555809 Try to prevent a NULL pointer dereference for global - rename video_frame 2015-12-04 00:26:09 +01:00
twinaphex
757f0692ad (gfx_ctx_swap_buffers) Guard against video context data being NULL 2015-12-03 23:59:54 +01:00
twinaphex
bab243a7a2 (egl_common.c) Cleanups 2015-12-03 23:33:50 +01:00
twinaphex
e73224c5c2 Get rid of superfluous log 2015-12-03 23:24:54 +01:00
twinaphex
eda3e06898 (GL) Guard against possible segfaults in threaded video mode 2015-12-03 23:16:37 +01:00
twinaphex
beb01b5d57 Create gl_init_textures_reference 2015-12-03 22:42:54 +01:00
twinaphex
60313f7f48 (Android) Don't call eglSwapBuffers if g_egl_dpy and g_egl_surf are not
yet ready
2015-12-03 22:23:20 +01:00
twinaphex
66721e8902 Set g_egl_hw_ctx to NULL in egl_create_context 2015-12-03 22:13:03 +01:00
twinaphex
0c8ed91b36 Nits 2015-12-02 01:02:58 +01:00
twinaphex
b7f7b1f3b7 video_thread_wrapper.c - cleanups 2015-12-02 01:01:27 +01:00
twinaphex
6c6beca430 Create x11_save_last_used_monitor 2015-12-01 08:49:35 +01:00
twinaphex
c4354ff429 Create g_x11_screen 2015-12-01 08:42:33 +01:00
Twinaphex
96da691728 Revert "Revert "(gl) Fix gl->should_resize being always true""
This reverts commit d35840ebcd.
2015-12-01 07:15:06 +01:00
Twinaphex
d0340d0f80 (GLSL) Fix regression 2015-12-01 07:12:26 +01:00
Twinaphex
d35840ebcd Revert "(gl) Fix gl->should_resize being always true"
This reverts commit 0f339caf30.
2015-12-01 04:58:47 +01:00
Higor Eurípedes
0dfccf2785 (sdl2_video) Fix floating point exception 2015-11-30 21:32:32 -03:00
Higor Eurípedes
0f339caf30 (gl) Fix gl->should_resize being always true 2015-11-30 21:32:32 -03:00
twinaphex
e8471ead48 Move rewind state code out of g_extern 2015-11-30 22:29:16 +01:00
twinaphex
0db7cda264 Start moving rewind code to rewind.c 2015-11-30 22:25:13 +01:00
twinaphex
9824eb7ea9 Rename rarch_main_ctl to runloop_ctl 2015-11-30 21:42:59 +01:00
twinaphex
4e333302ae Rename RARCH_MAIN_CTL* to RUNLOOP_CTL* 2015-11-30 21:35:50 +01:00
twinaphex
862483f67e (video_context_driver.c) Cleanups 2015-11-30 09:02:12 +01:00
twinaphex
d1486464fe Turn video_driver_frame_filter into a static function 2015-11-30 07:22:08 +01:00
twinaphex
2fe9ef736c (video_driver.c) Uniquely namespace static variables 2015-11-30 07:14:23 +01:00
twinaphex
91b40523bd Weird regression fixed 2015-11-30 06:57:58 +01:00
twinaphex
3ea560d516 Change WndProcCommon 2015-11-30 06:27:00 +01:00
twinaphex
7cc7305263 (HLSL) No longer depend on driver struct 2015-11-30 02:28:35 +01:00
twinaphex
321322ab7d (GLSL) Don't use driver struct anymore 2015-11-30 02:20:49 +01:00
twinaphex
b996645f46 (shader_gl_cg.c) No longer use driver ptr 2015-11-30 02:08:15 +01:00
twinaphex
ef591c416d Cleanups 2015-11-29 23:01:37 +01:00
twinaphex
b62738465c Move video_active to gfx/video_driver.c 2015-11-29 21:38:47 +01:00
twinaphex
e2fde41124 Move current_msg to gfx/video_driver.c 2015-11-29 20:59:52 +01:00
twinaphex
a2399bc2cf Remove unused variable 2015-11-29 20:45:23 +01:00
twinaphex
1d44619f41 Move driver->video_cache_context and driver->video_cache_context_ack
to video_driver.c
2015-11-29 20:44:51 +01:00
twinaphex
df9f0fc6d1 Move input_data_own to input_driver.c 2015-11-29 20:34:35 +01:00
twinaphex
c62150c2a2 Move video_data_own to gfx/video_driver.c 2015-11-29 20:23:16 +01:00
twinaphex
d181870caa No more dependency on driver_t for driver->input 2015-11-29 19:18:59 +01:00
twinaphex
7a6f444823 No more references to driver->input from outside 2015-11-29 19:07:02 +01:00
twinaphex
778c9a25d6 Remove another call to driver->input from inside 2015-11-29 19:03:23 +01:00
twinaphex
4ff0492e3d Start getting rid of driver->input references 2015-11-29 19:02:27 +01:00
twinaphex
d76d9d3411 (gfx/video_driver.c) Cleanup 2015-11-29 18:30:22 +01:00
twinaphex
1c867cedf0 Move nonblock_state to input_driver.c (NOTE: we probably need
to relocate this later on)
2015-11-29 17:53:11 +01:00
twinaphex
6fd6288337 Move block_libretro_input to input_driver.c 2015-11-29 17:33:29 +01:00
twinaphex
a02728fee3 Cleanups 2015-11-29 03:35:19 +01:00
twinaphex
9fd9fd10e8 Create input_x11_common 2015-11-29 03:34:09 +01:00
twinaphex
be0857aff2 move video_pixel_scalar struct to gfx/video_driver.c 2015-11-29 01:48:25 +01:00
twinaphex
b8df5fd584 (exynos_gfx.c) Nits 2015-11-29 01:43:58 +01:00
twinaphex
127448f848 Use video_driver_window_get 2015-11-29 01:39:28 +01:00
twinaphex
c75885b7b4 Remove gfx/video_driver.h dependency from driver.h 2015-11-29 01:15:40 +01:00
twinaphex
0044d853f8 Move display_type / display_window etc all to gfx/video_driver.c -
no more dependencies on driver_t
2015-11-29 01:12:49 +01:00
twinaphex
c82fc11ba3 Get rid of now unused win32_video_get_ident 2015-11-28 22:01:44 +01:00
twinaphex
a0aecd097e (Win32) Buildfix 2015-11-28 22:01:02 +01:00
twinaphex
7eb441a50f (Win32) Cut down on code duplication 2015-11-28 22:00:22 +01:00
twinaphex
d810ba607b Get rid of extern "C" for WndProc 2015-11-28 21:55:46 +01:00
twinaphex
c20c6a5438 (Win32) Buildfixes 2015-11-28 21:54:32 +01:00
twinaphex
883179bc40 (Win32) Buildfix 2015-11-28 21:52:09 +01:00
twinaphex
ef3cbed13e Create separate WndProc for GL and D3D 2015-11-28 21:50:28 +01:00
twinaphex
3b903adea1 Don't try to access driver->input_data from outside 2015-11-28 18:26:05 +01:00
twinaphex
be71e654f3 Create input_driver_get_data_ptr 2015-11-28 18:22:05 +01:00
twinaphex
8ce6582fa4 Create drm_wait_flip 2015-11-28 17:16:19 +01:00
twinaphex
200b41bb58 (dispmanx_gfx.c) Nit 2015-11-28 17:07:52 +01:00
twinaphex
70850c8ca3 (dispmanx_gfx.c) Cleanups 2015-11-28 17:00:44 +01:00
twinaphex
2b4464f30a Implement RARCH_MAIN_CTL_IS_IDLE 2015-11-28 15:03:59 +01:00
twinaphex
a6ccc188a8 Rename input_common.c to input_config.c 2015-11-28 02:22:58 +01:00
Higor Eurípedes
9bc10fef7a (gl) Fix invalid enum error 2015-11-27 21:53:31 -03:00
Higor Eurípedes
428bc30a61 (gl) Add checks for full npot support 2015-11-27 21:21:23 -03:00
twinaphex
265e36a5d0 Some CXX_BUILD buildfixes 2015-11-28 00:33:01 +01:00
twinaphex
a8d868f187 (Android) Implement 'focused' callback for androidegl_ctx 2015-11-27 20:38:29 +01:00
twinaphex
dd68465f74 (exynos_gfx.c) Cleanups 2015-11-26 19:38:17 +01:00
twinaphex
5c28a8389a (DRM/EGL) No need to grab context data pointer anymore 2015-11-26 19:12:47 +01:00
twinaphex
7c52d380bf Move memsetting of fds and evctx to drm_common.c 2015-11-26 18:59:36 +01:00
twinaphex
00cf57eac0 Header include drm_common.h already includes essential
DRM headers
2015-11-26 18:57:29 +01:00
twinaphex
9c2813a757 Turn a bunch of variables static 2015-11-26 18:49:58 +01:00
twinaphex
25680ec8a6 Create more DRM common functions 2015-11-26 18:47:07 +01:00
twinaphex
60ead8f6b1 Create drm_get_encoder 2015-11-26 18:23:51 +01:00
twinaphex
0225e2e65a Cleanups 2015-11-26 18:18:44 +01:00
twinaphex
2693e16f1e (Exynos/DRM EGL context driver) Unify more code 2015-11-26 18:05:27 +01:00