The macro YAGL_LOG_FUNC_SET initilizes logger specific local vars like
pid, tid, etc. There is no need to use it if the function actually does
not produce any logs, since it may lead to 'unused variable' compiler
errors.
Change-Id: I9f9c2ccba7b8364d60891a1748fc62d5b2516fbf
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
{
struct yagl_native_display *dpy = NULL;
- YAGL_LOG_FUNC_SET(eglGetDisplay);
-
dpy = yagl_tizen_display_create(&yagl_tizen_platform,os_dpy);
return dpy;
{
struct yagl_tizen_window *window = (struct yagl_tizen_window*)drawable;
- YAGL_LOG_FUNC_SET(yagl_tizen_window_get_buffer_age);
-
return window->back ? window->back->age : 0;
}
tpl_display_t *tpl_display = NULL;
tpl_surface_t *tpl_surface = NULL;
- YAGL_LOG_FUNC_SET(yagl_tizen_window_create);
-
window = yagl_malloc0(sizeof(*window));
yagl_native_drawable_init(&window->base, dpy, os_window);