aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/evas
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2015-10-14 21:46:34 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2015-10-15 16:20:53 +0900
commite09a4094bedd0ecc8e7cc4af614dabe1b7b5fb05 (patch)
tree0bebe355752d70a190424b1faaa1bdb193b40ba2 /src/modules/evas
parentEvas GL: Error out on surfaceless make_current with OSMesa (diff)
downloadefl-e09a4094bedd0ecc8e7cc4af614dabe1b7b5fb05.tar.gz
Evas GL: Add EGL_KHR_surfaceless_context since it is supported
See 3e39bf36389fdbc8a3f845214. Surfaceless contexts are supported even if the driver does not support them.
Diffstat (limited to 'src/modules/evas')
-rw-r--r--src/modules/evas/engines/gl_common/evas_gl_api_ext.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/modules/evas/engines/gl_common/evas_gl_api_ext.c b/src/modules/evas/engines/gl_common/evas_gl_api_ext.c
index 03e9805385..eb6f1564e7 100644
--- a/src/modules/evas/engines/gl_common/evas_gl_api_ext.c
+++ b/src/modules/evas/engines/gl_common/evas_gl_api_ext.c
@@ -506,6 +506,11 @@ evgl_api_egl_ext_init(void *getproc, const char *glueexts)
sb = eina_strbuf_new();
+ // Always supported by Evas GL (faked with internal pbuffer if needed)
+ // See also GL_OES_surfaceless_context (needs some more work to be actually
+ // supported).
+ eina_strbuf_append(sb, "EGL_KHR_surfaceless_context ");
+
/////////////////////////////////////////////////////////////////////////////////////////////////////
// Extension HEADER
/////////////////////////////////////////////////////////////////////////////////////////////////////