Searched refs:asGLFormat (Results 1 – 10 of 10) sorted by relevance
36 GrGLFormat glFormat = format.asGLFormat(); in GrBackendFormatToCompressionType()101 GrGLFormat glFormat = format.asGLFormat(); in GrBackendFormatBytesPerBlock()161 GrGLFormat glFormat = format.asGLFormat(); in GrBackendFormatStencilBits()
262 textureInfo.fFormat = GrGLFormatToEnum(backendFormat.asGLFormat()); in make_gl_backend_texture()
107 GrGLFormat GrBackendFormat::asGLFormat() const { in asGLFormat() function in GrBackendFormat
3372 auto dstFormat = dst->backendFormat().asGLFormat(); in onCanCopySurface()3373 auto srcFormat = src->backendFormat().asGLFormat(); in onCanCopySurface()3414 auto srcFormat = src->backendFormat().asGLFormat(); in getDstCopyRestrictions()4215 const auto& formatInfo = this->getFormatInfo(srcBackendFormat.asGLFormat()); in onSupportedReadPixelsColorType()4250 const auto& formatInfo = this->getFormatInfo(surfaceFormat.asGLFormat()); in supportedWritePixelsColorType()4282 return format.asGLFormat() == GrGLFormat::kSRGB8_ALPHA8; in isFormatSRGB()4289 return this->isFormatTexturable(format.asGLFormat()); in isFormatTexturable()4305 auto f = format.asGLFormat(); in isFormatAsColorTypeRenderable()4321 return this->isFormatRenderable(format.asGLFormat(), sampleCount); in isFormatRenderable()4371 return this->canFormatBeFBOColorAttachment(format.asGLFormat()); in isFormatCopyable()[all …]
782 const auto format = backendRT.getBackendFormat().asGLFormat(); in onWrapBackendRenderTarget()1322 texDesc.fFormat = format.asGLFormat(); in onCreateTexture()1365 } else if (this->glCaps().canFormatBeFBOColorAttachment(format.asGLFormat()) && in onCreateTexture()1410 desc.fFormat = format.asGLFormat(); in onCreateCompressedTexture()1449 GrGLFormat glFormat = format.asGLFormat(); in onCreateCompressedBackendTexture()1487 GrGLFormat glFormat = format.asGLFormat(); in onUpdateCompressedBackendTexture()1693 int sIdx = this->getCompatibleStencilIndex(colorFormat.asGLFormat()); in makeStencilAttachment()1739 GrGLenum glFormat = this->glCaps().getRenderbufferInternalFormat(format.asGLFormat()); in makeMSAAAttachment()1747 numSamples, format.asGLFormat())); in makeMSAAAttachment()2106 auto format = surface->backendFormat().asGLFormat(); in readOrTransferPixelsFrom()[all …]
135 return this->getRenderTargetSampleCount(requestedCount, format.asGLFormat()); in getRenderTargetSampleCount()140 return this->maxRenderTargetSampleCount(format.asGLFormat()); in maxRenderTargetSampleCount()
271 int idx = this->getCompatibleStencilIndex(format.asGLFormat()); in getPreferredStencilFormat()
126 GrGLFormat asGLFormat() const;
253 fboInfo.fFormat = GrGLFormatToEnum(beFormat.asGLFormat()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
126 return format.asGLFormat() == GrGLFormat::kBGRA8; in isBGRA8()175 return format.asGLFormat() == GrGLFormat::kRGB8; in isRGB()