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

Unified Diff: Source/core/html/canvas/WebGL2RenderingContextBase.h

Issue 1099853002: WebGL: add targets for WebGL 2 when check FBO targets (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: addressed kbr@'s feedback Created 5 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
« no previous file with comments | « no previous file | Source/core/html/canvas/WebGL2RenderingContextBase.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/canvas/WebGL2RenderingContextBase.h
diff --git a/Source/core/html/canvas/WebGL2RenderingContextBase.h b/Source/core/html/canvas/WebGL2RenderingContextBase.h
index 07910d50c938e60f38f585cfb4ed44b34a187936..0ef78d83b14a7bb41f96833fbe7df3a6f6976b8c 100644
--- a/Source/core/html/canvas/WebGL2RenderingContextBase.h
+++ b/Source/core/html/canvas/WebGL2RenderingContextBase.h
@@ -181,6 +181,8 @@ protected:
bool validateBufferTarget(const char* functionName, GLenum target) override;
bool validateAndUpdateBufferBindTarget(const char* functionName, GLenum, WebGLBuffer*) override;
WebGLTexture* validateTextureBinding(const char* functionName, GLenum target, bool useSixEnumsForCubeMap) override;
+ bool validateFramebufferTarget(GLenum target) override;
+ WebGLFramebuffer* getFramebufferBinding(GLenum target) override;
RefPtrWillBeMember<WebGLFramebuffer> m_readFramebufferBinding;
};
« no previous file with comments | « no previous file | Source/core/html/canvas/WebGL2RenderingContextBase.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698