Home
last modified time | relevance | path

Searched refs:ResourceId (Results 1 – 25 of 69) sorted by relevance

123

/external/chromium_org/gpu/command_buffer/common/
Did_allocator.h20 typedef uint32 ResourceId; typedef
22 static const ResourceId kInvalidResource = 0u;
29 virtual ResourceId AllocateID() = 0;
33 virtual ResourceId AllocateIDAtOrAbove(ResourceId desired_id) = 0;
36 virtual bool MarkAsUsed(ResourceId id) = 0;
39 virtual void FreeID(ResourceId id) = 0;
42 virtual bool InUse(ResourceId id) const = 0;
52 virtual ResourceId AllocateID() OVERRIDE;
53 virtual ResourceId AllocateIDAtOrAbove(ResourceId desired_id) OVERRIDE;
54 virtual bool MarkAsUsed(ResourceId id) OVERRIDE;
[all …]
Did_allocator.cc20 ResourceId IdAllocator::AllocateID() { in AllocateID()
21 ResourceId id; in AllocateID()
36 ResourceId IdAllocator::AllocateIDAtOrAbove(ResourceId desired_id) { in AllocateIDAtOrAbove()
37 ResourceId id; in AllocateIDAtOrAbove()
54 bool IdAllocator::MarkAsUsed(ResourceId id) { in MarkAsUsed()
61 void IdAllocator::FreeID(ResourceId id) { in FreeID()
68 bool IdAllocator::InUse(ResourceId id) const { in InUse()
72 ResourceId IdAllocator::LastUsedId() const { in LastUsedId()
80 ResourceId IdAllocator::FindFirstUnusedId() const { in FindFirstUnusedId()
81 ResourceId id = 1; in FindFirstUnusedId()
[all …]
Did_allocator_test.cc30 ResourceId id1 = allocator->AllocateID(); in TEST_F()
35 ResourceId id2 = allocator->AllocateID(); in TEST_F()
57 ResourceId ids[kNumResources]; in TEST_F()
64 ResourceId id1 = ids[kNumResources / 2]; in TEST_F()
67 ResourceId id2 = allocator->AllocateID(); in TEST_F()
75 ResourceId id = allocator->AllocateID(); in TEST_F()
80 ResourceId id2 = allocator->AllocateID(); in TEST_F()
83 ResourceId id3 = allocator->AllocateID(); in TEST_F()
91 const ResourceId kOffset = 123456; in TEST_F()
93 ResourceId id1 = allocator->AllocateIDAtOrAbove(kOffset); in TEST_F()
[all …]
/external/chromium_org/cc/resources/
Dresource_provider.h55 typedef unsigned ResourceId; typedef
56 typedef std::vector<ResourceId> ResourceIdArray;
57 typedef std::set<ResourceId> ResourceIdSet;
58 typedef base::hash_map<ResourceId, ResourceId> ResourceIdMap;
90 bool InUseByConsumer(ResourceId id);
92 bool IsLost(ResourceId id);
97 ResourceType GetResourceType(ResourceId id);
100 ResourceId CreateResource(gfx::Size size,
107 ResourceId CreateManagedResource(gfx::Size size,
114 ResourceId CreateGLTexture(gfx::Size size,
[all …]
Dresource_provider.cc321 bool ResourceProvider::InUseByConsumer(ResourceId id) { in InUseByConsumer()
327 bool ResourceProvider::IsLost(ResourceId id) { in IsLost()
332 ResourceProvider::ResourceId ResourceProvider::CreateResource( in CreateResource()
357 ResourceProvider::ResourceId ResourceProvider::CreateManagedResource( in CreateManagedResource()
383 ResourceProvider::ResourceId ResourceProvider::CreateGLTexture( in CreateGLTexture()
394 ResourceId id = next_id_++; in CreateGLTexture()
402 ResourceProvider::ResourceId ResourceProvider::CreateBitmap( in CreateBitmap()
416 ResourceId id = next_id_++; in CreateBitmap()
424 ResourceProvider::ResourceId
440 ResourceId id = next_id_++; in CreateResourceFromExternalTexture()
[all …]
Dresource.h23 ResourceProvider::ResourceId id() const { return id_; } in id()
34 void set_id(ResourceProvider::ResourceId id) { id_ = id; } in set_id()
41 ResourceProvider::ResourceId id_;
Dresource_provider_unittest.cc381 ResourceProvider::ResourceId id, in GetResourcePixels()
468 ResourceProvider::ResourceId id, in SetResourceFilter()
476 ResourceProvider::ResourceId CreateChildMailbox(unsigned* release_sync_point, in CreateChildMailbox()
538 ResourceProvider::ResourceId id = resource_provider->CreateResource( in CheckCreateResource()
570 ResourceProvider::ResourceId id = resource_provider_->CreateResource( in TEST_P()
639 ResourceProvider::ResourceId id1 = child_resource_provider_->CreateResource( in TEST_P()
645 ResourceProvider::ResourceId id2 = child_resource_provider_->CreateResource( in TEST_P()
658 ResourceProvider::ResourceId id3 = in TEST_P()
694 ResourceProvider::ResourceId mapped_id1 = resource_map[id1]; in TEST_P()
695 ResourceProvider::ResourceId mapped_id2 = resource_map[id2]; in TEST_P()
[all …]
/external/chromium_org/cc/test/
Drender_pass_test_common.cc36 ResourceProvider::ResourceId resource1 = resource_provider->CreateResource( in AppendOneOfEveryQuadType()
42 ResourceProvider::ResourceId resource2 = resource_provider->CreateResource( in AppendOneOfEveryQuadType()
48 ResourceProvider::ResourceId resource3 = resource_provider->CreateResource( in AppendOneOfEveryQuadType()
54 ResourceProvider::ResourceId resource4 = resource_provider->CreateResource( in AppendOneOfEveryQuadType()
60 ResourceProvider::ResourceId resource5 = resource_provider->CreateResource( in AppendOneOfEveryQuadType()
66 ResourceProvider::ResourceId resource6 = resource_provider->CreateResource( in AppendOneOfEveryQuadType()
72 ResourceProvider::ResourceId resource7 = resource_provider->CreateResource( in AppendOneOfEveryQuadType()
214 ResourceProvider::ResourceId plane_resources[4]; in AppendOneOfEveryQuadType()
Dfake_ui_resource_layer_tree_host_impl.h23 virtual ResourceProvider::ResourceId ResourceIdForUIResource(
29 ResourceProvider::ResourceId fake_next_resource_id_;
Dfake_ui_resource_layer_tree_host_impl.cc30 ResourceProvider::ResourceId id = ResourceIdForUIResource(uid); in DeleteUIResource()
35 ResourceProvider::ResourceId
Dfake_delegated_renderer_layer_impl.cc27 static ResourceProvider::ResourceId AddResourceToFrame( in AddResourceToFrame()
30 ResourceProvider::ResourceId resource_id) { in AddResourceToFrame()
Drender_pass_test_utils.h55 ResourceProvider::ResourceId mask_resource_id,
/external/chromium_org/cc/quads/
Ddraw_quad.h97 typedef ResourceProvider::ResourceId ResourceId; typedef
98 typedef base::Callback<ResourceId(ResourceId)> ResourceIteratorCallback;
Drender_pass_draw_quad.h27 ResourceProvider::ResourceId mask_resource_id,
40 ResourceProvider::ResourceId mask_resource_id,
52 ResourceProvider::ResourceId mask_resource_id;
Ddraw_quad_unittest.cc362 ResourceProvider::ResourceId resource_id = 72; in TEST()
384 ResourceProvider::ResourceId mask_resource_id = 78; in TEST()
453 ResourceProvider::ResourceId resource_id = 64; in TEST()
550 ResourceProvider::ResourceId y_plane_resource_id = 45; in TEST()
551 ResourceProvider::ResourceId u_plane_resource_id = 532; in TEST()
552 ResourceProvider::ResourceId v_plane_resource_id = 4; in TEST()
553 ResourceProvider::ResourceId a_plane_resource_id = 63; in TEST()
630 ResourceProvider::ResourceId IncrementResourceId( in IncrementResourceId()
631 ResourceProvider::ResourceId id) { in IncrementResourceId()
667 ResourceProvider::ResourceId resource_id = 72; in TEST_F()
[all …]
Drender_pass_draw_quad.cc42 ResourceProvider::ResourceId mask_resource_id, in SetNew()
67 ResourceProvider::ResourceId mask_resource_id, in SetAll()
/external/chromium_org/cc/layers/
Dtiled_layer_impl.cc30 ResourceProvider::ResourceId resource_id() const { return resource_id_; } in resource_id()
31 void set_resource_id(ResourceProvider::ResourceId resource_id) { in set_resource_id()
42 ResourceProvider::ResourceId resource_id_;
54 ResourceProvider::ResourceId TiledLayerImpl::ContentsResourceId() const { in ContentsResourceId()
61 ResourceProvider::ResourceId resource_id = tile ? tile->resource_id() : 0; in ContentsResourceId()
265 ResourceProvider::ResourceId resource_id, in PushTileProperties()
Dtiled_layer_impl.h34 virtual ResourceProvider::ResourceId ContentsResourceId() const OVERRIDE;
40 ResourceProvider::ResourceId resource,
Dpainted_scrollbar_layer_impl.cc87 ResourceProvider::ResourceId thumb_resource_id = in AppendQuads()
89 ResourceProvider::ResourceId track_resource_id = in AppendQuads()
Dtiled_layer_impl_unittest.cc57 ResourceProvider::ResourceId resource_id = 1; in CreateLayer()
290 ResourceProvider::ResourceId resource_id = 1; in TEST_F()
299 ResourceProvider::ResourceId empty_resource(0); in TEST_F()
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/infobar/
DConfirmInfoBarDelegate.java8 import org.chromium.chrome.browser.ResourceId;
37 int drawableId = ResourceId.mapToDrawableId(enumeratedIconId); in showConfirmInfoBar()
/external/llvm/lib/Target/R600/
DR600TextureIntrinsicsReplacer.cpp162 Value *ResourceId = I.getArgOperand(1); in ReplaceTexIntrinsic() local
181 Offset, ResourceId, SamplerId, CT, Coord); in ReplaceTexIntrinsic()
186 Value *ResourceId = I.getArgOperand(4); in ReplaceTXF() local
205 Offset, ResourceId, SamplerId, CT, Coord); in ReplaceTXF()
/external/chromium_org/cc/output/
Ddelegating_renderer.cc89 static ResourceProvider::ResourceId AppendToArray( in AppendToArray()
91 ResourceProvider::ResourceId id) { in AppendToArray()
/external/chromium_org/content/child/npapi/
Dwebplugin_resource_client.h36 virtual int ResourceId() = 0;
/external/chromium_org/chrome/android/java/
DResourceId.template9 public class ResourceId {

123