diff options
author | jamesr@chromium.org <jamesr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-13 11:13:07 +0000 |
---|---|---|
committer | jamesr@chromium.org <jamesr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-13 11:13:07 +0000 |
commit | 5dfc457b046705366bc8e58f5006b4e27c58f5c6 (patch) | |
tree | c7571ceaf0c4dc7ebc32b978b89950630ad540b7 /webkit | |
parent | df4c9c7f61a4de12ccc7e8020bcca9dcb5454192 (diff) | |
download | chromium_src-5dfc457b046705366bc8e58f5006b4e27c58f5c6.zip chromium_src-5dfc457b046705366bc8e58f5006b4e27c58f5c6.tar.gz chromium_src-5dfc457b046705366bc8e58f5006b4e27c58f5c6.tar.bz2 |
Add GL entry points for DiscardBackbufferCHROMIUM
This adds and uses a GL command buffer command for DiscardBackbufferCHROMIUM
instead of having a WebGraphicsContext3D entry point + common/ IPC message.
This is used to deallocate, if possible, the backbuffer when no longer in use.
BUG=181120
Review URL: https://codereview.chromium.org/104823005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@240583 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
-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 4a136d5..124eca9 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:: - discardBackbufferCHROMIUM() { -} - -void WebGraphicsContext3DInProcessCommandBufferImpl:: ensureBackbufferCHROMIUM() { } 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 d92d34329..9c16d80 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 discardBackbufferCHROMIUM(); virtual void ensureBackbufferCHROMIUM(); virtual void copyTextureToParentTextureCHROMIUM( |