platform_system_core/libpixelflinger
Mathias Agopian 9d88176417 fix part of [2017702] OpenGL bugs with alpha values of 1.0 in the source during blending into 8888 buffers
when ONE / ONE_MINUS_SRC_ALPHA blending mode was used, the code wasn't saturating the color component.
the reason was that this mode is used for premltiplied alpha blending, however, if used with a non
premultiplied source, the color component would wrap.

unfortunately, this costs 6 extra cycles per pixels, however... "correctness" prevails.

this should not impact the UI since it's using h/w acceleration most of the time it also doesn't
impact games which should be using h/w GL. This change will slow the emulator down a bit.
2009-08-18 14:34:51 -07:00
..
codeflinger we actually have to saturate when doing premultilied blending with opengl 2009-08-07 13:01:46 -07:00
tests auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
tinyutils fix 1650170 pixelflinger depends on KeyedVector.h, etc 2009-06-01 15:27:46 -07:00
Android.mk Merge commit 'remotes/korg/cupcake' into merge 2009-03-18 09:29:29 -07:00
buffer.cpp auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
buffer.h auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
clear.cpp auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
clear.h auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
fixed.cpp auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
format.cpp auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
MODULE_LICENSE_APACHE2 auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
NOTICE auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
picker.cpp auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
picker.h auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
pixelflinger.cpp auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
raster.cpp auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
raster.h auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
rotate90CW_4x4_16v6.S auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
scanline.cpp auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
scanline.h auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
t32cb16blend.S fix part of [2017702] OpenGL bugs with alpha values of 1.0 in the source during blending into 8888 buffers 2009-08-18 14:34:51 -07:00
trap.cpp auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
trap.h auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00