aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/ecore_x/xlib/ecore_x_vsync.c
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2014-08-28 14:09:03 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2014-08-28 14:09:39 -0400
commit3408f1bd6d7eea1a042095248054c849322a55e1 (patch)
treed806dfec1fb755bf6800ff322a3003015ee40a52 /src/lib/ecore_x/xlib/ecore_x_vsync.c
parentgl-drm: Fix missing link to gbm for ecore_evas_drm and clean up build script (diff)
downloadefl-3408f1bd6d7eea1a042095248054c849322a55e1.tar.gz
shutup ecore-x vsync stupid log domain failures
@fix
Diffstat (limited to 'src/lib/ecore_x/xlib/ecore_x_vsync.c')
-rw-r--r--src/lib/ecore_x/xlib/ecore_x_vsync.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/lib/ecore_x/xlib/ecore_x_vsync.c b/src/lib/ecore_x/xlib/ecore_x_vsync.c
index eda7fce136..cd911b50cf 100644
--- a/src/lib/ecore_x/xlib/ecore_x_vsync.c
+++ b/src/lib/ecore_x/xlib/ecore_x_vsync.c
@@ -23,6 +23,22 @@ static Ecore_X_Window vsync_root = 0;
int _ecore_x_image_shm_check(void);
+static int _vsync_log_dom = -1;
+
+#undef ERR
+#define ERR(...) EINA_LOG_DOM_ERR(_vsync_log_dom, __VA_ARGS__)
+
+#undef DBG
+#define DBG(...) EINA_LOG_DOM_DBG(_vsync_log_dom, __VA_ARGS__)
+
+#undef INF
+#define INF(...) EINA_LOG_DOM_INFO(_vsync_log_dom, __VA_ARGS__)
+
+#undef WRN
+#define WRN(...) EINA_LOG_DOM_WARN(_vsync_log_dom, __VA_ARGS__)
+
+#undef CRI
+#define CRI(...) EINA_LOG_DOM_CRIT(_vsync_log_dom, __VA_ARGS__)
@@ -588,6 +604,7 @@ _vsync_init(void)
if (done) return;
+ _vsync_log_dom = eina_log_domain_register("ecore_x_vsync", EINA_COLOR_LIGHTRED);
if (_ecore_x_image_shm_check())
{
#ifdef ECORE_X_VSYNC_DRM