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

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

Issue 974203002: update getTexParameter for WebGL 2 (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: addressed zmo@'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 e7f0295bcf281d80e4728bf0ce99af8f9e985063..3c7987bbc47def594e6a09bb56ac269734ef3a99 100644
--- a/Source/core/html/canvas/WebGL2RenderingContextBase.h
+++ b/Source/core/html/canvas/WebGL2RenderingContextBase.h
@@ -163,6 +163,7 @@ public:
void initializeNewContext() override;
void bindFramebuffer(GLenum target, WebGLFramebuffer*) override;
ScriptValue getParameter(ScriptState*, GLenum pname) override;
+ ScriptValue getTexParameter(ScriptState*, GLenum target, GLenum pname) override;
DECLARE_VIRTUAL_TRACE();
@@ -177,6 +178,7 @@ protected:
bool validateCapability(const char* functionName, GLenum) override;
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;
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