Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3500)

Unified Diff: cc/layer_tree_host.h

Issue 11079007: Fix issue incremental upload can evict textures being drawn (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Resolve against The Great Renaming Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | cc/layer_tree_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layer_tree_host.h
diff --git a/cc/layer_tree_host.h b/cc/layer_tree_host.h
index 277b1f06352ce6734a05d26a20d5bfa16c3eb8ac..f9a634391c2276a5ffdfe0922b8ce7bcb8025970 100644
--- a/cc/layer_tree_host.h
+++ b/cc/layer_tree_host.h
@@ -178,22 +178,6 @@ public:
CCPrioritizedTextureManager* contentsTextureManager() const;
- // Delete contents textures' backing resources until they use only bytesLimit bytes. This may
- // be called on the impl thread while the main thread is running.
- void reduceContentsTexturesMemoryOnImplThread(size_t bytesLimit, CCResourceProvider*);
- // Returns true if there any evicted backing textures that have not been deleted.
- bool evictedContentsTexturesBackingsExist() const;
- // Retrieve the list of all contents textures' backings that have been evicted, to pass to the
- // main thread to unlink them from their owning textures.
- void getEvictedContentTexturesBackings(CCPrioritizedTextureManager::BackingVector&);
- // Unlink the list of contents textures' backings from their owning textures on the main thread
- // before updating layers.
- void unlinkEvictedContentTexturesBackings(const CCPrioritizedTextureManager::BackingVector&);
- // Deletes all evicted backings, unlinking them from their owning textures if needed.
- // Returns true if this function had to unlink any backings from their owning texture when
- // destroying them. If this was the case, the impl layer tree may contain invalid resources.
- bool deleteEvictedContentTexturesBackings();
-
bool visible() const { return m_visible; }
void setVisible(bool);
« no previous file with comments | « no previous file | cc/layer_tree_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698