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

Unified Diff: cc/output/shader.h

Issue 881963002: Clamp YUV videos to their visible size in the shader (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
Index: cc/output/shader.h
diff --git a/cc/output/shader.h b/cc/output/shader.h
index 8c1f2647946906b1a87ce00618b3ba3384c020ca..2ecc0a4ed4d5fe0a4be3ee905d79bbb5ea4b9aeb 100644
--- a/cc/output/shader.h
+++ b/cc/output/shader.h
@@ -104,11 +104,13 @@ class VertexShaderPosTexYUVStretchOffset {
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 clamp_size_location() const { return clamp_size_location_; }
private:
int matrix_location_;
int tex_scale_location_;
int tex_offset_location_;
+ int clamp_size_location_;
DISALLOW_COPY_AND_ASSIGN(VertexShaderPosTexYUVStretchOffset);
};
« no previous file with comments | « cc/output/renderer_pixeltest.cc ('k') | cc/output/shader.cc » ('j') | cc/output/shader.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698