diff options
author | jbates@chromium.org <jbates@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-12 20:09:57 +0000 |
---|---|---|
committer | jbates@chromium.org <jbates@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-12 20:09:57 +0000 |
commit | ce9eea60c922efff7c680a7a127480a799e06e94 (patch) | |
tree | 6e34093d78d48fe4d1132c4d8eef2817d32e2203 /webkit/gpu | |
parent | 8c3bd1d8c71d8432beb624ce1434ca962665de90 (diff) | |
download | chromium_src-ce9eea60c922efff7c680a7a127480a799e06e94.zip chromium_src-ce9eea60c922efff7c680a7a127480a799e06e94.tar.gz chromium_src-ce9eea60c922efff7c680a7a127480a799e06e94.tar.bz2 |
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
Diffstat (limited to 'webkit/gpu')
-rw-r--r-- | webkit/gpu/webgraphicscontext3d_in_process_impl.cc | 20 | ||||
-rw-r--r-- | webkit/gpu/webgraphicscontext3d_in_process_impl.h | 5 |
2 files changed, 25 insertions, 0 deletions
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*); |