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

Unified Diff: gpu/blink/webgraphicscontext3d_impl.cc

Issue 1439913005: fix the bugs of getSyncParameter in gl-object-get-calls.html (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: coding style Created 5 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 | « gpu/blink/webgraphicscontext3d_impl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/blink/webgraphicscontext3d_impl.cc
diff --git a/gpu/blink/webgraphicscontext3d_impl.cc b/gpu/blink/webgraphicscontext3d_impl.cc
index 040d7e1c068f51443d86d0a5fc79f86589a935ab..f7675a25fd808ad5c585c82ddb066d3543fd452a 100644
--- a/gpu/blink/webgraphicscontext3d_impl.cc
+++ b/gpu/blink/webgraphicscontext3d_impl.cc
@@ -574,6 +574,15 @@ blink::WebString WebGraphicsContext3DImpl::getString(
reinterpret_cast<const char*>(gl_->GetString(name)));
}
+void WebGraphicsContext3DImpl::getSynciv(blink::WGC3Dsync sync,
+ blink::WGC3Denum pname,
+ blink::WGC3Dsizei bufSize,
+ blink::WGC3Dsizei *length,
+ blink::WGC3Dint *params) {
+ return gl_->GetSynciv(
+ reinterpret_cast<GLsync>(sync), pname, bufSize, length, params);
+}
+
DELEGATE_TO_GL_3(getTexParameterfv, GetTexParameterfv,
WGC3Denum, WGC3Denum, WGC3Dfloat*)
« no previous file with comments | « gpu/blink/webgraphicscontext3d_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698