From ce9eea60c922efff7c680a7a127480a799e06e94 Mon Sep 17 00:00:00 2001 From: "jbates@chromium.org" Date: Tue, 12 Apr 2011 20:09:57 +0000 Subject: implemented latch support in renderer process. this corresponds with a webkit patch. https://bugs.webkit.org/show_bug.cgi?id=58003 BUG=72671 TEST=see attachment in bug for test. only green should be seen. Review URL: http://codereview.chromium.org/6810009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81295 0039d316-1c4b-4281-b951-d872f2087c98 --- webkit/gpu/webgraphicscontext3d_in_process_impl.cc | 20 ++++++++++++++++++++ webkit/gpu/webgraphicscontext3d_in_process_impl.h | 5 +++++ 2 files changed, 25 insertions(+) (limited to 'webkit/gpu') diff --git a/webkit/gpu/webgraphicscontext3d_in_process_impl.cc b/webkit/gpu/webgraphicscontext3d_in_process_impl.cc index 5c72367..27a0c99 100644 --- a/webkit/gpu/webgraphicscontext3d_in_process_impl.cc +++ b/webkit/gpu/webgraphicscontext3d_in_process_impl.cc @@ -654,6 +654,26 @@ void WebGraphicsContext3DInProcessImpl::copyTextureToParentTextureCHROMIUM( glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, bound_fbo_); } +void WebGraphicsContext3DInProcessImpl::getLatchParentToChildCHROMIUM( + WGC3Duint* latch_id) +{ +} + +void WebGraphicsContext3DInProcessImpl::getLatchChildToParentCHROMIUM( + WGC3Duint* latch_id) +{ +} + +void WebGraphicsContext3DInProcessImpl::waitLatchCHROMIUM( + WGC3Duint latch_id) +{ +} + +void WebGraphicsContext3DInProcessImpl::setLatchCHROMIUM( + WGC3Duint latch_id) +{ +} + WebString WebGraphicsContext3DInProcessImpl:: getRequestableExtensionsCHROMIUM() { return WebString(); diff --git a/webkit/gpu/webgraphicscontext3d_in_process_impl.h b/webkit/gpu/webgraphicscontext3d_in_process_impl.h index e05cb6b..600b22c 100644 --- a/webkit/gpu/webgraphicscontext3d_in_process_impl.h +++ b/webkit/gpu/webgraphicscontext3d_in_process_impl.h @@ -89,6 +89,11 @@ class WebGraphicsContext3DInProcessImpl : public WebGraphicsContext3D { virtual void copyTextureToParentTextureCHROMIUM( WebGLId texture, WebGLId parentTexture); + virtual void getLatchParentToChildCHROMIUM(WGC3Duint* latch_id); + virtual void getLatchChildToParentCHROMIUM(WGC3Duint* latch_id); + virtual void waitLatchCHROMIUM(WGC3Duint latch_id); + virtual void setLatchCHROMIUM(WGC3Duint latch_id); + virtual WebString getRequestableExtensionsCHROMIUM(); virtual void requestExtensionCHROMIUM(const char*); -- cgit v1.1