diff options
author | jamesr@chromium.org <jamesr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-13 23:30:22 +0000 |
---|---|---|
committer | jamesr@chromium.org <jamesr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-13 23:30:22 +0000 |
commit | c76fe6734b1b5e4985828c634e582063b0267eb9 (patch) | |
tree | b447ac0e87aa8828b8664cbfa8195ae13821c918 /webkit/common | |
parent | b597d9b28154b9a6a707b483c4fdab7efa8e7c47 (diff) | |
download | chromium_src-c76fe6734b1b5e4985828c634e582063b0267eb9.zip chromium_src-c76fe6734b1b5e4985828c634e582063b0267eb9.tar.gz chromium_src-c76fe6734b1b5e4985828c634e582063b0267eb9.tar.bz2 |
Implicitly ensure backbuffer creation on draw
Instead of having a special IPC channel to ensure a backbuffer is allocated
for a given GL context, we can create it implicitly on the first draw attempt
into FBO 0. If this fails, the context is considered lost.
BUG=181120
Review URL: https://codereview.chromium.org/112303002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@240797 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/common')
-rw-r--r-- | webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc | 4 | ||||
-rw-r--r-- | webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h | 1 |
2 files changed, 0 insertions, 5 deletions
diff --git a/webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc b/webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc index 124eca9..6d7e9f7 100644 --- a/webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc +++ b/webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc @@ -398,10 +398,6 @@ void WebGraphicsContext3DInProcessCommandBufferImpl::discardFramebufferEXT( } void WebGraphicsContext3DInProcessCommandBufferImpl:: - ensureBackbufferCHROMIUM() { -} - -void WebGraphicsContext3DInProcessCommandBufferImpl:: copyTextureToParentTextureCHROMIUM(WebGLId texture, WebGLId parentTexture) { NOTIMPLEMENTED(); } diff --git a/webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h b/webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h index 9c16d80..07dd18e 100644 --- a/webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h +++ b/webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h @@ -444,7 +444,6 @@ class WEBKIT_GPU_EXPORT WebGraphicsContext3DInProcessCommandBufferImpl virtual void discardFramebufferEXT(WGC3Denum target, WGC3Dsizei numAttachments, const WGC3Denum* attachments); - virtual void ensureBackbufferCHROMIUM(); virtual void copyTextureToParentTextureCHROMIUM( WebGLId texture, WebGLId parentTexture); |