Skip to content

Commit

Permalink
Intercept GL_VERSION string request in Evas GL (#289)
Browse files Browse the repository at this point in the history
* 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 <boram21.bae@samsung.com>
  • Loading branch information
bbrto21 authored and swift-kim committed Sep 1, 2022
1 parent 54eeb35 commit d08e444
Show file tree
Hide file tree
Showing 4 changed files with 59 additions and 492 deletions.
2 changes: 1 addition & 1 deletion shell/platform/tizen/external_texture_pixel_gl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#undef EFL_BETA_API_SUPPORT
#include "tizen_evas_gl_helper.h"
extern Evas_GL* g_evas_gl;
EVAS_GL_GLOBAL_GLES3_DECLARE();
EVAS_GL_GLOBAL_GLES2_DECLARE();
#else
#include <EGL/egl.h>
#include <EGL/eglext.h>
Expand Down
2 changes: 1 addition & 1 deletion shell/platform/tizen/external_texture_surface_gl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#undef EFL_BETA_API_SUPPORT
#include "tizen_evas_gl_helper.h"
extern Evas_GL* g_evas_gl;
EVAS_GL_GLOBAL_GLES3_DECLARE();
EVAS_GL_GLOBAL_GLES2_DECLARE();
#else
#include <EGL/egl.h>
#include <EGL/eglext.h>
Expand Down
Loading

0 comments on commit d08e444

Please sign in to comment.