forked from enlightenment/efl
gl native surf - create pixmap failes - make them warns
these can be race conditions so really should be warns and not errors. they just are noise we'll never fix as it's racey anyway...
This commit is contained in:
parent
c836d82774
commit
e18af750f3
|
@ -1459,7 +1459,7 @@ eng_image_native_set(void *engine, void *image, void *native)
|
|||
|
||||
if (!n->ns_data.wl_surface.surface)
|
||||
{
|
||||
ERR("eglCreatePixmapSurface() for %p failed", wl_buf);
|
||||
WRN("eglCreatePixmapSurface() for %p failed", wl_buf);
|
||||
eina_hash_del(ob->gl_context->shared->native_wl_hash,
|
||||
&wlid, img);
|
||||
glsym_evas_gl_common_image_free(img);
|
||||
|
|
|
@ -1964,7 +1964,7 @@ _native_bind_cb(void *image)
|
|||
(void *)n->ns_data.x11.pixmap,
|
||||
NULL);
|
||||
if (!n->ns_data.x11.surface)
|
||||
ERR("eglCreateImage() for Pixmap 0x%#lx failed: %#x", n->ns_data.x11.pixmap, eglGetError());
|
||||
WRN("eglCreateImage() for Pixmap 0x%#lx failed: %#x", n->ns_data.x11.pixmap, eglGetError());
|
||||
|
||||
}
|
||||
if (glsym_glEGLImageTargetTexture2DOES)
|
||||
|
@ -2567,7 +2567,7 @@ eng_image_native_set(void *engine, void *image, void *native)
|
|||
|
||||
if (!n->ns_data.x11.surface)
|
||||
{
|
||||
ERR("eglCreateImage() for Pixmap %#lx failed: %#x", pm, eglGetError());
|
||||
WRN("eglCreateImage() for Pixmap %#lx failed: %#x", pm, eglGetError());
|
||||
free(n);
|
||||
return NULL;
|
||||
}
|
||||
|
@ -2854,7 +2854,7 @@ eng_image_native_set(void *engine, void *image, void *native)
|
|||
else
|
||||
ERR("Try eglCreateImage on EGL with no support");
|
||||
if (!n->ns_data.tbm.surface)
|
||||
ERR("eglCreateImage() for %p failed", buffer);
|
||||
WRN("eglCreateImage() for %p failed", buffer);
|
||||
im->native.yinvert = 1;
|
||||
im->native.loose = 0;
|
||||
im->native.disp = ob->egl_disp;
|
||||
|
@ -2965,7 +2965,7 @@ eng_image_native_set(void *engine, void *image, void *native)
|
|||
|
||||
if (!n->ns_data.wl_surface.surface)
|
||||
{
|
||||
ERR("eglCreatePixmapSurface() for %p failed", wl_buf);
|
||||
WRN("eglCreatePixmapSurface() for %p failed", wl_buf);
|
||||
eina_hash_del(gl_context->shared->native_wl_hash,
|
||||
&wlid, im);
|
||||
glsym_evas_gl_common_image_free(im);
|
||||
|
|
|
@ -1317,7 +1317,7 @@ eng_image_native_set(void *engine, void *image, void *native)
|
|||
else
|
||||
ERR("Try eglCreateImage on EGL with no support");
|
||||
if (!n->ns_data.tbm.surface)
|
||||
ERR("eglCreateImage() for %p failed", buffer);
|
||||
WRN("eglCreateImage() for %p failed", buffer);
|
||||
img->native.yinvert = 1;
|
||||
img->native.loose = 0;
|
||||
img->native.disp = ob->egl_disp;
|
||||
|
|
Loading…
Reference in New Issue