History log of /frameworks/native/services/surfaceflinger/RenderEngine/ProgramCache.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
3acd9f1d8fdffc0ed0837ebbabcac0c4014015b3 29-Apr-2015 Alan Viverette <alanv@google.com> Remove gamma correction from color correction shader

Gamma correction was incorrectly skewing both color inversion and
Daltonization, which resulted in washed-out colors.

Bug: 20346301
Change-Id: I34d879f902c3be115b2d23f09c3ed3902799759e
/frameworks/native/services/surfaceflinger/RenderEngine/ProgramCache.cpp
a51fafc4d83ab1d1582c1c870c31be44b057aa95 29-Sep-2014 Riley Andrews <riandrews@google.com> Generate the SurfaceFlinger shader cache on initialization

Blobcache is not yet enabled for surfaceflinger (as it should be).
As a temporary workaround, generate all needed shaders during
surfaceflinger initialization instead of doing the compilation
on-demand during ui transitions.

Change-Id: I14455b20a3f85f177d85c9c8b76d8ccc35379b39
/frameworks/native/services/surfaceflinger/RenderEngine/ProgramCache.cpp
794c5ba973f6d107a8277f3f389cb3051c6ce5d7 04-Oct-2013 Alan Viverette <alanv@google.com> Simplify color adjustment using homogeneous coordinates

Change-Id: Ie31abacb134c29d82a6041fa7d521f68a1a273af
/frameworks/native/services/surfaceflinger/RenderEngine/ProgramCache.cpp
9c5a3335110769993d3fe997bdf1d594954d4304 13-Sep-2013 Alan Viverette <alanv@google.com> Add API for pushing color transforms to SurfaceFlinger

BUG: 9057596
Change-Id: Iea0953366eac875b7968897a75472c25a137edb5
/frameworks/native/services/surfaceflinger/RenderEngine/ProgramCache.cpp
ff2ed70fa30f04b90dd1a2c06ec2319e157152d7 02-Sep-2013 Mathias Agopian <mathias@google.com> color blindness enhancement

This is an attempt at improving the experience of
users with color vision impairement.

At this time this feature can only be enabled for
debugging:

adb shell service call SurfaceFlinger 1014 i32 PARAM

with PARAM:
0 : disabled
1 : protanomaly/protanopia simulation
2 : deuteranomaly/deuteranopia simulation
3 : tritanopia/tritanomaly simulation
11, 12, 13: same as above w/ attempted correction/enhancement

The enhancement algorithm tries to spread the "error"
such that tones that would otherwise appear similar can be
distinguished.

Bug: 9465644

Change-Id: I860f7eed0cb81f54ef9cf24ad78155b6395ade48
/frameworks/native/services/surfaceflinger/RenderEngine/ProgramCache.cpp
49457ac092071a8f964f7f69156093657ccdc3d0 15-Aug-2013 Mathias Agopian <mathias@google.com> Encapsulate textures into their own Texture class

the main reason for doing this is so that we can have
access to informations about a texture (like its dimension)
close to where we generate and use shaders in ES 2.0.
Previously, there wasn't any way to get to a texture's size
from a RenderEngine implementation.

Bug: 8679321

Change-Id: I388b338a70d07e3e8177dde248710ea1e4c82dff
/frameworks/native/services/surfaceflinger/RenderEngine/ProgramCache.cpp
e0ec2a956840fa70387883f422b6020c1dfc6bad 16-Aug-2013 Mathias Agopian <mathias@google.com> Merge "Fix ES2 composition on some devices" into klp-dev
2eaefe198a0cae1ee0b6366797a6b074c76df9ef 15-Aug-2013 Mathias Agopian <mathias@google.com> Simplify handling of opaque layers in shader generation

just ensure the alpha value is 1.0 in the opaque case
when reading the color from the texture or the
global color.

Bug: 8679321

Change-Id: Ia38b30e97c3bce5a2d534a40c0d66e0bfc3ea40d
/frameworks/native/services/surfaceflinger/RenderEngine/ProgramCache.cpp
458197de008be8fe561286b09f4edddb2f5c540a 15-Aug-2013 Mathias Agopian <mathias@google.com> Fix ES2 composition on some devices

- turns out fragment shaders don't have default precision by default
- GLES 1.x extensions that became core in GLES 2.0 don't always work
as extensions in GLES 2.0 (!)

Bug: 8679321
Change-Id: I5a4a93e158247910399325a965af5d2e3bbece9b
/frameworks/native/services/surfaceflinger/RenderEngine/ProgramCache.cpp
892f22dcb96927b4a4f9ab7badd6f2c9f4f37c1f 15-Aug-2013 Andy McFadden <fadden@android.com> Initialize mIndent

Bug 10334731

Change-Id: Ia3aa118a1516cc480b0d85179b78c4447f982dd6
/frameworks/native/services/surfaceflinger/RenderEngine/ProgramCache.cpp
3f84483382be2d528918cc1a6fbc6a7d68e0b181 08-Aug-2013 Mathias Agopian <mathias@google.com> SurfaceFlinger now uses GLES 2.x when available

Bug: 8679321

Change-Id: I2b152d01fb4e2de2ea9fe87f1ddbd6826d7520d7
/frameworks/native/services/surfaceflinger/RenderEngine/ProgramCache.cpp