cogl/texture2d: Rename from_egl_image constructor
Similar to the from_egl_image_external one, to give it the correct namespace Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3910>
This commit is contained in:

committed by
Marge Bot

parent
a9ec604eba
commit
a05caa6338
@ -318,7 +318,7 @@ meta_drm_buffer_gbm_blit_to_framebuffer (CoglScanout *scanout,
|
||||
}
|
||||
|
||||
flags = COGL_EGL_IMAGE_FLAG_NO_GET_DATA;
|
||||
cogl_tex = cogl_egl_texture_2d_new_from_image (cogl_context,
|
||||
cogl_tex = cogl_texture_2d_new_from_egl_image (cogl_context,
|
||||
width,
|
||||
height,
|
||||
cogl_format,
|
||||
|
@ -680,7 +680,7 @@ meta_renderer_native_create_dma_buf_framebuffer (MetaRendererNative *renderer_n
|
||||
return NULL;
|
||||
|
||||
flags = COGL_EGL_IMAGE_FLAG_NO_GET_DATA;
|
||||
cogl_tex = cogl_egl_texture_2d_new_from_image (cogl_context,
|
||||
cogl_tex = cogl_texture_2d_new_from_egl_image (cogl_context,
|
||||
width,
|
||||
height,
|
||||
cogl_format,
|
||||
|
@ -539,7 +539,7 @@ egl_image_buffer_attach (MetaWaylandBuffer *buffer,
|
||||
return FALSE;
|
||||
|
||||
flags = COGL_EGL_IMAGE_FLAG_NONE;
|
||||
texture_2d = cogl_egl_texture_2d_new_from_image (cogl_context,
|
||||
texture_2d = cogl_texture_2d_new_from_egl_image (cogl_context,
|
||||
width, height,
|
||||
cogl_format,
|
||||
egl_image,
|
||||
|
@ -426,7 +426,7 @@ meta_wayland_dma_buf_realize_texture (MetaWaylandBuffer *buffer,
|
||||
return FALSE;
|
||||
|
||||
flags = COGL_EGL_IMAGE_FLAG_NO_GET_DATA;
|
||||
cogl_texture = cogl_egl_texture_2d_new_from_image (cogl_context,
|
||||
cogl_texture = cogl_texture_2d_new_from_egl_image (cogl_context,
|
||||
dma_buf->width,
|
||||
dma_buf->height,
|
||||
cogl_format,
|
||||
@ -488,7 +488,7 @@ meta_wayland_dma_buf_realize_texture (MetaWaylandBuffer *buffer,
|
||||
return FALSE;
|
||||
|
||||
flags = COGL_EGL_IMAGE_FLAG_NO_GET_DATA;
|
||||
cogl_texture = cogl_egl_texture_2d_new_from_image (cogl_context,
|
||||
cogl_texture = cogl_texture_2d_new_from_egl_image (cogl_context,
|
||||
dma_buf->width,
|
||||
dma_buf->height,
|
||||
subformat,
|
||||
|
Reference in New Issue
Block a user