Home
last modified time | relevance | path

Searched refs:fLifeCycle (Results 1 – 11 of 11) sorted by relevance

/external/skia/src/gpu/gl/
DGrGLTexture.cpp17 : GrSurface(gpu, idDesc.fLifeCycle, desc) in GrGLTexture()
18 , INHERITED(gpu, idDesc.fLifeCycle, desc) { in GrGLTexture()
24 : GrSurface(gpu, idDesc.fLifeCycle, desc) in GrGLTexture()
25 , INHERITED(gpu, idDesc.fLifeCycle, desc) { in GrGLTexture()
34 fTextureIDLifecycle = idDesc.fLifeCycle; in init()
DGrGLStencilAttachment.h27 IDDesc() : fRenderbufferID(0), fLifeCycle(kCached_LifeCycle) {} in IDDesc()
29 GrGpuResource::LifeCycle fLifeCycle; member
37 : GrStencilAttachment(gpu, idDesc.fLifeCycle, width, height, format.fStencilBits, sampleCnt) in GrGLStencilAttachment()
DGrGLRenderTarget.cpp23 : GrSurface(gpu, idDesc.fLifeCycle, desc) in GrGLRenderTarget()
24 , INHERITED(gpu, idDesc.fLifeCycle, desc, idDesc.fSampleConfig, stencil) { in GrGLRenderTarget()
31 : GrSurface(gpu, idDesc.fLifeCycle, desc) in GrGLRenderTarget()
32 , INHERITED(gpu, idDesc.fLifeCycle, desc, idDesc.fSampleConfig) { in GrGLRenderTarget()
40 fRTLifecycle = idDesc.fLifeCycle; in init()
DGrGLTextureRenderTarget.h32 : GrSurface(gpu, texIDDesc.fLifeCycle, desc) in GrGLTextureRenderTarget()
DGrGLTexture.h32 GrGpuResource::LifeCycle fLifeCycle; member
DGrGLRenderTarget.h29 GrGpuResource::LifeCycle fLifeCycle; member
DGrGLGpu.cpp588 idDesc.fLifeCycle = GrGpuResource::kAdopted_LifeCycle; in onWrapBackendTexture()
591 idDesc.fLifeCycle = GrGpuResource::kBorrowed_LifeCycle; in onWrapBackendTexture()
636 idDesc.fLifeCycle = GrGpuResource::kAdopted_LifeCycle; in onWrapBackendRenderTarget()
639 idDesc.fLifeCycle = GrGpuResource::kBorrowed_LifeCycle; in onWrapBackendRenderTarget()
689 idDesc.fLifeCycle = GrGpuResource::kAdopted_LifeCycle; in onWrapBackendTextureAsRenderTarget()
692 idDesc.fLifeCycle = GrGpuResource::kBorrowed_LifeCycle; in onWrapBackendTextureAsRenderTarget()
1164 idDesc->fLifeCycle = lifeCycle; in createRenderTargetObjects()
1288 idDesc.fLifeCycle = lifeCycle; in onCreateTexture()
1328 idDesc.fLifeCycle = lifeCycle; in onCreateCompressedTexture()
/external/skia/src/gpu/
DGrGpuResource.cpp26 , fLifeCycle(lifeCycle) in GrGpuResource()
186 if (!this->wasDestroyed() && GrGpuResource::kUncached_LifeCycle == fLifeCycle) { in makeBudgeted()
187 fLifeCycle = kCached_LifeCycle; in makeBudgeted()
193 if (!this->wasDestroyed() && GrGpuResource::kCached_LifeCycle == fLifeCycle && in makeUnbudgeted()
195 fLifeCycle = kUncached_LifeCycle; in makeUnbudgeted()
DGrGpuResourceCacheAccess.h42 bool isBorrowed() const { return GrGpuResource::kBorrowed_LifeCycle == fResource->fLifeCycle; } in isBorrowed()
48 bool isAdopted() const { return GrGpuResource::kAdopted_LifeCycle == fResource->fLifeCycle; } in isAdopted()
DGrGpuResourcePriv.h48 bool ret = GrGpuResource::kCached_LifeCycle == fResource->fLifeCycle; in isBudgeted()
/external/skia/include/gpu/
DGrGpuResource.h280 bool shouldFreeResources() const { return fLifeCycle != kBorrowed_LifeCycle; } in shouldFreeResources()
283 return GrGpuResource::kAdopted_LifeCycle == fLifeCycle || in isExternal()
284 GrGpuResource::kBorrowed_LifeCycle == fLifeCycle; in isExternal()
344 LifeCycle fLifeCycle; variable