summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2014-11-19 15:30:12 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2014-11-19 16:22:37 +0900
commit54afef04c2a8c285b4e8b010d59f22ef2cec14bb (patch)
treed54cbbd9d98e24bfb92882de373858ca0bc3339f
parent1a403849dca1c832c43bf4abf8226da63570fbca (diff)
Evas GL: Change comment and DBG message
-rw-r--r--src/modules/evas/engines/software_generic/evas_engine.c14
1 files changed, 9 insertions, 5 deletions
diff --git a/src/modules/evas/engines/software_generic/evas_engine.c b/src/modules/evas/engines/software_generic/evas_engine.c
index ccb6ccb840..f8e1504544 100644
--- a/src/modules/evas/engines/software_generic/evas_engine.c
+++ b/src/modules/evas/engines/software_generic/evas_engine.c
@@ -3619,12 +3619,15 @@ gl_sym_init(void)
3619#undef FINDSYM 3619#undef FINDSYM
3620#undef FALLBAK 3620#undef FALLBAK
3621 3621
3622 // Checking to see if this function exists is a poor but reasonable way to 3622 /*
3623 // check if it's gles but it works for now 3623 * For desktop OpenGL we wrap these:
3624 // FIXME: This is wrong as OpenGL 4.1 also supports this function. 3624 * - glGetShaderPrecisionFormat
3625 if (_sym_glGetShaderPrecisionFormat != (typeof(_sym_glGetShaderPrecisionFormat))sym_missing ) 3625 * - glReleaseShaderCompiler
3626 * - glShaderBinary
3627 */
3628 if (_sym_glGetShaderPrecisionFormat != (typeof(_sym_glGetShaderPrecisionFormat))sym_missing )
3626 { 3629 {
3627 DBG("GL Library is GLES."); 3630 DBG("The GL library is OpenGL ES or OpenGL 4.1+");
3628 gl_lib_is_gles = 1; 3631 gl_lib_is_gles = 1;
3629 } 3632 }
3630 3633
@@ -4051,6 +4054,7 @@ override_gl_apis(Evas_GL_API *api)
4051 { 4054 {
4052 // Override functions wrapped by Evas_GL 4055 // Override functions wrapped by Evas_GL
4053 // GLES2.0 API compat on top of desktop gl 4056 // GLES2.0 API compat on top of desktop gl
4057 // Note that Open GL 4.1+ provides these 3 functions as well
4054 ORD(glGetShaderPrecisionFormat); 4058 ORD(glGetShaderPrecisionFormat);
4055 ORD(glReleaseShaderCompiler); 4059 ORD(glReleaseShaderCompiler);
4056 ORD(glShaderBinary); 4060 ORD(glShaderBinary);