Home
last modified time | relevance | path

Searched refs:kBorrowed_LifeCycle (Results 1 – 7 of 7) sorted by relevance

/external/skia/include/gpu/
DGrGpuResource.h163 kBorrowed_LifeCycle, enumerator
280 bool shouldFreeResources() const { return fLifeCycle != kBorrowed_LifeCycle; } in shouldFreeResources()
284 GrGpuResource::kBorrowed_LifeCycle == fLifeCycle; in isExternal()
/external/skia/src/gpu/
DGrGpuResourceCacheAccess.h42 bool isBorrowed() const { return GrGpuResource::kBorrowed_LifeCycle == fResource->fLifeCycle; } in isBorrowed()
/external/skia/src/gpu/gl/
DGrGLTexture.cpp39 if (GrGpuResource::kBorrowed_LifeCycle != fTextureIDLifecycle) { in onRelease()
DGrGLRenderTarget.cpp122 if (kBorrowed_LifeCycle != fRTLifecycle) { in onRelease()
DGrGLGpu.cpp591 idDesc.fLifeCycle = GrGpuResource::kBorrowed_LifeCycle; in onWrapBackendTexture()
639 idDesc.fLifeCycle = GrGpuResource::kBorrowed_LifeCycle; in onWrapBackendRenderTarget()
692 idDesc.fLifeCycle = GrGpuResource::kBorrowed_LifeCycle; in onWrapBackendTextureAsRenderTarget()
/external/skia/src/gpu/vk/
DGrVkGpu.cpp578 lifeCycle = GrGpuResource::kBorrowed_LifeCycle; in onWrapBackendTexture()
622 lifeCycle = GrGpuResource::kBorrowed_LifeCycle; in onWrapBackendRenderTarget()
/external/skia/tests/
DResourceCacheTest.cpp424 TestResource* wrapped = new TestResource(context->getGpu(), GrGpuResource::kBorrowed_LifeCycle); in test_budgeting()
462 wrapped = new TestResource(context->getGpu(), GrGpuResource::kBorrowed_LifeCycle); in test_budgeting()
537 wrapped = new TestResource(context->getGpu(), large, GrGpuResource::kBorrowed_LifeCycle); in test_unbudgeted()