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

Unified Diff: cc/output/program_binding.h

Issue 2645953007: cc: Add analytic color conversion to shaders (Closed)
Patch Set: 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..008ef653e6c1d8d96dadfbff1e20976ad607f37e 100644
--- a/cc/output/program_binding.h
+++ b/cc/output/program_binding.h
@@ -266,6 +266,17 @@ class Program : public ProgramBindingBase {
return fragment_shader_.lut_texture_location_;
}
int lut_size_location() const { return fragment_shader_.lut_size_location_; }
+
+ int color_src_to_dst_primary_matrix_location() const {
+ return fragment_shader_.color_src_to_dst_primary_matrix_location_;
+ }
+ int color_src_to_linear_tr_fn_location() const {
+ return fragment_shader_.color_src_to_linear_tr_fn_location_;
+ }
+ int color_linear_to_dst_tr_fn_location() const {
+ return fragment_shader_.color_linear_to_dst_tr_fn_location_;
+ }
+
int yuv_matrix_location() const {
return fragment_shader_.yuv_matrix_location_;
}
« 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