efl/src/modules/evas/engines/gl_common
Jean-Philippe Andre 265c851a8f evas gl: Fix version detection for GLES 3.1
It was assumed that GLES 3 would only work with EGL but in fact
OpenGL 4.3 & 4.5 are supersets of GLES 3.0 & 3.1 respectively. So
GLX should also support GLES 3.0 or GLES 3.1 for evas gl, if the
driver supports it, of course.

Of course while doing this patch things didn't go like they were
supposed to go. I'm currently using NVIDIA's proprietary driver,
that conveniently provides EGL with GLES 3.2. But wait, there's
a catch: GL_VERSION is "OpenGL ES 3.2 NVIDIA" except that none
of the functions of GLES 3.1 or GLES 3.2 are actually supported.
Those functions are only present in the GLX/OpenGL variant of the
driver. Thanks so much for making my life easier...

So yeah, this patch contains a hack for those invalid versions
of GLES 3.x. What was supposed to be a small fix became a huge
mess.

Also add a comment about the possibly invalid auto-upgrade from
GLES 2 to GLES 3.

This adds a test case in elm_test, but only to verify that
elm_glview_version_add(3) actually works. We need a proper GLES 3
test case, eventually (and 3.1, 3.2 of course).
2017-03-08 15:44:39 +09:00
..
shader evas: Fix masking with window rotation, take 2 2016-11-04 15:28:56 +09:00
shader_3d Revert "evas: Fix compilation when using different build directory" 2016-06-27 16:19:43 +09:00
evas_gl_3d.c Eo: Finish the renaming of Eo to the EFL. 2016-08-15 15:07:42 +01:00
evas_gl_3d_common.h evas: Get pixels from rendered 3D scene 2016-06-03 14:22:33 +03:00
evas_gl_3d_private.h evas.canvas3d: Change shade_mode to shader_mode 2016-04-14 20:28:20 +09:00
evas_gl_3d_renderer.c evas.canvas3d: Change shade_mode to shader_mode 2016-04-14 20:28:20 +09:00
evas_gl_3d_renderer.h Evas: 3D: Introducing 3D scene rendering features 2014-04-25 16:15:41 +09:00
evas_gl_3d_shader.c evas: Improve debug logs (print shader code) 2016-06-20 14:19:30 +09:00
evas_gl_api.c evas gl: Fix version detection for GLES 3.1 2017-03-08 15:44:39 +09:00
evas_gl_api_def.h Evas GL: implement GLES2/GLES3 wrapper functions 2015-11-11 14:35:50 +09:00
evas_gl_api_ext.c EvasGL: Add support for Evas GL 3.1 2016-07-04 20:47:57 +09:00
evas_gl_api_ext.h Evas GL: implement GLES2/GLES3 wrapper functions 2015-11-11 14:35:50 +09:00
evas_gl_api_ext_def.h Evas GL: Use [u]int64_t directly in all APIs 2016-07-18 15:09:19 +09:00
evas_gl_api_gles1.c Evil: integrate the dlfcn code into Evil 2015-12-29 22:13:58 +09:00
evas_gl_api_gles3_def.h Evas GL: Use [u]int64_t directly in all APIs 2016-07-18 15:09:19 +09:00
evas_gl_common.h evas gl: Fix version detection for GLES 3.1 2017-03-08 15:44:39 +09:00
evas_gl_context.c evas gl: Fix version detection for GLES 3.1 2017-03-08 15:44:39 +09:00
evas_gl_core.c evas gl: Fix version detection for GLES 3.1 2017-03-08 15:44:39 +09:00
evas_gl_core.h evas gl_common: use void to force empty function parameters 2015-11-26 17:26:07 +01:00
evas_gl_core_private.h evas gl: Fix version detection for GLES 3.1 2017-03-08 15:44:39 +09:00
evas_gl_define.h evas: Try to fix compilation with EGLAttrib 2016-12-21 13:56:14 +09:00
evas_gl_file_cache.c Evas GL: check EvasGL cache file version with micro version 2015-04-06 16:32:49 +09:00
evas_gl_font.c Evas masking: Ensure texture is up-to-date before drawing (GL) 2015-04-01 11:02:18 +09:00
evas_gl_image.c evas image async preload - add option to also make header load async 2017-01-02 18:53:56 +09:00
evas_gl_line.c Evas masking: Ensure texture is up-to-date before drawing (GL) 2015-04-01 11:02:18 +09:00
evas_gl_polygon.c Evas masking: Implement polygon masking (GL) 2015-04-01 11:02:18 +09:00
evas_gl_preload.c tests: Remove CPU affinity from all threads 2017-03-06 17:03:47 +09:00
evas_gl_private.h evas gl - fixz minor leak on exit of rectangles 2014-08-07 18:15:50 +09:00
evas_gl_rectangle.c evas gl - rect draws didnt obey cutout max like font and img - fix 2015-10-24 10:31:28 +09:00
evas_gl_shader.c efl: fix memory leak in edje and evas. 2017-02-15 16:29:07 -08:00
evas_gl_texture.c emotion - fix empty video data frame update when using vdpau accel 2017-03-02 15:31:07 +09:00