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

Unified Diff: third_party/WebKit/Source/core/frame/ImageBitmap.h

Issue 2026803002: Avoid GPU readback in tex(Sub)Image2D(ImageBitmap) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: staticbitmapimage does not keep provider anymore Created 4 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: third_party/WebKit/Source/core/frame/ImageBitmap.h
diff --git a/third_party/WebKit/Source/core/frame/ImageBitmap.h b/third_party/WebKit/Source/core/frame/ImageBitmap.h
index 71aba7f19ff322fb2aca2d6352f73933316b6a1a..d771f9dc031f3446316bede6daf9f1cda52c3e33 100644
--- a/third_party/WebKit/Source/core/frame/ImageBitmap.h
+++ b/third_party/WebKit/Source/core/frame/ImageBitmap.h
@@ -58,6 +58,7 @@ public:
bool isPremultiplied() const { return m_image->isPremultiplied(); }
PassRefPtr<StaticBitmapImage> transfer();
void close();
+ bool isTextureBacked() const;
~ImageBitmap() override;

Powered by Google App Engine
This is Rietveld 408576698