Skip to content

Commit 1730d83

Browse files
authored
Intercept GL_VERSION string request in Evas GL (#289)
* Intercept GL_VERSION string request in Evas GL * Evas GL's glGetString doesn't handle GL_VERSION string request. So it intercepts this request and always returns the 2.1 version string. * Downgrade the version of tizen_evas_gl_helper.h to Evas_GL_GLES2. Signed-off-by: Boram Bae <[email protected]> * Fix a typo Signed-off-by: Boram Bae <[email protected]>
1 parent 70fa036 commit 1730d83

File tree

4 files changed

+59
-492
lines changed

4 files changed

+59
-492
lines changed

shell/platform/tizen/external_texture_pixel_gl.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#undef EFL_BETA_API_SUPPORT
99
#include "tizen_evas_gl_helper.h"
1010
extern Evas_GL* g_evas_gl;
11-
EVAS_GL_GLOBAL_GLES3_DECLARE();
11+
EVAS_GL_GLOBAL_GLES2_DECLARE();
1212
#else
1313
#include <EGL/egl.h>
1414
#include <EGL/eglext.h>

shell/platform/tizen/external_texture_surface_gl.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#undef EFL_BETA_API_SUPPORT
1111
#include "tizen_evas_gl_helper.h"
1212
extern Evas_GL* g_evas_gl;
13-
EVAS_GL_GLOBAL_GLES3_DECLARE();
13+
EVAS_GL_GLOBAL_GLES2_DECLARE();
1414
#else
1515
#include <EGL/egl.h>
1616
#include <EGL/eglext.h>

0 commit comments

Comments
 (0)