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

Unified Diff: cc/output/shader.h

Issue 1131253003: cc: Add support for non-2D texture targets to YUVVideoQuad. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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
Index: cc/output/shader.h
diff --git a/cc/output/shader.h b/cc/output/shader.h
index dcc01e2aec4b4b6ef69b12a821d3756271b4bf00..d692a123cd79109b8885b1b3fce9b0292962b21a 100644
--- a/cc/output/shader.h
+++ b/cc/output/shader.h
@@ -132,13 +132,17 @@ class VertexShaderPosTexYUVStretchOffset {
static std::string GetShaderBody();
int matrix_location() const { return matrix_location_; }
- int tex_scale_location() const { return tex_scale_location_; }
- int tex_offset_location() const { return tex_offset_location_; }
+ int ya_tex_scale_location() const { return ya_tex_scale_location_; }
+ int ya_tex_offset_location() const { return ya_tex_offset_location_; }
+ int uv_tex_scale_location() const { return uv_tex_scale_location_; }
+ int uv_tex_offset_location() const { return uv_tex_offset_location_; }
private:
int matrix_location_;
- int tex_scale_location_;
- int tex_offset_location_;
+ int ya_tex_scale_location_;
+ int ya_tex_offset_location_;
+ int uv_tex_scale_location_;
+ int uv_tex_offset_location_;
DISALLOW_COPY_AND_ASSIGN(VertexShaderPosTexYUVStretchOffset);
};

Powered by Google App Engine
This is Rietveld 408576698