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

Unified Diff: third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h

Issue 2791813003: Fix broken draw/upload paths from videos to 2D canvas and WebGL. (Closed)
Patch Set: Disable GPU-GPU copies to floating-point textures on Android. 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/modules/webgl/WebGLRenderingContextBase.h
diff --git a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h
index 3f92cf2bea73047fb444b8a2c141b28e4f6a54f6..ee5d9537601393256b38dfaa0d1db19e3b610d6f 100644
--- a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h
+++ b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h
@@ -1111,7 +1111,7 @@ class MODULES_EXPORT WebGLRenderingContextBase : public CanvasRenderingContext,
GLint zoffset,
CanvasImageSource*,
const IntRect& source_sub_rectangle);
- virtual bool CanUseTexImageByGPU(GLenum type);
+ bool CanUseTexImageByGPU(GLenum format, GLenum type);
virtual WebGLImageConversion::PixelStoreParams GetPackPixelStoreParams();
virtual WebGLImageConversion::PixelStoreParams GetUnpackPixelStoreParams(

Powered by Google App Engine
This is Rietveld 408576698