cogl: Fix some whitespace issues
The removal of the onscreen template left some function definitions and declarations incorrectly indented. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3923>
This commit is contained in:
parent
c5e9f028b2
commit
de76e007b5
7 changed files with 19 additions and 19 deletions
|
@ -81,7 +81,7 @@ cogl_display_class_init (CoglDisplayClass *class)
|
|||
}
|
||||
|
||||
CoglDisplay *
|
||||
cogl_display_new (CoglRenderer *renderer)
|
||||
cogl_display_new (CoglRenderer *renderer)
|
||||
{
|
||||
g_return_val_if_fail (renderer != NULL, NULL);
|
||||
|
||||
|
|
|
@ -80,8 +80,8 @@ typedef struct _CoglWinsysEGLVtable
|
|||
(* context_deinit) (CoglContext *context);
|
||||
|
||||
int
|
||||
(* add_config_attributes) (CoglDisplay *display,
|
||||
EGLint *attributes);
|
||||
(* add_config_attributes) (CoglDisplay *display,
|
||||
EGLint *attributes);
|
||||
gboolean
|
||||
(* choose_config) (CoglDisplay *display,
|
||||
EGLint *attributes,
|
||||
|
@ -199,5 +199,5 @@ _cogl_winsys_egl_renderer_connect_common (CoglRenderer *renderer,
|
|||
GError **error);
|
||||
|
||||
COGL_EXPORT void
|
||||
cogl_display_egl_determine_attributes (CoglDisplay *display,
|
||||
EGLint *attributes);
|
||||
cogl_display_egl_determine_attributes (CoglDisplay *display,
|
||||
EGLint *attributes);
|
||||
|
|
|
@ -260,8 +260,8 @@ error:
|
|||
}
|
||||
|
||||
static int
|
||||
_cogl_winsys_egl_add_config_attributes (CoglDisplay *display,
|
||||
EGLint *attributes)
|
||||
_cogl_winsys_egl_add_config_attributes (CoglDisplay *display,
|
||||
EGLint *attributes)
|
||||
{
|
||||
int i = 0;
|
||||
|
||||
|
|
|
@ -189,8 +189,8 @@ _cogl_winsys_renderer_connect (CoglRenderer *renderer,
|
|||
}
|
||||
|
||||
void
|
||||
cogl_display_egl_determine_attributes (CoglDisplay *display,
|
||||
EGLint *attributes)
|
||||
cogl_display_egl_determine_attributes (CoglDisplay *display,
|
||||
EGLint *attributes)
|
||||
{
|
||||
CoglRenderer *renderer = display->renderer;
|
||||
CoglRendererEGL *egl_renderer = renderer->winsys;
|
||||
|
|
|
@ -34,9 +34,9 @@ COGL_EXPORT const CoglWinsysVtable *
|
|||
_cogl_winsys_glx_get_vtable (void);
|
||||
|
||||
gboolean
|
||||
cogl_display_glx_find_fbconfig (CoglDisplay *display,
|
||||
GLXFBConfig *config_ret,
|
||||
GError **error);
|
||||
cogl_display_glx_find_fbconfig (CoglDisplay *display,
|
||||
GLXFBConfig *config_ret,
|
||||
GError **error);
|
||||
|
||||
void
|
||||
cogl_context_glx_set_current_drawable (CoglContext *context,
|
||||
|
|
|
@ -493,8 +493,8 @@ update_winsys_features (CoglContext *context, GError **error)
|
|||
}
|
||||
|
||||
static void
|
||||
glx_attributes_from_framebuffer_config (CoglDisplay *display,
|
||||
int *attributes)
|
||||
glx_attributes_from_framebuffer_config (CoglDisplay *display,
|
||||
int *attributes)
|
||||
{
|
||||
int i = 0;
|
||||
|
||||
|
@ -529,9 +529,9 @@ glx_attributes_from_framebuffer_config (CoglDisplay *display,
|
|||
* we could overload as an indication of error, so we have to return
|
||||
* an explicit boolean status. */
|
||||
gboolean
|
||||
cogl_display_glx_find_fbconfig (CoglDisplay *display,
|
||||
GLXFBConfig *config_ret,
|
||||
GError **error)
|
||||
cogl_display_glx_find_fbconfig (CoglDisplay *display,
|
||||
GLXFBConfig *config_ret,
|
||||
GError **error)
|
||||
{
|
||||
CoglXlibRenderer *xlib_renderer =
|
||||
_cogl_xlib_renderer_get_data (display->renderer);
|
||||
|
|
|
@ -337,8 +337,8 @@ fail:
|
|||
}
|
||||
|
||||
static int
|
||||
meta_renderer_native_add_egl_config_attributes (CoglDisplay *cogl_display,
|
||||
EGLint *attributes)
|
||||
meta_renderer_native_add_egl_config_attributes (CoglDisplay *cogl_display,
|
||||
EGLint *attributes)
|
||||
{
|
||||
CoglRendererEGL *cogl_renderer_egl = cogl_display->renderer->winsys;
|
||||
MetaRendererNativeGpuData *renderer_gpu_data = cogl_renderer_egl->platform;
|
||||
|
|
Loading…
Add table
Reference in a new issue