Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(169)

Unified Diff: Source/platform/graphics/gpu/AcceleratedImageBufferSurface.h

Issue 1195513002: Use SkImage snapshots for ImageBufferSurface texture access (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: review comments Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/platform/graphics/gpu/AcceleratedImageBufferSurface.h
diff --git a/Source/platform/graphics/gpu/AcceleratedImageBufferSurface.h b/Source/platform/graphics/gpu/AcceleratedImageBufferSurface.h
index 08e1c50a7453ca9cc6cc1247f98a233cd1fe143e..1c71441627e153e9426d2b5f07b98a204fb6f8ad 100644
--- a/Source/platform/graphics/gpu/AcceleratedImageBufferSurface.h
+++ b/Source/platform/graphics/gpu/AcceleratedImageBufferSurface.h
@@ -47,7 +47,7 @@ public:
SkCanvas* canvas() const override { return m_surface ? m_surface->getCanvas() : 0; }
bool isValid() const override { return m_surface; }
bool isAccelerated() const override { return true; }
- Platform3DObject getBackingTexture() const override;
+ PassRefPtr<SkImage> getBackingTextureImage() const override;
void didModifyBackingTexture() override;
PassRefPtr<SkImage> newImageSnapshot() const override;

Powered by Google App Engine
This is Rietveld 408576698