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

Unified Diff: Source/platform/graphics/RecordingImageBufferSurface.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/RecordingImageBufferSurface.h
diff --git a/Source/platform/graphics/RecordingImageBufferSurface.h b/Source/platform/graphics/RecordingImageBufferSurface.h
index 7911f3f70827a48eabe5e49d5ad192ae6bc1965e..e82e12ee81a8c4ee0215223b7f3e8be1630f8d06 100644
--- a/Source/platform/graphics/RecordingImageBufferSurface.h
+++ b/Source/platform/graphics/RecordingImageBufferSurface.h
@@ -54,7 +54,7 @@ public:
bool restore() override;
WebLayer* layer() const override;
bool isAccelerated() const override;
- Platform3DObject getBackingTexture() const override;
+ PassRefPtr<SkImage> getBackingTextureImage() const override;
bool cachedBitmapEnabled() const override;
const SkBitmap& cachedBitmap() const override;
void invalidateCachedBitmap() override;

Powered by Google App Engine
This is Rietveld 408576698