jpeg pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=c2f5d41f393530458766db0aee3ab5a1b9a0e8f5

commit c2f5d41f393530458766db0aee3ab5a1b9a0e8f5
Author: Jean-Philippe Andre <jp.an...@samsung.com>
Date:   Tue Apr 14 17:27:06 2015 +0900

    Evas GL generic: Fix log domain
    
    The log domain EvasGL is used by evas_gl_common and initialized
    only when an Evas GL surface is created.
---
 src/modules/evas/engines/gl_generic/evas_engine.c | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/src/modules/evas/engines/gl_generic/evas_engine.c 
b/src/modules/evas/engines/gl_generic/evas_engine.c
index ed03737..3fa094f 100644
--- a/src/modules/evas/engines/gl_generic/evas_engine.c
+++ b/src/modules/evas/engines/gl_generic/evas_engine.c
@@ -33,6 +33,17 @@
 
 static int _evas_engine_GL_log_dom = -1;
 
+#undef ERR
+#undef DBG
+#undef INF
+#undef WRN
+#undef CRI
+#define ERR(...) EINA_LOG_DOM_ERR(_evas_engine_GL_log_dom, __VA_ARGS__)
+#define DBG(...) EINA_LOG_DOM_DBG(_evas_engine_GL_log_dom, __VA_ARGS__)
+#define INF(...) EINA_LOG_DOM_INFO(_evas_engine_GL_log_dom, __VA_ARGS__)
+#define WRN(...) EINA_LOG_DOM_WARN(_evas_engine_GL_log_dom, __VA_ARGS__)
+#define CRI(...) EINA_LOG_DOM_CRIT(_evas_engine_GL_log_dom, __VA_ARGS__)
+
 static int eng_gl_image_direct_get(void *data EINA_UNUSED, void *image);
 
 static void
@@ -2296,7 +2307,7 @@ module_open(Evas_Module *em)
    /* get whatever engine module we inherit from */
    if (!_evas_module_engine_inherit(&pfunc, "software_generic")) return 0;
    if (_evas_engine_GL_log_dom < 0)
-     _evas_engine_GL_log_dom = eina_log_domain_register("evas-gl", 
EVAS_DEFAULT_LOG_COLOR);
+     _evas_engine_GL_log_dom = eina_log_domain_register("evas-gl_generic", 
EVAS_DEFAULT_LOG_COLOR);
    if (_evas_engine_GL_log_dom < 0)
      {
         EINA_LOG_ERR("Can not create a module log domain.");

-- 


Reply via email to