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

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

Issue 2809873003: Implement sub source for WebGL2's clearBuffer*(). (Closed)
Patch Set: address kbr's comment 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 52b1d744fb4b64770228ef80a9e6ba8c0074740a..085bc484472a51d23f9f0ca057ffcb4a60009859 100644
--- a/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.h
+++ b/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.h
@@ -843,12 +843,12 @@ class WebGL2RenderingContextBase : public WebGLRenderingContextBase {
/* Multiple Render Targets */
void drawBuffers(const Vector<GLenum>&);
- void clearBufferiv(GLenum, GLint, NotShared<DOMInt32Array>);
- void clearBufferiv(GLenum, GLint, const Vector<GLint>&);
- void clearBufferuiv(GLenum, GLint, NotShared<DOMUint32Array>);
- void clearBufferuiv(GLenum, GLint, const Vector<GLuint>&);
- void clearBufferfv(GLenum, GLint, NotShared<DOMFloat32Array>);
- void clearBufferfv(GLenum, GLint, const Vector<GLfloat>&);
+ void clearBufferiv(GLenum, GLint, NotShared<DOMInt32Array>, GLuint);
+ void clearBufferiv(GLenum, GLint, const Vector<GLint>&, GLuint);
+ void clearBufferuiv(GLenum, GLint, NotShared<DOMUint32Array>, GLuint);
+ void clearBufferuiv(GLenum, GLint, const Vector<GLuint>&, GLuint);
+ void clearBufferfv(GLenum, GLint, NotShared<DOMFloat32Array>, GLuint);
+ void clearBufferfv(GLenum, GLint, const Vector<GLfloat>&, GLuint);
void clearBufferfi(GLenum, GLint, GLfloat, GLint);
/* Query Objects */
@@ -982,7 +982,8 @@ class WebGL2RenderingContextBase : public WebGLRenderingContextBase {
bool ValidateClearBuffer(const char* function_name,
GLenum buffer,
- GLsizei length);
+ GLsizei length,
+ GLuint src_offset);
enum TexStorageType {
kTexStorageType2D,
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698