/third_party/flutter/skia/src/gpu/vk/ |
D | GrVkSecondaryCBDrawContext.cpp | 86 size_t maxResourceBytes; in characterize() local 87 ctx->getResourceCacheLimits(&maxResourceCount, &maxResourceBytes); in characterize() 102 characterization->set(ctx->threadSafeProxy(), maxResourceBytes, ii, format, in characterize() 131 size_t maxResourceBytes; in isCompatible() local 132 ctx->getResourceCacheLimits(&maxResourceCount, &maxResourceBytes); in isCompatible() 152 characterization.cacheMaxResourceBytes() <= maxResourceBytes && in isCompatible()
|
/third_party/skia/src/gpu/vk/ |
D | GrVkSecondaryCBDrawContext.cpp | 108 size_t maxResourceBytes = direct->getResourceCacheLimit(); in characterize() local 118 maxResourceBytes, in characterize() 168 size_t maxResourceBytes = dContext->getResourceCacheLimit(); in isCompatible() local 176 characterization.cacheMaxResourceBytes() <= maxResourceBytes && in isCompatible()
|
/third_party/skia/bench/ |
D | DDLRecorderBench.cpp | 18 size_t maxResourceBytes = direct->getResourceCacheLimit(); in create_characterization() local 36 maxResourceBytes, ii, backendFormat, 1, in create_characterization()
|
/third_party/flutter/skia/src/gpu/ |
D | GrContext.cpp | 302 void GrContext::getResourceCacheLimits(int* maxResources, size_t* maxResourceBytes) const { in getResourceCacheLimits() 307 if (maxResourceBytes) { in getResourceCacheLimits() 308 *maxResourceBytes = fResourceCache->getMaxResourceBytes(); 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/tests/ |
D | DeferredDisplayListTest.cpp | 146 size_t maxResourceBytes; in createCharacterization() local 147 context->getResourceCacheLimits(&maxResourceCount, &maxResourceBytes); in createCharacterization() 160 maxResourceBytes, ii, backendFormat, fSampleCount, in createCharacterization() 417 size_t maxResourceBytes; in DDLSurfaceCharacterizationTestImpl() local 418 context->getResourceCacheLimits(&maxResourceCount, &maxResourceBytes); in DDLSurfaceCharacterizationTestImpl() 420 context->setResourceCacheLimits(maxResourceCount, maxResourceBytes/2); in DDLSurfaceCharacterizationTestImpl() 427 context->setResourceCacheLimits(2*maxResourceCount, maxResourceBytes); in DDLSurfaceCharacterizationTestImpl() 431 context->setResourceCacheLimits(maxResourceCount, 2*maxResourceBytes); in DDLSurfaceCharacterizationTestImpl() 435 context->setResourceCacheLimits(maxResourceCount, maxResourceBytes); in DDLSurfaceCharacterizationTestImpl()
|
/third_party/skia/tests/ |
D | DeferredDisplayListTest.cpp | 184 size_t maxResourceBytes = dContext->getResourceCacheLimit(); in createCharacterization() local 201 maxResourceBytes, ii, backendFormat, fSampleCount, in createCharacterization() 434 size_t maxResourceBytes = dContext->getResourceCacheLimit(); in DDLSurfaceCharacterizationTestImpl() local 436 dContext->setResourceCacheLimit(maxResourceBytes/2); in DDLSurfaceCharacterizationTestImpl() 443 context->setResourceCacheLimits(2*maxResourceCount, maxResourceBytes); in DDLSurfaceCharacterizationTestImpl() 447 context->setResourceCacheLimits(maxResourceCount, 2*maxResourceBytes); in DDLSurfaceCharacterizationTestImpl() 451 context->setResourceCacheLimits(maxResourceCount, maxResourceBytes); in DDLSurfaceCharacterizationTestImpl() 924 size_t maxResourceBytes = dContext->getResourceCacheLimit(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 928 [proxy, reporter, maxResourceBytes](const GrBackendFormat& backendFormat, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 941 maxResourceBytes, ii, backendFormat, 1, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
/third_party/skia/src/gpu/ |
D | GrDirectContext.cpp | 290 void GrDirectContext::getResourceCacheLimits(int* maxResources, size_t* maxResourceBytes) const { in getResourceCacheLimits() 295 if (maxResourceBytes) { in getResourceCacheLimits() 296 *maxResourceBytes = this->getResourceCacheLimit(); in getResourceCacheLimits() 305 void GrDirectContext::setResourceCacheLimits(int unused, size_t maxResourceBytes) { in setResourceCacheLimits() argument 307 this->setResourceCacheLimit(maxResourceBytes); in setResourceCacheLimits() 310 void GrDirectContext::setResourceCacheLimit(size_t maxResourceBytes) { in setResourceCacheLimit() argument 312 fResourceCache->setLimit(maxResourceBytes); in setResourceCacheLimit()
|
/third_party/flutter/skia/src/image/ |
D | SkSurface_Gpu.cpp | 192 size_t maxResourceBytes; in onCharacterize() local 193 ctx->getResourceCacheLimits(&maxResourceCount, &maxResourceBytes); in onCharacterize() 213 characterization->set(ctx->threadSafeProxy(), maxResourceBytes, ii, format, in onCharacterize() 276 size_t maxResourceBytes; in onIsCompatible() local 277 ctx->getResourceCacheLimits(&maxResourceCount, &maxResourceBytes); in onIsCompatible() 307 characterization.cacheMaxResourceBytes() <= maxResourceBytes && in onIsCompatible()
|
/third_party/skia/fuzz/ |
D | FuzzCreateDDL.cpp | 145 size_t maxResourceBytes = dContext->getResourceCacheLimit(); in make_characterization() local 147 maxResourceBytes, ii, backendFormat, kSampleCount, in make_characterization()
|
/third_party/skia/include/gpu/ |
D | GrDirectContext.h | 206 void getResourceCacheLimits(int* maxResources, size_t* maxResourceBytes) const; 236 void setResourceCacheLimits(int maxResources, size_t maxResourceBytes); 245 void setResourceCacheLimit(size_t maxResourceBytes);
|
/third_party/flutter/skia/include/gpu/ |
D | GrContext.h | 146 void getResourceCacheLimits(int* maxResources, size_t* maxResourceBytes) const; 172 void setResourceCacheLimits(int maxResources, size_t maxResourceBytes);
|
/third_party/skia/src/image/ |
D | SkSurface_Gpu.cpp | 240 size_t maxResourceBytes = direct->getResourceCacheLimit(); in onCharacterize() local 260 maxResourceBytes, in onCharacterize() 330 size_t maxResourceBytes = direct->getResourceCacheLimit(); in onIsCompatible() local 364 characterization.cacheMaxResourceBytes() <= maxResourceBytes && in onIsCompatible()
|
/third_party/flutter/skia/modules/canvaskit/ |
D | canvaskit_bindings.cpp | 727 …setResourceCacheLimitBytes", optional_override([](GrContext& self, size_t maxResourceBytes)->void { in EMSCRIPTEN_BINDINGS() argument 731 self.setResourceCacheLimits(maxResources, maxResourceBytes); in EMSCRIPTEN_BINDINGS()
|
/third_party/skia/modules/canvaskit/ |
D | canvaskit_bindings.cpp | 881 optional_override([](GrDirectContext& self, size_t maxResourceBytes)->void { in EMSCRIPTEN_BINDINGS() argument 885 self.setResourceCacheLimits(maxResources, maxResourceBytes); in EMSCRIPTEN_BINDINGS()
|