1
0
Fork 0
mutter-performance-source/clutter/cogl
Neil Roberts 634cdeab1f 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
..
common Improve accuracy of clutter_sinx() 2009-01-22 15:59:23 +00:00
gl Fix some failures from the fixed-to-float script in cogl-texture 2009-01-22 17:44:24 +00:00
gles Fix some failures from the fixed-to-float script in cogl-texture 2009-01-22 17:44:24 +00:00
cogl-color.h [Automatic fixed-to-float.sh change] Applies a number fixed to float patches 2009-01-20 16:20:54 +00:00
cogl-deprecated.h 2008-11-12 Emmanuele Bassi <ebassi@linux.intel.com> 2008-11-12 13:57:58 +00:00
cogl-fixed.h [Automatic fixed-to-float.sh change] Applies a number fixed to float patches 2009-01-20 16:20:54 +00:00
cogl-offscreen.h 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:57:41 +00:00
cogl-path.h [Automatic fixed-to-float.sh change] Applies a number fixed to float patches 2009-01-20 16:20:54 +00:00
cogl-shader.h 2008-11-18 Emmanuele Bassi <ebassi@linux.intel.com> 2008-11-18 15:21:02 +00:00
cogl-texture.h [docs] Remove sources of warnings in API references 2009-01-21 16:41:18 +00:00
cogl-types.h Change the COGL texture constructor to use flags 2009-01-21 10:14:29 +00:00
cogl-vertex-buffer.h [docs] Remove sources of warnings in API references 2009-01-21 16:41:18 +00:00
cogl.h.in Renames the mesh api to the "vertex buffer api". 2009-01-20 22:29:35 +00:00
Makefile.am Fixed 'make dist' 2008-04-28 16:57:44 +00:00
TODO Merged clutter-ivan branch into trunk. 2008-04-25 13:37:36 +00:00