mutter/cogl
Neil Roberts 1d54ecb8a1 cogl-clip-stack: Round the coords when clipping to a window rect
The size and position of the window rectangle for clipping in
try_pushing_rect_as_window_rect is calculated by projecting the
rectangle coordinates. Due to rounding errors, this can end up with
slightly off numbers like 34.999999. These were then being cast
directly to an integer so it could end up off by one.

This uses a new macro called COGL_UTIL_NEARBYINT which is a
replacement for the C99 nearbyint function.
2010-02-17 16:12:47 +00:00
..
driver cogl: remove redundant _cogl_journal_flush prototype 2010-02-12 14:05:01 +00:00
winsys build: Make COGL pass distcheck 2009-10-23 13:38:40 +01:00
cogl-atlas-texture-private.h cogl: Add an atlased texture backend 2009-12-04 20:26:39 +00:00
cogl-atlas-texture.c cogl-atlas-texture: Don't use the atlas if FBOs aren't supported 2010-02-16 12:07:18 +00:00
cogl-atlas.c cogl: improves header and coding style consistency 2010-02-12 14:05:00 +00:00
cogl-atlas.h cogl: improves header and coding style consistency 2010-02-12 14:05:00 +00:00
cogl-bitmap-fallback.c cogl: improves header and coding style consistency 2010-02-12 14:05:00 +00:00
cogl-bitmap-pixbuf.c cogl: improves header and coding style consistency 2010-02-12 14:05:00 +00:00
cogl-bitmap-private.h cogl: improves header and coding style consistency 2010-02-12 14:05:00 +00:00
cogl-bitmap.c cogl: improves header and coding style consistency 2010-02-12 14:05:00 +00:00
cogl-bitmap.h cogl: improves header and coding style consistency 2010-02-12 14:05:00 +00:00
cogl-blend-string.c cogl: improves header and coding style consistency 2010-02-12 14:05:00 +00:00
cogl-blend-string.h cogl: improves header and coding style consistency 2010-02-12 14:05:00 +00:00
cogl-buffer-private.h cogl: improves header and coding style consistency 2010-02-12 14:05:00 +00:00
cogl-buffer.c cogl-buffer: fix compilation for GL ES 2010-02-12 17:29:51 +00:00
cogl-buffer.h cogl: improves header and coding style consistency 2010-02-12 14:05:00 +00:00
cogl-clip-stack.c cogl-clip-stack: Round the coords when clipping to a window rect 2010-02-17 16:12:47 +00:00
cogl-clip-stack.h cogl: improves header and coding style consistency 2010-02-12 14:05:00 +00:00
cogl-color.c Intial Re-layout of the Cogl source code and introduction of a Cogl Winsys 2009-10-16 18:58:50 +01:00
cogl-color.h cogl: improves header and coding style consistency 2010-02-12 14:05:00 +00:00
cogl-context.c cogl: Cache the value for GL_MAX_TEXTURE_UNITS 2010-02-12 14:38:53 +00:00
cogl-context.h cogl: Cache the value for GL_MAX_TEXTURE_UNITS 2010-02-12 14:38:53 +00:00
cogl-debug.c cogl: improves header and coding style consistency 2010-02-12 14:05:00 +00:00
cogl-debug.h cogl: improves header and coding style consistency 2010-02-12 14:05:00 +00:00
cogl-deprecated.h Intial Re-layout of the Cogl source code and introduction of a Cogl Winsys 2009-10-16 18:58:50 +01:00
cogl-enum-types.c.in Intial Re-layout of the Cogl source code and introduction of a Cogl Winsys 2009-10-16 18:58:50 +01:00
cogl-enum-types.h.in Intial Re-layout of the Cogl source code and introduction of a Cogl Winsys 2009-10-16 18:58:50 +01:00
cogl-feature-private.c cogl: improves header and coding style consistency 2010-02-12 14:05:00 +00:00
cogl-feature-private.h cogl: improves header and coding style consistency 2010-02-12 14:05:00 +00:00
cogl-fixed.c cogl: improves header and coding style consistency 2010-02-12 14:05:00 +00:00
cogl-fixed.h cogl: improves header and coding style consistency 2010-02-12 14:05:00 +00:00
cogl-framebuffer-private.h cogl: Support multiple fallbacks in cogl_offscreen_new_to_texture() 2010-01-11 15:32:52 +00:00
cogl-framebuffer.c cogl: remove redundant _cogl_journal_flush prototype 2010-02-12 14:05:01 +00:00
cogl-handle.h cogl: improves header and coding style consistency 2010-02-12 14:05:00 +00:00
cogl-internal.h cogl: cleanly separate primitives + paths code 2010-02-12 14:05:01 +00:00
cogl-journal-private.h cogl_rectangle: avoid redundant copy of geometry 2010-02-12 14:05:02 +00:00
cogl-journal.c cogl_rectangle: avoid redundant copy of geometry 2010-02-12 14:05:02 +00:00
cogl-material-private.h cogl: improves header and coding style consistency 2010-02-12 14:05:00 +00:00
cogl-material.c cogl: remove redundant _cogl_journal_flush prototype 2010-02-12 14:05:01 +00:00
cogl-material.h docs: Fixes for Cogl 2010-02-12 15:52:07 +00:00
cogl-matrix-mesa.c Remove a gtk-doc annotation 2009-12-02 11:37:13 +00:00
cogl-matrix-mesa.h docs: Remove non-gtk-doc annotations 2009-11-19 13:55:46 +00:00
cogl-matrix-private.h [debug] Adds a COGL_DEBUG=matrices debug option 2009-11-04 03:34:04 +00:00
cogl-matrix-stack.c Fix some compiler warnings 2010-02-09 16:58:03 +00:00
cogl-matrix-stack.h build: Move CoglMatrixMode to cogl-matrix-stack.h 2010-01-04 11:58:32 +00:00
cogl-matrix.c [matrix] Adds cogl_matrix_get_inverse API 2009-11-04 03:34:05 +00:00
cogl-matrix.h cogl: improves header and coding style consistency 2010-02-12 14:05:00 +00:00
cogl-offscreen.h cogl_offscreen: deprecate cogl_offscreen_ref/unref. 2009-11-26 19:33:13 +00:00
cogl-path.c cogl: cleanly separate primitives + paths code 2010-02-12 14:05:01 +00:00
cogl-path.h cogl: cleanly separate primitives + paths code 2010-02-12 14:05:01 +00:00
cogl-pixel-buffer-private.h cogl: improves header and coding style consistency 2010-02-12 14:05:00 +00:00
cogl-pixel-buffer.c cogl: improves header and coding style consistency 2010-02-12 14:05:00 +00:00
cogl-pixel-buffer.h docs: Fixes for Cogl 2010-02-12 15:52:07 +00:00
cogl-primitives.c cogl_rectangle: avoid redundant copy of geometry 2010-02-12 14:05:02 +00:00
cogl-primitives.h cogl: cleanly separate primitives + paths code 2010-02-12 14:05:01 +00:00
cogl-profile.c profiling: Adds initial UProf accounting to Cogl 2010-01-08 20:19:50 +00:00
cogl-profile.h profiling: Adds initial UProf accounting to Cogl 2010-01-08 20:19:50 +00:00
cogl-shader.h cogl: explicitly mark cogl_<object>_ref/unref APIs as deprecated 2010-02-12 14:05:01 +00:00
cogl-spans.c [cogl-spans] split out cogl-spans code from cogl-texture-2d-sliced 2009-10-16 18:58:52 +01:00
cogl-spans.h [cogl-spans] split out cogl-spans code from cogl-texture-2d-sliced 2009-10-16 18:58:52 +01:00
cogl-sub-texture-private.h cogl-sub-texture: Optimise taking a sub texture of a sub texture 2010-02-12 16:57:17 +00:00
cogl-sub-texture.c cogl-sub-texture: Optimise taking a sub texture of a sub texture 2010-02-12 16:57:17 +00:00
cogl-texture-2d-private.h cogl: improves header and coding style consistency 2010-02-12 14:05:00 +00:00
cogl-texture-2d-sliced-private.h cogl: improves header and coding style consistency 2010-02-12 14:05:00 +00:00
cogl-texture-2d-sliced.c cogl: resolves some low hanging issues flagged by clang 2010-02-12 14:05:02 +00:00
cogl-texture-2d.c cogl: remove redundant _cogl_journal_flush prototype 2010-02-12 14:05:01 +00:00
cogl-texture-driver.h cogl: new textures sould have GL_TEXTURE_MIN_FILTER set to GL_LINEAR 2010-02-08 17:14:49 +00:00
cogl-texture-private.h cogl: improves header and coding style consistency 2010-02-12 14:05:00 +00:00
cogl-texture.c cogl: resolves some low hanging issues flagged by clang 2010-02-12 14:05:02 +00:00
cogl-texture.h cogl-sub-texture: Optimise taking a sub texture of a sub texture 2010-02-12 16:57:17 +00:00
cogl-types.h cogl: improves header and coding style consistency 2010-02-12 14:05:00 +00:00
cogl-util.c cogl: improves header and coding style consistency 2010-02-12 14:05:00 +00:00
cogl-util.h cogl-clip-stack: Round the coords when clipping to a window rect 2010-02-17 16:12:47 +00:00
cogl-vertex-buffer-private.h cogl: improves header and coding style consistency 2010-02-12 14:05:00 +00:00
cogl-vertex-buffer.c cogl: remove redundant _cogl_journal_flush prototype 2010-02-12 14:05:01 +00:00
cogl-vertex-buffer.h cogl: explicitly mark cogl_<object>_ref/unref APIs as deprecated 2010-02-12 14:05:01 +00:00
cogl.c cogl: Cache the value for GL_MAX_TEXTURE_UNITS 2010-02-12 14:38:53 +00:00
cogl.h cogl: cleanly separate primitives + paths code 2010-02-12 14:05:01 +00:00
cogl.pc.in Intial Re-layout of the Cogl source code and introduction of a Cogl Winsys 2009-10-16 18:58:50 +01:00
Makefile.am cogl: cleanly separate primitives + paths code 2010-02-12 14:05:01 +00:00
stb_image.c Covert stb_image.c to Unix format 2010-01-05 18:02:29 +00:00