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

Unified Diff: cc/shader.h

Issue 12328092: cc: Flip textures in vertex rather than fragment shader (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 10 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
« no previous file with comments | « cc/gl_renderer.h ('k') | cc/shader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/shader.h
diff --git a/cc/shader.h b/cc/shader.h
index 0d929f90f19af9a1fa20f191abee6468a66f8880..6ae060d7f2ab1ae987b54e5fa39ed65572c9da66 100644
--- a/cc/shader.h
+++ b/cc/shader.h
@@ -78,6 +78,11 @@ private:
int m_vertexOpacityLocation;
};
+class VertexShaderPosTexTransformFlip : public VertexShaderPosTexTransform {
+public:
+ std::string getShaderString() const;
+};
+
class VertexShaderQuad {
public:
VertexShaderQuad();
@@ -156,11 +161,6 @@ private:
int m_samplerLocation;
};
-class FragmentShaderRGBATexFlipVaryingAlpha : public FragmentTexOpaqueBinding {
-public:
- std::string getShaderString() const;
-};
-
class FragmentShaderRGBATexVaryingAlpha : public FragmentTexOpaqueBinding {
public:
std::string getShaderString() const;
@@ -171,11 +171,6 @@ public:
std::string getShaderString() const;
};
-class FragmentShaderRGBATexRectFlipVaryingAlpha : public FragmentTexAlphaBinding {
-public:
- std::string getShaderString() const;
-};
-
class FragmentShaderRGBATexRectVaryingAlpha : public FragmentTexAlphaBinding {
public:
std::string getShaderString() const;
« no previous file with comments | « cc/gl_renderer.h ('k') | cc/shader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698