/frameworks/base/libs/hwui/ |
D | Caches.cpp | 33 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 …]
|
D | SkiaShader.h | 35 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 …]
|
D | ResourceCache.cpp | 174 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 …]
|
D | SkiaShader.cpp | 58 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 …]
|
D | Texture.h | 25 class Caches; variable 34 Texture(Caches& caches); 119 Caches& mCaches;
|
D | AssetAtlas.cpp | 39 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()
|
D | Dither.h | 27 class Caches; variable 48 Caches* mCaches;
|
D | LayerRenderer.cpp | 191 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()
|
D | Image.cpp | 42 Caches::getInstance().bindTexture(mTexture); in Image() 57 Caches::getInstance().deleteTexture(mTexture); in ~Image()
|
D | Caches.h | 112 class ANDROID_API Caches: public Singleton<Caches> { 113 Caches(); 115 friend class Singleton<Caches>;
|
D | RenderState.h | 78 friend class Caches; variable 86 Caches* mCaches;
|
D | PixelBuffer.cpp | 98 Caches& mCaches; 102 PixelBuffer(format, width, height), mMappedPointer(0), mCaches(Caches::getInstance()) { in GpuPixelBuffer() 162 if (type == kBufferType_Auto && Caches::getInstance().gpuPixelBuffersEnabled) { in create()
|
D | Texture.cpp | 31 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()
|
D | AssetAtlas.h | 37 class Caches; variable 179 void createEntries(Caches& caches, int64_t* map, int count);
|
D | DisplayList.cpp | 42 Caches& caches = Caches::getInstance(); in cleanupResources()
|
D | ShadowTessellator.cpp | 43 Caches& caches = Caches::getInstance(); in tessellateAmbientShadow() 69 Caches& caches = Caches::getInstance(); in tessellateSpotShadow()
|
D | PathCache.h | 41 class Caches; variable 62 PathTexture(Caches& caches): Texture(caches) { in PathTexture() 293 PathProcessor(Caches& caches);
|
D | FontRenderer.cpp | 136 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()
|
D | PatchCache.h | 49 class Caches; variable 55 void init(Caches& caches);
|
D | TextDropShadowCache.h | 33 class Caches; variable 119 ShadowTexture(Caches& caches): Texture(caches) { in ShadowTexture()
|
D | PatchCache.cpp | 50 void PatchCache::init(Caches& caches) { in init() 87 Caches::getInstance().unbindMeshBuffer(); in clear() 189 init(Caches::getInstance()); in setupMesh()
|
D | PathCache.cpp | 138 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/ |
D | CanvasContext.cpp | 325 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()
|
D | EglManager.cpp | 174 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/ |
D | CacheTexture.h | 34 class Caches; variable 191 Caches& mCaches;
|