mutter/cogl
Robert Bragg 3a2f94045e framebuffer: make _swap_region coords top-left relative
Cogl aims to consistently put the origin of 2D objects at the top-left
instead of the bottom left as OpenGL does, but there was an oversight
and the experimental cogl_framebuffer_swap_region API was accepting
coordinates relative to the bottom left. Cogl will now flip the user's
given rectangles to be relative to the bottom of the framebufffer before
sending them to APIs like glXCopySubBuffer and glBlitFramebuffer.

Reviewed-by: Neil Roberts <neil@linux.intel.com>
2011-08-12 15:28:43 +01:00
..
driver Add the missing check for COGL_FEATURE_POINT_SPRITE on the GL driver 2011-08-01 14:05:09 +01:00
tesselator build: Do not build a noinst library for the tesselator 2010-09-12 19:25:47 +01:00
winsys framebuffer: make _swap_region coords top-left relative 2011-08-12 15:28:43 +01:00
cogl2-clip-state.c
cogl2-clip-state.h
cogl2-path.c framebuffer: don't reference default fb in _clear apis 2011-08-12 15:28:43 +01:00
cogl2-path.h
cogl-1.0.pc.in
cogl-2.0-experimental.pc.in Make it clearer that the 2.0 API is experimental 2011-06-14 17:09:55 +01:00
cogl-atlas-texture-private.h
cogl-atlas-texture.c Export API for uploading a tex subregion from a CoglBuffer 2011-07-25 22:45:24 +01:00
cogl-atlas.c Move the cogl texture driver functions to a vtable 2011-07-08 15:35:51 +01:00
cogl-atlas.h
cogl-attribute-buffer-private.h
cogl-attribute-buffer.c
cogl-attribute-buffer.h
cogl-attribute-private.h
cogl-attribute.c Dynamically load the GL or GLES library 2011-07-11 12:57:38 +01:00
cogl-attribute.h
cogl-bitmap-fallback.c
cogl-bitmap-pixbuf.c
cogl-bitmap-private.h Export API for uploading a tex subregion from a CoglBuffer 2011-07-25 22:45:24 +01:00
cogl-bitmap.c Export API for uploading a tex subregion from a CoglBuffer 2011-07-25 22:45:24 +01:00
cogl-bitmap.h Export API for uploading a tex subregion from a CoglBuffer 2011-07-25 22:45:24 +01:00
cogl-bitmask.c
cogl-bitmask.h
cogl-blend-string.c cogl-blend-string: Fix TEXTURE_N sources 2011-08-04 19:14:27 +01:00
cogl-blend-string.h
cogl-blit.c Make CoglTexture2D public as experimental API 2011-06-01 20:44:41 +01:00
cogl-blit.h
cogl-buffer-private.h buffer: make the COGL_BUFFER casting macro public 2011-08-12 15:28:43 +01:00
cogl-buffer.c Dynamically load the GL or GLES library 2011-07-11 12:57:38 +01:00
cogl-buffer.h buffer: make the COGL_BUFFER casting macro public 2011-08-12 15:28:43 +01:00
cogl-clip-stack.c framebuffer: don't reference default fb in _clear apis 2011-08-12 15:28:43 +01:00
cogl-clip-stack.h framebuffer: don't reference default fb in _clear apis 2011-08-12 15:28:43 +01:00
cogl-clip-state-private.h framebuffer: don't reference default fb in _clear apis 2011-08-12 15:28:43 +01:00
cogl-clip-state.c framebuffer: don't reference default fb in _clear apis 2011-08-12 15:28:43 +01:00
cogl-clip-state.h
cogl-clutter.c Make stub winsys into a proper winsys backend 2011-06-01 20:44:41 +01:00
cogl-clutter.h
cogl-color-private.h
cogl-color.c
cogl-color.h
cogl-config-private.h cogl: Add support for reading a cogl.conf config file 2011-08-12 15:28:42 +01:00
cogl-config.c cogl: Add support for reading a cogl.conf config file 2011-08-12 15:28:42 +01:00
cogl-context-private.h Adds ColorMask support to Cogl 2011-07-19 19:27:09 +01:00
cogl-context.c Fixed uninitialized data (current_clip_stack_valid) in context creation 2011-07-27 15:55:27 +01:00
cogl-context.h fix namespace for cogl_context_egl_get_egl_context 2011-07-11 14:07:02 +01:00
cogl-debug-options.h
cogl-debug.c cogl: Add support for reading a cogl.conf config file 2011-08-12 15:28:42 +01:00
cogl-debug.h cogl: Add support for reading a cogl.conf config file 2011-08-12 15:28:42 +01:00
cogl-defines.h.in Add _cogl_egl_texture_2d_new_from_image API 2011-06-01 20:44:42 +01:00
cogl-deprecated.h
cogl-depth-state-private.h Adds missing cogl-depth-state-private.h 2011-05-16 18:45:51 +01:00
cogl-depth-state.c Revert "Do not use "near" and "far" variables" 2011-06-14 14:40:27 +01:00
cogl-depth-state.h Fix some gtk-doc annotations in cogl-depth-state.h 2011-06-14 17:09:55 +01:00
cogl-display-private.h egl-gdl: struct gdl_plane never was a valid type 2011-07-29 11:50:15 +01:00
cogl-display.c egl: Make sure to free the underlying egl objects when the display is freed 2011-07-29 11:50:15 +01:00
cogl-display.h egl-gdl: Don't generate cogl-display.h 2011-08-01 16:36:52 +01:00
cogl-enum-types.c.in
cogl-enum-types.h.in
cogl-euler.c
cogl-euler.h
cogl-ext-functions.h ext-functions: Don't assume GLchar typedef 2011-08-12 15:28:42 +01:00
cogl-feature-private.c Don't use the 'NULL' GModule to resolve GL symbols 2011-07-27 16:10:02 +01:00
cogl-feature-private.h Don't use the 'NULL' GModule to resolve GL symbols 2011-07-27 16:10:02 +01:00
cogl-fixed.c Fix testing of undefined macro constants to check for definedness instead 2011-07-27 18:46:36 +01:00
cogl-fixed.h
cogl-flags.h
cogl-framebuffer-private.h framebuffer: Make framebuffer_clear APIs public experimental 2011-08-12 15:28:43 +01:00
cogl-framebuffer.c framebuffer: make _swap_region coords top-left relative 2011-08-12 15:28:43 +01:00
cogl-framebuffer.h framebuffer: make _swap_region coords top-left relative 2011-08-12 15:28:43 +01:00
cogl-glx-display-private.h work towards consistent platform file/symbol naming 2011-06-30 14:34:33 +01:00
cogl-glx-renderer-private.h Don't use the 'NULL' GModule to resolve GL symbols 2011-07-27 16:10:02 +01:00
cogl-gtype-private.h
cogl-handle.h
cogl-index-buffer-private.h
cogl-index-buffer.c
cogl-index-buffer.h
cogl-indices-private.h
cogl-indices.c
cogl-indices.h
cogl-internal.h Use MESA_pack_invert to avoid read_pixels flip 2011-07-13 19:06:19 +01:00
cogl-journal-private.h cogl-journal: Use a pool of vertex arrays 2011-06-01 14:41:59 +01:00
cogl-journal.c framebuffer: don't reference default fb in _clear apis 2011-08-12 15:28:43 +01:00
cogl-material-compat.c Remove G_CONST_RETURN 2011-06-09 16:21:15 +01:00
cogl-material-compat.h Remove G_CONST_RETURN 2011-06-09 16:21:15 +01:00
cogl-matrix-private.h matrix-mesa: move to _cogl_matrix namespace 2011-07-04 15:31:50 +01:00
cogl-matrix-stack.c Dynamically load the GL or GLES library 2011-07-11 12:57:38 +01:00
cogl-matrix-stack.h
cogl-matrix.c matrix: Adds cogl_matrix_is_identity API 2011-07-04 15:31:50 +01:00
cogl-matrix.h matrix: Adds cogl_matrix_is_identity API 2011-07-04 15:31:50 +01:00
cogl-object-private.h cogl-debug: add instrumentation to track the number of objects 2011-06-14 12:14:02 +01:00
cogl-object.c cogl-debug: add instrumentation to track the number of objects 2011-06-14 12:14:02 +01:00
cogl-object.h cogl-debug: add instrumentation to track the number of objects 2011-06-14 12:14:02 +01:00
cogl-offscreen.h
cogl-onscreen-template-private.h
cogl-onscreen-template.c
cogl-onscreen-template.h
cogl-pango.h
cogl-path-private.h
cogl-path.c
cogl-path.h
cogl-pipeline-cache.c cogl-pipeline: Use the pipeline cache for the GLSL backends 2011-07-13 12:30:07 +01:00
cogl-pipeline-cache.h cogl-pipeline: Use the pipeline cache for the GLSL backends 2011-07-13 12:30:07 +01:00
cogl-pipeline-fragend-arbfp-private.h fragend-arbfp: Move the pipeline cache to a separate file 2011-07-13 12:30:07 +01:00
cogl-pipeline-fragend-arbfp.c cogl-pipeline-fragend-arbfp: Initialise template_pipeline 2011-07-27 10:55:47 +01:00
cogl-pipeline-fragend-fixed-private.h
cogl-pipeline-fragend-fixed.c pipeline: Unify how the backends store private data 2011-07-13 12:30:07 +01:00
cogl-pipeline-fragend-glsl-private.h
cogl-pipeline-fragend-glsl.c cogl-pipeline: Use the pipeline cache for the GLSL backends 2011-07-13 12:30:07 +01:00
cogl-pipeline-opengl-private.h
cogl-pipeline-opengl.c Adds ColorMask support to Cogl 2011-07-19 19:27:09 +01:00
cogl-pipeline-private.h Adds ColorMask support to Cogl 2011-07-19 19:27:09 +01:00
cogl-pipeline-progend-glsl-private.h
cogl-pipeline-progend-glsl.c cogl-pipeline: Use the pipeline cache for the GLSL backends 2011-07-13 12:30:07 +01:00
cogl-pipeline-vertend-fixed-private.h
cogl-pipeline-vertend-fixed.c Dynamically load the GL or GLES library 2011-07-11 12:57:38 +01:00
cogl-pipeline-vertend-glsl-private.h
cogl-pipeline-vertend-glsl.c cogl-pipeline: Use the pipeline cache for the GLSL backends 2011-07-13 12:30:07 +01:00
cogl-pipeline.c Adds ColorMask support to Cogl 2011-07-19 19:27:09 +01:00
cogl-pipeline.h Adds ColorMask support to Cogl 2011-07-19 19:27:09 +01:00
cogl-pixel-buffer-private.h
cogl-pixel-buffer.c Use all core GL functions through indirect pointers 2011-07-08 15:35:46 +01:00
cogl-pixel-buffer.h
cogl-point-in-poly-private.h
cogl-point-in-poly.c
cogl-primitive-private.h
cogl-primitive.c cogl-primitive: Fix some broken changes for removal of NULL terminator 2011-05-16 18:34:22 +01:00
cogl-primitive.h Don't pass around NULL terminated CoglAttribute arrays 2011-05-16 14:32:37 +01:00
cogl-primitives-private.h
cogl-primitives.c cogl-primitives: Plug some leaks in cogl_polygon 2011-08-01 14:08:46 +01:00
cogl-primitives.h
cogl-private.h Combine _cogl_context_check_gl_version and update_features into one 2011-07-18 15:41:35 +01:00
cogl-profile.c
cogl-profile.h
cogl-program-private.h
cogl-program.c Dynamically load the GL or GLES library 2011-07-11 12:57:38 +01:00
cogl-quaternion-private.h
cogl-quaternion.c quaternion: fix init_from_array and get_rotation_axis 2011-07-27 18:21:27 +01:00
cogl-quaternion.h
cogl-queue.h cogl-queue: Make suitable for use in Cogl source code 2011-07-01 17:52:55 +01:00
cogl-rectangle-map.c debug: Allow to compile a debug Cogl without cairo 2011-05-17 15:24:54 +01:00
cogl-rectangle-map.h
cogl-renderer-private.h Fix testing of undefined macro constants to check for definedness instead 2011-07-27 18:46:36 +01:00
cogl-renderer.c cogl: Add support for reading a cogl.conf config file 2011-08-12 15:28:42 +01:00
cogl-renderer.h renderer: split win32 api out into separate header 2011-06-30 14:34:46 +01:00
cogl-shader-boilerplate.h Dynamically load the GL or GLES library 2011-07-11 12:57:38 +01:00
cogl-shader-private.h Dynamically load the GL or GLES library 2011-07-11 12:57:38 +01:00
cogl-shader.c Dynamically load the GL or GLES library 2011-07-11 12:57:38 +01:00
cogl-shader.h
cogl-spans.c
cogl-spans.h
cogl-sub-texture-private.h
cogl-sub-texture.c Export API for uploading a tex subregion from a CoglBuffer 2011-07-25 22:45:24 +01:00
cogl-swap-chain-private.h
cogl-swap-chain.c
cogl-swap-chain.h
cogl-texture-2d-private.h Add _cogl_egl_texture_2d_new_from_image API 2011-06-01 20:44:42 +01:00
cogl-texture-2d-sliced-private.h
cogl-texture-2d-sliced.c Export API for uploading a tex subregion from a CoglBuffer 2011-07-25 22:45:24 +01:00
cogl-texture-2d.c Dynamically load the GL or GLES library 2011-07-11 12:57:38 +01:00
cogl-texture-2d.h include required cogl-context.h in cogl-texture-2d.h 2011-06-14 17:09:55 +01:00
cogl-texture-3d-private.h
cogl-texture-3d.c Dynamically load the GL or GLES library 2011-07-11 12:57:38 +01:00
cogl-texture-3d.h
cogl-texture-driver.h Move the cogl texture driver functions to a vtable 2011-07-08 15:35:51 +01:00
cogl-texture-private.h Export API for uploading a tex subregion from a CoglBuffer 2011-07-25 22:45:24 +01:00
cogl-texture-rectangle-private.h
cogl-texture-rectangle.c Dynamically load the GL or GLES library 2011-07-11 12:57:38 +01:00
cogl-texture.c Export API for uploading a tex subregion from a CoglBuffer 2011-07-25 22:45:24 +01:00
cogl-texture.h Export API for uploading a tex subregion from a CoglBuffer 2011-07-25 22:45:24 +01:00
cogl-types.h Adds ColorMask support to Cogl 2011-07-19 19:27:09 +01:00
cogl-util.c
cogl-util.h
cogl-vector.c
cogl-vector.h
cogl-vertex-buffer-private.h
cogl-vertex-buffer.c cogl-vertex-buffer: make sure to unref weak pipelines 2011-06-13 17:48:23 +01:00
cogl-vertex-buffer.h
cogl-wayland-renderer.h Updates wayland symbol names to be consistent 2011-06-30 14:34:46 +01:00
cogl-win32-renderer.c replace public native_event APIs with typesafe APIs 2011-06-30 14:33:13 +01:00
cogl-win32-renderer.h renderer: split win32 api out into separate header 2011-06-30 14:34:46 +01:00
cogl-x11-renderer-private.h work towards consistent platform file/symbol naming 2011-06-30 14:34:33 +01:00
cogl-xlib-display-private.h work towards consistent platform file/symbol naming 2011-06-30 14:34:33 +01:00
cogl-xlib-private.h replace _xlib_add_filter use with _cogl_renderer API 2011-06-01 20:44:42 +01:00
cogl-xlib-renderer-private.h work towards consistent platform file/symbol naming 2011-06-30 14:34:33 +01:00
cogl-xlib-renderer.c x11: don't try and close a NULL display 2011-07-20 16:43:29 +01:00
cogl-xlib-renderer.h work towards consistent platform file/symbol naming 2011-06-30 14:34:33 +01:00
cogl-xlib.c work towards consistent platform file/symbol naming 2011-06-30 14:34:33 +01:00
cogl-xlib.h
cogl.c framebuffer: Make framebuffer_clear APIs public experimental 2011-08-12 15:28:43 +01:00
cogl.h Include cogl-win32-renderer.h in cogl.h on Windows 2011-07-31 17:46:35 +01:00
Makefile.am cogl: Add support for reading a cogl.conf config file 2011-08-12 15:28:42 +01:00
stb_image.c stb_image: use glib sized types 2011-08-12 15:28:42 +01:00