| Index: ui/gl/yuv_to_rgb_converter.h
|
| diff --git a/ui/gl/yuv_to_rgb_converter.h b/ui/gl/yuv_to_rgb_converter.h
|
| index 794b61511a61b8001428780c22a765e26bbacd51..c1d5e97e0e84238fc1ec659062c00a3edce85bbd 100644
|
| --- a/ui/gl/yuv_to_rgb_converter.h
|
| +++ b/ui/gl/yuv_to_rgb_converter.h
|
| @@ -13,9 +13,13 @@ class YUVToRGBConverter {
|
| public:
|
| YUVToRGBConverter();
|
| ~YUVToRGBConverter();
|
| +
|
| + // The input Y and UV textures should be bound to these texture objects
|
| + // prior to calling CopyYUV420ToRGB.
|
| + unsigned y_texture() const { return y_texture_; }
|
| + unsigned uv_texture() const { return uv_texture_; }
|
| +
|
| void CopyYUV420ToRGB(unsigned target,
|
| - unsigned y_texture,
|
| - unsigned uv_texture,
|
| const gfx::Size& size,
|
| unsigned rgb_texture);
|
|
|
| @@ -26,6 +30,8 @@ class YUVToRGBConverter {
|
| unsigned program_ = 0;
|
| int size_location_ = -1;
|
| unsigned vertex_buffer_ = 0;
|
| + unsigned y_texture_ = 0;
|
| + unsigned uv_texture_ = 0;
|
| };
|
|
|
| } // namespace gl
|
|
|