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

Side by Side Diff: cc/resource_update_queue.h

Issue 11365025: Make cc a component (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « cc/resource_update_controller.h ('k') | cc/scheduler.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CCResourceUpdateQueue_h 5 #ifndef CCResourceUpdateQueue_h
6 #define CCResourceUpdateQueue_h 6 #define CCResourceUpdateQueue_h
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "cc/cc_export.h"
9 #include "cc/resource_update.h" 10 #include "cc/resource_update.h"
10 #include "cc/texture_copier.h" 11 #include "cc/texture_copier.h"
11 #include <deque> 12 #include <deque>
12 13
13 namespace cc { 14 namespace cc {
14 15
15 class ResourceUpdateQueue { 16 class CC_EXPORT ResourceUpdateQueue {
16 public: 17 public:
17 ResourceUpdateQueue(); 18 ResourceUpdateQueue();
18 virtual ~ResourceUpdateQueue(); 19 virtual ~ResourceUpdateQueue();
19 20
20 void appendFullUpload(const ResourceUpdate&); 21 void appendFullUpload(const ResourceUpdate&);
21 void appendPartialUpload(const ResourceUpdate&); 22 void appendPartialUpload(const ResourceUpdate&);
22 void appendCopy(TextureCopier::Parameters); 23 void appendCopy(TextureCopier::Parameters);
23 24
24 void clearUploadsToEvictedResources(); 25 void clearUploadsToEvictedResources();
25 26
(...skipping 12 matching lines...) Expand all
38 std::deque<ResourceUpdate> m_fullEntries; 39 std::deque<ResourceUpdate> m_fullEntries;
39 std::deque<ResourceUpdate> m_partialEntries; 40 std::deque<ResourceUpdate> m_partialEntries;
40 std::deque<TextureCopier::Parameters> m_copyEntries; 41 std::deque<TextureCopier::Parameters> m_copyEntries;
41 42
42 DISALLOW_COPY_AND_ASSIGN(ResourceUpdateQueue); 43 DISALLOW_COPY_AND_ASSIGN(ResourceUpdateQueue);
43 }; 44 };
44 45
45 } 46 }
46 47
47 #endif // CCResourceUpdateQueue_h 48 #endif // CCResourceUpdateQueue_h
OLDNEW
« no previous file with comments | « cc/resource_update_controller.h ('k') | cc/scheduler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698