/external/skia/src/gpu/vk/ |
D | GrVkSecondaryCBDrawContext.cpp | 92 size_t maxResourceBytes = direct->getResourceCacheLimit(); in characterize() local 108 maxResourceBytes, in characterize() 144 size_t maxResourceBytes = direct->getResourceCacheLimit(); in isCompatible() local 165 characterization.cacheMaxResourceBytes() <= maxResourceBytes && in isCompatible()
|
/external/skia/bench/ |
D | DDLRecorderBench.cpp | 18 size_t maxResourceBytes = direct->getResourceCacheLimit(); in create_characterization() local 36 maxResourceBytes, ii, backendFormat, 1, in create_characterization()
|
/external/skqp/src/image/ |
D | SkSurface_Gpu.cpp | 170 size_t maxResourceBytes; in onCharacterize() local 171 ctx->getResourceCacheLimits(&maxResourceCount, &maxResourceBytes); in onCharacterize() 190 characterization->set(ctx->threadSafeProxy(), maxResourceBytes, ii, rtc->origin(), in onCharacterize() 213 size_t maxResourceBytes; in isCompatible() local 214 ctx->getResourceCacheLimits(&maxResourceCount, &maxResourceBytes); in isCompatible() 243 characterization.cacheMaxResourceBytes() <= maxResourceBytes && in isCompatible()
|
/external/skqp/tests/ |
D | DeferredDisplayListTest.cpp | 330 size_t maxResourceBytes; in createCharacterization() local 331 context->getResourceCacheLimits(&maxResourceCount, &maxResourceBytes); in createCharacterization() 343 maxResourceBytes, ii, backendFormat, fSampleCount, in createCharacterization() 587 size_t maxResourceBytes; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 588 context->getResourceCacheLimits(&maxResourceCount, &maxResourceBytes); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 590 context->setResourceCacheLimits(maxResourceCount, maxResourceBytes/2); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 597 context->setResourceCacheLimits(2*maxResourceCount, maxResourceBytes); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 601 context->setResourceCacheLimits(maxResourceCount, 2*maxResourceBytes); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 605 context->setResourceCacheLimits(maxResourceCount, maxResourceBytes); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
/external/skia/tests/ |
D | DeferredDisplayListTest.cpp | 186 size_t maxResourceBytes = dContext->getResourceCacheLimit(); in createCharacterization() local 203 maxResourceBytes, ii, backendFormat, fSampleCount, in createCharacterization() 436 size_t maxResourceBytes = dContext->getResourceCacheLimit(); in DDLSurfaceCharacterizationTestImpl() local 438 dContext->setResourceCacheLimit(maxResourceBytes/2); in DDLSurfaceCharacterizationTestImpl() 445 context->setResourceCacheLimits(2*maxResourceCount, maxResourceBytes); in DDLSurfaceCharacterizationTestImpl() 449 context->setResourceCacheLimits(maxResourceCount, 2*maxResourceBytes); in DDLSurfaceCharacterizationTestImpl() 453 context->setResourceCacheLimits(maxResourceCount, maxResourceBytes); in DDLSurfaceCharacterizationTestImpl() 926 size_t maxResourceBytes = dContext->getResourceCacheLimit(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 930 [proxy, reporter, maxResourceBytes](const GrBackendFormat& backendFormat, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 943 maxResourceBytes, ii, backendFormat, 1, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
/external/skqp/include/gpu/ |
D | GrContext.h | 136 void getResourceCacheLimits(int* maxResources, size_t* maxResourceBytes) const; 162 void setResourceCacheLimits(int maxResources, size_t maxResourceBytes);
|
/external/skia/src/gpu/ |
D | GrDirectContext.cpp | 278 void GrDirectContext::getResourceCacheLimits(int* maxResources, size_t* maxResourceBytes) const { in getResourceCacheLimits() 283 if (maxResourceBytes) { in getResourceCacheLimits() 284 *maxResourceBytes = this->getResourceCacheLimit(); in getResourceCacheLimits() 293 void GrDirectContext::setResourceCacheLimits(int unused, size_t maxResourceBytes) { in setResourceCacheLimits() argument 295 this->setResourceCacheLimit(maxResourceBytes); in setResourceCacheLimits() 298 void GrDirectContext::setResourceCacheLimit(size_t maxResourceBytes) { in setResourceCacheLimit() argument 300 fResourceCache->setLimit(maxResourceBytes); in setResourceCacheLimit()
|
/external/skia/fuzz/ |
D | FuzzCreateDDL.cpp | 145 size_t maxResourceBytes = dContext->getResourceCacheLimit(); in make_characterization() local 147 maxResourceBytes, ii, backendFormat, kSampleCount, in make_characterization()
|
/external/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);
|
/external/skia/src/image/ |
D | SkSurface_Gpu.cpp | 241 size_t maxResourceBytes = direct->getResourceCacheLimit(); in onCharacterize() local 265 maxResourceBytes, in onCharacterize() 337 size_t maxResourceBytes = direct->getResourceCacheLimit(); in onIsCompatible() local 374 characterization.cacheMaxResourceBytes() <= maxResourceBytes && in onIsCompatible()
|
/external/skqp/src/gpu/ |
D | GrContext.cpp | 1108 void GrContext::getResourceCacheLimits(int* maxResources, size_t* maxResourceBytes) const { in getResourceCacheLimits() 1113 if (maxResourceBytes) { in getResourceCacheLimits() 1114 *maxResourceBytes = fResourceCache->getMaxResourceBytes(); in getResourceCacheLimits() 1118 void GrContext::setResourceCacheLimits(int maxResources, size_t maxResourceBytes) { in setResourceCacheLimits() argument 1120 fResourceCache->setLimits(maxResources, maxResourceBytes); in setResourceCacheLimits()
|
/external/skia/modules/canvaskit/ |
D | canvaskit_bindings.cpp | 808 optional_override([](GrDirectContext& self, size_t maxResourceBytes)->void { in EMSCRIPTEN_BINDINGS() argument 812 self.setResourceCacheLimits(maxResources, maxResourceBytes); in EMSCRIPTEN_BINDINGS()
|