Go to file
Robert Bragg 7cb4b93432 [bitmap] Fixes _cogl_bitmap_fallback_unpremult
The _cogl_unpremult_alpha_{first,last} functions which
_cogl_bitmap_fallback_unpremult depends on were incorrectly casting each
of the byte components of a texel to a gulong and performing shifts as
if it were dealing with the whole texel.

It now just uses array indexing to access the byte components without
needing to cast or manually shift any bits around.

Even though we used to depend on unpremult whenever we used a
ClutterCairoTexture, clutter_cairo_texture_context_destroy had it's own
unpremult code which worked which is why this bug wouldn't have been noticed
before.
2009-06-11 14:17:52 +01:00
common [bitmap] Fixes _cogl_bitmap_fallback_unpremult 2009-06-11 14:17:52 +01:00
doc/reference/cogl [cogl] Move the texture filters to be a property of the material layer 2009-06-04 19:03:40 +01:00
gl Default to a blend function that expects premultiplied colors 2009-06-11 14:17:52 +01:00
gles Default to a blend function that expects premultiplied colors 2009-06-11 14:17:52 +01:00
cogl-bitmap.h Fix inclusion guards and headers 2009-05-06 17:59:25 +01:00
cogl-color.h Add cogl_color_premultiply() 2009-06-11 14:17:51 +01:00
cogl-debug.h [cogl-material] Support string based blending and layer combine descriptions 2009-05-28 02:43:28 +01:00
cogl-deprecated.h [cogl deprecated] Add backface culling deprecation 2009-05-28 14:14:50 +01:00
cogl-fixed.h [cogl] Updates all file headers and removes lots of trailing white space 2009-05-02 04:12:25 +01:00
cogl-material.h Default to a blend function that expects premultiplied colors 2009-06-11 14:17:52 +01:00
cogl-matrix.h Rename 'near' and 'far' variables to 'z_near' and 'z_far' 2009-06-04 11:48:51 +01:00
cogl-offscreen.h [cogl-offscreen] Cleans up the cogl offscreen API and adds documentation 2009-05-02 04:12:26 +01:00
cogl-path.h [cogl] Updates all file headers and removes lots of trailing white space 2009-05-02 04:12:25 +01:00
cogl-shader.h [cogl-shader] Make get_info_log() slightly nicer 2009-06-01 17:40:23 +01:00
cogl-texture.h [cogl] Move the texture filters to be a property of the material layer 2009-06-04 19:03:40 +01:00
cogl-types.h [cogl] Move the texture filters to be a property of the material layer 2009-06-04 19:03:40 +01:00
cogl-vertex-buffer.h [cogl-vertex-buffer] Add cogl_vertex_buffer_indices_get_for_quads 2009-06-01 14:50:52 +01:00
cogl.h.in Default to a blend function that expects premultiplied colors 2009-06-11 14:17:52 +01:00
cogl.pc.in [cogl] Fix hardcoded paths in the pc file 2009-03-10 12:38:04 +00:00
Makefile.am [introspection] Add --c-include to g-ir-scanner 2009-06-09 12:45:23 +01:00
TODO Merged clutter-ivan branch into trunk. 2008-04-25 13:37:36 +00:00