commit | eedb69abbde29ad3dd624f1f9dfc72e4f35d5234 | [log] [tgz] |
---|---|---|
author | Romain Guy <romainguy@google.com> | Mon Jan 30 17:31:58 2017 -0800 |
committer | Romain Guy <romainguy@google.com> | Mon Jan 30 18:29:29 2017 -0800 |
tree | 7ff7caea15337110aaaa747a772fc7d6856cecd7 | |
parent | 3d9da20ac13d014f411a580f7a3cbc40e5c42a36 [diff] |
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