Home
last modified time | relevance | path

Searched refs:Caches (Results 1 – 25 of 54) sorted by relevance

123

/frameworks/base/libs/hwui/
DCaches.cpp33 ANDROID_SINGLETON_STATIC_INSTANCE(Caches);
52 Caches::Caches(): Singleton<Caches>(), in Caches() function in android::uirenderer::Caches
66 bool Caches::init() { in init()
112 void Caches::initFont() { in initFont()
116 void Caches::initExtensions() { in initExtensions()
137 void Caches::initConstraints() { in initConstraints()
147 void Caches::initStaticProperties() { in initStaticProperties()
159 bool Caches::initProperties() { in initProperties()
219 void Caches::terminate() { in terminate()
251 uint32_t Caches::getOverdrawColor(uint32_t amount) const { in getOverdrawColor()
[all …]
DSkiaShader.h35 class Caches; variable
52 static void describe(Caches* caches, ProgramDescription& description,
54 static void setupProgram(Caches* caches, const mat4& modelViewMatrix,
60 static void describe(Caches* caches, ProgramDescription& description, in describe()
64 static void setupProgram(Caches* caches, const mat4& modelViewMatrix, in setupProgram()
75 static void describe(Caches* caches, ProgramDescription& description,
77 static void setupProgram(Caches* caches, const mat4& modelViewMatrix,
86 static void describe(Caches* caches, ProgramDescription& description,
88 static void setupProgram(Caches* caches, const mat4& modelViewMatrix,
99 static void describe(Caches* caches, ProgramDescription& description,
[all …]
DResourceCache.cpp174 if (Caches::hasInstance()) { in destructorLocked()
175 Caches::getInstance().pathCache.removeDeferred(resource); in destructorLocked()
197 if (Caches::hasInstance()) { in destructorLocked()
198 Caches::getInstance().textureCache.removeDeferred(resource); in destructorLocked()
220 if (Caches::hasInstance()) { in destructorLocked()
221 Caches::getInstance().patchCache.removeDeferred(resource); in destructorLocked()
281 if (Caches::hasInstance()) { in deleteResourceReferenceLocked()
282 Caches::getInstance().textureCache.removeDeferred(bitmap); in deleteResourceReferenceLocked()
290 if (Caches::hasInstance()) { in deleteResourceReferenceLocked()
291 Caches::getInstance().pathCache.removeDeferred(path); in deleteResourceReferenceLocked()
[all …]
DSkiaShader.cpp58 static inline void bindTexture(Caches* caches, Texture* texture, GLenum wrapS, GLenum wrapT) { in bindTexture()
128 typedef void (*describeProc)(Caches* caches, ProgramDescription& description,
139 typedef void (*setupProgramProc)(Caches* caches, const mat4& modelViewMatrix,
150 void SkiaShader::describe(Caches* caches, ProgramDescription& description, in describe()
155 void SkiaShader::setupProgram(Caches* caches, const mat4& modelViewMatrix, in setupProgram()
165 void SkiaLayerShader::describe(Caches*, ProgramDescription& description, in describe() argument
170 void SkiaLayerShader::setupProgram(Caches* caches, const mat4& modelViewMatrix, in setupProgram()
212 static bool bitmapShaderHelper(Caches* caches, ProgramDescription* description, in bitmapShaderHelper()
253 void SkiaBitmapShader::describe(Caches* caches, ProgramDescription& description, in describe()
263 void SkiaBitmapShader::setupProgram(Caches* caches, const mat4& modelViewMatrix, in setupProgram()
[all …]
DTexture.h25 class Caches; variable
34 Texture(Caches& caches);
119 Caches& mCaches;
DAssetAtlas.cpp39 Caches& caches = Caches::getInstance(); in init()
92 DelegateTexture(Caches& caches, Texture* delegate): Texture(caches), mDelegate(delegate) { } in DelegateTexture()
111 void AssetAtlas::createEntries(Caches& caches, int64_t* map, int count) { in createEntries()
DDither.h27 class Caches; variable
48 Caches* mCaches;
DLayerRenderer.cpp191 Caches& caches = Caches::getInstance(); in createRenderLayer()
215 Caches::getInstance().resourceCache.decrementRefcount(layer); in createRenderLayer()
285 Caches::getInstance().activeTexture(0); in createTextureLayer()
317 if (!Caches::getInstance().layerCache.put(layer)) { in destroyLayer()
319 Caches::getInstance().resourceCache.decrementRefcount(layer); in destroyLayer()
323 Caches::getInstance().layerCache.dump(); in destroyLayer()
335 Caches::getInstance().deleteLayerDeferred(layer); in destroyLayerDeferred()
365 Caches& caches = Caches::getInstance(); in copyLayer()
DImage.cpp42 Caches::getInstance().bindTexture(mTexture); in Image()
57 Caches::getInstance().deleteTexture(mTexture); in ~Image()
DCaches.h112 class ANDROID_API Caches: public Singleton<Caches> {
113 Caches();
115 friend class Singleton<Caches>;
DRenderState.h78 friend class Caches; variable
86 Caches* mCaches;
DPixelBuffer.cpp98 Caches& mCaches;
102 PixelBuffer(format, width, height), mMappedPointer(0), mCaches(Caches::getInstance()) { in GpuPixelBuffer()
162 if (type == kBufferType_Auto && Caches::getInstance().gpuPixelBuffersEnabled) { in create()
DTexture.cpp31 mFirstFilter(true), mFirstWrap(true), mCaches(Caches::getInstance()) { in Texture()
34 Texture::Texture(Caches& caches): id(0), generation(0), blend(false), width(0), height(0), in Texture()
DAssetAtlas.h37 class Caches; variable
179 void createEntries(Caches& caches, int64_t* map, int count);
DDisplayList.cpp42 Caches& caches = Caches::getInstance(); in cleanupResources()
DShadowTessellator.cpp43 Caches& caches = Caches::getInstance(); in tessellateAmbientShadow()
69 Caches& caches = Caches::getInstance(); in tessellateSpotShadow()
DPathCache.h41 class Caches; variable
62 PathTexture(Caches& caches): Texture(caches) { in PathTexture()
293 PathProcessor(Caches& caches);
DFontRenderer.cpp136 uint32_t maxTextureSize = (uint32_t) Caches::getInstance().maxTextureSize; in FontRenderer()
290 Caches::getInstance().activeTexture(0); in cacheBitmap()
403 Caches::getInstance().activeTexture(0); in createCacheTexture()
442 void checkTextureUpdateForCache(Caches& caches, Vector<CacheTexture*>& cacheTextures, in checkTextureUpdateForCache()
465 Caches& caches = Caches::getInstance(); in checkTextureUpdate()
488 Caches& caches = Caches::getInstance(); in issueDrawCommand()
620 uint32_t maxSize = Caches::getInstance().maxTextureSize; in renderDropShadow()
650 Caches::getInstance().unbindPixelBuffer(); in renderDropShadow()
DPatchCache.h49 class Caches; variable
55 void init(Caches& caches);
DTextDropShadowCache.h33 class Caches; variable
119 ShadowTexture(Caches& caches): Texture(caches) { in ShadowTexture()
DPatchCache.cpp50 void PatchCache::init(Caches& caches) { in init()
87 Caches::getInstance().unbindMeshBuffer(); in clear()
189 init(Caches::getInstance()); in setupMesh()
DPathCache.cpp138 PathTexture* texture = new PathTexture(Caches::getInstance()); in createTexture()
234 Caches::getInstance().deleteTexture(texture->id); in removeTexture()
316 Caches::getInstance().bindTexture(texture->id); in generateTexture()
332 PathCache::PathProcessor::PathProcessor(Caches& caches): in PathProcessor()
458 if (!Caches::getInstance().tasks.canRunTasks()) { in precache()
494 mProcessor = new PathProcessor(Caches::getInstance()); in precache()
/frameworks/base/libs/hwui/renderthread/
DCanvasContext.cpp325 Caches::getInstance().flush(Caches::kFlushMode_Layers); in destroyHardwareResources()
335 Caches::getInstance().flush(Caches::kFlushMode_Full); in trimMemory()
338 Caches::getInstance().flush(Caches::kFlushMode_Moderate); in trimMemory()
DEglManager.cpp174 Caches::getInstance().assetAtlas.init(mAtlasBuffer, mAtlasMap, mAtlasMapSize); in initAtlas()
211 if (Caches::hasInstance()) { in destroy()
212 Caches::getInstance().terminate(); in destroy()
/frameworks/base/libs/hwui/font/
DCacheTexture.h34 class Caches; variable
191 Caches& mCaches;

123