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

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

Issue 2121043002: 16 bpp video stream capture, render and WebGL usage - Realsense R200 & SR300 support. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 2 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 2ac239a1833e5cf8f02a53e2f2d78d6fd6f4c223..37ba3e22df27b95fb7069db813b12a1c0b7fd17a 100644
--- a/third_party/WebKit/Source/platform/graphics/ImageBuffer.h
+++ b/third_party/WebKit/Source/platform/graphics/ImageBuffer.h
@@ -140,6 +140,8 @@ class PLATFORM_EXPORT ImageBuffer {
AffineTransform baseTransform() const { return AffineTransform(); }
WebLayer* platformLayer() const;
+ // This method have the restriction that it only works with some texture
+ // formats as specified in Extensions3D::canUseCopyTextureCHROMIUM().
// Destroys the TEXTURE_2D binding for the active texture unit of the passed
// context.
// FIXME: Current implementations of this method only work with textures that

Powered by Google App Engine
This is Rietveld 408576698