Searched refs:kBorrowed_LifeCycle (Results 1 – 7 of 7) sorted by relevance
163 kBorrowed_LifeCycle, enumerator280 bool shouldFreeResources() const { return fLifeCycle != kBorrowed_LifeCycle; } in shouldFreeResources()284 GrGpuResource::kBorrowed_LifeCycle == fLifeCycle; in isExternal()
42 bool isBorrowed() const { return GrGpuResource::kBorrowed_LifeCycle == fResource->fLifeCycle; } in isBorrowed()
39 if (GrGpuResource::kBorrowed_LifeCycle != fTextureIDLifecycle) { in onRelease()
122 if (kBorrowed_LifeCycle != fRTLifecycle) { in onRelease()
591 idDesc.fLifeCycle = GrGpuResource::kBorrowed_LifeCycle; in onWrapBackendTexture()639 idDesc.fLifeCycle = GrGpuResource::kBorrowed_LifeCycle; in onWrapBackendRenderTarget()692 idDesc.fLifeCycle = GrGpuResource::kBorrowed_LifeCycle; in onWrapBackendTextureAsRenderTarget()
578 lifeCycle = GrGpuResource::kBorrowed_LifeCycle; in onWrapBackendTexture()622 lifeCycle = GrGpuResource::kBorrowed_LifeCycle; in onWrapBackendRenderTarget()
424 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()