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

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

Issue 2362363002: Cancel GPU acceleration for 2D canvas when drawing very large images (Closed)
Patch Set: fix sqrt Created 4 years, 3 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/frame/ImageBitmap.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 d61c4183fe9d4810e69174f60f551b1c57c50da8..384fbadb098010556955d49cbbf60c19fc46d951 100644
--- a/third_party/WebKit/Source/core/frame/ImageBitmap.h
+++ b/third_party/WebKit/Source/core/frame/ImageBitmap.h
@@ -68,7 +68,6 @@ public:
bool isPremultiplied() const { return m_image->isPremultiplied(); }
PassRefPtr<StaticBitmapImage> transfer();
void close();
- bool isTextureBacked() const;
~ImageBitmap() override;
@@ -80,6 +79,7 @@ public:
bool isImageBitmap() const override { return true; }
int sourceWidth() override { return m_image ? m_image->width() : 0; }
int sourceHeight() override { return m_image ? m_image->height() : 0; }
+ bool isAccelerated() const override;
// ImageBitmapSource implementation
IntSize bitmapSourceSize() const override { return size(); }
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/frame/ImageBitmap.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698