diff options
author | boliu@chromium.org <boliu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-20 13:58:55 +0000 |
---|---|---|
committer | boliu@chromium.org <boliu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-20 13:58:55 +0000 |
commit | 506446425b195a736d2ac80d0305684c55f8fb06 (patch) | |
tree | cf1c3b59855f38dea75d636b67ec68b93f8223b0 /cc/output/software_renderer.cc | |
parent | 83ad516352d55394a94d039f3d48e37920b490c3 (diff) | |
download | chromium_src-506446425b195a736d2ac80d0305684c55f8fb06.zip chromium_src-506446425b195a736d2ac80d0305684c55f8fb06.tar.gz chromium_src-506446425b195a736d2ac80d0305684c55f8fb06.tar.bz2 |
Zero-budget TileManager in resourceless software mode
In ResourceManager, add Reinitialize which essentially
calls Initialize again. Make sure the default resource
type is updated again to be correct.
In LayerTreeHostImpl, set bytes_limit_when_visible_ to 0
in resourceless software mode. Set back default value in
DeferredInitialize.
In TextureLayerImpl, release the resource on
DidLoseOutputSurface if not using mailboxes. For
mailboxes, the resource cannot be recreated by simply
calling CreateResourceFromTextureMailbox again.
BUG=245935
Review URL: https://chromiumcodereview.appspot.com/16700003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207424 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/output/software_renderer.cc')
-rw-r--r-- | cc/output/software_renderer.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cc/output/software_renderer.cc b/cc/output/software_renderer.cc index 1082086..3cf1f6a 100644 --- a/cc/output/software_renderer.cc +++ b/cc/output/software_renderer.cc @@ -74,6 +74,10 @@ SoftwareRenderer::SoftwareRenderer(RendererClient* client, // The updater can access bitmaps while the SoftwareRenderer is using them. capabilities_.allow_partial_texture_updates = true; capabilities_.using_partial_swap = true; + + capabilities_.using_map_image = + Settings().use_map_image && + output_surface->capabilities().deferred_gl_initialization; } SoftwareRenderer::~SoftwareRenderer() {} |