Home
last modified time | relevance | path

Searched refs:cacheID (Results 1 – 8 of 8) sorted by relevance

/external/skia/src/gpu/
DSkGr.cpp119 GrCacheID cacheID; in sk_gr_create_bitmap_texture() local
120 generate_bitmap_cache_id(origBitmap, &cacheID); in sk_gr_create_bitmap_texture()
121 return ctx->createTexture(params, desc, cacheID, storage.get(), bitmap->width()); in sk_gr_create_bitmap_texture()
140 GrCacheID cacheID; in sk_gr_create_bitmap_texture() local
141 generate_bitmap_cache_id(origBitmap, &cacheID); in sk_gr_create_bitmap_texture()
142 return ctx->createTexture(params, desc, cacheID, bitmap->getPixels(), bitmap->rowBytes()); in sk_gr_create_bitmap_texture()
162 GrCacheID cacheID; in GrIsBitmapInCache() local
163 generate_bitmap_cache_id(bitmap, &cacheID); in GrIsBitmapInCache()
167 return ctx->isTextureInCache(desc, cacheID, params); in GrIsBitmapInCache()
180 GrCacheID cacheID; in GrLockAndRefCachedBitmapTexture() local
[all …]
DGrTexture.cpp159 const GrCacheID& cacheID) { in ComputeKey() argument
161 return GrResourceKey(cacheID, texture_resource_type(), flags); in ComputeKey()
177 GrCacheID cacheID(GrResourceKey::ScratchDomain(), idKey); in ComputeScratchKey() local
178 return GrResourceKey(cacheID, texture_resource_type(), 0); in ComputeScratchKey()
DGrStencilBuffer.cpp25 void gen_cache_id(int width, int height, int sampleCnt, GrCacheID* cacheID) { in gen_cache_id() argument
34 cacheID->reset(gStencilBufferDomain, key); in gen_cache_id()
DGrContext.cpp216 const GrCacheID& cacheID, in findAndRefTexture() argument
218 GrResourceKey resourceKey = GrTexture::ComputeKey(fGpu, params, desc, cacheID); in findAndRefTexture()
225 const GrCacheID& cacheID, in isTextureInCache() argument
227 GrResourceKey resourceKey = GrTexture::ComputeKey(fGpu, params, desc, cacheID); in isTextureInCache()
279 const GrCacheID& cacheID, in createResizedTexture() argument
283 SkAutoTUnref<GrTexture> clampedTexture(this->findAndRefTexture(desc, cacheID, NULL)); in createResizedTexture()
285 clampedTexture.reset(this->createTexture(NULL, desc, cacheID, srcData, rowBytes)); in createResizedTexture()
348 const GrCacheID& cacheID, in createTexture() argument
357 GrResourceKey resourceKey = GrTexture::ComputeKey(fGpu, params, desc, cacheID); in createTexture()
361 texture = this->createResizedTexture(desc, cacheID, in createTexture()
/external/skia/src/gpu/effects/
DGrTextureStripAtlas.cpp203 GrCacheID cacheID(gTextureStripAtlasDomain, key); in lockTexture() local
205 fTexture = fDesc.fContext->findAndRefTexture(texDesc, cacheID, &params); in lockTexture()
207 fTexture = fDesc.fContext->createTexture(&params, texDesc, cacheID, NULL, 0); in lockTexture()
/external/skia/include/gpu/
DGrContext.h136 const GrCacheID& cacheID,
151 const GrCacheID& cacheID,
159 const GrCacheID& cacheID,
900 const GrCacheID& cacheID,
DGrTexture.h133 const GrCacheID& cacheID);
/external/icu4c/i18n/
Dtzgnames.cpp598 const UChar* cacheID = ZoneMeta::findTimeZoneID(tzCanonicalID); in getGenericLocationName() local
599 U_ASSERT(cacheID != NULL); in getGenericLocationName()
602 uhash_put(fLocationNamesMap, (void *)cacheID, (void *)gEmpty, &status); in getGenericLocationName()
604 uhash_put(fLocationNamesMap, (void *)cacheID, (void *)locname, &status); in getGenericLocationName()
612 nameinfo->tzID = cacheID; in getGenericLocationName()