| Index: content/common/gpu/client/gl_helper.h
|
| diff --git a/content/common/gpu/client/gl_helper.h b/content/common/gpu/client/gl_helper.h
|
| index e28bb5f52c1bd8d3a189d86efc502ae570f0e691..5a24546771febfdc541c2a3763df7306c2da4f9e 100644
|
| --- a/content/common/gpu/client/gl_helper.h
|
| +++ b/content/common/gpu/client/gl_helper.h
|
| @@ -214,6 +214,12 @@ class CONTENT_EXPORT GLHelper {
|
| unsigned char* out,
|
| SkBitmap::Config format);
|
|
|
| + void ReadbackTextureAsync(GLuint texture,
|
| + const gfx::Size& dst_size,
|
| + unsigned char* out,
|
| + SkBitmap::Config config,
|
| + const base::Callback<void(bool)>& callback);
|
| +
|
| // Creates a copy of the specified texture. |size| is the size of the texture.
|
| // Note that the src_texture will have the min/mag filter set to GL_LINEAR
|
| // and wrap_s/t set to CLAMP_TO_EDGE in this call.
|
|
|