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

Unified Diff: Source/WebCore/platform/graphics/chromium/ShaderChromium.h

Issue 7477025: Merge 91720 - [Chromium] Use correct vertex shader when rendering video layer. (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/835/
Patch Set: Created 9 years, 5 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: Source/WebCore/platform/graphics/chromium/ShaderChromium.h
===================================================================
--- Source/WebCore/platform/graphics/chromium/ShaderChromium.h (revision 91783)
+++ Source/WebCore/platform/graphics/chromium/ShaderChromium.h (working copy)
@@ -90,6 +90,21 @@
int matrixLocation() const { return m_matrixLocation; }
int texTransformLocation() const { return m_texTransformLocation; }
+
+private:
+ int m_matrixLocation;
+ int m_texTransformLocation;
+};
+
+class VertexShaderQuad {
+public:
+ VertexShaderQuad();
+
+ void init(GraphicsContext3D*, unsigned program);
+ String getShaderString() const;
+
+ int matrixLocation() const { return m_matrixLocation; }
+ int texTransformLocation() const { return m_texTransformLocation; }
int pointLocation() const { return m_pointLocation; }
private:

Powered by Google App Engine
This is Rietveld 408576698