Home
last modified time | relevance | path

Searched refs:colorBits (Results 1 – 15 of 15) 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
154 { "rgb565", colorBits<5, 6, 5, 0> }, in getDefaultFilterLists()
155 { "rgb888", colorBits<8, 8, 8, 0> }, in getDefaultFilterLists()
156 { "rgba4444", colorBits<4, 4, 4, 4> }, in getDefaultFilterLists()
157 { "rgba5551", colorBits<5, 5, 5, 1> }, in getDefaultFilterLists()
158 { "rgba8888", colorBits<8, 8, 8, 8> } in getDefaultFilterLists()
DteglRenderCase.cpp372 static bool colorBits (const eglu::CandidateConfig& c) in colorBits() function
408 { "rgb565", colorBits<5, 6, 5, 0> }, in getDefaultRenderFilterLists()
409 { "rgb888", colorBits<8, 8, 8, 0> }, in getDefaultRenderFilterLists()
410 { "rgba4444", colorBits<4, 4, 4, 4> }, in getDefaultRenderFilterLists()
411 { "rgba5551", colorBits<5, 5, 5, 1> }, in getDefaultRenderFilterLists()
412 { "rgba8888", colorBits<8, 8, 8, 8> }, in getDefaultRenderFilterLists()
DteglRenderTests.cpp332 tcu::TextureFormat getColorFormat (const tcu::PixelFormat& colorBits) in getColorFormat() argument
336 DE_ASSERT(de::inBounds(colorBits.redBits, 0, 0xff) && in getColorFormat()
337 de::inBounds(colorBits.greenBits, 0, 0xff) && in getColorFormat()
338 de::inBounds(colorBits.blueBits, 0, 0xff) && in getColorFormat()
339 de::inBounds(colorBits.alphaBits, 0, 0xff)); in getColorFormat()
344 switch (PACK_FMT(colorBits.redBits, colorBits.greenBits, colorBits.blueBits, colorBits.alphaBits)) in getColorFormat()
382 …s& dst, const vector<DrawPrimitiveOp>& drawOps, const tcu::PixelFormat& colorBits, const int depth… in renderReference() argument
406 colorBuffer.setStorage(getColorFormat(colorBits), numSamples, width, height); in renderReference()
/external/skia/src/utils/
DSkTextureCompressor_ASTC.cpp1187 const int colorBits = fColorEndBit - fColorStartBit; in getColorValueEncoding() local
1188 SkASSERT(colorBits > 0); in getColorValueEncoding()
1191 if (colorBits < ((13 * nColorVals + 4) / 5)) { in getColorValueEncoding()
1219 if (actualColorBits <= colorBits) { in getColorValueEncoding()
1960 int colorBits, colorTrits, colorQuints; in decompress_astc_block() local
1961 if (!data.getColorValueEncoding(&colorBits, &colorTrits, &colorQuints)) { in decompress_astc_block()
1973 colorBits, colorTrits, colorQuints); in decompress_astc_block()
1981 unquantize_colors(colorValues, data.numColorValues(), colorBits, colorTrits, colorQuints); in decompress_astc_block()
/external/deqp/framework/egl/
DegluConfigFilter.hpp63 …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.c444 GLuint colorBits, GLuint numBuffers) in add_aux_renderbuffers() argument
448 if (colorBits > 16) { in add_aux_renderbuffers()
466 assert (colorBits <= 8); in add_aux_renderbuffers()
/external/deqp/modules/gles3/functional/
Des3fTextureFilteringTests.cpp300 …const tcu::IVec4 colorBits = max(getBitsVec(pixelFormat) - (isNearestOnly ? 1 : 2), tcu::IVec4(0… in iterate() local
306 …lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / refParams.colorScale; in iterate()
613 …const tcu::IVec4 colorBits = max(getBitsVec(pixelFormat) - (isNearestOnly ? 1 : 2), tcu::IVec4(0… in iterate() local
619 …lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / sampleParams.colorSc… in iterate()
879 …const tcu::IVec4 colorBits = max(getBitsVec(pixelFormat) - (isNearestOnly ? 1 : 2), tcu::IVec4(0… in iterate() local
885 …lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / refParams.colorScale; in iterate()
1121 …const tcu::IVec4 colorBits = max(getBitsVec(pixelFormat) - (isNearestOnly ? 1 : 2), tcu::IVec4(0… in iterate() local
1127 …lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / refParams.colorScale; in iterate()
Des3fTextureWrapTests.cpp335 …const tcu::IVec4 colorBits = tcu::max(getBitsVec(pixelFormat) - (isNearestOnly && !isSRGB ? 1 … in iterate() local
341 …lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / refParams.colorScale; in iterate()
/external/deqp/modules/gles2/functional/
Des2fTextureFilteringTests.cpp300 …const tcu::IVec4 colorBits = max(getBitsVec(pixelFormat) - (isNearestOnly ? 1 : 2), tcu::IVec4(0… in iterate() local
306 …lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / refParams.colorScale; in iterate()
586 …const tcu::IVec4 colorBits = max(getBitsVec(pixelFormat) - (isNearestOnly ? 1 : 2), tcu::IVec4(0… in iterate() local
592 …lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / sampleParams.colorSc… in iterate()
/external/deqp/modules/gles31/functional/
Des31fTextureFilteringTests.cpp377 …const tcu::IVec4 colorBits = max(getBitsVec(pixelFormat) - (isNearestOnly ? 1 : 2), tcu::IVec4(0… in iterate() local
383 …lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / refParams.colorScale; in iterate()
Des31fTextureBorderClampTests.cpp932 …const tcu::IVec4 colorBits = tcu::max(gls::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(gls::TextureTestUtil::getBitsVec(pixelFormat) - tcu::IV… in verifyImage() local
2221 …lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / samplerParams.colorS… in verifyImage()
Des31fTextureGatherTests.cpp1480 …const IVec4 colorBits = tcu::max(gls::TextureTestUtil::getBitsVec(pixelFormat) - 1, tcu::IVe… in verify() local
1511 lookupPrec.colorThreshold = tcu::computeFixedPointThreshold(colorBits); in verify()
/external/deqp/framework/opengl/simplereference/
DsglrReferenceContext.hpp591 …ReferenceContextBuffers (const tcu::PixelFormat& colorBits, int depthBits, int stencilBits, int wi…
DsglrReferenceContext.cpp290 ReferenceContextBuffers::ReferenceContextBuffers (const tcu::PixelFormat& colorBits, int depthBits,… in ReferenceContextBuffers() argument
292 m_colorbuffer.setStorage(toTextureFormat(colorBits), samples, width, height); in ReferenceContextBuffers()