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

Side by Side Diff: cc/output/program_binding.h

Issue 2647743002: The great shader refactor: Finish merging YUV shaders (Closed)
Patch Set: Rebase 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 unified diff | Download patch
« no previous file with comments | « cc/output/gl_renderer_unittest.cc ('k') | cc/output/shader.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CC_OUTPUT_PROGRAM_BINDING_H_ 5 #ifndef CC_OUTPUT_PROGRAM_BINDING_H_
6 #define CC_OUTPUT_PROGRAM_BINDING_H_ 6 #define CC_OUTPUT_PROGRAM_BINDING_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 } 258 }
259 int uv_texture_location() const { 259 int uv_texture_location() const {
260 return fragment_shader_.uv_texture_location_; 260 return fragment_shader_.uv_texture_location_;
261 } 261 }
262 int a_texture_location() const { 262 int a_texture_location() const {
263 return fragment_shader_.a_texture_location_; 263 return fragment_shader_.a_texture_location_;
264 } 264 }
265 int lut_texture_location() const { 265 int lut_texture_location() const {
266 return fragment_shader_.lut_texture_location_; 266 return fragment_shader_.lut_texture_location_;
267 } 267 }
268 int lut_size_location() const { return fragment_shader_.lut_size_location_; }
268 int yuv_matrix_location() const { 269 int yuv_matrix_location() const {
269 return fragment_shader_.yuv_matrix_location_; 270 return fragment_shader_.yuv_matrix_location_;
270 } 271 }
271 int yuv_adj_location() const { return fragment_shader_.yuv_adj_location_; } 272 int yuv_adj_location() const { return fragment_shader_.yuv_adj_location_; }
272 int ya_clamp_rect_location() const { 273 int ya_clamp_rect_location() const {
273 return fragment_shader_.ya_clamp_rect_location_; 274 return fragment_shader_.ya_clamp_rect_location_;
274 } 275 }
275 int uv_clamp_rect_location() const { 276 int uv_clamp_rect_location() const {
276 return fragment_shader_.uv_clamp_rect_location_; 277 return fragment_shader_.uv_clamp_rect_location_;
277 } 278 }
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
422 423
423 VertexShader vertex_shader_; 424 VertexShader vertex_shader_;
424 FragmentShader fragment_shader_; 425 FragmentShader fragment_shader_;
425 426
426 DISALLOW_COPY_AND_ASSIGN(Program); 427 DISALLOW_COPY_AND_ASSIGN(Program);
427 }; 428 };
428 429
429 } // namespace cc 430 } // namespace cc
430 431
431 #endif // CC_OUTPUT_PROGRAM_BINDING_H_ 432 #endif // CC_OUTPUT_PROGRAM_BINDING_H_
OLDNEW
« 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