mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 15:10:10 +01:00
egl: add a few trailing commas
This prevents clang-format from collapsing the closing brace into the previous line. Signed-off-by: Eric Engestrom <eric@igalia.com> Reviewed-by: Adam Jackson <ajax@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23398>
This commit is contained in:
parent
35d8db96ed
commit
659bace01a
6 changed files with 11 additions and 11 deletions
|
|
@ -197,7 +197,7 @@ const __DRIbackgroundCallableExtension background_callable_extension = {
|
|||
};
|
||||
|
||||
const __DRIuseInvalidateExtension use_invalidate = {
|
||||
.base = { __DRI_USE_INVALIDATE, 1 }
|
||||
.base = { __DRI_USE_INVALIDATE, 1 },
|
||||
};
|
||||
|
||||
static void
|
||||
|
|
@ -3197,7 +3197,7 @@ dri2_bind_wayland_display_wl(_EGLDisplay *disp, struct wl_display *wl_dpy)
|
|||
.authenticate = (int(*)(void *, uint32_t)) dri2_dpy->vtbl->authenticate,
|
||||
.reference_buffer = dri2_wl_reference_buffer,
|
||||
.release_buffer = dri2_wl_release_buffer,
|
||||
.is_format_supported = dri2_wl_is_format_supported
|
||||
.is_format_supported = dri2_wl_is_format_supported,
|
||||
};
|
||||
int flags = 0;
|
||||
char *device_name;
|
||||
|
|
|
|||
|
|
@ -1316,7 +1316,7 @@ droid_add_configs_for_visuals(_EGLDisplay *disp)
|
|||
EGL_NATIVE_VISUAL_TYPE, visuals[i].format,
|
||||
EGL_FRAMEBUFFER_TARGET_ANDROID, EGL_TRUE,
|
||||
EGL_RECORDABLE_ANDROID, EGL_TRUE,
|
||||
EGL_NONE
|
||||
EGL_NONE,
|
||||
};
|
||||
|
||||
struct dri2_egl_config *dri2_conf =
|
||||
|
|
|
|||
|
|
@ -266,7 +266,7 @@ wl_buffer_release(void *data, struct wl_buffer *buffer)
|
|||
}
|
||||
|
||||
static const struct wl_buffer_listener wl_buffer_listener = {
|
||||
.release = wl_buffer_release
|
||||
.release = wl_buffer_release,
|
||||
};
|
||||
|
||||
static void
|
||||
|
|
@ -1836,7 +1836,7 @@ static const struct wl_drm_listener drm_listener = {
|
|||
.device = drm_handle_device,
|
||||
.format = drm_handle_format,
|
||||
.authenticated = drm_handle_authenticated,
|
||||
.capabilities = drm_handle_capabilities
|
||||
.capabilities = drm_handle_capabilities,
|
||||
};
|
||||
|
||||
static void
|
||||
|
|
@ -2031,7 +2031,7 @@ registry_handle_global_remove(void *data, struct wl_registry *registry,
|
|||
|
||||
static const struct wl_registry_listener registry_listener_drm = {
|
||||
.global = registry_handle_global_drm,
|
||||
.global_remove = registry_handle_global_remove
|
||||
.global_remove = registry_handle_global_remove,
|
||||
};
|
||||
|
||||
static void
|
||||
|
|
@ -2688,7 +2688,7 @@ shm_handle_format(void *data, struct wl_shm *shm, uint32_t format)
|
|||
}
|
||||
|
||||
static const struct wl_shm_listener shm_listener = {
|
||||
.format = shm_handle_format
|
||||
.format = shm_handle_format,
|
||||
};
|
||||
|
||||
static void
|
||||
|
|
@ -2707,7 +2707,7 @@ registry_handle_global_swrast(void *data, struct wl_registry *registry,
|
|||
|
||||
static const struct wl_registry_listener registry_listener_swrast = {
|
||||
.global = registry_handle_global_swrast,
|
||||
.global_remove = registry_handle_global_remove
|
||||
.global_remove = registry_handle_global_remove,
|
||||
};
|
||||
|
||||
static const struct dri2_egl_display_vtbl dri2_wl_swrast_display_vtbl = {
|
||||
|
|
|
|||
|
|
@ -811,7 +811,7 @@ dri2_x11_add_configs_for_visuals(struct dri2_egl_display *dri2_dpy,
|
|||
const EGLint config_attrs[] = {
|
||||
EGL_NATIVE_VISUAL_ID, visuals[i].visual_id,
|
||||
EGL_NATIVE_VISUAL_TYPE, visuals[i]._class,
|
||||
EGL_NONE
|
||||
EGL_NONE,
|
||||
};
|
||||
|
||||
int rgba_shifts[4] = {
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@
|
|||
#include "eglglobals.h"
|
||||
|
||||
static __THREAD_INITIAL_EXEC _EGLThreadInfo _egl_TLS = {
|
||||
.inited = false
|
||||
.inited = false,
|
||||
};
|
||||
|
||||
static void
|
||||
|
|
|
|||
|
|
@ -193,7 +193,7 @@ static const struct wl_drm_interface drm_interface = {
|
|||
drm_authenticate,
|
||||
drm_create_buffer,
|
||||
drm_create_planar_buffer,
|
||||
drm_create_prime_buffer
|
||||
drm_create_prime_buffer,
|
||||
};
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue