Chromium Code Reviews| 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; |
|
no sievers
2012/10/20 00:42:36
Do you really need to add this generic interface?
David Trainor- moved to gerrit
2012/10/22 08:31:07
For ContentViewCore#getBitmap it is, but for some
|
| protected: |
| Compositor() {} |
| }; |