Home
last modified time | relevance | path

Searched refs:maxResources (Results 1 – 6 of 6) sorted by relevance

/third_party/flutter/skia/src/gpu/
DGrContext.cpp302 void GrContext::getResourceCacheLimits(int* maxResources, size_t* maxResourceBytes) const { in getResourceCacheLimits() argument
304 if (maxResources) { in getResourceCacheLimits()
305 *maxResources = fResourceCache->getMaxResourceCount(); in getResourceCacheLimits()
312 void GrContext::setResourceCacheLimits(int maxResources, size_t maxResourceBytes) { in setResourceCacheLimits() argument
314 fResourceCache->setLimits(maxResources, maxResourceBytes); in setResourceCacheLimits()
/third_party/flutter/skia/include/gpu/
DGrContext.h146 void getResourceCacheLimits(int* maxResources, size_t* maxResourceBytes) const;
172 void setResourceCacheLimits(int maxResources, size_t maxResourceBytes);
/third_party/skia/include/gpu/
DGrDirectContext.h206 void getResourceCacheLimits(int* maxResources, size_t* maxResourceBytes) const;
236 void setResourceCacheLimits(int maxResources, size_t maxResourceBytes);
/third_party/skia/src/gpu/
DGrDirectContext.cpp290 void GrDirectContext::getResourceCacheLimits(int* maxResources, size_t* maxResourceBytes) const { in getResourceCacheLimits() argument
292 if (maxResources) { in getResourceCacheLimits()
293 *maxResources = -1; in getResourceCacheLimits()
/third_party/flutter/skia/modules/canvaskit/
Dcanvaskit_bindings.cpp716 int maxResources = 0;// ignored in EMSCRIPTEN_BINDINGS() local
718 self.getResourceCacheLimits(&maxResources, &currMax); in EMSCRIPTEN_BINDINGS()
728 int maxResources = 0; in EMSCRIPTEN_BINDINGS() local
730 self.getResourceCacheLimits(&maxResources, &currMax); in EMSCRIPTEN_BINDINGS()
731 self.setResourceCacheLimits(maxResources, maxResourceBytes); in EMSCRIPTEN_BINDINGS()
/third_party/skia/modules/canvaskit/
Dcanvaskit_bindings.cpp866 int maxResources = 0;// ignored in EMSCRIPTEN_BINDINGS() local
868 self.getResourceCacheLimits(&maxResources, &currMax); in EMSCRIPTEN_BINDINGS()
882 int maxResources = 0; in EMSCRIPTEN_BINDINGS() local
884 self.getResourceCacheLimits(&maxResources, &currMax); in EMSCRIPTEN_BINDINGS()
885 self.setResourceCacheLimits(maxResources, maxResourceBytes); in EMSCRIPTEN_BINDINGS()