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

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

Issue 2476693002: WebGL & 16-bit video stream: upload to FLOAT texture. (Closed)
Patch Set: Nits. Created 4 years 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 a7b105741259c5e6c2394d39e2cb4c2884ff18e0..050802043cd6b6d0d5c6c9aebd0911aa0535b47c 100644
--- a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h
+++ b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h
@@ -615,6 +615,7 @@ class MODULES_EXPORT WebGLRenderingContextBase : public CanvasRenderingContext,
friend class ScopedFramebufferRestorer;
// To allow V8WebGL[2]RenderingContext to call visitChildDOMWrappers.
friend class V8WebGLRenderingContext;
+ friend class ScopedUnpackParametersResetRestore;
WebGLRenderingContextBase(HTMLCanvasElement*,
std::unique_ptr<WebGraphicsContext3DProvider>,
@@ -986,6 +987,8 @@ class MODULES_EXPORT WebGLRenderingContextBase : public CanvasRenderingContext,
CopyTexImage,
CompressedTexImage
};
+
+ // This must stay in sync with WebMediaPlayer::TexImageFunctionID.
enum TexImageFunctionID {
TexImage2D,
TexSubImage2D,

Powered by Google App Engine
This is Rietveld 408576698