Home
last modified time | relevance | path

Searched refs:colorBits (Results 1 – 20 of 20) sorted by relevance

/external/deqp/modules/egl/
DteglCreateContextExtTests.cpp1010 static bool colorBits (const eglu::CandidateConfig& c) in colorBits() function
1054 …{ "rgb565_no_depth_no_stencil", "RGB565 configs without depth or stencil", colorBits<5, 6, 5, 0>… in init()
1055 …{ "rgb565_no_depth_stencil", "RGB565 configs with stencil and no depth", colorBits<5, 6, 5, 0>, … in init()
1056 …{ "rgb565_depth_no_stencil", "RGB565 configs with depth and no stencil", colorBits<5, 6, 5, 0>, … in init()
1057 …{ "rgb565_depth_stencil", "RGB565 configs with depth and stencil", colorBits<5, 6, 5, 0>, hasDe… in init()
1059 …{ "rgb888_no_depth_no_stencil", "RGB888 configs without depth or stencil", colorBits<8, 8, 8, 0>… in init()
1060 …{ "rgb888_no_depth_stencil", "RGB888 configs with stencil and no depth", colorBits<8, 8, 8, 0>, … in init()
1061 …{ "rgb888_depth_no_stencil", "RGB888 configs with depth and no stencil", colorBits<8, 8, 8, 0>, … in init()
1062 …{ "rgb888_depth_stencil", "RGB888 configs with depth and stencil", colorBits<8, 8, 8, 0>, hasDe… in init()
1064 …{ "rgba4444_no_depth_no_stencil", "RGBA4444 configs without depth or stencil", colorBits<4, 4, 4, … in init()
[all …]
DteglSimpleConfigCase.cpp119 static bool colorBits (const eglu::CandidateConfig& c) in colorBits() function
164 { "rgb565", colorBits<5, 6, 5, 0> }, in getDefaultFilterLists()
165 { "rgb888", colorBits<8, 8, 8, 0> }, in getDefaultFilterLists()
166 { "rgba4444", colorBits<4, 4, 4, 4> }, in getDefaultFilterLists()
167 { "rgba5551", colorBits<5, 5, 5, 1> }, in getDefaultFilterLists()
168 { "rgba8888", colorBits<8, 8, 8, 8> } in getDefaultFilterLists()
DteglRenderTests.cpp338 tcu::TextureFormat getColorFormat (const tcu::PixelFormat& colorBits) in getColorFormat() argument
342 DE_ASSERT(de::inBounds(colorBits.redBits, 0, 0xff) && in getColorFormat()
343 de::inBounds(colorBits.greenBits, 0, 0xff) && in getColorFormat()
344 de::inBounds(colorBits.blueBits, 0, 0xff) && in getColorFormat()
345 de::inBounds(colorBits.alphaBits, 0, 0xff)); in getColorFormat()
350 switch (PACK_FMT(colorBits.redBits, colorBits.greenBits, colorBits.blueBits, colorBits.alphaBits)) in getColorFormat()
381 float getColorThreshold (const tcu::PixelFormat& colorBits) in getColorThreshold() argument
383 if ((colorBits.redBits > 0 && colorBits.redBits < 8) || in getColorThreshold()
384 (colorBits.greenBits > 0 && colorBits.greenBits < 8) || in getColorThreshold()
385 (colorBits.blueBits > 0 && colorBits.blueBits < 8) || in getColorThreshold()
[all …]
DteglRenderCase.cpp377 static bool colorBits (const eglu::CandidateConfig& c) in colorBits() function
423 { "rgb565", colorBits<5, 6, 5, 0> }, in getDefaultRenderFilterLists()
424 { "rgb888", colorBits<8, 8, 8, 0> }, in getDefaultRenderFilterLists()
425 { "rgba4444", colorBits<4, 4, 4, 4> }, in getDefaultRenderFilterLists()
426 { "rgba5551", colorBits<5, 5, 5, 1> }, in getDefaultRenderFilterLists()
427 { "rgba8888", colorBits<8, 8, 8, 8> }, in getDefaultRenderFilterLists()
/external/skia/tools/
Dblob_cache_sim.cpp39 uint32_t colorBits = in main() local
48 uint64_t blobKey = blobID << 32u | posBits | colorBits; in main()
/external/deqp/framework/egl/
DegluConfigFilter.hpp64 …tcu::RGBA colorBits (void) const { return tcu::RGBA(redSize(), greenSize(), blueSize(), alphaSi… in colorBits() function in eglu::CandidateConfig
/external/mesa3d/src/mesa/swrast/
Ds_renderbuffer.c443 GLuint colorBits, GLuint numBuffers) in add_aux_renderbuffers() argument
447 if (colorBits > 16) { in add_aux_renderbuffers()
465 assert (colorBits <= 8); in add_aux_renderbuffers()
/external/deqp/external/vulkancts/modules/vulkan/rasterization/
DvktRasterizationTests.cpp1025 tcu::IVec4 colorBits = tcu::getTextureFormatBitDepth(getTextureFormat()); in compareAndVerify() local
1029 args.redBits = colorBits[0]; in compareAndVerify()
1030 args.greenBits = colorBits[1]; in compareAndVerify()
1031 args.blueBits = colorBits[2]; in compareAndVerify()
1401 tcu::IVec4 colorBits = tcu::getTextureFormatBitDepth(getTextureFormat()); in compareAndVerify() local
1406 args.redBits = colorBits[0]; in compareAndVerify()
1407 args.greenBits = colorBits[1]; in compareAndVerify()
1408 args.blueBits = colorBits[2]; in compareAndVerify()
1657 tcu::IVec4 colorBits = tcu::getTextureFormatBitDepth(getTextureFormat()); in compareAndVerify() local
1661 args.redBits = colorBits[0]; in compareAndVerify()
[all …]
/external/deqp/modules/gles2/functional/
Des2fTextureFilteringTests.cpp301 …const tcu::IVec4 colorBits = max(getBitsVec(pixelFormat) - (isNearestOnly ? 1 : 2), tcu::IVec4(0… in iterate() local
307 …lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / refParams.colorScale; in iterate()
587 …const tcu::IVec4 colorBits = max(getBitsVec(pixelFormat) - (isNearestOnly ? 1 : 2), tcu::IVec4(0… in iterate() local
593 …lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / sampleParams.colorSc… in iterate()
/external/deqp/modules/gles3/functional/
Des3fTextureFilteringTests.cpp319 …const tcu::IVec4 colorBits = max(getBitsVec(pixelFormat) - (isNearestOnly ? 1 : 2), tcu::IVec4(0… in iterate() local
325 …lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / refParams.colorScale; in iterate()
634 …const tcu::IVec4 colorBits = max(getBitsVec(pixelFormat) - (isNearestOnly ? 1 : 2), tcu::IVec4(0… in iterate() local
640 …lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / sampleParams.colorSc… in iterate()
902 …const tcu::IVec4 colorBits = max(getBitsVec(pixelFormat) - (isNearestOnly ? 1 : 2), tcu::IVec4(0… in iterate() local
908 …lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / refParams.colorScale; in iterate()
1146 …const tcu::IVec4 colorBits = max(getBitsVec(pixelFormat) - (isNearestOnly ? 1 : 2), tcu::IVec4(0… in iterate() local
1152 …lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / refParams.colorScale; in iterate()
Des3fTextureWrapTests.cpp345 …const tcu::IVec4 colorBits = tcu::max(getBitsVec(pixelFormat) - (isNearestOnly && !isSRGB ? 1 … in iterate() local
351 …olorThreshold = tcu::computeColorBitsThreshold(getBitsVec(pixelFormat), colorBits) / refParams.col… in iterate()
/external/swiftshader/src/Device/
DBC_Decoder.cpp1481 auto const colorBits = mode.CB + mode.SPB + mode.EPB; in decode() local
1487 subset[0].rgb = subset[0].rgb << (8 - colorBits); in decode()
1488 subset[1].rgb = subset[1].rgb << (8 - colorBits); in decode()
1489 subset[0].rgb = subset[0].rgb | (subset[0].rgb >> colorBits); in decode()
1490 subset[1].rgb = subset[1].rgb | (subset[1].rgb >> colorBits); in decode()
/external/deqp/external/vulkancts/modules/vulkan/texture/
DvktTextureFilteringTests.cpp332 …const tcu::IVec4 colorBits = max(getBitsVec(pixelFormat) - (isNearestOnly ? 1 : 2), tcu::IVec4(0… in iterate() local
338 …lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / refParams.colorScale; in iterate()
575 …const tcu::IVec4 colorBits = max(getBitsVec(pixelFormat) - (isNearestOnly ? 1 : 2), tcu::IVec4(0… in iterate() local
581 …lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / refParams.colorScale; in iterate()
796 …const tcu::IVec4 colorBits = max(getBitsVec(pixelFormat) - (isNearestOnly ? 1 : 2), tcu::IVec4(0… in iterate() local
802 …lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / refParams.colorScale; in iterate()
1000 …const tcu::IVec4 colorBits = max(getBitsVec(pixelFormat) - (isNearestOnly ? 1 : 2), tcu::IVec4(0… in iterate() local
1006 …lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / refParams.colorScale; in iterate()
/external/deqp/modules/gles31/functional/
Des31fTextureFilteringTests.cpp392 …const tcu::IVec4 colorBits = max(getBitsVec(pixelFormat) - (isNearestOnly ? 1 : 2), tcu::IVec4(0… in iterate() local
398 …lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / refParams.colorScale; in iterate()
Des31fTextureBorderClampTests.cpp932 …const tcu::IVec4 colorBits = tcu::max(glu::TextureTestUtil::getBitsVec(pixelFormat) - tcu::IV… in verifyImage() local
935 …lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / samplerParams.colorS… in verifyImage()
2211 …const tcu::IVec4 colorBits = tcu::max(glu::TextureTestUtil::getBitsVec(pixelFormat) - tcu::IV… in verifyImage() local
2221 …lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / samplerParams.colorS… in verifyImage()
Des31fTextureGatherTests.cpp1508 …const IVec4 colorBits = tcu::max(glu::TextureTestUtil::getBitsVec(pixelFormat) - 1, tcu::IVe… in verify() local
1539 lookupPrec.colorThreshold = tcu::computeFixedPointThreshold(colorBits); in verify()
/external/deqp/framework/opengl/simplereference/
DsglrReferenceContext.hpp593 …ReferenceContextBuffers (const tcu::PixelFormat& colorBits, int depthBits, int stencilBits, int wi…
DsglrReferenceContext.cpp304 ReferenceContextBuffers::ReferenceContextBuffers (const tcu::PixelFormat& colorBits, int depthBits,… in ReferenceContextBuffers() argument
306 m_colorbuffer.setStorage(toTextureFormat(colorBits), samples, width, height); in ReferenceContextBuffers()
/external/deqp/external/openglcts/modules/gles2/
Des2cTexture3DTests.cpp199 const tcu::IVec4 colorBits = max(tcu::IVec4(de::min(pixelFormat.redBits, refChannelBitDepth[0]), in verifyTestResult() local
206 lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / refParams.colorScale; in verifyTestResult()
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderTextureGatherTests.cpp1436 …const IVec4 colorBits = tcu::max(TextureTestUtil::getBitsVec(pixelFormat) - 1, tcu::IVec4(0)… in verify() local
1467 lookupPrec.colorThreshold = tcu::computeFixedPointThreshold(colorBits); in verify()