Home
last modified time | relevance | path

Searched refs:maxResourceBytes (Results 1 – 5 of 5) sorted by relevance

/frameworks/native/libs/renderengine/skia/compat/
DGaneshGpuContext.cpp104 void GaneshGpuContext::setResourceCacheLimit(size_t maxResourceBytes) { in setResourceCacheLimit() argument
105 mGrContext->setResourceCacheLimit(maxResourceBytes); in setResourceCacheLimit()
DGaneshGpuContext.h40 void setResourceCacheLimit(size_t maxResourceBytes) override;
DGraphiteGpuContext.h46 void setResourceCacheLimit(size_t maxResourceBytes) override{}; in setResourceCacheLimit() argument
DSkiaGpuContext.h106 virtual void setResourceCacheLimit(size_t maxResourceBytes) = 0;
/frameworks/native/libs/renderengine/skia/
DSkiaRenderEngine.cpp1205 const int maxResourceBytes = size.width * size.height * SURFACE_SIZE_MULTIPLIER; in onActiveDisplaySizeChanged() local
1208 getActiveContext()->setResourceCacheLimit(maxResourceBytes); in onActiveDisplaySizeChanged()
1214 getActiveContext()->setResourceCacheLimit(maxResourceBytes); in onActiveDisplaySizeChanged()