Descriptioncolor: Add support for shader generation
Add a cache of ColorTransform objects to GLRenderer. If the
ColorTransform is not a no-op or a LUT, use the pointer to the
ColorTransform as part of the ProgramKey.
Add methods to ColorTranform to generate shader code, and implement
these methods for no-op and matrix-multiply color transform steps.
Remove the YUV matrix from ProgramBinding because it is now covered
by either the LUT or by the shader generation.
Add the behavior that if the destination color space is not specified,
then only the YUV to RGB conversion of the source color space is
performed, so that we can use this before enabling color conversion at
large.
BUG=667966
CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel
Review-Url: https://codereview.chromium.org/2697253002
Cr-Commit-Position: refs/heads/master@{#451447}
Committed: https://chromium.googlesource.com/chromium/src/+/ecdfdf5b38b44e99023608dac72afa4f6d293d8a
Patch Set 1 #Patch Set 2 : Rebase #
Total comments: 2
Patch Set 3 : Use ColorTransform in ColorLUTCache #Patch Set 4 : More bits of precision #
Depends on Patchset: Dependent Patchsets: Messages
Total messages: 21 (14 generated)
|