Home
last modified time | relevance | path

Searched refs:idDesc (Results 1 – 4 of 4) sorted by relevance

/external/skia/src/gpu/gl/
DGrGLTexture.cpp15 GrGLTexture::GrGLTexture(GrGLGpu* gpu, const GrSurfaceDesc& desc, const IDDesc& idDesc) in GrGLTexture() argument
16 : GrSurface(gpu, idDesc.fLifeCycle, desc) in GrGLTexture()
17 , INHERITED(gpu, idDesc.fLifeCycle, desc) { in GrGLTexture()
18 this->init(desc, idDesc); in GrGLTexture()
22 GrGLTexture::GrGLTexture(GrGLGpu* gpu, const GrSurfaceDesc& desc, const IDDesc& idDesc, Derived) in GrGLTexture() argument
23 : GrSurface(gpu, idDesc.fLifeCycle, desc) in GrGLTexture()
24 , INHERITED(gpu, idDesc.fLifeCycle, desc) { in GrGLTexture()
25 this->init(desc, idDesc); in GrGLTexture()
28 void GrGLTexture::init(const GrSurfaceDesc& desc, const IDDesc& idDesc) { in init() argument
29 SkASSERT(0 != idDesc.fTextureID); in init()
[all …]
DGrGLRenderTarget.cpp16 GrGLRenderTarget::GrGLRenderTarget(GrGLGpu* gpu, const GrSurfaceDesc& desc, const IDDesc& idDesc) in GrGLRenderTarget() argument
17 : GrSurface(gpu, idDesc.fLifeCycle, desc) in GrGLRenderTarget()
18 , INHERITED(gpu, idDesc.fLifeCycle, desc) { in GrGLRenderTarget()
19 this->init(desc, idDesc); in GrGLRenderTarget()
23 GrGLRenderTarget::GrGLRenderTarget(GrGLGpu* gpu, const GrSurfaceDesc& desc, const IDDesc& idDesc, in GrGLRenderTarget() argument
25 : GrSurface(gpu, idDesc.fLifeCycle, desc) in GrGLRenderTarget()
26 , INHERITED(gpu, idDesc.fLifeCycle, desc) { in GrGLRenderTarget()
27 this->init(desc, idDesc); in GrGLRenderTarget()
30 void GrGLRenderTarget::init(const GrSurfaceDesc& desc, const IDDesc& idDesc) { in init() argument
31 fRTFBOID = idDesc.fRTFBOID; in init()
[all …]
DGrGLGpu.cpp431 GrGLTexture::IDDesc idDesc; in onWrapBackendTexture() local
434 idDesc.fTextureID = static_cast<GrGLuint>(desc.fTextureHandle); in onWrapBackendTexture()
435 idDesc.fLifeCycle = GrGpuResource::kWrapped_LifeCycle; in onWrapBackendTexture()
458 idDesc.fTextureID, &rtIDDesc)) { in onWrapBackendTexture()
461 texture = SkNEW_ARGS(GrGLTextureRenderTarget, (this, surfDesc, idDesc, rtIDDesc)); in onWrapBackendTexture()
463 texture = SkNEW_ARGS(GrGLTexture, (this, surfDesc, idDesc)); in onWrapBackendTexture()
473 GrGLRenderTarget::IDDesc idDesc; in onWrapBackendRenderTarget() local
474 idDesc.fRTFBOID = static_cast<GrGLuint>(wrapDesc.fRenderTargetHandle); in onWrapBackendRenderTarget()
475 idDesc.fMSColorRenderbufferID = 0; in onWrapBackendRenderTarget()
476 idDesc.fTexFBOID = GrGLRenderTarget::kUnresolvableFBOID; in onWrapBackendRenderTarget()
[all …]
DGrGLStencilAttachment.h33 const IDDesc& idDesc, in GrGLStencilAttachment() argument
37 : GrStencilAttachment(gpu, idDesc.fLifeCycle, width, height, format.fStencilBits, sampleCnt) in GrGLStencilAttachment()
39 , fRenderbufferID(idDesc.fRenderbufferID) { in GrGLStencilAttachment()