Home
last modified time | relevance | path

Searched refs:getPixelFormat (Results 1 - 25 of 126) sorted by relevance

123456

/third_party/vk-gl-cts/modules/gles2/functional/
H A Des2fReadPixelsTests.cpp218 const deUint8 redThreshold = (deUint8)deCeilFloatToInt32(256.0f * (2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFormat().redBits, formatBitDepths.x())))); in iterate()
219 const deUint8 greenThreshold = (deUint8)deCeilFloatToInt32(256.0f * (2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFormat().greenBits, formatBitDepths.y())))); in iterate()
220 const deUint8 blueThreshold = (deUint8)deCeilFloatToInt32(256.0f * (2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFormat().blueBits, formatBitDepths.z())))); in iterate()
221 const deUint8 alphaThreshold = (deUint8)deCeilFloatToInt32(256.0f * (2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFormat().alphaBits, formatBitDepths.w())))); in iterate()
241 const float redThreshold = 2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFormat().redBits, formatBitDepths.x())); in iterate()
242 const float greenThreshold = 2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFormat().greenBits, formatBitDepths.y())); in iterate()
243 const float blueThreshold = 2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFormat().blueBits, formatBitDepths.z())); in iterate()
244 const float alphaThreshold = 2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFormat().alphaBits, formatBitDepths.w())); in iterate()
H A Des2fTextureFormatTests.cpp145 tcu::RGBA threshold = m_renderCtx.getRenderTarget().getPixelFormat().getColorThreshold() + tcu::RGBA(1,1,1,1); in iterate()
193 sampleTexture(tcu::SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), m_texture->getRefTexture(), &texCoord[0], renderParams); in iterate()
321 tcu::RGBA threshold = m_renderCtx.getRenderTarget().getPixelFormat().getColorThreshold() + tcu::RGBA(1,1,1,1); in testFace()
361 sampleTexture(tcu::SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), m_texture->getRefTexture(), &texCoord[0], renderParams); in testFace()
455 tcu::RGBA threshold = m_renderCtx.getRenderTarget().getPixelFormat().getColorThreshold() + tcu::RGBA(1,1,1,1); in iterate()
483 sampleTexture(tcu::SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), m_texture->getRefTexture(), &texCoord[0], refParams); in iterate()
567 tcu::RGBA threshold = m_renderCtx.getRenderTarget().getPixelFormat().getColorThreshold() + tcu::RGBA(1,1,1,1); in testFace()
595 sampleTexture(tcu::SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), m_texture->getRefTexture(), &texCoord[0], ReferenceParams(TEXTURETYPE_CUBE, sampler)); in testFace()
H A Des2fTextureWrapTests.cpp194 threshold = m_renderCtx.getRenderTarget().getPixelFormat().getColorThreshold() + in iterate()
223 sampleTexture(tcu::SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat(), 0, 0, leftWidth, viewport.height), in iterate()
236 sampleTexture(tcu::SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat(), leftWidth, 0, rightWidth, viewport.height), in iterate()
251 sampleTexture(tcu::SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat(), 0, 0, leftWidth, viewport.height), in iterate()
258 sampleTexture(tcu::SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat(), leftWidth, 0, rightWidth, viewport.height), in iterate()
H A Des2fRasterizationTests.cpp270 args.redBits = m_context.getRenderTarget().getPixelFormat().redBits; in iterate()
271 args.greenBits = m_context.getRenderTarget().getPixelFormat().greenBits; in iterate()
272 args.blueBits = m_context.getRenderTarget().getPixelFormat().blueBits; in iterate()
367 args.redBits = m_context.getRenderTarget().getPixelFormat().redBits;
368 args.greenBits = m_context.getRenderTarget().getPixelFormat().greenBits;
369 args.blueBits = m_context.getRenderTarget().getPixelFormat().blueBits;
472 args.redBits = m_context.getRenderTarget().getPixelFormat().redBits; in iterate()
473 args.greenBits = m_context.getRenderTarget().getPixelFormat().greenBits; in iterate()
474 args.blueBits = m_context.getRenderTarget().getPixelFormat().blueBits; in iterate()
1132 const int thresholdRed = 1 << (8 - m_context.getRenderTarget().getPixelFormat()
[all...]
H A Des2fTextureSpecificationTests.cpp435 sglr::ReferenceContextBuffers refBuffers (tcu::PixelFormat(8,8,8,renderTarget.getPixelFormat().alphaBits?8:0), 0 /* depth */, 0 /* stencil */, width, height); in iterate()
509 tcu::UVec4 threshold = computeCompareThreshold(m_context.getRenderTarget().getPixelFormat(), m_texFormat); in verifyTex2D()
1317 bool targetHasRGB = renderTarget.getPixelFormat().redBits > 0 && renderTarget.getPixelFormat().greenBits > 0 && renderTarget.getPixelFormat().blueBits > 0; in createTexture()
1318 bool targetHasAlpha = renderTarget.getPixelFormat().alphaBits > 0; in createTexture()
1365 bool targetHasRGB = renderTarget.getPixelFormat().redBits > 0 && renderTarget.getPixelFormat().greenBits > 0 && renderTarget.getPixelFormat().blueBits > 0; in createTexture()
1366 bool targetHasAlpha = renderTarget.getPixelFormat() in createTexture()
[all...]
H A Des2fTextureSizeTests.cpp126 const tcu::PixelFormat& rtFmt = m_renderCtx.getRenderTarget().getPixelFormat(); in iterate()
160 sampleTexture(tcu::SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), m_texture->getRefTexture(), &texCoord[0], ReferenceParams(TEXTURETYPE_2D, mapGLSampler(wrapS, wrapT, minFilter, magFilter))); in iterate()
274 const tcu::PixelFormat& rtFmt = m_renderCtx.getRenderTarget().getPixelFormat(); in testFace()
309 sampleTexture(tcu::SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), m_texture->getRefTexture(), &texCoord[0], ReferenceParams(TEXTURETYPE_CUBE, sampler)); in testFace()
/third_party/vk-gl-cts/modules/glshared/
H A DglsShaderPerformanceCase.cpp123 << " R" << renderTarget.getPixelFormat().redBits in logRenderTargetInfo()
124 << " G" << renderTarget.getPixelFormat().greenBits in logRenderTargetInfo()
125 << " B" << renderTarget.getPixelFormat().blueBits in logRenderTargetInfo()
126 << " A" << renderTarget.getPixelFormat().alphaBits in logRenderTargetInfo()
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fReadPixelsTests.cpp363 const deUint8 redThreshold = (deUint8)deCeilFloatToInt32(256.0f * (2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFormat().redBits, formatBitDepths.x())))); in iterate()
364 const deUint8 greenThreshold = (deUint8)deCeilFloatToInt32(256.0f * (2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFormat().greenBits, formatBitDepths.y())))); in iterate()
365 const deUint8 blueThreshold = (deUint8)deCeilFloatToInt32(256.0f * (2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFormat().blueBits, formatBitDepths.z())))); in iterate()
366 const deUint8 alphaThreshold = (deUint8)deCeilFloatToInt32(256.0f * (2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFormat().alphaBits, formatBitDepths.w())))); in iterate()
386 const float redThreshold = 2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFormat().redBits, formatBitDepths.x())); in iterate()
387 const float greenThreshold = 2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFormat().greenBits, formatBitDepths.y())); in iterate()
388 const float blueThreshold = 2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFormat().blueBits, formatBitDepths.z())); in iterate()
389 const float alphaThreshold = 2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFormat().alphaBits, formatBitDepths.w())); in iterate()
H A Des3fFboStateQueryTests.cpp169 const bool hasColorBuffer = m_context.getRenderTarget().getPixelFormat().redBits > 0 || in test()
170 m_context.getRenderTarget().getPixelFormat().greenBits > 0 || in test()
171 m_context.getRenderTarget().getPixelFormat().blueBits > 0 || in test()
172 m_context.getRenderTarget().getPixelFormat().alphaBits > 0; in test()
578 m_context.getRenderTarget().getPixelFormat().redBits, in test()
579 m_context.getRenderTarget().getPixelFormat().greenBits, in test()
580 m_context.getRenderTarget().getPixelFormat().blueBits, in test()
581 m_context.getRenderTarget().getPixelFormat().alphaBits, in test()
H A Des3fTextureFormatTests.cpp185 tcu::RGBA threshold = m_renderCtx.getRenderTarget().getPixelFormat().getColorThreshold() + tcu::RGBA(1,1,1,1); in iterate()
233 sampleTexture(tcu::SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), m_texture->getRefTexture(), &texCoord[0], renderParams); in iterate()
380 tcu::RGBA threshold = m_renderCtx.getRenderTarget().getPixelFormat().getColorThreshold() + tcu::RGBA(1,1,1,1); in testFace()
420 sampleTexture(tcu::SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), m_texture->getRefTexture(), &texCoord[0], renderParams); in testFace()
547 tcu::RGBA threshold = m_renderCtx.getRenderTarget().getPixelFormat().getColorThreshold() + tcu::RGBA(1,1,1,1); in testLayer()
582 sampleTexture(tcu::SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), m_texture->getRefTexture(), &texCoord[0], renderParams); in testLayer()
704 tcu::RGBA threshold = m_renderCtx.getRenderTarget().getPixelFormat().getColorThreshold() + tcu::RGBA(1,1,1,1); in testSlice()
740 sampleTexture(tcu::SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), m_texture->getRefTexture(), &texCoord[0], renderParams); in testSlice()
851 tcu::RGBA threshold = m_renderCtx.getRenderTarget().getPixelFormat().getColorThreshold() + tcu::RGBA(1,1,1,1); in iterate()
883 sampleTexture(tcu::SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), m_textur in iterate()
[all...]
H A Des3fRasterizationTests.cpp128 const tcu::PixelFormat& getPixelFormat (void) const;
157 , m_pixelFormat ((m_renderTarget == RENDERTARGET_DEFAULT) ? (m_context.getRenderTarget().getPixelFormat()) : (getInternalFormatPixelFormat(m_fboInternalFormat))) in BaseRenderingCase()
418 const tcu::PixelFormat& BaseRenderingCase::getPixelFormat (void) const
473 args.redBits = getPixelFormat().redBits;
474 args.greenBits = getPixelFormat().greenBits;
475 args.blueBits = getPixelFormat().blueBits;
598 args.redBits = getPixelFormat().redBits;
599 args.greenBits = getPixelFormat().greenBits;
600 args.blueBits = getPixelFormat().blueBits;
742 args.redBits = getPixelFormat()
[all...]
H A Des3fTextureSizeTests.cpp127 const tcu::PixelFormat& rtFmt = m_renderCtx.getRenderTarget().getPixelFormat(); in iterate()
161 sampleTexture(tcu::SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), m_texture->getRefTexture(), &texCoord[0], ReferenceParams(TEXTURETYPE_2D, mapGLSampler(wrapS, wrapT, minFilter, magFilter))); in iterate()
275 const tcu::PixelFormat& rtFmt = m_renderCtx.getRenderTarget().getPixelFormat(); in testFace()
310 sampleTexture(tcu::SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), m_texture->getRefTexture(), &texCoord[0], ReferenceParams(TEXTURETYPE_CUBE, sampler)); in testFace()
H A Des3fPixelBufferObjectTests.cpp570 const float redThreshold = 2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFormat().redBits, formatBitDepths.x())); in iterate()
571 const float greenThreshold = 2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFormat().greenBits, formatBitDepths.y())); in iterate()
572 const float blueThreshold = 2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFormat().blueBits, formatBitDepths.z())); in iterate()
573 const float alphaThreshold = 2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFormat().alphaBits, formatBitDepths.w())); in iterate()
H A Des3fShaderFragDataTests.cpp219 const tcu::RGBA threshold = renderCtx.getRenderTarget().getPixelFormat().getColorThreshold() + tcu::RGBA(1,1,1,1); in iterate()
336 const tcu::RGBA threshold = renderCtx.getRenderTarget().getPixelFormat().getColorThreshold() + tcu::RGBA(1,1,1,1); in iterate()
H A Des3fTextureMipmapTests.cpp392 const tcu::PixelFormat& pixelFormat = m_renderCtx.getRenderTarget().getPixelFormat(); in iterate()
720 lookupPrec.colorMask = getCompareMask(m_renderCtx.getRenderTarget().getPixelFormat()); in iterate()
721 lookupPrec.colorThreshold = tcu::computeFixedPointThreshold(max(getBitsVec(m_renderCtx.getRenderTarget().getPixelFormat())-2, IVec4(0))); in iterate()
752 tcu::SurfaceAccess idealDst(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat(), curX, curY, curW, curH); in iterate()
902 const IVec4 framebufferBits = max(getBitsVec(m_renderCtx.getRenderTarget().getPixelFormat())-2, IVec4(0)); in iterate()
908 comparePrec.colorMask = getCompareMask(m_renderCtx.getRenderTarget().getPixelFormat()); in iterate()
1055 const IVec4 framebufferBits = max(getBitsVec(m_renderCtx.getRenderTarget().getPixelFormat())-2, IVec4(0)); in iterate()
1061 comparePrec.colorMask = getCompareMask(m_renderCtx.getRenderTarget().getPixelFormat()); in iterate()
1339 const tcu::PixelFormat& pixelFormat = m_context.getRenderTarget().getPixelFormat(); in iterate()
1553 const tcu::PixelFormat& pixelFormat = m_context.getRenderTarget().getPixelFormat(); in iterate()
[all...]
H A Des3fASTCDecompressionCases.cpp363 sampleTexture(tcu::SurfaceAccess(referenceDst, renderCtx.getRenderTarget().getPixelFormat()), texture.getRefTexture(), &texCoord[0], renderParams); in render()
429 const tcu::RGBA threshold = renderCtx.getRenderTarget().getPixelFormat().getColorThreshold() + (tcu::isAstcSRGBFormat(m_format) ? tcu::RGBA(2,2,2,2) : tcu::RGBA(1,1,1,1)); in iterate()
563 const tcu::RGBA threshold = renderCtx.getRenderTarget().getPixelFormat().getColorThreshold() + (tcu::isAstcSRGBFormat(m_format) ? tcu::RGBA(2,2,2,2) : tcu::RGBA(1,1,1,1));
/third_party/vk-gl-cts/framework/common/
H A DtcuRenderTarget.hpp42 const PixelFormat& getPixelFormat (void) const { return m_pixelFormat; } in getPixelFormat() function in tcu::RenderTarget
/third_party/vk-gl-cts/modules/gles2/accuracy/
H A Des2aTextureFilteringTests.cpp244 sampleTexture(tcu::SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat(), 0, 0, leftWidth, bottomHeight), in iterate()
255 sampleTexture(tcu::SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat(), leftWidth, 0, rightWidth, bottomHeight), in iterate()
284 sampleTexture(tcu::SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat(), 0, bottomHeight, leftWidth, topHeight), in iterate()
295 sampleTexture(tcu::SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat(), leftWidth, bottomHeight, rightWidth, topHeight), in iterate()
563 tcu::SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat(), 0, 0, leftWidth, bottomHeight), in iterate()
573 tcu::SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat(), leftWidth, 0, rightWidth, bottomHeight), in iterate()
594 tcu::SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat(), 0, bottomHeight, leftWidth, topHeight), in iterate()
604 tcu::SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat(), leftWidth, bottomHeight, rightWidth, topHeight), in iterate()
/third_party/vk-gl-cts/modules/gles3/accuracy/
H A Des3aTextureFilteringTests.cpp234 sampleTexture(tcu::SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat(), 0, 0, leftWidth, bottomHeight), in iterate()
245 sampleTexture(tcu::SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat(), leftWidth, 0, rightWidth, bottomHeight), in iterate()
274 sampleTexture(tcu::SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat(), 0, bottomHeight, leftWidth, topHeight), in iterate()
285 sampleTexture(tcu::SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat(), leftWidth, bottomHeight, rightWidth, topHeight), in iterate()
572 tcu::SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat(), 0, 0, leftWidth, bottomHeight), in iterate()
582 tcu::SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat(), leftWidth, 0, rightWidth, bottomHeight), in iterate()
603 tcu::SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat(), 0, bottomHeight, leftWidth, topHeight), in iterate()
613 tcu::SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat(), leftWidth, bottomHeight, rightWidth, topHeight), in iterate()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/
H A DDisplayMtl.h149 const mtl::Format &getPixelFormat(angle::FormatID angleFormatId) const in getPixelFormat() function in rx::DisplayMtl
151 return mFormatTable.getPixelFormat(angleFormatId); in getPixelFormat()
/third_party/vk-gl-cts/modules/gles31/functional/
H A Des31fTextureFormatTests.cpp210 tcu::RGBA threshold = m_renderCtx.getRenderTarget().getPixelFormat().getColorThreshold() + tcu::RGBA(1,1,1,1); in testLayerFace()
250 sampleTexture(tcu::SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), m_texture->getRefTexture(), &texCoord[0], renderParams); in testLayerFace()
360 tcu::RGBA threshold = m_renderCtx.getRenderTarget().getPixelFormat().getColorThreshold() + tcu::RGBA(1,1,1,1); in iterate()
396 fetchTexture(tcu::SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), effectiveRefTexture, &texCoord[0], spec.lookupScale, spec.lookupBias); in iterate()
H A Des31fShaderTextureSizeTests.cpp493 const int colorThresholdRed = 1 << (8 - m_context.getRenderTarget().getPixelFormat().redBits);
494 const int colorThresholdGreen = 1 << (8 - m_context.getRenderTarget().getPixelFormat().greenBits);
495 const int colorThresholdBlue = 1 << (8 - m_context.getRenderTarget().getPixelFormat().blueBits);
/third_party/vk-gl-cts/modules/egl/
H A DteglColorClearCase.cpp149 static tcu::PixelFormat getPixelFormat (const Library& egl, EGLDisplay display, EGLConfig config) in getPixelFormat() function
180 tcu::PixelFormat pixelFmt = getPixelFormat(egl, display, config.config); in executeForContexts()
343 tcu::PixelFormat pixelFmt = getPixelFormat(egl, display, config.config); in executeForContexts()
H A DteglAndroidUtil.cpp152 deUint32 getPixelFormat (GLenum format) in getPixelFormat() function
210 isYUV ? AHB_FORMAT_Y8Cb8Cr8_420 : getPixelFormat(format), in AndroidNativeClientBuffer()
/third_party/vk-gl-cts/framework/opengl/
H A DgluFboRenderContext.cpp64 static tcu::PixelFormat getPixelFormat (deUint32 colorFormat) in getPixelFormat() function
239 pixelFormat = getPixelFormat(colorFormat); in createFramebuffer()

Completed in 27 milliseconds

123456