/third_party/vk-gl-cts/modules/egl/ |
D | teglCreateContextExtTests.cpp | 1010 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 …]
|
D | teglSimpleConfigCase.cpp | 119 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()
|
D | teglRenderTests.cpp | 338 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 …]
|
D | teglRenderCase.cpp | 377 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()
|
/third_party/flutter/glfw/src/ |
D | nsgl_context.m | 206 int colorBits = fbconfig->redBits + 211 if (colorBits == 0) 212 colorBits = 24; 213 else if (colorBits < 15) 214 colorBits = 15; 216 ADD_ATTR2(NSOpenGLPFAColorSize, colorBits);
|
/third_party/skia/tools/ |
D | blob_cache_sim.cpp | 39 uint32_t colorBits = in main() local 48 uint64_t blobKey = blobID << 32u | posBits | colorBits; in main()
|
/third_party/vk-gl-cts/framework/egl/ |
D | egluConfigFilter.hpp | 64 …tcu::RGBA colorBits (void) const { return tcu::RGBA(redSize(), greenSize(), blueSize(), alphaSi… in colorBits() function in eglu::CandidateConfig
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/rasterization/ |
D | vktRasterizationTests.cpp | 1093 tcu::IVec4 colorBits = tcu::getTextureFormatBitDepth(getTextureFormat()); in compareAndVerify() local 1097 args.redBits = colorBits[0]; in compareAndVerify() 1098 args.greenBits = colorBits[1]; in compareAndVerify() 1099 args.blueBits = colorBits[2]; in compareAndVerify() 1475 tcu::IVec4 colorBits = tcu::getTextureFormatBitDepth(getTextureFormat()); in compareAndVerify() local 1480 args.redBits = colorBits[0]; in compareAndVerify() 1481 args.greenBits = colorBits[1]; in compareAndVerify() 1482 args.blueBits = colorBits[2]; in compareAndVerify() 1759 tcu::IVec4 colorBits = tcu::getTextureFormatBitDepth(getTextureFormat()); in compareAndVerify() local 1763 args.redBits = colorBits[0]; in compareAndVerify() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/rasterization/ |
D | vktRasterizationTests.cpp | 1093 tcu::IVec4 colorBits = tcu::getTextureFormatBitDepth(getTextureFormat()); in compareAndVerify() local 1097 args.redBits = colorBits[0]; in compareAndVerify() 1098 args.greenBits = colorBits[1]; in compareAndVerify() 1099 args.blueBits = colorBits[2]; in compareAndVerify() 1475 tcu::IVec4 colorBits = tcu::getTextureFormatBitDepth(getTextureFormat()); in compareAndVerify() local 1480 args.redBits = colorBits[0]; in compareAndVerify() 1481 args.greenBits = colorBits[1]; in compareAndVerify() 1482 args.blueBits = colorBits[2]; in compareAndVerify() 1759 tcu::IVec4 colorBits = tcu::getTextureFormatBitDepth(getTextureFormat()); in compareAndVerify() local 1763 args.redBits = colorBits[0]; in compareAndVerify() [all …]
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
D | es3fTextureFilteringTests.cpp | 322 …const tcu::IVec4 colorBits = max(getBitsVec(pixelFormat) - (isNearestOnly ? 1 : 2), tcu::IVec4(0… in iterate() local 328 …lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / refParams.colorScale; in iterate() 637 …const tcu::IVec4 colorBits = max(getBitsVec(pixelFormat) - (isNearestOnly ? 1 : 2), tcu::IVec4(0… in iterate() local 643 …lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / sampleParams.colorSc… in iterate() 905 …const tcu::IVec4 colorBits = max(getBitsVec(pixelFormat) - (isNearestOnly ? 1 : 2), tcu::IVec4(0… in iterate() local 911 …lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / refParams.colorScale; in iterate() 1149 …const tcu::IVec4 colorBits = max(getBitsVec(pixelFormat) - (isNearestOnly ? 1 : 2), tcu::IVec4(0… in iterate() local 1155 …lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / refParams.colorScale; in iterate()
|
D | es3fTextureWrapTests.cpp | 350 …const tcu::IVec4 colorBits = tcu::max(getBitsVec(pixelFormat) - (isNearestOnly && !isSRGB ? 1 … in iterate() local 356 …olorThreshold = tcu::computeColorBitsThreshold(getBitsVec(pixelFormat), colorBits) / refParams.col… in iterate()
|
/third_party/vk-gl-cts/modules/gles2/functional/ |
D | es2fTextureFilteringTests.cpp | 301 …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()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/ |
D | vktTextureFilteringTests.cpp | 359 …const tcu::IVec4 colorBits = max(getBitsVec(pixelFormat) - (isNearestOnly ? 1 : 2), tcu::IVec4(0… in iterate() local 365 …lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / refParams.colorScale; in iterate() 602 …const tcu::IVec4 colorBits = max(getBitsVec(pixelFormat) - (isNearestOnly ? 1 : 2), tcu::IVec4(0… in iterate() local 608 …lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / refParams.colorScale; in iterate() 828 …const tcu::IVec4 colorBits = max(getBitsVec(pixelFormat) - (isNearestOnly ? 1 : 2), tcu::IVec4(0… in iterate() local 834 …lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / refParams.colorScale; in iterate() 1037 …const tcu::IVec4 colorBits = max(getBitsVec(pixelFormat) - (isNearestOnly ? 1 : 2), tcu::IVec4(0… in iterate() local 1043 …lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / refParams.colorScale; in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/texture/ |
D | vktTextureFilteringTests.cpp | 359 …const tcu::IVec4 colorBits = max(getBitsVec(pixelFormat) - (isNearestOnly ? 1 : 2), tcu::IVec4(0… in iterate() local 365 …lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / refParams.colorScale; in iterate() 602 …const tcu::IVec4 colorBits = max(getBitsVec(pixelFormat) - (isNearestOnly ? 1 : 2), tcu::IVec4(0… in iterate() local 608 …lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / refParams.colorScale; in iterate() 828 …const tcu::IVec4 colorBits = max(getBitsVec(pixelFormat) - (isNearestOnly ? 1 : 2), tcu::IVec4(0… in iterate() local 834 …lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / refParams.colorScale; in iterate() 1037 …const tcu::IVec4 colorBits = max(getBitsVec(pixelFormat) - (isNearestOnly ? 1 : 2), tcu::IVec4(0… in iterate() local 1043 …lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / refParams.colorScale; in iterate()
|
/third_party/skia/third_party/externals/swiftshader/src/Device/ |
D | BC_Decoder.cpp | 1510 auto const colorBits = mode.CB + mode.SPB + mode.EPB; in decode() local 1516 subset[0].rgb = subset[0].rgb << (8 - colorBits); in decode() 1517 subset[1].rgb = subset[1].rgb << (8 - colorBits); in decode() 1518 subset[0].rgb = subset[0].rgb | (subset[0].rgb >> colorBits); in decode() 1519 subset[1].rgb = subset[1].rgb | (subset[1].rgb >> colorBits); in decode()
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
D | es31fTextureFilteringTests.cpp | 395 …const tcu::IVec4 colorBits = max(getBitsVec(pixelFormat) - (isNearestOnly ? 1 : 2), tcu::IVec4(0… in iterate() local 401 …lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / refParams.colorScale; in iterate()
|
D | es31fTextureBorderClampTests.cpp | 933 …const tcu::IVec4 colorBits = tcu::max(glu::TextureTestUtil::getBitsVec(pixelFormat) - tcu::IV… in verifyImage() local 936 …lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / samplerParams.colorS… in verifyImage() 2214 …const tcu::IVec4 colorBits = tcu::max(glu::TextureTestUtil::getBitsVec(pixelFormat) - tcu::IV… in verifyImage() local 2224 …lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / samplerParams.colorS… in verifyImage()
|
D | es31fTextureGatherTests.cpp | 1505 …const IVec4 colorBits = tcu::max(glu::TextureTestUtil::getBitsVec(pixelFormat) - 1, tcu::IVe… in verify() local 1536 lookupPrec.colorThreshold = tcu::computeFixedPointThreshold(colorBits); in verify()
|
/third_party/vk-gl-cts/framework/opengl/simplereference/ |
D | sglrReferenceContext.hpp | 593 …ReferenceContextBuffers (const tcu::PixelFormat& colorBits, int depthBits, int stencilBits, int wi…
|
D | sglrReferenceContext.cpp | 306 ReferenceContextBuffers::ReferenceContextBuffers (const tcu::PixelFormat& colorBits, int depthBits,… in ReferenceContextBuffers() argument 308 m_colorbuffer.setStorage(toTextureFormat(colorBits), samples, width, height); in ReferenceContextBuffers()
|
/third_party/vk-gl-cts/external/openglcts/modules/gles2/ |
D | es2cTexture3DTests.cpp | 199 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()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderrender/ |
D | vktShaderRenderTextureGatherTests.cpp | 1468 …const IVec4 colorBits = tcu::max(TextureTestUtil::getBitsVec(pixelFormat) - 1, tcu::IVec4(0)… in verify() local 1500 lookupPrec.colorThreshold = tcu::computeFixedPointThreshold(colorBits); in verify()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/ |
D | vktShaderRenderTextureGatherTests.cpp | 1468 …const IVec4 colorBits = tcu::max(TextureTestUtil::getBitsVec(pixelFormat) - 1, tcu::IVec4(0)… in verify() local 1500 lookupPrec.colorThreshold = tcu::computeFixedPointThreshold(colorBits); in verify()
|