diff options
author | jamesr@chromium.org <jamesr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-08 01:29:40 +0000 |
---|---|---|
committer | jamesr@chromium.org <jamesr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-08 01:29:40 +0000 |
commit | 63487d2c29b397ad7a4ef1ef5f0d2ee8509222c6 (patch) | |
tree | 5930c11a85472f328d93f0b7c317e090435a9d08 /cc/layer_tree_host.h | |
parent | bbe7250added91877c9570465a407aab4a2a7e7e (diff) | |
download | chromium_src-63487d2c29b397ad7a4ef1ef5f0d2ee8509222c6.zip chromium_src-63487d2c29b397ad7a4ef1ef5f0d2ee8509222c6.tar.gz chromium_src-63487d2c29b397ad7a4ef1ef5f0d2ee8509222c6.tar.bz2 |
Rename discardFramebufferEXT to discardBackbufferCHROMIUM to avoid collision with real discardFramebufferEXT
Calling the (real) discardFramebufferEXT in the compositor is a performance win, at least on tilers. However
currently it can't be called because we alias the name for a different API that controls backbuffer
allocation, which I don't want to change. This renames the code to make backbuffer control a completely
separate API so I can pipe GL_EXT_discard_framebuffer in fully as a follow-up.
Depends on https://bugs.webkit.org/show_bug.cgi?id=104316
BUG=
Review URL: https://chromiumcodereview.appspot.com/11474014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@171908 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/layer_tree_host.h')
-rw-r--r-- | cc/layer_tree_host.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/layer_tree_host.h b/cc/layer_tree_host.h index 21af798..3f6b9ba 100644 --- a/cc/layer_tree_host.h +++ b/cc/layer_tree_host.h @@ -117,7 +117,7 @@ struct CC_EXPORT RendererCapabilities { bool usingSetVisibility; bool usingSwapCompleteCallback; bool usingGpuMemoryManager; - bool usingDiscardFramebuffer; + bool usingDiscardBackbuffer; bool usingEglImage; bool allowPartialTextureUpdates; int maxTextureSize; |