Index: cc/output/shader.h |
diff --git a/cc/output/shader.h b/cc/output/shader.h |
index 21b4a70de5aaac404dc18061f6483967841dddf7..a9f62cfa1b349c98441bae60a2d705ab5b26c62e 100644 |
--- a/cc/output/shader.h |
+++ b/cc/output/shader.h |
@@ -810,6 +810,27 @@ class FragmentShaderYUVVideo : public FragmentTexBlendMode { |
DISALLOW_COPY_AND_ASSIGN(FragmentShaderYUVVideo); |
}; |
+class FragmentShaderYVideo : public FragmentTexOpaqueBinding { |
+ public: |
+ FragmentShaderYVideo(); |
+ std::string GetShaderString(TexCoordPrecision precision, |
+ SamplerType sampler) const; |
+ static std::string GetShaderHead(); |
+ static std::string GetShaderBody(); |
+ |
+ void Init(gpu::gles2::GLES2Interface* context, |
+ unsigned program, |
+ int* base_uniform_index); |
+ int x_derivative_location() const { return x_derivative_location_; } |
+ int y_derivative_location() const { return y_derivative_location_; } |
+ |
+ private: |
+ int x_derivative_location_; |
+ int y_derivative_location_; |
+ |
+ DISALLOW_COPY_AND_ASSIGN(FragmentShaderYVideo); |
+}; |
+ |
class FragmentShaderColor : public FragmentTexBlendMode { |
public: |
FragmentShaderColor(); |