diff options
author | danakj <danakj@chromium.org> | 2016-03-21 15:10:17 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-03-21 22:12:20 +0000 |
commit | 950fab13a9308d91fee7be55503b077609f07e00 (patch) | |
tree | bf48f9962cb4e50e115b3d0da56e9aea5a815101 /gpu | |
parent | 4b212e62a81fcf88768d3be83b1dbca3b6976e9b (diff) | |
download | chromium_src-950fab13a9308d91fee7be55503b077609f07e00.zip chromium_src-950fab13a9308d91fee7be55503b077609f07e00.tar.gz chromium_src-950fab13a9308d91fee7be55503b077609f07e00.tar.bz2 |
Remove genSyncTokenCHROMIUM from WebGraphicsContext3D.
Use the method on GLES2Interface instead. The difference was that
WebGraphicsContext3D returned a bool, which was always true.
R=dyen@chromium.org, junov@chromium.org, pfeldman@chromium.org, piman@chromium.org
TBR=pfeldman
BUG=584497
CQ_INCLUDE_TRYBOTS=tryserver.chromium.win:win_optional_gpu_tests_rel
Review URL: https://codereview.chromium.org/1812363002
Cr-Commit-Position: refs/heads/master@{#382413}
Diffstat (limited to 'gpu')
-rw-r--r-- | gpu/blink/webgraphicscontext3d_impl.cc | 6 | ||||
-rw-r--r-- | gpu/blink/webgraphicscontext3d_impl.h | 3 |
2 files changed, 0 insertions, 9 deletions
diff --git a/gpu/blink/webgraphicscontext3d_impl.cc b/gpu/blink/webgraphicscontext3d_impl.cc index 30030b2a..2079772 100644 --- a/gpu/blink/webgraphicscontext3d_impl.cc +++ b/gpu/blink/webgraphicscontext3d_impl.cc @@ -199,12 +199,6 @@ void WebGraphicsContext3DImpl::synthesizeGLError(WGC3Denum error) { } } -bool WebGraphicsContext3DImpl::genSyncTokenCHROMIUM(WGC3Duint64 fenceSync, - WGC3Dbyte* syncToken) { - gl_->GenSyncTokenCHROMIUM(fenceSync, syncToken); - return true; -} - blink::WebString WebGraphicsContext3DImpl:: getRequestableExtensionsCHROMIUM() { return blink::WebString::fromUTF8( diff --git a/gpu/blink/webgraphicscontext3d_impl.h b/gpu/blink/webgraphicscontext3d_impl.h index fa91328..4448b72 100644 --- a/gpu/blink/webgraphicscontext3d_impl.h +++ b/gpu/blink/webgraphicscontext3d_impl.h @@ -37,9 +37,6 @@ class GPU_BLINK_EXPORT WebGraphicsContext3DImpl //---------------------------------------------------------------------- // WebGraphicsContext3D methods - bool genSyncTokenCHROMIUM(blink::WGC3Duint64 fenceSync, - blink::WGC3Dbyte* syncToken) override; - void drawElements(blink::WGC3Denum mode, blink::WGC3Dsizei count, blink::WGC3Denum type, |