diff options
author | boliu@chromium.org <boliu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-13 03:50:20 +0000 |
---|---|---|
committer | boliu@chromium.org <boliu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-13 03:50:20 +0000 |
commit | 50af3c2667e37abedccfb137c08f7875c3989013 (patch) | |
tree | 83c7380ee2d8bbd1c49f85fac69ca42844c55f48 /cc/test/pixel_test.cc | |
parent | b1960cd7669a83698e84212acfaac10d949b8cee (diff) | |
download | chromium_src-50af3c2667e37abedccfb137c08f7875c3989013.zip chromium_src-50af3c2667e37abedccfb137c08f7875c3989013.tar.gz chromium_src-50af3c2667e37abedccfb137c08f7875c3989013.tar.bz2 |
OutputSurfaceClient::ReleaseGL
For Android WebView, when the webview is detached from the view tree, it
is the last chance we have of releasing all GL resources. This is
essentially the reverse of DeferredInitialize, synchronously releasing
GL resources and reverting back to software mode and zero-budget.
BUG=256276
Review URL: https://chromiumcodereview.appspot.com/18279003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211523 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/test/pixel_test.cc')
-rw-r--r-- | cc/test/pixel_test.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cc/test/pixel_test.cc b/cc/test/pixel_test.cc index ed1ad5a..ae4e102 100644 --- a/cc/test/pixel_test.cc +++ b/cc/test/pixel_test.cc @@ -56,6 +56,7 @@ class PixelTest::PixelTestRendererClient scoped_refptr<ContextProvider> offscreen_context_provider) OVERRIDE { return false; } + virtual void ReleaseGL() OVERRIDE {} virtual void SetNeedsRedrawRect(gfx::Rect damage_rect) OVERRIDE {} virtual void BeginFrame(const BeginFrameArgs& args) OVERRIDE {} virtual void OnSwapBuffersComplete(const CompositorFrameAck* ack) OVERRIDE {} |