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:
Bilal Elmoussaoui
2024-07-28 15:22:07 +02:00
committed by Marge Bot
parent a9ec604eba
commit a05caa6338
7 changed files with 11 additions and 11 deletions

View File

@ -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,

View File

@ -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,