Chromium Code Reviews| Index: cc/output/shader.h |
| diff --git a/cc/output/shader.h b/cc/output/shader.h |
| index 3772a87ac3b1e65efdd333aba6c67c5096b02716..e0eaaeea767237bbcdb51a6d05f6ef1eaa17fef7 100644 |
| --- a/cc/output/shader.h |
| +++ b/cc/output/shader.h |
| @@ -412,6 +412,37 @@ class FragmentShaderYUVVideo { |
| DISALLOW_COPY_AND_ASSIGN(FragmentShaderYUVVideo); |
| }; |
| + |
| +class FragmentShaderYUVAVideo { |
| +public: |
|
danakj
2013/04/04 15:01:55
nit: 1 space before public/private:
does the pres
vignesh
2013/04/04 22:06:14
not sure why, presubmit did not mention this.
Don
|
| + FragmentShaderYUVAVideo(); |
| + std::string GetShaderString() const; |
| + |
| + void Init(WebKit::WebGraphicsContext3D*, |
|
danakj
2013/04/04 15:01:55
nit: give all arguments variable names
vignesh
2013/04/04 22:06:14
Done.
|
| + unsigned program, |
| + bool using_bind_uniform, |
| + int* base_uniform_index); |
| + |
| + int y_texture_location() const { return y_texture_location_; } |
| + int u_texture_location() const { return u_texture_location_; } |
| + int v_texture_location() const { return v_texture_location_; } |
| + int a_texture_location() const { return a_texture_location_; } |
| + int alpha_location() const { return alpha_location_; } |
| + int yuv_matrix_location() const { return yuv_matrix_location_; } |
| + int yuv_adj_location() const { return yuv_adj_location_; } |
| + |
| +private: |
| + int y_texture_location_; |
| + int u_texture_location_; |
| + int v_texture_location_; |
| + int a_texture_location_; |
| + int alpha_location_; |
| + int yuv_matrix_location_; |
| + int yuv_adj_location_; |
| + |
| + DISALLOW_COPY_AND_ASSIGN(FragmentShaderYUVAVideo); |
| +}; |
| + |
| class FragmentShaderColor { |
| public: |
| FragmentShaderColor(); |