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

Unified Diff: Source/platform/graphics/RecordingImageBufferSurface.cpp

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.cpp
diff --git a/Source/platform/graphics/RecordingImageBufferSurface.cpp b/Source/platform/graphics/RecordingImageBufferSurface.cpp
index fbb0fabe75865c966b25f88f28351be0f62cf008..7909ac5b7f274235943ee7e9fc646ee8d100da83 100644
--- a/Source/platform/graphics/RecordingImageBufferSurface.cpp
+++ b/Source/platform/graphics/RecordingImageBufferSurface.cpp
@@ -266,11 +266,11 @@ bool RecordingImageBufferSurface::isAccelerated() const
return ImageBufferSurface::isAccelerated();
}
-Platform3DObject RecordingImageBufferSurface::getBackingTexture() const
+PassRefPtr<SkImage> RecordingImageBufferSurface::getBackingTextureImage() const
{
if (m_fallbackSurface)
- return m_fallbackSurface->getBackingTexture();
- return ImageBufferSurface::getBackingTexture();
+ return m_fallbackSurface->getBackingTextureImage();
+ return ImageBufferSurface::getBackingTextureImage();
}
bool RecordingImageBufferSurface::cachedBitmapEnabled() const

Powered by Google App Engine
This is Rietveld 408576698