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

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

Issue 2738163002: Enable CopyTextureCHROMIUM in Blink for Tex{Sub}Image2D with more cases (Closed)
Patch Set: rebase only--blink renaming and formatting Created 3 years, 8 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 cb073611aece3f8522b2be2c410ddae7f9aa113d..8ed1dc5cbabe8b8dad8c467eda875feb1592e5aa 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 dest_target,
GLuint dest_texture_id,
- GLenum dest_internal_format,
- GLenum dest_type,
- bool flip_y) override;
+ bool flip_y,
+ const IntPoint& dest_point,
+ const IntRect& source_sub_rectangle) override;
bool HasMailbox() final { return texture_holder_->IsMailboxTextureHolder(); }
// To be called on sender thread before performing a transfer

Powered by Google App Engine
This is Rietveld 408576698