Chromium Code Reviews
Descriptioncc: Add color parameters for all quads
Rename GLRenderer::program_shadow_ to GLRenderer::current_program_,
and use this directly.
Change SetUseProgram to take a ProgramKey, and not a Program.
Specify a source color space to SetUseProgram. For the moment this is
largely ignored, but allow (except behind the video flag).
Update tests to build all shaders with color conversion enabled (not actually
testing the results yet, since the conversion mechanisms are in flux).
Add a RendererSettings::enable_color_correct_rendering flag, and plumb
that through with --enable-color-correct-rendering. With that command
line flag, all shaders will start using color conversion (though their inputs
will not be right).
BUG=667966
CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel
Review-Url: https://codereview.chromium.org/2677893003
Cr-Commit-Position: refs/heads/master@{#449844}
Committed: https://chromium.googlesource.com/chromium/src/+/5d3f3e2d889382a65bc059b2f8f6d738b3643f46
Patch Set 1 #Patch Set 2 : Re-add const #Patch Set 3 : Update w/2681223002 #
Total comments: 1
Dependent Patchsets: Messages
Total messages: 18 (13 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||