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

Unified Diff: cc/output/gl_renderer.h

Issue 2418173002: Fix HTML5 video blurry (Closed)
Patch Set: fix plugin test Created 4 years, 2 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/gl_renderer.h
diff --git a/cc/output/gl_renderer.h b/cc/output/gl_renderer.h
index 841ad74a9ab23ac3fe6bb5fcbea47247b1104586..66f06f7160e3b6a0977c39b330fb6e31df575205 100644
--- a/cc/output/gl_renderer.h
+++ b/cc/output/gl_renderer.h
@@ -311,9 +311,10 @@ class CC_EXPORT GLRenderer : public DirectRenderer {
// Texture shaders.
typedef ProgramBinding<VertexShaderPosTexTransform,
- FragmentShaderRGBATexVaryingAlpha> TextureProgram;
+ FragmentShaderRGBATexClampVaryingAlpha>
+ TextureProgram;
typedef ProgramBinding<VertexShaderPosTexTransform,
- FragmentShaderRGBATexPremultiplyAlpha>
+ FragmentShaderRGBATexClampPremultiplyAlpha>
NonPremultipliedTextureProgram;
typedef ProgramBinding<VertexShaderPosTexTransform,
FragmentShaderTexBackgroundVaryingAlpha>
@@ -346,7 +347,7 @@ class CC_EXPORT GLRenderer : public DirectRenderer {
RenderPassMaskColorMatrixProgram;
// Video shaders.
- typedef ProgramBinding<VertexShaderVideoTransform, FragmentShaderRGBATex>
+ typedef ProgramBinding<VertexShaderVideoTransform, FragmentShaderRGBATexClamp>
VideoStreamTextureProgram;
typedef ProgramBinding<VertexShaderPosTexYUVStretchOffset,
FragmentShaderYUVVideo> VideoYUVProgram;

Powered by Google App Engine
This is Rietveld 408576698