Home
last modified time | relevance | path

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

/external/skia/src/gpu/
DGrBackendUtils.cpp36 GrGLFormat glFormat = format.asGLFormat(); in GrBackendFormatToCompressionType()
101 GrGLFormat glFormat = format.asGLFormat(); in GrBackendFormatBytesPerBlock()
161 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
/external/skia/src/gpu/gl/
DGrGLCaps.cpp3372 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 …]
DGrGLGpu.cpp782 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 …]
DGrGLCaps.h135 return this->getRenderTargetSampleCount(requestedCount, format.asGLFormat()); in getRenderTargetSampleCount()
140 return this->maxRenderTargetSampleCount(format.asGLFormat()); in maxRenderTargetSampleCount()
DGrGLGpu.h271 int idx = this->getCompatibleStencilIndex(format.asGLFormat()); in getPreferredStencilFormat()
/external/skia/include/gpu/
DGrBackendSurface.h126 GrGLFormat asGLFormat() const;
/external/skia/tests/
DProxyTest.cpp253 fboInfo.fFormat = GrGLFormatToEnum(beFormat.asGLFormat()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DBackendAllocationTest.cpp126 return format.asGLFormat() == GrGLFormat::kBGRA8; in isBGRA8()
175 return format.asGLFormat() == GrGLFormat::kRGB8; in isRGB()