| 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 396de7fa10b49001f21ad41efcf26f142de52501..91de06b1705eda22ac94d3d4623a5311eb0999a3 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.
|
|
|