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

Unified Diff: cc/CCTextureUpdateQueue.h

Issue 10947017: Enable removing uploads to evicted textures from texture upload queues. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Incorporate review feedback Created 8 years, 3 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 | « cc/CCTextureUpdateControllerTest.cpp ('k') | cc/CCTextureUpdateQueue.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/CCTextureUpdateQueue.h
diff --git a/cc/CCTextureUpdateQueue.h b/cc/CCTextureUpdateQueue.h
index 5549b55911d169bc55c21252689a14dea1d70d17..e656489b95dea4c641b1447b8bdd5748be868dbb 100644
--- a/cc/CCTextureUpdateQueue.h
+++ b/cc/CCTextureUpdateQueue.h
@@ -22,7 +22,7 @@ public:
void appendPartialUpload(TextureUploader::Parameters);
void appendCopy(TextureCopier::Parameters);
- void clearUploads();
+ void clearUploadsToEvictedResources();
TextureUploader::Parameters takeFirstFullUpload();
TextureUploader::Parameters takeFirstPartialUpload();
@@ -35,6 +35,7 @@ public:
bool hasMoreUpdates() const;
private:
+ void clearUploadsToEvictedResources(Deque<TextureUploader::Parameters>& entryQueue);
Deque<TextureUploader::Parameters> m_fullEntries;
Deque<TextureUploader::Parameters> m_partialEntries;
Deque<TextureCopier::Parameters> m_copyEntries;
« no previous file with comments | « cc/CCTextureUpdateControllerTest.cpp ('k') | cc/CCTextureUpdateQueue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698