summaryrefslogtreecommitdiffstats
path: root/webkit/gpu/webgraphicscontext3d_in_process_impl.cc
diff options
context:
space:
mode:
authorapatrick@chromium.org <apatrick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-19 21:58:05 +0000
committerapatrick@chromium.org <apatrick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-19 21:58:05 +0000
commitebcc462bff6e2328dbae1fb6a42a3ffc3d2f0e4a (patch)
tree7fbf6daacb8a0149462b65d4d53eb41bfc85f4bc /webkit/gpu/webgraphicscontext3d_in_process_impl.cc
parent46da33beb42f48672659fed469da4b15ed927776 (diff)
downloadchromium_src-ebcc462bff6e2328dbae1fb6a42a3ffc3d2f0e4a.zip
chromium_src-ebcc462bff6e2328dbae1fb6a42a3ffc3d2f0e4a.tar.gz
chromium_src-ebcc462bff6e2328dbae1fb6a42a3ffc3d2f0e4a.tar.bz2
Reparenting of RendererGLContexts supports going from no parent to having a parent.
RendererGLContext::SetParent is a no-op if the parent did not change to avoid a redundant sync IPC. Added SetParentContext to WebGraphicsContext3DCommandBufferImpl. WebKit change to follow. Review URL: http://codereview.chromium.org/7237009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93106 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/gpu/webgraphicscontext3d_in_process_impl.cc')
-rw-r--r--webkit/gpu/webgraphicscontext3d_in_process_impl.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/webkit/gpu/webgraphicscontext3d_in_process_impl.cc b/webkit/gpu/webgraphicscontext3d_in_process_impl.cc
index e7d5757..a729099 100644
--- a/webkit/gpu/webgraphicscontext3d_in_process_impl.cc
+++ b/webkit/gpu/webgraphicscontext3d_in_process_impl.cc
@@ -298,6 +298,11 @@ bool WebGraphicsContext3DInProcessImpl::isGLES2Compliant() {
return is_gles2_;
}
+bool WebGraphicsContext3DInProcessImpl::setParentContext(
+ WebGraphicsContext3D* parent_context) {
+ return false;
+}
+
WebGLId WebGraphicsContext3DInProcessImpl::getPlatformTextureId() {
return texture_;
}