Lines Matching full:resourceid
42 typedef unsigned ResourceId;
43 typedef std::vector<ResourceId> ResourceIdArray;
44 typedef std::set<ResourceId> ResourceIdSet;
45 typedef base::hash_map<ResourceId, ResourceId> ResourceIdMap;
72 bool InUseByConsumer(ResourceId id);
78 ResourceType GetResourceType(ResourceId id);
81 ResourceId CreateResource(gfx::Size size,
87 ResourceId CreateManagedResource(gfx::Size size,
92 ResourceId CreateGLTexture(gfx::Size size,
97 ResourceId CreateBitmap(gfx::Size size);
99 ResourceId CreateResourceFromExternalTexture(
104 ResourceId CreateResourceFromTextureMailbox(const TextureMailbox& mailbox);
106 void DeleteResource(ResourceId id);
110 void SetPixels(ResourceId id,
182 ResourceProvider::ResourceId resource_id);
189 ResourceProvider::ResourceId resource_id_;
200 ResourceProvider::ResourceId resource_id,
204 ResourceProvider::ResourceId resource_id,
220 ResourceProvider::ResourceId resource_id);
227 ResourceProvider::ResourceId resource_id_;
236 ResourceProvider::ResourceId resource_id);
243 ResourceProvider::ResourceId resource_id_;
252 ResourceProvider::ResourceId resource_id);
259 ResourceProvider::ResourceId resource_id_;
281 void AcquirePixelBuffer(ResourceId id);
282 void ReleasePixelBuffer(ResourceId id);
285 uint8_t* MapPixelBuffer(ResourceId id);
286 void UnmapPixelBuffer(ResourceId id);
289 void BeginSetPixels(ResourceId id);
290 void ForceSetPixelsToComplete(ResourceId id);
291 bool DidSetPixelsComplete(ResourceId id);
295 void AcquireImage(ResourceId id);
296 void ReleaseImage(ResourceId id);
300 uint8_t* MapImage(ResourceId id);
301 void UnmapImage(ResourceId id);
304 int GetImageStride(ResourceId id);
308 void AllocateForTesting(ResourceId id);
311 void CreateForTesting(ResourceId id);
322 void EnableReadLockFences(ResourceProvider::ResourceId id, bool enable);
325 bool CanLockForWrite(ResourceId id);
377 typedef base::hash_map<ResourceId, Resource> ResourceMap;
397 const Resource* LockForRead(ResourceId id);
398 void UnlockForRead(ResourceId id);
399 const Resource* LockForWrite(ResourceId id);
400 void UnlockForWrite(ResourceId id);
405 ResourceId id,
418 void BindForSampling(ResourceProvider::ResourceId resource_id,
426 ResourceId next_id_;