Chromium Code Reviews
Descriptioncc: Remove more uniform location caching
Because we know the cc::Program that is bound, we can just specify the
values we want to set, and look up the uniform locations from the bound
program.
Also, merge lots of redundant code into SetShader* functions.
BUG=667966
CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel
Review-Url: https://codereview.chromium.org/2687653002
Cr-Commit-Position: refs/heads/master@{#449121}
Committed: https://chromium.googlesource.com/chromium/src/+/80f3afb13a970dc64b835ce91f3f1c16466c836d
Patch Set 1 #
Total comments: 5
Patch Set 2 : Review feedback #
Dependent Patchsets: Messages
Total messages: 17 (10 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||