twinaphex
4738ef545c
Change interval type to signed int
2018-09-12 00:08:13 +02:00
gblues
6904101c44
Clean up trailing whitespace
...
== DETAILS
Really simple code cleanup, because my editor flags trailing whitespaces
and it's pretty annoying.
2017-12-12 00:24:18 -08:00
twinaphex
f928e57064
Combine video_context_driver.c and video_driver.c
2017-05-09 01:25:59 +02:00
Kyle Brenneman
fcccc9dc0b
Use eglGetPlatformDisplay when it's available.
...
Added a platform parameter to egl_init_context. If the caller provides a
platform other than EGL_NONE, then it will try to use eglGetPlatformDisplay or
eglGetPlatformDisplayEXT instead of eglGetDisplay.
If neither eglGetPlatformDisplay or eglGetPlatformDisplayEXT is supported, then
it will still fall back to calling eglGetDisplay.
Updated the Wayland, X11, and DRM callers to use the correct platform enum.
Those are the callers that don't just pass EGL_DEFAULT_DISPLAY as the native
display handle.
Calling eglGetDisplay with any value other than EGL_DEFAULT_DISPLAY is
inherently unreliable, because it requires the EGL implementation to guess a
platform type based on a (void *) pointer. Some implementations might not
identify a particular platform, or worse, might guess wrong.
Fixes https://github.com/libretro/RetroArch/issues/4790
2017-04-16 14:19:40 -06:00
twinaphex
96c8ca5a09
Header update #1
2017-01-22 13:40:32 +01:00
Logan McNaughton
06eca5d530
Define some EGL constants
...
Missing from the Android headers
2016-11-01 07:09:58 -06:00
twinaphex
76cc6fd8ec
Start implementing signal handler code once in frontend driver code
2016-07-08 02:38:33 +02:00
twinaphex
b434f0863a
CXX_BUILD buildfix
2016-06-23 07:44:56 +02:00
Alcaro
90dd86a66a
Fix #3129 again
2016-06-19 22:09:52 +02:00
twinaphex
01390f8ceb
Use retro_common_api.h
2016-06-03 08:06:49 +02:00
twinaphex
e938be3747
Have to rewrite EGL context code
2016-03-01 06:49:05 +01:00
twinaphex
7da0739b61
Get rid of global g_egl_api now too
2016-02-22 11:54:55 +01:00
twinaphex
22a677b3a8
Don't use egl_common's 'api' variable anymore
2016-02-22 11:54:19 +01:00
twinaphex
54f46f4ee3
Update headers
2016-01-10 04:41:52 +01:00
Higor Eurípedes
1f51a0d948
(videocore) Fix build
2015-12-08 19:34:26 -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
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
aad6a3a2a6
CXX_BUILD - buildfixes
2015-11-21 12:32:12 +01:00
twinaphex
efa673c7b0
Make g_egl_use_hw_ctx a static variable
2015-11-21 09:37:26 +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
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
ad260fcb7b
Create egl_init_context
2015-11-19 17:52:25 +01:00
twinaphex
80369a8823
Create egl_install_sighandlers
2015-11-19 15:55:57 +01:00
twinaphex
2fe6686ced
Create g_egl_quit
2015-11-19 15:47:30 +01:00
twinaphex
774542fc62
Simplify egl_destroy
2015-11-19 15:34:40 +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
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
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