summaryrefslogtreecommitdiff
path: root/services/surfaceflinger/Effects
AgeCommit message (Collapse)Author
2024-05-03Add color correction level API to native Isaac Chai
Test: Locally tested with other cls of the same topic, and also added unit tests and ran 'atest SurfaceFlinger_test' Bug: 322829049 Change-Id: I494ce39608ddf84fb74b60291511477672ca4e36
2020-01-15SurfaceFlinger: Enable -WConversion in Android.bp Ady Abraham
Enable global -WConversion in Android.bp and turn it off in individual files. This is the first step to enable -WConversion in SurfaceFlinger. Test: boot Bug: 129481165 Change-Id: Ia752df39ef380bde71705a32582d618242c466f7
2017-12-04Remove unused variable Yi Kong
Discovered by the upcoming compiler update. Test: build Change-Id: I268ac69b976e76b785b124d0634d1410dd5498b7
2017-02-18move vector math out of libui Mathias Agopian
created a new header-only static libmath lib Test: built & ran Bug: n/a Change-Id: Ic63ef5f54d9a0de07a9ab9e4d67be01ab6169fc0
2016-07-15SF/HWC2: Add support for color transforms Dan Stoza
Adds support for color transforms using the setColorTransform method of HWC2. This means that instead of always falling back to client composition when applying a transform, SurfaceFlinger will allow the device to make that decision. If all layers fall back to client composition, the SKIP_CLIENT_COLOR_TRANSFORM capability allows the device greater control over whether SF should apply the transform or whether it should allow the device to apply it to the client target buffer. Bug: 19539930 Change-Id: I47a3d5453a3c47a8dd105ab77cce7f9c9687e925
2014-03-10Don't simulate color space after correction Alan Viverette
Change-Id: Ied0918ffa2be5f9382e693f442b142b3e068e735
2013-09-04color blindness enhancement Mathias Agopian
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