/external/skqp/src/gpu/gl/ |
D | GrGLTexture.cpp | 46 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 …]
|
D | GrGLRenderTarget.cpp | 25 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 …]
|
D | GrGLGpu.cpp | 617 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 …]
|
D | GrGLStencilAttachment.h | 32 const IDDesc& idDesc, in GrGLStencilAttachment() argument 38 , fRenderbufferID(idDesc.fRenderbufferID) { in GrGLStencilAttachment()
|
/external/skia/src/gpu/gl/ |
D | GrGLRenderTarget.cpp | 46 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()
|
D | GrGLStencilAttachment.h | 32 const IDDesc& idDesc, in GrGLStencilAttachment() argument 38 , fRenderbufferID(idDesc.fRenderbufferID) { in GrGLStencilAttachment()
|
/external/skqp/tests/ |
D | TraceMemoryDumpTest.cpp | 100 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()
|