1
0
Fork 0
mutter-performance-source/gl
Neil Roberts 7031791376 Fix some failures from the fixed-to-float script in cogl-texture
The script converted calls to COGL_FIXED_MUL(x,y) to (x*y). However
this fails for cases like this:

 COGL_FIXED_MUL(a + b, c)

which become

 (a + b * c)

The meaning of this is of course different because multiplication has
a higher precedence than addition.

This was causing breakages in cogl_texture_quad_sw when the vertex
coordinates are not in increasing order. This was the case in
test-backface-culling when NPOTs are not available.
2009-01-22 17:44:24 +00:00
..
cogl-context.c Renames the mesh api to the "vertex buffer api". 2009-01-20 22:29:35 +00:00
cogl-context.h Renames the mesh api to the "vertex buffer api". 2009-01-20 22:29:35 +00:00
cogl-defines.h.in * clutter/cogl/gl/cogl.c: 2008-12-10 12:13:20 +00:00
cogl-fbo.c 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:25:00 +00:00
cogl-fbo.h Bug 945 - Clipping+fbo cloning bugs 2008-08-01 12:23:57 +00:00
cogl-internal.h A comparison of gl/cogl-texture.c and gles/cogl-texture.c, to reduce 2008-11-18 16:24:09 +00:00
cogl-primitives.c [Automatic fixed-to-float.sh change] Applies a number fixed to float patches 2009-01-20 16:20:54 +00:00
cogl-program.c 2008-11-18 Emmanuele Bassi <ebassi@linux.intel.com> 2008-11-18 15:21:02 +00:00
cogl-program.h Removed COGLhandle and changed shader and program functions to be 2008-04-29 16:10:37 +00:00
cogl-shader-private.h 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:25:00 +00:00
cogl-shader.c 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:25:00 +00:00
cogl-texture-private.h 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:25:00 +00:00
cogl-texture.c Fix some failures from the fixed-to-float script in cogl-texture 2009-01-22 17:44:24 +00:00
cogl.c Fix computation of camera distance 2009-01-22 14:17:16 +00:00
Makefile.am Renames the mesh api to the "vertex buffer api". 2009-01-20 22:29:35 +00:00