/external/skia/src/image/ |
D | SkImage_Generator.cpp | 21 , fCache(cache) // take ownership in SkImage_Generator() 26 SkImageCacherator* peekCacherator() const override { return fCache; } in peekCacherator() 28 bool isOpaque() const override { return fCache->info().isOpaque(); } in isOpaque() 35 SkAutoTDelete<SkImageCacherator> fCache; member in SkImage_Generator 46 if (fCache->lockAsBitmapOnlyIfAlreadyCached(&bm)) { in onReadPixels() 52 if (fCache->directGeneratePixels(dstInfo, dstPixels, dstRB, srcX, srcY)) { in onReadPixels() 70 return fCache->refEncoded(ctx); in onRefEncoded() 74 return fCache->lockAsBitmap(bitmap, this, chint); in getROPixels() 78 return fCache->lockAsTexture(ctx, params, this); in asTextureRef()
|
/external/skia/src/gpu/ |
D | GrResourceCache.h | 359 ResourceAccess(GrResourceCache* cache) : fCache(cache) { } in ResourceAccess() 360 ResourceAccess(const ResourceAccess& that) : fCache(that.fCache) { } in ResourceAccess() 366 void insertResource(GrGpuResource* resource) { fCache->insertResource(resource); } in insertResource() 371 void removeResource(GrGpuResource* resource) { fCache->removeResource(resource); } in removeResource() 392 fCache->notifyCntReachedZero(resource, flags); in notifyCntReachedZero() 399 fCache->didChangeGpuMemorySize(resource, oldSize); in didChangeGpuMemorySize() 406 fCache->changeUniqueKey(resource, newKey); in changeUniqueKey() 412 void removeUniqueKey(GrGpuResource* resource) { fCache->removeUniqueKey(resource); } in removeUniqueKey() 418 fCache->willRemoveScratchKey(resource); in willRemoveScratchKey() 424 void didChangeBudgetStatus(GrGpuResource* resource) { fCache->didChangeBudgetStatus(resource); } in didChangeBudgetStatus() [all …]
|
D | GrTextureProvider.cpp | 24 : fCache(cache) in GrTextureProvider() 106 GrGpuResource* resource = fCache->findAndRefScratchResource(key, in refScratchTexture() 151 return this->isAbandoned() ? false : fCache->hasUniqueKey(key); in existsResourceWithUniqueKey() 156 return this->isAbandoned() ? nullptr : fCache->findAndRefUniqueResource(key); in findAndRefResourceByUniqueKey()
|
D | GrLayerCache.cpp | 357 : fCache(cache) { in GrAutoValidateCache() 358 fCache->validate(); in GrAutoValidateCache() 361 fCache->validate(); in ~GrAutoValidateCache() 364 GrLayerCache* fCache; member in GrAutoValidateCache
|
/external/skia/include/gpu/ |
D | GrTextureProvider.h | 140 fCache = NULL; in abandon() 144 GrResourceCache* cache() { return fCache; } in cache() 145 const GrResourceCache* cache() const { return fCache; } in cache() 151 SkASSERT(SkToBool(fGpu) == SkToBool(fCache)); in isAbandoned() 152 return !SkToBool(fCache); in isAbandoned() 156 GrResourceCache* fCache;
|
/external/skia/tools/ |
D | UrlDataManager.cpp | 17 UrlData* urlData = fCache.find(*data); in addData() 18 if (fCache.find(*data)) { in addData() 28 fCache.add(urlData); in addData() 36 SkTDynamicHash<UrlData, SkData, LookupTrait>::Iter iter(&fCache); in reset() 43 fCache.rewind(); in reset()
|
D | UrlDataManager.h | 71 SkTDynamicHash<UrlData, SkData, LookupTrait> fCache; variable
|
/external/skia/bench/ |
D | ImageCacheBench.cpp | 39 SkResourceCache fCache; member in ImageCacheBench 45 ImageCacheBench() : fCache(CACHE_COUNT * 100) {} in ImageCacheBench() 49 fCache.add(new TestRec(TestKey(i), i)); in populateCache() 59 if (fCache.getTotalBytesUsed() == 0) { in onDraw() 66 SkDEBUGCODE(bool found =) fCache.find(key, TestRec::Visitor, nullptr); in onDraw()
|
/external/skia/src/gpu/text/ |
D | GrBatchFontCache.cpp | 72 SkTDynamicHash<GrBatchTextStrike, GrFontDescKey>::Iter iter(&fCache); in ~GrBatchFontCache() 84 SkTDynamicHash<GrBatchTextStrike, GrFontDescKey>::Iter iter(&fCache); in freeAll() 90 fCache.rewind(); in freeAll() 100 SkTDynamicHash<GrBatchTextStrike, GrFontDescKey>::Iter iter(&fontCache->fCache); in HandleEviction() 108 fontCache->fCache.remove(*(strike->fFontScalerKey)); in HandleEviction() 166 SkTDynamicHash<GrGlyph, GrGlyph::PackedID>::Iter iter(&fCache); in ~GrBatchTextStrike() 189 fCache.add(glyph); in generateGlyph() 194 SkTDynamicHash<GrGlyph, GrGlyph::PackedID>::Iter iter(&fCache); in removeID() 211 SkASSERT(fCache.find(glyph->fPackedID)); in addGlyphToAtlas()
|
D | GrBatchFontCache.h | 35 GrGlyph* glyph = fCache.find(packed); in getGlyph() 49 GrGlyph* glyph = fCache.find(packed); in getGlyph() 70 int countGlyphs() const { return fCache.count(); } in countGlyphs() 86 SkTDynamicHash<GrGlyph, GrGlyph::PackedID> fCache; 116 GrBatchTextStrike* strike = fCache.find(*(scaler->getKey())); in getStrike() 212 fCache.add(strike); in generateStrike() 225 SkTDynamicHash<GrBatchTextStrike, GrFontDescKey> fCache; variable
|
D | GrTextBlobCache.h | 58 return fCache.find(key); in find() 62 fCache.remove(blob->key()); in remove() 68 fCache.add(blob); in add() 108 fCache.remove(lruBlob->key()); 137 SkTDynamicHash<GrAtlasTextBlob, GrAtlasTextBlob::Key> fCache; variable
|
D | GrTextBlobCache.cpp | 15 SkTDynamicHash<GrAtlasTextBlob, GrAtlasTextBlob::Key>::Iter iter(&fCache); in freeAll() 22 fCache.rewind(); in freeAll()
|
/external/skia/src/core/ |
D | SkGlyphCache.h | 171 AutoValidate(const SkGlyphCache* cache) : fCache(cache) { in AutoValidate() 172 if (fCache) { in AutoValidate() 173 fCache->validate(); in AutoValidate() 177 if (fCache) { in ~AutoValidate() 178 fCache->validate(); in ~AutoValidate() 182 fCache = nullptr; in forget() 185 const SkGlyphCache* fCache;
|
D | SkFindAndPlaceGlyph.h | 135 UtfNGlyphFinder(SkGlyphCache* cache) : fCache(cache) { SkASSERT(cache != nullptr); } 139 return fCache->getUnicharMetrics(nextUnichar(text)); 143 return fCache->getUnicharMetrics(nextUnichar(text), x, y); 148 SkGlyphCache* fCache; 184 GlyphIdGlyphFinder(SkGlyphCache* cache) : fCache(cache) { SkASSERT(cache != nullptr); } 187 return fCache->getGlyphIDMetrics(nextGlyphId(text)); 190 return fCache->getGlyphIDMetrics(nextGlyphId(text), x, y); 203 SkGlyphCache* fCache;
|
D | SkTextToPathIter.h | 22 SkGlyphCache* fCache; variable 77 const SkGlyph& glyph = fGlyphCacheProc(fCache, &text); in setPosition()
|
D | SkMaskFilter.cpp | 25 if (fCache) { in ~NinePatch() 26 SkASSERT((const void*)fMask.fImage == fCache->data()); in ~NinePatch() 27 fCache->unref(); in ~NinePatch()
|
/external/icu/icu4c/source/i18n/ |
D | reldatefmt.cpp | 652 fCache(NULL), in RelativeDateTimeFormatter() 663 fCache(NULL), in RelativeDateTimeFormatter() 675 fCache(NULL), in RelativeDateTimeFormatter() 691 fCache(NULL), in RelativeDateTimeFormatter() 719 fCache(other.fCache), in RelativeDateTimeFormatter() 726 fCache->addRef(); in RelativeDateTimeFormatter() 737 SharedObject::copyPtr(other.fCache, fCache); in operator =() 749 if (fCache != NULL) { in ~RelativeDateTimeFormatter() 750 fCache->removeRef(); in ~RelativeDateTimeFormatter() 788 return fCache->relativeUnits[fStyle][unit][bFuture].format( in format() [all …]
|
/external/skia/src/effects/ |
D | SkColorCubeFilter.cpp | 62 , fCache(cubeDimension) { in SkColorCubeFilter() 132 fCache.getProcessingLuts(&colorToIndex, &colorToFactors, &colorToScalar); in filterSpan() 135 colorToFactors, fCache.cubeDimension(), in filterSpan() 150 buffer.writeInt(fCache.cubeDimension()); in flatten() 306 builder[1] = fCache.cubeDimension(); in asFragmentProcessor() 310 desc.fWidth = fCache.cubeDimension(); in asFragmentProcessor() 311 desc.fHeight = fCache.cubeDimension() * fCache.cubeDimension(); in asFragmentProcessor()
|
/external/junit/src/junit/framework/ |
D | JUnit4TestAdapter.java | 21 private final JUnit4TestAdapterCache fCache; field in JUnit4TestAdapter 29 fCache = cache; in JUnit4TestAdapter() 39 fRunner.run(fCache.getNotifier(result, this)); in run() 44 return fCache.asTestList(getDescription()); in getTests()
|
/external/skia/gm/ |
D | image_pict.cpp | 258 SkAutoTDelete<SkImageCacherator> fCache; member in ImageCacheratorGM 287 fCache.reset(SkImageCacherator::NewFromGenerator(gen)); in makeCaches() 296 SkASSERT(fCache->uniqueID() == genID); in makeCaches() 300 SkASSERT(fCache->info().dimensions() == SkISize::Make(100, 100)); in makeCaches() 341 draw_as_tex(canvas, fCache, 310, 0); in drawSet() 344 draw_as_bitmap(canvas, fCache, 150, 0); in drawSet()
|
/external/skia/include/core/ |
D | SkMaskFilter.h | 187 NinePatch() : fCache(nullptr) { } in NinePatch() 193 SkCachedData* fCache; variable
|
D | SkImageFilter.h | 58 , fCache(cache) in Context() 63 Cache* cache() const { return fCache; } in cache() 68 Cache* fCache; variable
|
/external/skia/include/effects/ |
D | SkColorCubeFilter.h | 73 mutable ColorCubeProcesingCache fCache; variable
|
/external/skia/src/effects/gradients/ |
D | SkGradientShader.cpp | 302 , fCache(shader.refCache(getPaintAlpha(), fDither)) in GradientShaderBaseContext() 622 if (!fCache || fCache->getAlpha() != alpha || fCache->getDither() != dither) { in refCache() 623 fCache.reset(new GradientShaderCache(alpha, dither, *this)); in refCache() 628 fCache.get()->ref(); in refCache() 629 return fCache; in refCache()
|
D | SkGradientShaderPriv.h | 179 SkAutoTUnref<GradientShaderCache> fCache; variable 275 mutable SkAutoTUnref<GradientShaderCache> fCache; variable
|