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

Unified Diff: third_party/WebKit/Source/platform/graphics/ImageBuffer.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/ImageBuffer.h
diff --git a/third_party/WebKit/Source/platform/graphics/ImageBuffer.h b/third_party/WebKit/Source/platform/graphics/ImageBuffer.h
index 35eac8543b6c1692329d5594c8afedf2040cd6f1..4f358baf8b488d696e479af1382ee7c8349e1446 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 internal_format,
- GLenum dest_type,
- GLint level,
bool premultiply_alpha,
bool flip_y,
const IntPoint& dest_point,

Powered by Google App Engine
This is Rietveld 408576698