982cf471dcdcda1f29ad0928864d18f8e5243446 |
|
27-Mar-2017 |
Romain Guy <romainguy@google.com> |
Update native ColorSpace API for libhwui Test: colorspace_test Bug: 32984164 Change-Id: Id0728bfa90192173eb45c2d26a8b81ce970398d7
/frameworks/native/include/ui/ColorSpace.h
|
1d77b719d51a01cbd6954a048fb64e79d50a950e |
|
18-Feb-2017 |
Mathias Agopian <mathias@google.com> |
move vector math out of libui created a new header-only static libmath lib Test: built & ran Bug: n/a Change-Id: Ic63ef5f54d9a0de07a9ab9e4d67be01ab6169fc0
/frameworks/native/include/ui/ColorSpace.h
|
25bbdcfb69d0b8fc8957b1630981632d6c9ff85d |
|
17-Feb-2017 |
Romain Guy <romainguy@google.com> |
Add tool to generate color space conversion 3D LUTs The tool needs to be run on an Android device and must be compiled manually (i.e. it's not compiled as part of a regular Android build). The tool outputs 3D LUTs in a format that can be included directly in a C/C++ file/header. Bug: 32984164 Test: ran lutgen and checked output Change-Id: I96f7d0d088965c3b63c0fb4079ddeaeee7246418
/frameworks/native/include/ui/ColorSpace.h
|
eedb69abbde29ad3dd624f1f9dfc72e4f35d5234 |
|
31-Jan-2017 |
Romain Guy <romainguy@google.com> |
Add ColorSpace::createLUT Generates a 3D LUT of a specified size. The generated LUT is meant to be used as a 3D OpenGL texture for fast color space conversions in shaders. This will be used to convert from P3 bitmaps to scRGB. Bug: 32984164 Test: colorspace_test Change-Id: I01f7276f885c71bde480e79260013d62786b377c
/frameworks/native/include/ui/ColorSpace.h
|
545347429606f5ef7facbb1639b42e5c9b44b6ec |
|
28-Jan-2017 |
Romain Guy <romainguy@google.com> |
Add color space connection This will be used to generate a 3D LUT to convert wide gamut bitmaps to the render target's color space at draw time. Bug: 32984164 Test: colorspace_test Change-Id: I1ea8d2b3129dfc8b994c8abc926b24e7e097558c
/frameworks/native/include/ui/ColorSpace.h
|
597cd600ab062758857772f266fd82cae89cc75d |
|
15-Nov-2016 |
Romain Guy <romainguy@google.com> |
Don't clamp when converting to XYZ Test: colorspace_test Bug: 29940137 Change-Id: I37bf0b6a7724e2ee155ab26835847fcbfd58e0fd
/frameworks/native/include/ui/ColorSpace.h
|
caf2ca414f69d460c516e2370cf42bcf49178d95 |
|
10-Nov-2016 |
Romain Guy <romainguy@google.com> |
Add ColorSpace class The ColorSpace class can be used to create an RGB color space from either primaries/whitepoint or an RGB->XYZ matrix. The primaries and whitepoint are in xyY space. A utility function is provided to compute xyY coordinates from XYZ coordinats. The class contains numerous functions to create common RGB color spaces (sRGB, DCI-P3, etc.). Test: colorspace_test Bug: 29940137 Change-Id: Ifba8701377d058f5877176dabf4183e904a4cde0
/frameworks/native/include/ui/ColorSpace.h
|