/external/chromium_org/third_party/skia/src/gpu/ |
GrPath.cpp | 10 GrResourceKey GrPath::ComputeKey(const SkPath& path, const SkStrokeRec& stroke) { 11 static const GrResourceKey::ResourceType gPathResourceType = GrResourceKey::GenerateResourceType(); 30 return GrResourceKey(GrCacheID(gPathDomain, key), gPathResourceType, 0);
|
GrStencilBuffer.cpp | 36 GrResourceKey GrStencilBuffer::ComputeKey(int width, 40 static const GrResourceKey::ResourceType gStencilBufferResourceType = 41 GrResourceKey::GenerateResourceType(); 46 return GrResourceKey(id, gStencilBufferResourceType, 0);
|
GrResourceCache.h | 25 class GrResourceKey { 43 GrResourceKey(const GrCacheID& id, ResourceType type, ResourceFlags flags) { 47 GrResourceKey(const GrResourceKey& src) { 51 GrResourceKey() { 79 bool operator==(const GrResourceKey& other) const { return fKey == other.fKey; } 114 GrResourceKey key; 122 const GrResourceKey& key() const { return fKey; } 124 static const GrResourceKey& GetKey(const GrResourceCacheEntry& e) { return e.key(); } 125 static uint32_t Hash(const GrResourceKey& key) { return key.getHash(); [all...] |
GrTexture.cpp | 153 // These flags need to fit in a GrResourceKey::ResourceFlags so they can be folded into the texture 169 GrResourceKey::ResourceFlags get_texture_flags(const GrGpu* gpu, 172 GrResourceKey::ResourceFlags flags = 0; 190 GrResourceKey::ResourceType texture_resource_type() { 191 static const GrResourceKey::ResourceType gType = GrResourceKey::GenerateResourceType(); 211 GrResourceKey GrTextureImpl::ComputeKey(const GrGpu* gpu, 215 GrResourceKey::ResourceFlags flags = get_texture_flags(gpu, params, desc); 216 return GrResourceKey(cacheID, texture_resource_type(), flags); 219 GrResourceKey GrTextureImpl::ComputeScratchKey(const GrTextureDesc& desc) [all...] |
GrPath.h | 28 static GrResourceKey ComputeKey(const SkPath& path, const SkStrokeRec& stroke);
|
GrStencilBuffer.h | 17 class GrResourceKey; 53 static GrResourceKey ComputeKey(int width, int height, int sampleCnt);
|
SkGr.cpp | 119 explicit GrResourceInvalidator(GrResourceKey key) : fKey(key) {} 121 GrResourceKey fKey; 131 static void add_genID_listener(GrResourceKey key, SkPixelRef* pixelRef) { 187 GrResourceKey key; 223 GrResourceKey key; 276 GrResourceKey key;
|
GrResourceCache.cpp | 26 GrResourceKey::ResourceType GrResourceKey::GenerateResourceType() { 40 const GrResourceKey& key, 200 GrCacheable* GrResourceCache::find(const GrResourceKey& key, uint32_t ownershipFlags) { 228 void GrResourceCache::addResource(const GrResourceKey& key,
|
GrContext.cpp | 244 GrResourceKey resourceKey = GrTextureImpl::ComputeKey(fGpu, params, desc, cacheID); 253 GrResourceKey resourceKey = GrTextureImpl::ComputeKey(fGpu, params, desc, cacheID); 260 GrResourceKey resourceKey = GrStencilBuffer::ComputeKey(sb->width(), 268 GrResourceKey resourceKey = GrStencilBuffer::ComputeKey(width, 390 GrResourceKey* cacheKey) { 391 GrResourceKey resourceKey = GrTextureImpl::ComputeKey(fGpu, params, desc, cacheID); 424 GrResourceKey key = GrTextureImpl::ComputeScratchKey(texture->desc()); 464 GrResourceKey key = GrTextureImpl::ComputeScratchKey(desc); [all...] |
/external/skia/src/gpu/ |
GrPath.cpp | 10 GrResourceKey GrPath::ComputeKey(const SkPath& path, const SkStrokeRec& stroke) { 11 static const GrResourceKey::ResourceType gPathResourceType = GrResourceKey::GenerateResourceType(); 30 return GrResourceKey(GrCacheID(gPathDomain, key), gPathResourceType, 0);
|
GrStencilBuffer.cpp | 36 GrResourceKey GrStencilBuffer::ComputeKey(int width, 40 static const GrResourceKey::ResourceType gStencilBufferResourceType = 41 GrResourceKey::GenerateResourceType(); 46 return GrResourceKey(id, gStencilBufferResourceType, 0);
|
GrResourceCache.h | 25 class GrResourceKey { 43 GrResourceKey(const GrCacheID& id, ResourceType type, ResourceFlags flags) { 47 GrResourceKey(const GrResourceKey& src) { 51 GrResourceKey() { 79 bool operator==(const GrResourceKey& other) const { return fKey == other.fKey; } 114 GrResourceKey key; 122 const GrResourceKey& key() const { return fKey; } 124 static const GrResourceKey& GetKey(const GrResourceCacheEntry& e) { return e.key(); } 125 static uint32_t Hash(const GrResourceKey& key) { return key.getHash(); [all...] |
GrTexture.cpp | 153 // These flags need to fit in a GrResourceKey::ResourceFlags so they can be folded into the texture 169 GrResourceKey::ResourceFlags get_texture_flags(const GrGpu* gpu, 172 GrResourceKey::ResourceFlags flags = 0; 190 GrResourceKey::ResourceType texture_resource_type() { 191 static const GrResourceKey::ResourceType gType = GrResourceKey::GenerateResourceType(); 211 GrResourceKey GrTextureImpl::ComputeKey(const GrGpu* gpu, 215 GrResourceKey::ResourceFlags flags = get_texture_flags(gpu, params, desc); 216 return GrResourceKey(cacheID, texture_resource_type(), flags); 219 GrResourceKey GrTextureImpl::ComputeScratchKey(const GrTextureDesc& desc) [all...] |
GrPath.h | 28 static GrResourceKey ComputeKey(const SkPath& path, const SkStrokeRec& stroke);
|
GrStencilBuffer.h | 17 class GrResourceKey; 53 static GrResourceKey ComputeKey(int width, int height, int sampleCnt);
|
SkGr.cpp | 119 explicit GrResourceInvalidator(GrResourceKey key) : fKey(key) {} 121 GrResourceKey fKey; 131 static void add_genID_listener(GrResourceKey key, SkPixelRef* pixelRef) { 187 GrResourceKey key; 223 GrResourceKey key; 276 GrResourceKey key;
|
GrResourceCache.cpp | 26 GrResourceKey::ResourceType GrResourceKey::GenerateResourceType() { 40 const GrResourceKey& key, 200 GrCacheable* GrResourceCache::find(const GrResourceKey& key, uint32_t ownershipFlags) { 228 void GrResourceCache::addResource(const GrResourceKey& key,
|
/external/chromium_org/third_party/skia/bench/ |
GrResourceCacheBench.cpp | 39 static GrResourceKey ComputeKey(int width, int height, int sampleCnt) { 64 static GrResourceKey ComputeKey(const GrTextureDesc& desc) { 93 GrResourceKey key = GrStencilBuffer::ComputeKey(w, h, s); 103 GrResourceKey key = TextureResource::ComputeKey(desc); 116 GrResourceKey key = TextureResource::ComputeKey(desc); 130 GrResourceKey key = StencilResource::ComputeKey(w, h, s); 147 GrResourceKey key = TextureResource::ComputeKey(desc); 158 GrResourceKey key = StencilResource::ComputeKey(w, h, s);
|
/external/skia/bench/ |
GrResourceCacheBench.cpp | 39 static GrResourceKey ComputeKey(int width, int height, int sampleCnt) { 64 static GrResourceKey ComputeKey(const GrTextureDesc& desc) { 93 GrResourceKey key = GrStencilBuffer::ComputeKey(w, h, s); 103 GrResourceKey key = TextureResource::ComputeKey(desc); 116 GrResourceKey key = TextureResource::ComputeKey(desc); 130 GrResourceKey key = StencilResource::ComputeKey(w, h, s); 147 GrResourceKey key = TextureResource::ComputeKey(desc); 158 GrResourceKey key = StencilResource::ComputeKey(w, h, s);
|
/external/chromium_org/third_party/skia/include/gpu/ |
GrTexture.h | 16 class GrResourceKey; 156 static GrResourceKey ComputeKey(const GrGpu* gpu, 160 static GrResourceKey ComputeScratchKey(const GrTextureDesc& desc); 161 static bool NeedsResizing(const GrResourceKey& key); 162 static bool NeedsBilerp(const GrResourceKey& key);
|
GrContext.h | 188 void addResourceToCache(const GrResourceKey&, GrCacheable*); 195 GrCacheable* findAndRefCachedResource(const GrResourceKey&); 221 GrResourceKey* cacheKey = NULL); [all...] |
/external/skia/include/gpu/ |
GrTexture.h | 16 class GrResourceKey; 156 static GrResourceKey ComputeKey(const GrGpu* gpu, 160 static GrResourceKey ComputeScratchKey(const GrTextureDesc& desc); 161 static bool NeedsResizing(const GrResourceKey& key); 162 static bool NeedsBilerp(const GrResourceKey& key);
|
GrContext.h | 188 void addResourceToCache(const GrResourceKey&, GrCacheable*); 195 GrCacheable* findAndRefCachedResource(const GrResourceKey&); 221 GrResourceKey* cacheKey = NULL); [all...] |
/external/chromium_org/third_party/skia/tests/ |
ResourceCacheTest.cpp | 113 GrResourceKey::ResourceType t = GrResourceKey::GenerateResourceType(); 114 GrResourceKey key(GrCacheID(domain, keyData), t, 0); 148 GrResourceKey::ResourceType t = GrResourceKey::GenerateResourceType(); 150 GrResourceKey key(GrCacheID(domain, keyData), t, 0); 191 GrResourceKey::ResourceType t = GrResourceKey::GenerateResourceType(); 196 GrResourceKey key1(GrCacheID(domain, key1Data), t, 0); 201 GrResourceKey key2(GrCacheID(domain, key2Data), t, 0) [all...] |
/external/skia/tests/ |
ResourceCacheTest.cpp | 113 GrResourceKey::ResourceType t = GrResourceKey::GenerateResourceType(); 114 GrResourceKey key(GrCacheID(domain, keyData), t, 0); 148 GrResourceKey::ResourceType t = GrResourceKey::GenerateResourceType(); 150 GrResourceKey key(GrCacheID(domain, keyData), t, 0); 191 GrResourceKey::ResourceType t = GrResourceKey::GenerateResourceType(); 196 GrResourceKey key1(GrCacheID(domain, key1Data), t, 0); 201 GrResourceKey key2(GrCacheID(domain, key2Data), t, 0) [all...] |