Commit Graph

4577 Commits

Author SHA1 Message Date
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
twinaphex
7e08f5d908 Create drm_free 2015-11-26 17:34:35 +01:00
twinaphex
e06121b661 Move more common code to drm_common.c 2015-11-26 17:30:01 +01:00
twinaphex
8f9c652693 Add gfx/common/drm_common.c and gfx_common/drm_common.h 2015-11-26 17:12:06 +01:00
twinaphex
c720bce8a9 Update variable name/buildfix 2015-11-26 02:29:43 +01:00
twinaphex
73ce9c0d23 Add another RARCH_INPUT_CTL_* command 2015-11-25 18:33:18 +01:00
twinaphex
14b2b8ada7 Start creating input_driver_ctl 2015-11-25 18:21:21 +01:00
twinaphex
c9db73e944 Contain driver->input_data usage pt. 2 2015-11-25 03:25:31 +01:00
twinaphex
d2f771440b Contain driver->input_data usage 2015-11-25 03:15:22 +01:00
aliaspider
be5755fe59 (3DS) build fix. 2015-11-24 12:02:02 +01:00
Twinaphex
0958acd0b1 Merge pull request #2455 from aliaspider/master
(3DS) update.
2015-11-24 11:36:00 +01:00
aliaspider
38579e56ff (3DS) gfx driver: add missing d-cache flush. 2015-11-24 11:25:28 +01:00
twinaphex
1639f27f8c Turn check_block_hotkey into static function 2015-11-24 01:54:21 +01:00
twinaphex
cd51102281 Remove scaler_get_ptr 2015-11-24 01:50:37 +01:00
twinaphex
009813a694 Derp - ininite loop 2015-11-24 01:36:27 +01:00
twinaphex
51291067eb video_driver.c) Turn some functions static 2015-11-24 01:30:52 +01:00
twinaphex
1f62479068 move video_frame to gfx/video_driver.c 2015-11-24 01:26:59 +01:00
twinaphex
516422b1d1 Build fix 2015-11-24 00:23:32 +01:00
twinaphex
a3e52a9369 Put M_PI inside retro_miscellaneous.h 2015-11-24 00:05:37 +01:00
twinaphex
deae90e0bb Move use_rgba to gfx/video_driver.c - get rid of driver_t dependencies 2015-11-23 23:58:40 +01:00
twinaphex
ffbaef13b9 driver->threaded_video never used - buildfix for Windows 2015-11-23 22:29:27 +01:00
twinaphex
06035875f2 Divorce video poke interface from driver_t struct 2015-11-23 22:14:39 +01:00
twinaphex
32b363c75e Cleanups 2015-11-23 21:32:05 +01:00
twinaphex
866501703f Cleanups 2015-11-23 21:28:54 +01:00
twinaphex
f234996b49 Divorce driver->video_context from driver_t struct 2015-11-23 21:24:02 +01:00
twinaphex
6f18656baa driver->video_context should be self-contained now to video_context_driver.c 2015-11-23 21:20:21 +01:00
twinaphex
0520a1b3c7 Divorce video_context_data from driver_t 2015-11-23 21:09:40 +01:00
twinaphex
f98cda3c33 video_context_data only accessed now from one file 2015-11-23 21:06:15 +01:00
twinaphex
3ad52d0f08 Cleanups 2015-11-23 21:00:56 +01:00
twinaphex
1f87c6d9e2 Dont' try to access driver->video_context_data directly 2015-11-23 20:56:06 +01:00
twinaphex
41b46975f9 Cleanups - go through standard functions 2015-11-23 20:45:09 +01:00
twinaphex
d23d1f6cb0 (D3D) Attempted buildfix 2015-11-23 20:30:56 +01:00
Higor Eurípedes
d665f8a6e4 (video_driver) Fix crash in deinit_pixel_converter() 2015-11-23 15:46:56 -03:00
Alcaro
7b66b65823 Add some error messages if the null drivers are used. 2015-11-23 19:42:46 +01:00
twinaphex
24400bc797 Divorce audio_data from driver_t struct 2015-11-23 19:22:18 +01:00
twinaphex
be7e4ad96b Move video_data to gfx/video_driver.c 2015-11-23 19:05:49 +01:00
twinaphex
389cf13db5 Don't reference driver->video_data outside of gx/video_driver.c anymore 2015-11-23 18:51:04 +01:00
twinaphex
c0cc5fac53 Cleanups 2015-11-23 18:25:42 +01:00
twinaphex
f9671333b5 Divorce current_video from driver_t struct 2015-11-23 18:11:17 +01:00
twinaphex
672a3814d6 Create more VIDEO_DRIVER_CTL_ commands 2015-11-23 18:01:46 +01:00
twinaphex
8030f91667 Don't use video_driver_get_ptr inside shader_null 2015-11-23 16:41:50 +01:00
twinaphex
c7dc83533a Add param to video_driver_get_ptr for grabbing the nonthreaded
data state
2015-11-23 16:06:09 +01:00
twinaphex
76d6378228 Go through video_driver_ctl 2015-11-23 15:01:49 +01:00
twinaphex
4cccd6d596 (sdl2_gfx.c) Buildfix 2015-11-23 14:55:20 +01:00
twinaphex
2e3c3d25b5 Create video_driver_frame 2015-11-23 14:53:56 +01:00
twinaphex
9b41061143 Rename driver->video 2015-11-23 14:14:12 +01:00
twinaphex
daedeced2c (render_chain_xdk.cpp) Add verbosity.h header include 2015-11-23 13:15:37 +01:00
twinaphex
6fbd7dce35 render_chain_cg.cpp - add verbosity.h 2015-11-23 13:14:09 +01:00
twinaphex
1bd2f2eb8a Make some pixel converter functions static 2015-11-23 13:05:50 +01:00
twinaphex
beceaf4a8c Merge video_pixel_converter.c with video_driver.c 2015-11-23 13:02:24 +01:00
twinaphex
e970372959 (D3D) Buildfix 2015-11-23 13:02:02 +01:00
twinaphex
86504392b9 Create video_driver_set_size 2015-11-23 12:54:15 +01:00
twinaphex
b434689d39 (Win32) Buildfixes 2015-11-23 12:14:53 +01:00
Twinaphex
5974f81ed8 (OSX) Buildfixes 2015-11-23 12:07:00 +01:00
twinaphex
074f14b132 Add verbosity.c/verbosity.h 2015-11-23 12:03:38 +01:00
twinaphex
6470253f0d (Win32) Buildfixes 2015-11-22 22:25:01 +01:00
twinaphex
85dbeeb8f9 No more video_monitor.h 2015-11-22 13:32:46 +01:00
twinaphex
aa1e8dc543 (menu_setting) Refactor this macro mess 2015-11-21 16:32:22 +01:00
twinaphex
892d99b3a6 Add SET_VIEWPORT_CONFIG 2015-11-21 13:13:55 +01:00