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

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

Issue 1412613004: Set attachment for bound framebuffer in FramebufferTextureLayer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix WebGLTextureAttachment::attach Created 5 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/modules/webgl/WebGL2RenderingContextBase.h
diff --git a/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.h b/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.h
index a2427378b835f194a7d1c854d409b3e9a90cce19..2db7de01dc3e54b99fe954442ad90cb550f1fffb 100644
--- a/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.h
+++ b/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.h
@@ -32,8 +32,9 @@ public:
void getBufferSubData(GLenum target, long long offset, DOMArrayBuffer* returnedData);
/* Framebuffer objects */
+ bool validateTexFuncLayer(const char*, GLenum texTarget, GLint layer);
void blitFramebuffer(GLint, GLint, GLint, GLint, GLint, GLint, GLint, GLint, GLbitfield, GLenum);
- void framebufferTextureLayer(GLenum, GLenum, const WebGLTexture*, GLint, GLint);
+ void framebufferTextureLayer(ScriptState*, GLenum, GLenum, WebGLTexture*, GLint, GLint);
ScriptValue getInternalformatParameter(ScriptState*, GLenum, GLenum, GLenum);
void invalidateFramebuffer(GLenum, Vector<GLenum>&);
void invalidateSubFramebuffer(GLenum, Vector<GLenum>&, GLint, GLint, GLsizei, GLsizei);
@@ -235,6 +236,7 @@ protected:
PersistentWillBeMember<WebGLTransformFeedback> m_transformFeedbackBinding;
GLint m_max3DTextureSize;
GLint m_max3DTextureLevel;
+ GLint m_maxArrayTextureLayers;
std::set<GLenum> m_supportedInternalFormatsStorage;

Powered by Google App Engine
This is Rietveld 408576698