| Index: content/public/browser/android/compositor.h
|
| diff --git a/content/public/browser/android/compositor.h b/content/public/browser/android/compositor.h
|
| index 021624d67be87d550060d992ba0c1a0ca94d376a..86425f0967f61410f37cbe4c53a0d05135c6db12 100644
|
| --- a/content/public/browser/android/compositor.h
|
| +++ b/content/public/browser/android/compositor.h
|
| @@ -70,6 +70,10 @@ class Compositor {
|
| // Deletes an OpenGL texture.
|
| virtual void DeleteTexture(WebKit::WebGLId texture_id) = 0;
|
|
|
| + // Grabs a copy of |texture_id| and saves it into |bitmap|. No scaling is
|
| + // done. It is assumed that the texture size matches that of the bitmap.
|
| + virtual void CopyTextureToBitmap(WebKit::WebGLId texture_id,
|
| + gfx::JavaBitmap& bitmap) = 0;
|
| protected:
|
| Compositor() {}
|
| };
|
|
|