Home
last modified time | relevance | path

Searched refs:PrioritizedResource (Results 1 – 23 of 23) sorted by relevance

/external/chromium_org/cc/resources/
Dprioritized_resource.cc16 PrioritizedResource::PrioritizedResource(PrioritizedResourceManager* manager, in PrioritizedResource() function in cc::PrioritizedResource
33 PrioritizedResource::~PrioritizedResource() { in ~PrioritizedResource()
38 void PrioritizedResource::SetTextureManager( in SetTextureManager()
48 void PrioritizedResource::SetDimensions(const gfx::Size& size, in SetDimensions()
61 bool PrioritizedResource::RequestLate() { in RequestLate()
67 bool PrioritizedResource::BackingResourceWasEvicted() const { in BackingResourceWasEvicted()
71 void PrioritizedResource::AcquireBackingTexture( in AcquireBackingTexture()
78 void PrioritizedResource::SetPixels(ResourceProvider* resource_provider, in SetPixels()
96 void PrioritizedResource::Link(Backing* backing) { in Link()
105 void PrioritizedResource::Unlink() { in Unlink()
[all …]
Dprioritized_resource_manager.h24 template <> struct hash<cc::PrioritizedResource*> {
25 size_t operator()(cc::PrioritizedResource* ptr) const {
42 scoped_ptr<PrioritizedResource> CreateTexture(
44 return make_scoped_ptr(new PrioritizedResource(this, size, format));
48 typedef std::list<PrioritizedResource::Backing*> BackingList;
111 bool RequestLate(PrioritizedResource* texture);
117 void AcquireBackingTextureIfNeeded(PrioritizedResource* texture,
120 void RegisterTexture(PrioritizedResource* texture);
121 void UnregisterTexture(PrioritizedResource* texture);
122 void ReturnBackingTexture(PrioritizedResource* texture);
[all …]
Dprioritized_resource.h24 class CC_EXPORT PrioritizedResource {
26 static scoped_ptr<PrioritizedResource> Create( in Create()
30 return make_scoped_ptr(new PrioritizedResource(manager, size, format)); in Create()
32 static scoped_ptr<PrioritizedResource> Create( in Create()
35 new PrioritizedResource(manager, gfx::Size(), RGBA_8888)); in Create()
37 ~PrioritizedResource();
116 PrioritizedResource* owner() { return owner_; } in owner()
133 friend class PrioritizedResource; variable
135 PrioritizedResource* owner_;
152 PrioritizedResource(PrioritizedResourceManager* resource_manager,
[all …]
Dprioritized_resource_manager.cc69 PrioritizedResource* texture = (*it); in PrioritizeTextures()
114 PrioritizedResource* texture = (*it); in PrioritizeTextures()
129 PrioritizedResource* resource = *it; in PrioritizeTextures()
172 PrioritizedResource::Backing* backing = (*it); in UpdateBackingsState()
201 bool PrioritizedResourceManager::RequestLate(PrioritizedResource* texture) { in RequestLate()
230 PrioritizedResource* texture, in AcquireBackingTextureIfNeeded()
239 PrioritizedResource::Backing* backing = NULL; in AcquireBackingTextureIfNeeded()
296 PrioritizedResource::Backing* backing = backings_.front(); in EvictBackingsToReduceMemory()
395 PrioritizedResource::Backing* backing = (*it); in UnlinkAndClearEvictedBackings()
415 void PrioritizedResourceManager::RegisterTexture(PrioritizedResource* texture) { in RegisterTexture()
[all …]
Dlayer_updater.h17 class PrioritizedResource; variable
29 PrioritizedResource* texture() { return texture_.get(); } in texture()
38 explicit Resource(scoped_ptr<PrioritizedResource> texture);
41 scoped_ptr<PrioritizedResource> texture_;
Dresource_update.h16 class PrioritizedResource; variable
19 static ResourceUpdate Create(PrioritizedResource* resource,
28 PrioritizedResource* texture;
Dprioritized_resource_unittest.cc57 bool ValidateTexture(PrioritizedResource* texture, in ValidateTexture()
93 bool TextureBackingIsAbovePriorityCutoff(PrioritizedResource* texture) { in TextureBackingIsAbovePriorityCutoff()
131 scoped_ptr<PrioritizedResource> textures[kMaxTextures * 2]; in TEST_F()
175 scoped_ptr<PrioritizedResource> textures[kMaxTextures]; in TEST_F()
242 scoped_ptr<PrioritizedResource> textures[kMaxTextures]; in TEST_F()
280 textures[0] = scoped_ptr<PrioritizedResource>(); in TEST_F()
293 textures[i] = scoped_ptr<PrioritizedResource>(); in TEST_F()
312 scoped_ptr<PrioritizedResource> textures[kMaxTextures]; in TEST_F()
360 textures[i] = scoped_ptr<PrioritizedResource>(); in TEST_F()
392 scoped_ptr<PrioritizedResource> textures[kMaxTextures]; in TEST_F()
[all …]
Dimage_layer_updater.cc12 scoped_ptr<PrioritizedResource> texture) in Resource()
33 new Resource(this, PrioritizedResource::Create(manager))); in CreateResource()
37 PrioritizedResource* texture, in UpdateTexture()
Dbitmap_content_layer_updater.cc19 scoped_ptr<PrioritizedResource> texture) in Resource()
54 new Resource(this, PrioritizedResource::Create(manager))); in CreateResource()
88 PrioritizedResource* texture, in UpdateTexture()
Dimage_layer_updater.h21 scoped_ptr<PrioritizedResource> texture);
41 PrioritizedResource* texture,
Dbitmap_content_layer_updater.h29 scoped_ptr<PrioritizedResource> resource);
56 PrioritizedResource* resource,
Dbitmap_skpicture_content_layer_updater.cc18 scoped_ptr<PrioritizedResource> texture) in Resource()
66 new Resource(this, PrioritizedResource::Create(manager))); in CreateResource()
Dlayer_updater.cc11 LayerUpdater::Resource::Resource(scoped_ptr<PrioritizedResource> texture) in Resource()
Dresource_update.cc11 ResourceUpdate ResourceUpdate::Create(PrioritizedResource* resource, in Create()
Dbitmap_skpicture_content_layer_updater.h21 scoped_ptr<PrioritizedResource> texture);
Dresource_update_controller_unittest.cc114 textures_[i] = PrioritizedResource::Create(resource_manager_.get(), in SetUp()
194 scoped_ptr<PrioritizedResource> textures_[4];
/external/chromium_org/cc/layers/
Dtiled_layer.h16 class PrioritizedResource; variable
75 const PrioritizedResource* ResourceAtForTesting(int i, int j) const;
Dtiled_layer.cc43 PrioritizedResource* managed_resource() { in managed_resource()
243 const PrioritizedResource* TiledLayer::ResourceAtForTesting(int i, in ResourceAtForTesting()
554 PrioritizedResource* texture) { in SetPriorityForTexture()
820 PrioritizedResource* resource = tile->managed_resource(); in OnOutputSurfaceCreated()
/external/chromium_org/cc/test/
Dtiled_layer_test_common.cc10 scoped_ptr<PrioritizedResource> texture) in Resource()
62 new Resource(this, PrioritizedResource::Create(manager))); in CreateResource()
Dfake_content_layer.cc60 const PrioritizedResource* resource = ResourceAtForTesting(i, j); in HaveBackingAt()
Dtiled_layer_test_common.h27 scoped_ptr<PrioritizedResource> resource);
/external/chromium_org/cc/trees/
Dlayer_tree_host.h52 class PrioritizedResource; variable
383 scoped_ptr<PrioritizedResource> surface_memory_placeholder_;
415 typedef ScopedPtrVector<PrioritizedResource> TextureList;
Dlayer_tree_host_unittest.cc1611 texture_ = PrioritizedResource::Create( in CreateTextureIfNeeded()
1617 scoped_ptr<PrioritizedResource> texture_;