diff options
author | M Joonas Pihlaja <jpihlaja@cc.helsinki.fi> | 2010-06-24 14:59:18 +0300 |
---|---|---|
committer | M Joonas Pihlaja <jpihlaja@cc.helsinki.fi> | 2010-06-24 15:02:53 +0300 |
commit | b036a09972a19e63a85a4661a457525e2abe4026 (patch) | |
tree | 660c24352ee1e32b10556c3938bee09964d9a45a /boilerplate/cairo-boilerplate-glx.c | |
parent | 616e35d1fae703dc118ce503d25d4f57cfd16dfd (diff) | |
download | cairo-b036a09972a19e63a85a4661a457525e2abe4026.tar.gz |
whitespace: Fixup formal arguments and tabs in boilerplate/ and perf/.
Ran a script to align the formal parameters of functions and
collapse spaces to tabs in code.
Diffstat (limited to 'boilerplate/cairo-boilerplate-glx.c')
-rw-r--r-- | boilerplate/cairo-boilerplate-glx.c | 60 |
1 files changed, 30 insertions, 30 deletions
diff --git a/boilerplate/cairo-boilerplate-glx.c b/boilerplate/cairo-boilerplate-glx.c index 66a031b1c..a3e0338db 100644 --- a/boilerplate/cairo-boilerplate-glx.c +++ b/boilerplate/cairo-boilerplate-glx.c @@ -67,15 +67,15 @@ _cairo_boilerplate_gl_cleanup (void *closure) } static cairo_surface_t * -_cairo_boilerplate_gl_create_surface (const char *name, - cairo_content_t content, - double width, - double height, - double max_width, - double max_height, - cairo_boilerplate_mode_t mode, - int id, - void **closure) +_cairo_boilerplate_gl_create_surface (const char *name, + cairo_content_t content, + double width, + double height, + double max_width, + double max_height, + cairo_boilerplate_mode_t mode, + int id, + void **closure) { int rgba_attribs[] = { GLX_RGBA, GLX_RED_SIZE, 1, @@ -135,7 +135,7 @@ _cairo_boilerplate_gl_create_surface (const char *name, gltc->surface = surface = cairo_gl_surface_create (gltc->device, content, - ceil (width), + ceil (width), ceil (height)); if (cairo_surface_status (surface)) _cairo_boilerplate_gl_cleanup (gltc); @@ -144,15 +144,15 @@ _cairo_boilerplate_gl_create_surface (const char *name, } static cairo_surface_t * -_cairo_boilerplate_gl_create_window (const char *name, - cairo_content_t content, - double width, - double height, - double max_width, - double max_height, - cairo_boilerplate_mode_t mode, - int id, - void **closure) +_cairo_boilerplate_gl_create_window (const char *name, + cairo_content_t content, + double width, + double height, + double max_width, + double max_height, + cairo_boilerplate_mode_t mode, + int id, + void **closure) { int rgba_attribs[] = { GLX_RGBA, GLX_RED_SIZE, 1, @@ -225,15 +225,15 @@ _cairo_boilerplate_gl_create_window (const char *name, } static cairo_surface_t * -_cairo_boilerplate_gl_create_window_db (const char *name, - cairo_content_t content, - double width, - double height, - double max_width, - double max_height, - cairo_boilerplate_mode_t mode, - int id, - void **closure) +_cairo_boilerplate_gl_create_window_db (const char *name, + cairo_content_t content, + double width, + double height, + double max_width, + double max_height, + cairo_boilerplate_mode_t mode, + int id, + void **closure) { int rgba_attribs[] = { GLX_RGBA, GLX_RED_SIZE, 1, @@ -311,7 +311,7 @@ _cairo_boilerplate_gl_create_window_db (const char *name, } static cairo_status_t -_cairo_boilerplate_gl_finish_window (cairo_surface_t *surface) +_cairo_boilerplate_gl_finish_window (cairo_surface_t *surface) { gl_target_closure_t *gltc = cairo_surface_get_user_data (surface, &gl_closure_key); @@ -339,7 +339,7 @@ _cairo_boilerplate_gl_synchronize (void *closure) gl_target_closure_t *gltc = closure; if (cairo_device_acquire (gltc->device)) - return; + return; glFinish (); |