Commit Graph

363 Commits

Author SHA1 Message Date
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
twinaphex 6dee1fcc92 Move g_use_hw_ctx to egl_common.c 2015-11-19 14:28:21 +01:00
twinaphex 9705dc8d04 Create egl_destroy 2015-11-19 14:23:14 +01:00
twinaphex 36579ae58d Start moving identical state variables to egl_common.c 2015-11-19 14:09:51 +01:00
twinaphex 39ad1c2f86 (vc_egl_ctx.c) Put variable declarations at top 2015-11-19 13:29:46 +01:00
twinaphex ffbb9d0481 Create generic egl_get_proc_address 2015-11-19 13:24:51 +01:00
twinaphex 50f8634902 Add gfx/common/egl_common.c 2015-11-19 13:16:43 +01:00
twinaphex 476f390f55 remove some include headers 2015-11-19 12:25:53 +01:00
twinaphex 655520aeec Create x11_install_quit_atom 2015-11-19 12:18:35 +01:00
twinaphex e3aba24e42 (X11) Code de-duplication 2015-11-19 12:05:32 +01:00
twinaphex 50cd3bc185 Create x11_colormap_destroy 2015-11-19 11:55:05 +01:00
twinaphex 48495980ba Create x11_window_destroy 2015-11-19 11:49:09 +01:00
twinaphex ce2b973beb Create x11_input_ctx_new/x11_input_ctx_destroy 2015-11-19 11:27:41 +01:00
twinaphex 56e5d0bf3e Create g_x11_xim 2015-11-19 11:24:56 +01:00
twinaphex f868cbab31 Create x11_update_window_title 2015-11-19 11:18:57 +01:00
twinaphex d23557d38e Start restricting scope of g_x11_has_focus 2015-11-19 11:13:59 +01:00
twinaphex f364ff0649 Create x11_connect 2015-11-19 11:07:52 +01:00
twinaphex 95a5818ccb Create x11_install_sighandlers 2015-11-19 11:04:17 +01:00
twinaphex dd3e7f9ddc No more wrapper function for x11_check_window 2015-11-19 10:35:15 +01:00
twinaphex b50152902a No wrapper functions anymore for x11_get_video_size 2015-11-19 10:29:26 +01:00
twinaphex 9563f40aeb Cleanups 2015-11-19 10:25:07 +01:00
twinaphex ba1dd31995 Create x11_has_focus 2015-11-19 10:13:09 +01:00
twinaphex 4be8f14618 (GLX) Cleanup 2015-11-19 10:10:22 +01:00
twinaphex cbaca1bfe1 Create x11_get_video_size 2015-11-19 10:09:19 +01:00
twinaphex 5283c4c13c (GLX) Uses x11_check_window now too 2015-11-19 10:05:54 +01:00
twinaphex ac6813dc7f Create x11_check_window 2015-11-19 10:02:53 +01:00
twinaphex 025db14dcf (XEGL/GLX) Start using the same global state variables 2015-11-19 10:00:25 +01:00
twinaphex 3f23a23dea move g_has_focus to x11_common.c 2015-11-19 09:51:20 +01:00
twinaphex c9dc5cf71d Start moving some global variables for X11 context drivers
to x11_common.c
2015-11-19 09:49:37 +01:00
twinaphex 9207acd6f2 Expand win32_window_init 2015-11-19 08:30:37 +01:00
twinaphex 9376e8f019 (GLX) Cleanups 2015-11-18 14:34:04 +01:00
twinaphex 7e16e417b4 (Win32) Start using win32_shader_dlg.c for both D3D and GL 2015-11-18 14:19:35 +01:00
twinaphex 73990929e5 (WGL) Fix 2015-11-17 23:14:59 +01:00
twinaphex 4b00e24617 (D3D) Buildfix 2015-11-17 11:33:24 +01:00
twinaphex bb99dc4e38 Create win32_window_reset 2015-11-17 10:16:16 +01:00
twinaphex ab99c8ff8d (Win32) Buildfix 2015-11-17 10:13:34 +01:00
twinaphex 9528738a09 Set g_quit outside of wgl_ctx.cpp 2015-11-17 10:12:23 +01:00
twinaphex 4d7daf5dfd g_hwnd no longer used outside 2015-11-17 09:44:26 +01:00
twinaphex 922b679769 Create win32_get_window 2015-11-17 09:41:18 +01:00
twinaphex f9e4ec72c4 Revert "(win32_common) No longer expose global variables to outside"
This reverts commit 33884de94c.
2015-11-17 09:33:27 +01:00
twinaphex 33884de94c (win32_common) No longer expose global variables to outside 2015-11-17 09:29:43 +01:00
twinaphex 3d6f6869f0 Create win32_has_focus 2015-11-17 08:58:49 +01:00
twinaphex 239ae7de53 Move gl_common to gfx/common 2015-11-17 08:01:33 +01:00
Twinaphex 5ce92ca3d0 (iOS) Just omit this - not sure if we actually need to set it to NULL 2015-11-16 04:22:54 +01:00
Twinaphex 5fc267d24a (OSX/iOS) get_chosen_screen buildfixes 2015-11-14 22:26:07 +01:00
twinaphex 63924971aa (Android) Refactor away system_property_get_density - make regular calls to
system_property_get instead
2015-11-14 19:22:33 +01:00
twinaphex 4b63df35ba (Android) Should cache DPI once and then just return the value
without doing costly popen calls every time
2015-11-14 03:18:00 +01:00
twinaphex 8d0e375de0 (Win32) Buildfixes 2015-11-12 05:17:21 +01:00
twinaphex 105236a543 Create win32_set_video_mode 2015-11-12 05:16:06 +01:00
twinaphex d3efdf8e5a Move g_restore_desktop to win32_common 2015-11-12 05:14:09 +01:00
twinaphex 9a82d2a956 Create win32_monitor_set_fullscreen 2015-11-12 03:01:50 +01:00
twinaphex 0dce6479c1 Create win32_window_create 2015-11-12 02:51:40 +01:00
twinaphex cb008b13f8 (D3D) Use the same hwnd variable as WGL 2015-11-12 02:45:16 +01:00
twinaphex 823e2db596 Create d3d_set_render_state 2015-11-12 01:28:14 +01:00
twinaphex cb5d4b0569 Compile in win32_monitor_ functions for Xbox too but leave them
stub
2015-11-12 01:22:28 +01:00
twinaphex 9deeececf1 Turn win32_common and wgl_ctx into C++ 2015-11-11 20:07:06 +01:00
twinaphex 1413d97ab0 (D3D/GL) Use more common code 2015-11-11 19:48:24 +01:00
twinaphex 938dfa775a (D3D/GL) Try to use common code for both 2015-11-11 19:41:32 +01:00