Home
last modified time | relevance | path

Searched refs:asGLFormat (Results 1 – 10 of 10) sorted by relevance

/third_party/skia/src/gpu/
DGrBackendUtils.cpp36 GrGLFormat glFormat = format.asGLFormat(); in GrBackendFormatToCompressionType()
113 GrGLFormat glFormat = format.asGLFormat(); in GrBackendFormatBytesPerBlock()
173 GrGLFormat glFormat = format.asGLFormat(); in GrBackendFormatStencilBits()
DGrAHardwareBufferUtils.cpp262 textureInfo.fFormat = GrGLFormatToEnum(backendFormat.asGLFormat()); in make_gl_backend_texture()
DGrBackendSurface.cpp107 GrGLFormat GrBackendFormat::asGLFormat() const { in asGLFormat() function in GrBackendFormat
/third_party/skia/src/gpu/gl/
DGrGLGpu.cpp788 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 …]
DGrGLCaps.cpp3511 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 …]
DGrGLCaps.h135 return this->getRenderTargetSampleCount(requestedCount, format.asGLFormat()); in getRenderTargetSampleCount()
140 return this->maxRenderTargetSampleCount(format.asGLFormat()); in maxRenderTargetSampleCount()
DGrGLGpu.h281 int idx = this->getCompatibleStencilIndex(format.asGLFormat()); in getPreferredStencilFormat()
/third_party/skia/include/gpu/
DGrBackendSurface.h139 GrGLFormat asGLFormat() const;
/third_party/skia/tests/
DProxyTest.cpp253 fboInfo.fFormat = GrGLFormatToEnum(beFormat.asGLFormat()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DBackendAllocationTest.cpp127 return format.asGLFormat() == GrGLFormat::kBGRA8; in isBGRA8()
176 return format.asGLFormat() == GrGLFormat::kRGB8; in isRGB()