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

Unified Diff: third_party/WebKit/Source/platform/graphics/ImageBuffer.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/ImageBuffer.h
diff --git a/third_party/WebKit/Source/platform/graphics/ImageBuffer.h b/third_party/WebKit/Source/platform/graphics/ImageBuffer.h
index 8e38810f63f7ed3e17e92cbd281fe7d9e1377f40..cac9f87ce9c47e457b95f498a1b5a41bcdb4b48b 100644
--- a/third_party/WebKit/Source/platform/graphics/ImageBuffer.h
+++ b/third_party/WebKit/Source/platform/graphics/ImageBuffer.h
@@ -139,15 +139,10 @@ class PLATFORM_EXPORT ImageBuffer {
// Destroys the TEXTURE_2D binding for the active texture unit of the passed
// context. Assumes the destination texture has already been allocated.
- // FIXME: Current implementations of this method only work with textures that
- // are RGB or RGBA format, UNSIGNED_BYTE type and level 0, as specified in
- // Extensions3D::canUseCopyTextureCHROMIUM().
bool copyToPlatformTexture(SnapshotReason,
gpu::gles2::GLES2Interface*,
+ GLenum target,
GLuint texture,
- GLenum internalFormat,
- GLenum destType,
- GLint level,
bool premultiplyAlpha,
bool flipY,
const IntPoint& destPoint,

Powered by Google App Engine
This is Rietveld 408576698