Home
last modified time | relevance | path

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

/external/skqp/src/gpu/gl/
DGrGLTexture.cpp46 const IDDesc& idDesc, GrMipMapsStatus mipMapsStatus) in GrGLTexture() argument
48 , INHERITED(gpu, desc, TextureTypeFromTarget(idDesc.fInfo.fTarget), mipMapsStatus) { in GrGLTexture()
49 this->init(desc, idDesc); in GrGLTexture()
57 const IDDesc& idDesc, GrWrapCacheable cacheable, GrIOType ioType) in GrGLTexture() argument
59 , INHERITED(gpu, desc, TextureTypeFromTarget(idDesc.fInfo.fTarget), mipMapsStatus) { in GrGLTexture()
60 this->init(desc, idDesc); in GrGLTexture()
67 GrGLTexture::GrGLTexture(GrGLGpu* gpu, const GrSurfaceDesc& desc, const IDDesc& idDesc, in GrGLTexture() argument
70 , INHERITED(gpu, desc, TextureTypeFromTarget(idDesc.fInfo.fTarget), mipMapsStatus) { in GrGLTexture()
71 this->init(desc, idDesc); in GrGLTexture()
74 void GrGLTexture::init(const GrSurfaceDesc& desc, const IDDesc& idDesc) { in init() argument
[all …]
DGrGLRenderTarget.cpp25 const IDDesc& idDesc, in GrGLRenderTarget() argument
29 this->setFlags(gpu->glCaps(), idDesc); in GrGLRenderTarget()
30 this->init(desc, format, idDesc); in GrGLRenderTarget()
35 const IDDesc& idDesc) in GrGLRenderTarget() argument
38 this->setFlags(gpu->glCaps(), idDesc); in GrGLRenderTarget()
39 this->init(desc, format, idDesc); in GrGLRenderTarget()
42 inline void GrGLRenderTarget::setFlags(const GrGLCaps& glCaps, const IDDesc& idDesc) { in setFlags() argument
43 if (idDesc.fIsMixedSampled) { in setFlags()
44 SkASSERT(glCaps.usesMixedSamples() && idDesc.fRTFBOID); // FBO 0 can't be mixed sampled. in setFlags()
47 if (!idDesc.fRTFBOID) { in setFlags()
[all …]
DGrGLGpu.cpp617 GrGLTexture::IDDesc* idDesc) { in check_backend_texture() argument
623 idDesc->fInfo = info; in check_backend_texture()
625 if (GR_GL_TEXTURE_EXTERNAL == idDesc->fInfo.fTarget) { in check_backend_texture()
629 } else if (GR_GL_TEXTURE_RECTANGLE == idDesc->fInfo.fTarget) { in check_backend_texture()
633 } else if (GR_GL_TEXTURE_2D != idDesc->fInfo.fTarget) { in check_backend_texture()
642 GrGLTexture::IDDesc idDesc; in onWrapBackendTexture() local
643 if (!check_backend_texture(backendTex, this->glCaps(), &idDesc)) { in onWrapBackendTexture()
646 if (!idDesc.fInfo.fFormat) { in onWrapBackendTexture()
647 idDesc.fInfo.fFormat = this->glCaps().configSizedInternalFormat(backendTex.config()); in onWrapBackendTexture()
650 idDesc.fOwnership = GrBackendObjectOwnership::kBorrowed; in onWrapBackendTexture()
[all …]
DGrGLStencilAttachment.h32 const IDDesc& idDesc, in GrGLStencilAttachment() argument
38 , fRenderbufferID(idDesc.fRenderbufferID) { in GrGLStencilAttachment()
/external/skia/src/gpu/gl/
DGrGLRenderTarget.cpp46 inline void GrGLRenderTarget::setFlags(const GrGLCaps& glCaps, const IDs& idDesc) { in setFlags() argument
47 if (!idDesc.fRTFBOID) { in setFlags()
52 void GrGLRenderTarget::init(GrGLFormat format, const IDs& idDesc) { in init() argument
53 fRTFBOID = idDesc.fRTFBOID; in init()
54 fTexFBOID = idDesc.fTexFBOID; in init()
55 fMSColorRenderbufferID = idDesc.fMSColorRenderbufferID; in init()
56 fRTFBOOwnership = idDesc.fRTFBOOwnership; in init()
65 const IDs& idDesc, in MakeWrapped() argument
80 new GrGLRenderTarget(gpu, dimensions, format, sampleCount, idDesc, sb)); in MakeWrapped()
DGrGLStencilAttachment.h32 const IDDesc& idDesc, in GrGLStencilAttachment() argument
38 , fRenderbufferID(idDesc.fRenderbufferID) { in GrGLStencilAttachment()
/external/skqp/tests/
DTraceMemoryDumpTest.cpp100 GrGLTexture::IDDesc idDesc; in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() local
101 idDesc.fInfo = glInfo; in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
102 idDesc.fOwnership = GrBackendObjectOwnership::kOwned; in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
104 auto texture = sk_make_sp<GrGLTexture>(gpu, SkBudgeted::kNo, desc, idDesc, in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
126 GrGLTexture::IDDesc idDesc; in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() local
127 idDesc.fInfo = glInfo; in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
128 idDesc.fOwnership = GrBackendObjectOwnership::kBorrowed; in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
130 auto texture = GrGLTexture::MakeWrapped(gpu, desc, GrMipMapsStatus::kNotAllocated, idDesc, in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()