Commit Graph

420 Commits

Author SHA1 Message Date
twinaphex
9f616cca07 Check if device is NULL inside d3d_set_resize 2016-01-07 01:10:37 +01:00
twinaphex
3b8932b302 Turn returntype of set_resize into bool 2016-01-07 00:58:33 +01:00
twinaphex
38a58a2a8a Call d3d_restore from d3d.cpp 2016-01-07 00:38:42 +01:00
twinaphex
c2d7cbe18b Use string_is_empty 2015-12-26 07:59:15 +01:00
twinaphex
466953fae8 remove this 2015-12-22 21:59:24 +01: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
Jean-André Santoni
6f5d09b235 (Mali) Fix mali fbdev build 2015-12-15 10:23:02 +07:00
twinaphex
e1331fa6a5 CXX_BUILD fixes 2015-12-10 14:05:56 +01:00
twinaphex
902997c579 Remove gfx_ctx_data_get_ptr 2015-12-09 09:05:55 +01: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
twinaphex
a5d0770268 (PS3) Get rid of gfx_ctx_free_data 2015-12-08 19:56:43 +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
2d55dc3bda Complete namespace changes 2015-12-07 15:32:14 +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
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
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
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
ef3cbed13e Create separate WndProc for GL and D3D 2015-11-28 21:50:28 +01:00
twinaphex
8ce6582fa4 Create drm_wait_flip 2015-11-28 17:16:19 +01:00
twinaphex
a8d868f187 (Android) Implement 'focused' callback for androidegl_ctx 2015-11-27 20:38:29 +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
866501703f Cleanups 2015-11-23 21:28:54 +01:00
twinaphex
f98cda3c33 video_context_data only accessed now from one file 2015-11-23 21:06:15 +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
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
85dbeeb8f9 No more video_monitor.h 2015-11-22 13:32:46 +01:00
twinaphex
aad6a3a2a6 CXX_BUILD - buildfixes 2015-11-21 12:32:12 +01:00
twinaphex
b69caea6c1 Set g_egl_inited to false after egl_destroy 2015-11-21 09:39:25 +01:00
twinaphex
0f33722f5d Refactor Wii per-game resolution mode to be somewhat generic 2015-11-21 08:56:24 +01:00
twinaphex
de44911092 (PS3/Wii) Reimplement video resolution code 2015-11-21 08:39:46 +01:00
twinaphex
ad75d00bd4 Implement get_video_output_size 2015-11-21 08:18:14 +01:00
twinaphex
1c3ba76e67 (PS3) Implement video output get prev/next 2015-11-21 07:54:42 +01:00
twinaphex
60aad558d8 (PS3) Cleanups 2015-11-21 07:43:53 +01:00
twinaphex
658c5d4ceb (PS3) Cleanups 2015-11-21 07:32:08 +01:00
twinaphex
7c10d0f796 (vc_eg_ctx.c) Move header below egl_common.h 2015-11-20 16:58:31 +01:00
twinaphex
1686eb8f7f (vc_egl_ctx.c) Cleanup 2015-11-20 14:34:40 +01:00
twinaphex
990bffcc27 (wgl_ctx.cpp) Cleanups 2015-11-20 14:32:46 +01:00
twinaphex
e466995c70 (xegl_ctx.c) Get rid of forward declaration 2015-11-20 14:31:09 +01:00
twinaphex
c6e962a43e (bbqnx) Use g_egl_api 2015-11-20 14:30:32 +01:00
twinaphex
1d4b5691c9 (DRM/EGL) Add goto error 2015-11-20 13:50:17 +01:00
twinaphex
259674fee2 (vivante fbdev) Add function pointer for rendering hardware contexts 2015-11-20 13:46:41 +01:00
twinaphex
2f151896eb use egl_create_surface everywhere 2015-11-20 13:43:05 +01:00
twinaphex
fc0f5f8889 Create egl_create_surface 2015-11-20 13:36:16 +01:00
twinaphex
1101bb34d3 Create g_egl_api/g_egl_inited 2015-11-20 13:27:31 +01:00
twinaphex
3c842823bc (Mali/Wayland) Use egl_create_context 2015-11-19 18:36:24 +01:00
twinaphex
01614bb7f4 Start using egl_create_context in more drivers 2015-11-19 18:29:15 +01:00
twinaphex
f84c58e777 (Android) Start using egl_create_context 2015-11-19 18:25:19 +01:00
twinaphex
033e0ac3ad (drm_egl_ctx.c) Start using egl_create_context 2015-11-19 18:18:44 +01:00
twinaphex
c1e61f7ff0 Start using egl_init_context for most GLES context drivers 2015-11-19 18:10:59 +01:00
twinaphex
4c1ac3222c Start using egl_init_context in more drivers 2015-11-19 18:01:37 +01:00
twinaphex
6048025544 (Android) Use egl_init_context too 2015-11-19 17:55:49 +01:00
twinaphex
ad260fcb7b Create egl_init_context 2015-11-19 17:52:25 +01:00
twinaphex
512585f673 (DRM/EGL) Cleanups 2015-11-19 17:02:02 +01:00
twinaphex
64bfea11f6 (DRM/EGL) Cleanups 2015-11-19 16:46:38 +01:00
twinaphex
a0ac41f49f (DRM/EGL) Cleanups 2015-11-19 16:32:58 +01:00
twinaphex
b35c5e244f (DRM/EGL) Cleanups 2015-11-19 16:06:16 +01:00
twinaphex
ee3f625a83 Remove signal includes 2015-11-19 15:57:09 +01:00
twinaphex
80369a8823 Create egl_install_sighandlers 2015-11-19 15:55:57 +01:00
twinaphex
ad311d3bb0 Set g_egl_quit to 0 at end of egl_destroy 2015-11-19 15:49:49 +01:00
twinaphex
2fe6686ced Create g_egl_quit 2015-11-19 15:47:30 +01:00
twinaphex
34543c3f1c (vc_egl_ctx.c) Remove g_quit variable 2015-11-19 15:43:10 +01:00
twinaphex
5bf5c7d790 (mali_fbdev) Cleanup 2015-11-19 15:40:13 +01:00
twinaphex
55591e97c3 (DRM/EGL) Nit 2015-11-19 15:39:25 +01:00
twinaphex
e84d77bf64 (BBQNX) Cleanup 2015-11-19 15:37:43 +01:00
twinaphex
774542fc62 Simplify egl_destroy 2015-11-19 15:34:40 +01:00
twinaphex
36b278fb84 (DRM/EGL) Use g_interval variable 2015-11-19 15:32:02 +01:00
twinaphex
46fb98e21c Create egl_get_video_size 2015-11-19 15:21:04 +01:00
twinaphex
5aedc1c4ca Create egl_set_swap_interval 2015-11-19 15:16:37 +01:00
twinaphex
00be95159d Create x11_event_queue_check 2015-11-19 15:05:17 +01:00
twinaphex
21124ec80a (GLX) Simplification 2015-11-19 15:00:12 +01:00
twinaphex
7c9f357c1b Simplify glx_wait_notify 2015-11-19 14:59:26 +01:00
twinaphex
599f68bf63 (DRM/EGL) Always focused 2015-11-19 14:48:35 +01:00
twinaphex
200c42e7ee No longer need context data struct for Android 2015-11-19 14:43:22 +01:00
twinaphex
7b39fd50a3 Create egl_swap_buffers 2015-11-19 14:38:55 +01:00
twinaphex
e2c82900d1 Create egl_bind_hw_render 2015-11-19 14:32:39 +01:00