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

Unified Diff: public/platform/WebGraphicsContext3D.h

Issue 1190783007: Implemented getBufferSubData, fixed bindTransformFeedback conformance issue. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 6 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 | « Source/core/html/canvas/WebGL2RenderingContextBase.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebGraphicsContext3D.h
diff --git a/public/platform/WebGraphicsContext3D.h b/public/platform/WebGraphicsContext3D.h
index 53b42cd5c54b3937216df7802746211342f01ab3..31e09b5c0805192263a17c27f7095d73a3475491 100644
--- a/public/platform/WebGraphicsContext3D.h
+++ b/public/platform/WebGraphicsContext3D.h
@@ -520,6 +520,7 @@ public:
virtual WGC3Dboolean isSampler(WebGLId sampler) { return false; }
virtual WGC3Dboolean isSync(WGC3Dsync sync) { return false; }
virtual WGC3Dboolean isTransformFeedback(WebGLId transformfeedback) { return false; }
+ virtual void* mapBufferRange(WGC3Denum target, WGC3Dintptr offset, WGC3Dsizeiptr length, WGC3Dbitfield access) { return 0; }
virtual void pauseTransformFeedback(void) { }
virtual void programParameteri(WebGLId program, WGC3Denum pname, WGC3Dint value) { }
virtual void readBuffer(WGC3Denum src) { }
@@ -547,6 +548,8 @@ public:
virtual void uniformMatrix3x4fv(WGC3Dint location, WGC3Dsizei count, WGC3Dboolean transpose, const WGC3Dfloat* value) { }
virtual void uniformMatrix4x2fv(WGC3Dint location, WGC3Dsizei count, WGC3Dboolean transpose, const WGC3Dfloat* value) { }
virtual void uniformMatrix4x3fv(WGC3Dint location, WGC3Dsizei count, WGC3Dboolean transpose, const WGC3Dfloat* value) { }
+ virtual WGC3Dboolean unmapBuffer(WGC3Denum target) { return false; }
+
virtual void vertexAttribI4i(WGC3Duint index, WGC3Dint x, WGC3Dint y, WGC3Dint z, WGC3Dint w) { }
virtual void vertexAttribI4iv(WGC3Duint index, const WGC3Dint *v) { }
virtual void vertexAttribI4ui(WGC3Duint index, WGC3Duint x, WGC3Duint y, WGC3Duint z, WGC3Duint w) { }
« no previous file with comments | « Source/core/html/canvas/WebGL2RenderingContextBase.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698