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

Unified Diff: webkit/common/gpu/webgraphicscontext3d_impl.cc

Issue 659903002: Add subscribeUniform extension pipeline (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixed unitialized variable Created 6 years, 1 month 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 | « webkit/common/gpu/webgraphicscontext3d_impl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/common/gpu/webgraphicscontext3d_impl.cc
diff --git a/webkit/common/gpu/webgraphicscontext3d_impl.cc b/webkit/common/gpu/webgraphicscontext3d_impl.cc
index 3625de5aef0fb5ac1c2958b1bc4603ecd66253f4..9e425097426958aa7116a2d5afbb007a6c071e65 100644
--- a/webkit/common/gpu/webgraphicscontext3d_impl.cc
+++ b/webkit/common/gpu/webgraphicscontext3d_impl.cc
@@ -846,6 +846,47 @@ DELEGATE_TO_GL_2R(createAndConsumeTextureCHROMIUM,
CreateAndConsumeTextureCHROMIUM,
WGC3Denum, const WGC3Dbyte*, WebGLId)
+DELEGATE_TO_GL_2(genValuebuffersCHROMIUM,
+ GenValuebuffersCHROMIUM,
+ WGC3Dsizei,
+ WebGLId*);
+
+WebGLId WebGraphicsContext3DImpl::createValuebufferCHROMIUM() {
+ GLuint o;
+ gl_->GenValuebuffersCHROMIUM(1, &o);
+ return o;
+}
+
+DELEGATE_TO_GL_2(deleteValuebuffersCHROMIUM,
+ DeleteValuebuffersCHROMIUM,
+ WGC3Dsizei,
+ WebGLId*);
+
+void WebGraphicsContext3DImpl::deleteValuebufferCHROMIUM(WebGLId valuebuffer) {
+ gl_->DeleteValuebuffersCHROMIUM(1, &valuebuffer);
+}
+
+DELEGATE_TO_GL_1RB(isValuebufferCHROMIUM,
+ IsValuebufferCHROMIUM,
+ WebGLId,
+ WGC3Dboolean)
+DELEGATE_TO_GL_2(bindValuebufferCHROMIUM,
+ BindValuebufferCHROMIUM,
+ WGC3Denum,
+ WebGLId)
+DELEGATE_TO_GL_2(subscribeValueCHROMIUM,
+ SubscribeValueCHROMIUM,
+ WGC3Denum,
+ WGC3Denum);
+DELEGATE_TO_GL_1(populateSubscribedValuesCHROMIUM,
+ PopulateSubscribedValuesCHROMIUM,
+ WGC3Denum);
+DELEGATE_TO_GL_3(uniformValuebufferCHROMIUM,
+ UniformValuebufferCHROMIUM,
+ WGC3Dint,
+ WGC3Denum,
+ WGC3Denum);
+
void WebGraphicsContext3DImpl::insertEventMarkerEXT(
const WGC3Dchar* marker) {
gl_->InsertEventMarkerEXT(0, marker);
« no previous file with comments | « webkit/common/gpu/webgraphicscontext3d_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698