Home
last modified time | relevance | path

Searched refs:GrLayerCache (Results 1 – 11 of 11) sorted by relevance

/external/skia/src/gpu/
DGrLayerCache.cpp83 GrLayerCache::GrLayerCache(GrContext* context) in GrLayerCache() function in GrLayerCache
88 GrLayerCache::~GrLayerCache() { in ~GrLayerCache()
104 void GrLayerCache::initAtlas() { in initAtlas()
114 void GrLayerCache::freeAll() { in freeAll()
130 GrCachedLayer* GrLayerCache::createLayer(uint32_t pictureID, in createLayer()
146 GrCachedLayer* GrLayerCache::findLayer(uint32_t pictureID, const SkMatrix& initialMat, in findLayer()
152 GrCachedLayer* GrLayerCache::findLayerOrCreate(uint32_t pictureID, in findLayerOrCreate()
171 bool GrLayerCache::tryToAtlas(GrCachedLayer* layer, in tryToAtlas()
248 bool GrLayerCache::lock(GrCachedLayer* layer, const GrSurfaceDesc& desc, bool* needsRendering) { in lock()
273 void GrLayerCache::unlock(GrCachedLayer* layer) { in unlock()
[all …]
DGrRecordReplaceDraw.h13 class GrLayerCache; variable
22 GrLayerCache* layerCache,
DGrLayerHoister.cpp22 static void prepare_for_hoisting(GrLayerCache* layerCache, in prepare_for_hoisting()
129 GrLayerCache* layerCache = context->getLayerCache(); in FindLayersToAtlas()
169 !GrLayerCache::PlausiblyAtlasable(srcIR.width(), srcIR.height())) { in FindLayersToAtlas()
186 GrLayerCache* layerCache = context->getLayerCache(); in FindLayersToHoist()
367 GrLayerCache* layerCache = context->getLayerCache(); in UnlockLayers()
377 GrLayerCache* layerCache = context->getLayerCache(); in Begin()
383 GrLayerCache* layerCache = context->getLayerCache(); in End()
DGrRecordReplaceDraw.cpp56 ReplaceDraw(SkCanvas* canvas, GrLayerCache* layerCache, in ReplaceDraw()
192 GrLayerCache* fLayerCache;
210 GrLayerCache* layerCache, in GrRecordReplaceDraw()
DGrLayerCache.h295 friend class GrLayerCache; // for access to usage methods member
305 class GrLayerCache {
307 GrLayerCache(GrContext*);
308 ~GrLayerCache();
DGrContext.cpp90 fLayerCache.reset(new GrLayerCache(this)); in initCommon()
/external/skia/tests/
DGpuLayerCacheTest.cpp19 return GrLayerCache::kNumPlotsX * GrLayerCache::kNumPlotsY; in NumPlots()
22 return SkISize::Make(GrLayerCache::kAtlasTextureWidth / GrLayerCache::kNumPlotsX, in PlotSize()
23 GrLayerCache::kAtlasTextureHeight / GrLayerCache::kNumPlotsY); in PlotSize()
26 static GrTexture* GetBackingTexture(GrLayerCache* cache) { in GetBackingTexture()
30 static int NumLayers(GrLayerCache* cache) { in NumLayers()
33 static void Purge(GrLayerCache* cache, uint32_t pictureID) { in Purge()
39 static GrCachedLayer* Find(GrLayerCache* cache, uint32_t pictureID, in Find()
48 GrLayerCache* cache, in create_layers()
79 GrLayerCache* cache, in lock_layer()
131 GrLayerCache cache(context); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DRecordReplaceDrawTest.cpp110 GrLayerCache* layerCache = context->getLayerCache(); in test_replacements()
/external/skia/include/gpu/
DGrContext.h33 class GrLayerCache; variable
319 GrLayerCache* getLayerCache() { return fLayerCache.get(); } in getLayerCache()
373 SkAutoTDelete<GrLayerCache> fLayerCache;
/external/skia/gyp/
Dgpu.gypi108 '<(skia_src_path)/gpu/GrLayerCache.cpp',
109 '<(skia_src_path)/gpu/GrLayerCache.h',
/external/skia/
DAndroid.mk395 src/gpu/GrLayerCache.cpp \