renderer/native: Trivial variable rename

Rename 'format' to 'drm_format' to not clash with following
commits.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3175>
This commit is contained in:
Georges Basile Stavracas Neto 2023-08-11 16:11:05 -03:00
parent fd5726714b
commit 14ed29e7b2

View File

@ -950,7 +950,7 @@ meta_renderer_native_create_dma_buf (CoglRenderer *cogl_renderer,
uint32_t offset; uint32_t offset;
uint32_t bpp; uint32_t bpp;
uint64_t modifier; uint64_t modifier;
uint32_t format; uint32_t drm_format;
CoglFramebuffer *dmabuf_fb; CoglFramebuffer *dmabuf_fb;
CoglDmaBufHandle *dmabuf_handle; CoglDmaBufHandle *dmabuf_handle;
@ -973,7 +973,7 @@ meta_renderer_native_create_dma_buf (CoglRenderer *cogl_renderer,
offset = meta_drm_buffer_get_offset (buffer, 0); offset = meta_drm_buffer_get_offset (buffer, 0);
bpp = meta_drm_buffer_get_bpp (buffer); bpp = meta_drm_buffer_get_bpp (buffer);
modifier = meta_drm_buffer_get_modifier (buffer); modifier = meta_drm_buffer_get_modifier (buffer);
format = meta_drm_buffer_get_format (buffer); drm_format = meta_drm_buffer_get_format (buffer);
dmabuf_fb = dmabuf_fb =
meta_renderer_native_create_dma_buf_framebuffer (renderer_native, meta_renderer_native_create_dma_buf_framebuffer (renderer_native,
@ -982,7 +982,7 @@ meta_renderer_native_create_dma_buf (CoglRenderer *cogl_renderer,
stride, stride,
offset, offset,
modifier, modifier,
format, drm_format,
error); error);
if (!dmabuf_fb) if (!dmabuf_fb)