EGLint attribs[3];
int format, yinvert = 1;
- glsym_eglQueryWaylandBufferWL(ob->egl_disp, wl_buf, EGL_TEXTURE_FORMAT, &format);
+ glsym_eglQueryWaylandBufferWL(ob->egl_disp, wl_buf, EVAS_GL_TEXTURE_FORMAT, &format);
if ((format != EGL_TEXTURE_RGB) && (format != EGL_TEXTURE_RGBA))
{
ERR("eglQueryWaylandBufferWL() %d format is not supported ", format);
return NULL;
}
- attribs[0] = EGL_WAYLAND_PLANE_WL;
+ attribs[0] = EVAS_GL_WAYLAND_PLANE_WL;
attribs[1] = 0; //if plane is 1 then 0, if plane is 2 then 1
- attribs[2] = EGL_NONE;
+ attribs[2] = EVAS_GL_NONE;
memcpy(&(n->ns), ns, sizeof(Evas_Native_Surface));
- glsym_eglQueryWaylandBufferWL(ob->egl_disp, wl_buf, EGL_WAYLAND_Y_INVERTED_WL, &yinvert);
+ glsym_eglQueryWaylandBufferWL(ob->egl_disp, wl_buf, EVAS_GL_WAYLAND_Y_INVERTED_WL, &yinvert);
eina_hash_add(ob->gl_context->shared->native_wl_hash, &wlid, img);
n->wl_buf = wl_buf;
if (glsym_eglCreateImage)
n->egl_surface = glsym_eglCreateImage(ob->egl_disp,
NULL,
- EGL_WAYLAND_BUFFER_WL,
+ EVAS_GL_WAYLAND_BUFFER_WL,
wl_buf,
attribs);
else