replicant-frameworks_native/services/surfaceflinger/RenderEngine
Dan Stoza f008799d37 SF: Skip render-to-texture for color transforms
In cases where SurfaceFlinger is applying a color matrix (usually for
accessibility features), we previously would perform a render-to-
texture for the initial composition, and then apply the matrix during
a copy to the framebuffer. This changes that behavior to just apply the
matrix during composition without a render-to-texture pass.

This may result in a perceived change of the image in cases with alpha
blending, since the blending is performed at a different stage of the
pipeline and the system effectively performs non-linear blends.
However, neither this nor the prior render-to-texture pass is strictly
correct in that regard, and this approach is less error-prone and
likely faster.

Change-Id: I2110ff0374f61d76df7b087dde8a1ed98990440c
2015-05-27 13:32:51 -07:00
..
Description.cpp SF: Skip render-to-texture for color transforms 2015-05-27 13:32:51 -07:00
Description.h SF: Skip render-to-texture for color transforms 2015-05-27 13:32:51 -07:00
GLES10RenderEngine.cpp
GLES10RenderEngine.h
GLES11RenderEngine.cpp SF: Skip render-to-texture for color transforms 2015-05-27 13:32:51 -07:00
GLES11RenderEngine.h SF: Skip render-to-texture for color transforms 2015-05-27 13:32:51 -07:00
GLES20RenderEngine.cpp SF: Skip render-to-texture for color transforms 2015-05-27 13:32:51 -07:00
GLES20RenderEngine.h SF: Skip render-to-texture for color transforms 2015-05-27 13:32:51 -07:00
GLExtensions.cpp
GLExtensions.h
Mesh.cpp SurfaceFlinger: Fix integer overflow in Mesh ctor 2015-04-30 14:57:41 -07:00
Mesh.h color blindness enhancement 2013-09-04 22:11:15 -07:00
Program.cpp native frameworks: 64-bit compile issues 2014-03-12 13:12:44 -07:00
Program.h color blindness enhancement 2013-09-04 22:11:15 -07:00
ProgramCache.cpp Remove gamma correction from color correction shader 2015-04-28 17:15:57 -07:00
ProgramCache.h Generate the SurfaceFlinger shader cache on initialization 2014-10-03 17:21:15 +00:00
RenderEngine.cpp resolved conflicts for merge of 07dffa18 to lmp-mr1-dev-plus-aosp 2014-11-13 15:16:53 -08:00
RenderEngine.h SF: Skip render-to-texture for color transforms 2015-05-27 13:32:51 -07:00
Texture.cpp switch to use mat4 2013-08-26 20:42:07 -07:00
Texture.h switch to use mat4 2013-08-26 20:42:07 -07:00