Searched refs:asGLFormat (Results 1 – 10 of 10) sorted by relevance
36 GrGLFormat glFormat = format.asGLFormat(); in GrBackendFormatToCompressionType()113 GrGLFormat glFormat = format.asGLFormat(); in GrBackendFormatBytesPerBlock()173 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
788 const auto format = backendRT.getBackendFormat().asGLFormat(); in onWrapBackendRenderTarget()1384 texDesc.fFormat = format.asGLFormat(); in onCreateTexture()1427 } else if (this->glCaps().canFormatBeFBOColorAttachment(format.asGLFormat()) && in onCreateTexture()1472 desc.fFormat = format.asGLFormat(); in onCreateCompressedTexture()1511 GrGLFormat glFormat = format.asGLFormat(); in onCreateCompressedBackendTexture()1549 GrGLFormat glFormat = format.asGLFormat(); in onUpdateCompressedBackendTexture()1764 int sIdx = this->getCompatibleStencilIndex(colorFormat.asGLFormat()); in makeStencilAttachment()1781 return GrGLAttachment::MakeMSAA(this, dimensions, numSamples, format.asGLFormat()); in makeMSAAAttachment()2140 auto format = surface->backendFormat().asGLFormat(); in readOrTransferPixelsFrom()2147 this->glCaps().getReadPixelsFormat(surface->backendFormat().asGLFormat(), in readOrTransferPixelsFrom()[all …]
3511 auto dstFormat = dst->backendFormat().asGLFormat(); in onCanCopySurface()3512 auto srcFormat = src->backendFormat().asGLFormat(); in onCanCopySurface()3553 auto srcFormat = src->backendFormat().asGLFormat(); in getDstCopyRestrictions()4479 const auto& formatInfo = this->getFormatInfo(srcBackendFormat.asGLFormat()); in onSupportedReadPixelsColorType()4517 const auto& formatInfo = this->getFormatInfo(surfaceFormat.asGLFormat()); in supportedWritePixelsColorType()4553 return format.asGLFormat() == GrGLFormat::kSRGB8_ALPHA8; in isFormatSRGB()4560 return this->isFormatTexturable(format.asGLFormat()); in isFormatTexturable()4576 auto f = format.asGLFormat(); in isFormatAsColorTypeRenderable()4592 return this->isFormatRenderable(format.asGLFormat(), sampleCount); in isFormatRenderable()4641 return this->canFormatBeFBOColorAttachment(format.asGLFormat()); in isFormatCopyable()[all …]
135 return this->getRenderTargetSampleCount(requestedCount, format.asGLFormat()); in getRenderTargetSampleCount()140 return this->maxRenderTargetSampleCount(format.asGLFormat()); in maxRenderTargetSampleCount()
281 int idx = this->getCompatibleStencilIndex(format.asGLFormat()); in getPreferredStencilFormat()
139 GrGLFormat asGLFormat() const;
253 fboInfo.fFormat = GrGLFormatToEnum(beFormat.asGLFormat()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
127 return format.asGLFormat() == GrGLFormat::kBGRA8; in isBGRA8()176 return format.asGLFormat() == GrGLFormat::kRGB8; in isRGB()