aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/evas/engines/gl_common/evas_gl_core_private.h
diff options
context:
space:
mode:
authorSung Park <sungwoo@gmail.com>2012-11-21 04:59:52 +0000
committerSung Park <sungwoo@gmail.com>2012-11-21 04:59:52 +0000
commit995e0a6613c2c1a8ecf5464aea603f8b601a0863 (patch)
tree716118fc67c382e2f28f754c204398e536cd9b69 /src/modules/evas/engines/gl_common/evas_gl_core_private.h
parent2f2ef8042b9f7e5eea910a5e0ca211803b79944e (diff)
downloadefl-995e0a6613c2c1a8ecf5464aea603f8b601a0863.tar.gz
efl-995e0a6613c2c1a8ecf5464aea603f8b601a0863.tar.xz
efl-995e0a6613c2c1a8ecf5464aea603f8b601a0863.zip
Fixed Evas GL direct rendering bug from refactoring. The conditions
weren't set properly where if a program uses evas_gl to do GL rendering in direct rendering mode and then use a pixmap to do native GL rendering in the same program, native pixmap rendering would also fall into the direct rendering path and not render anything for image object. It's been fixed. SVN revision: 79493
Diffstat (limited to 'src/modules/evas/engines/gl_common/evas_gl_core_private.h')
-rwxr-xr-xsrc/modules/evas/engines/gl_common/evas_gl_core_private.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/evas/engines/gl_common/evas_gl_core_private.h b/src/modules/evas/engines/gl_common/evas_gl_core_private.h
index be114b497..491bd7534 100755
--- a/src/modules/evas/engines/gl_common/evas_gl_core_private.h
+++ b/src/modules/evas/engines/gl_common/evas_gl_core_private.h
@@ -200,7 +200,7 @@ struct _EVGL_Resource
EVGL_Context *current_ctx;
- int direct_enabled;
+ int direct_rendered;
Evas_Object *direct_img_obj;
};
@@ -249,5 +249,6 @@ extern void _evgl_api_get(Evas_GL_API *api, int debug);
extern EVGL_Resource *_evgl_tls_resource_get(EVGL_Engine *ee);
extern EVGL_Context *_evgl_current_context_get();
extern int _evgl_not_in_pixel_get();
+extern int _evgl_direct_enabled(EVGL_Engine *ee);
#endif //_EVAS_GL_CORE_PRIVATE_H