Searched refs:maxResourceBytes (Results 1 – 5 of 5) sorted by relevance
104 void GaneshGpuContext::setResourceCacheLimit(size_t maxResourceBytes) { in setResourceCacheLimit() argument105 mGrContext->setResourceCacheLimit(maxResourceBytes); in setResourceCacheLimit()
40 void setResourceCacheLimit(size_t maxResourceBytes) override;
46 void setResourceCacheLimit(size_t maxResourceBytes) override{}; in setResourceCacheLimit() argument
106 virtual void setResourceCacheLimit(size_t maxResourceBytes) = 0;
1205 const int maxResourceBytes = size.width * size.height * SURFACE_SIZE_MULTIPLIER; in onActiveDisplaySizeChanged() local1208 getActiveContext()->setResourceCacheLimit(maxResourceBytes); in onActiveDisplaySizeChanged()1214 getActiveContext()->setResourceCacheLimit(maxResourceBytes); in onActiveDisplaySizeChanged()