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

Unified Diff: cc/texture_update_queue.h

Issue 11270047: cc: Rename TextureUpdate to ResourceUpdate. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sort includes and forward declarations. 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 | « cc/texture_update_controller_unittest.cc ('k') | cc/texture_update_queue.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/texture_update_queue.h
diff --git a/cc/texture_update_queue.h b/cc/texture_update_queue.h
deleted file mode 100644
index 933929b214a3fe3c0443e80049155dcf362f691d..0000000000000000000000000000000000000000
--- a/cc/texture_update_queue.h
+++ /dev/null
@@ -1,47 +0,0 @@
-// Copyright 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CCTextureUpdateQueue_h
-#define CCTextureUpdateQueue_h
-
-#include "base/basictypes.h"
-#include "cc/resource_update.h"
-#include "cc/texture_copier.h"
-#include <deque>
-
-namespace cc {
-
-class TextureUpdateQueue {
-public:
- TextureUpdateQueue();
- virtual ~TextureUpdateQueue();
-
- void appendFullUpload(const ResourceUpdate&);
- void appendPartialUpload(const ResourceUpdate&);
- void appendCopy(TextureCopier::Parameters);
-
- void clearUploadsToEvictedResources();
-
- ResourceUpdate takeFirstFullUpload();
- ResourceUpdate takeFirstPartialUpload();
- TextureCopier::Parameters takeFirstCopy();
-
- size_t fullUploadSize() const { return m_fullEntries.size(); }
- size_t partialUploadSize() const { return m_partialEntries.size(); }
- size_t copySize() const { return m_copyEntries.size(); }
-
- bool hasMoreUpdates() const;
-
-private:
- void clearUploadsToEvictedResources(std::deque<ResourceUpdate>& entryQueue);
- std::deque<ResourceUpdate> m_fullEntries;
- std::deque<ResourceUpdate> m_partialEntries;
- std::deque<TextureCopier::Parameters> m_copyEntries;
-
- DISALLOW_COPY_AND_ASSIGN(TextureUpdateQueue);
-};
-
-}
-
-#endif // CCTextureUpdateQueue_h
« no previous file with comments | « cc/texture_update_controller_unittest.cc ('k') | cc/texture_update_queue.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698