Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(595)

Unified Diff: cc/output/program_binding.h

Issue 2674763003: cc: Separate YUV from LUT color conversion (Closed)
Patch Set: More rebaselines Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/output/gl_renderer_unittest.cc ('k') | cc/output/shader.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/program_binding.h
diff --git a/cc/output/program_binding.h b/cc/output/program_binding.h
index 4fcd7e559cbe20564c2bb31196840cc3c2a1db6a..b79a0c293085f39c9bff0bc7d419760826d344ea 100644
--- a/cc/output/program_binding.h
+++ b/cc/output/program_binding.h
@@ -266,22 +266,15 @@ class Program : public ProgramBindingBase {
return fragment_shader_.lut_texture_location_;
}
int lut_size_location() const { return fragment_shader_.lut_size_location_; }
- int yuv_matrix_location() const {
- return fragment_shader_.yuv_matrix_location_;
+ int yuv_and_resource_matrix_location() const {
+ return fragment_shader_.yuv_and_resource_matrix_location_;
}
- int yuv_adj_location() const { return fragment_shader_.yuv_adj_location_; }
int ya_clamp_rect_location() const {
return fragment_shader_.ya_clamp_rect_location_;
}
int uv_clamp_rect_location() const {
return fragment_shader_.uv_clamp_rect_location_;
}
- int resource_multiplier_location() const {
- return fragment_shader_.resource_multiplier_location_;
- }
- int resource_offset_location() const {
- return fragment_shader_.resource_offset_location_;
- }
private:
void InitializeDebugBorderProgram() {
« no previous file with comments | « cc/output/gl_renderer_unittest.cc ('k') | cc/output/shader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698