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

Unified Diff: cc/resources/resource_provider.h

Issue 2751953003: cc: Remove redundant BufferIdAllocator (Closed)
Patch Set: cc: Remove redundant BufferIdAllocator Created 3 years, 9 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 | « AUTHORS ('k') | cc/resources/resource_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/resource_provider.h
diff --git a/cc/resources/resource_provider.h b/cc/resources/resource_provider.h
index 626eee84619552012f3653d0484ddd5fcbae936b..4fc6bd67807fde0c6853773bfe7ac9088d0c66fd 100644
--- a/cc/resources/resource_provider.h
+++ b/cc/resources/resource_provider.h
@@ -52,9 +52,9 @@ class GLES2Interface;
namespace cc {
class BlockingTaskRunner;
-class IdAllocator;
class SharedBitmap;
class SharedBitmapManager;
+class TextureIdAllocator;
// This class is not thread-safe and can only be called from the thread it was
// created on (in practice, the impl thread).
@@ -757,8 +757,7 @@ class CC_EXPORT ResourceProvider
int next_child_;
ChildMap children_;
scoped_refptr<Fence> current_read_lock_fence_;
- std::unique_ptr<IdAllocator> texture_id_allocator_;
- std::unique_ptr<IdAllocator> buffer_id_allocator_;
+ std::unique_ptr<TextureIdAllocator> texture_id_allocator_;
BufferToTextureTargetMap buffer_to_texture_target_map_;
base::ThreadChecker thread_checker_;
« no previous file with comments | « AUTHORS ('k') | cc/resources/resource_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698