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

Unified Diff: third_party/WebKit/Source/platform/graphics/AcceleratedStaticBitmapImage.h

Issue 2776083002: enable fallback path (Closed)
Patch Set: use stream read Created 3 years, 9 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/platform/graphics/AcceleratedStaticBitmapImage.h
diff --git a/third_party/WebKit/Source/platform/graphics/AcceleratedStaticBitmapImage.h b/third_party/WebKit/Source/platform/graphics/AcceleratedStaticBitmapImage.h
index 8ad0fff8b499b22c2ba646b0fb50e4dfaef388ef..06fe3e95324ddfa3fdf158cf4c8856ec0110e86f 100644
--- a/third_party/WebKit/Source/platform/graphics/AcceleratedStaticBitmapImage.h
+++ b/third_party/WebKit/Source/platform/graphics/AcceleratedStaticBitmapImage.h
@@ -49,10 +49,11 @@ class PLATFORM_EXPORT AcceleratedStaticBitmapImage final
ImageClampingMode) override;
void copyToTexture(WebGraphicsContext3DProvider*,
+ GLenum destTarget,
GLuint destTextureId,
- GLenum destInternalFormat,
- GLenum destType,
- bool flipY) override;
+ bool flipY,
+ const IntPoint& destPoint,
+ const IntRect& sourceSubRectangle) override;
bool hasMailbox() final { return m_textureHolder->isMailboxTextureHolder(); }
// To be called on sender thread before performing a transfer

Powered by Google App Engine
This is Rietveld 408576698