Searched defs:colorBits (Results 1 - 13 of 13) sorted by relevance

/external/deqp/framework/egl/
H A DegluConfigFilter.hpp63 tcu::RGBA colorBits (void) const { return tcu::RGBA(redSize(), greenSize(), blueSize(), alphaSize()); } function in class:eglu::CandidateConfig
/external/deqp/modules/egl/
H A DteglSimpleConfigCase.cpp119 static bool colorBits (const eglu::CandidateConfig& c) function in namespace:deqp::egl
154 { "rgb565", colorBits<5, 6, 5, 0> },
155 { "rgb888", colorBits<8, 8, 8, 0> },
156 { "rgba4444", colorBits<4, 4, 4, 4> },
157 { "rgba5551", colorBits<5, 5, 5, 1> },
158 { "rgba8888", colorBits<8, 8, 8, 8> }
H A DteglRenderCase.cpp372 static bool colorBits (const eglu::CandidateConfig& c) function in namespace:deqp::egl
408 { "rgb565", colorBits<5, 6, 5, 0> },
409 { "rgb888", colorBits<8, 8, 8, 0> },
410 { "rgba4444", colorBits<4, 4, 4, 4> },
411 { "rgba5551", colorBits<5, 5, 5, 1> },
412 { "rgba8888", colorBits<8, 8, 8, 8> },
H A DteglCreateContextExtTests.cpp1024 static bool colorBits (const eglu::CandidateConfig& c) function in namespace:deqp::egl::__anon3112
1068 { "rgb565_no_depth_no_stencil", "RGB565 configs without depth or stencil", colorBits<5, 6, 5, 0>, noDepth, noStencil },
1069 { "rgb565_no_depth_stencil", "RGB565 configs with stencil and no depth", colorBits<5, 6, 5, 0>, noDepth, hasStencil },
1070 { "rgb565_depth_no_stencil", "RGB565 configs with depth and no stencil", colorBits<5, 6, 5, 0>, hasDepth, noStencil },
1071 { "rgb565_depth_stencil", "RGB565 configs with depth and stencil", colorBits<5, 6, 5, 0>, hasDepth, hasStencil },
1073 { "rgb888_no_depth_no_stencil", "RGB888 configs without depth or stencil", colorBits<8, 8, 8, 0>, noDepth, noStencil },
1074 { "rgb888_no_depth_stencil", "RGB888 configs with stencil and no depth", colorBits<8, 8, 8, 0>, noDepth, hasStencil },
1075 { "rgb888_depth_no_stencil", "RGB888 configs with depth and no stencil", colorBits<8, 8, 8, 0>, hasDepth, noStencil },
1076 { "rgb888_depth_stencil", "RGB888 configs with depth and stencil", colorBits<8, 8, 8, 0>, hasDepth, hasStencil },
1078 { "rgba4444_no_depth_no_stencil", "RGBA4444 configs without depth or stencil", colorBits<
[all...]
H A DteglRenderTests.cpp332 tcu::TextureFormat getColorFormat (const tcu::PixelFormat& colorBits) argument
336 DE_ASSERT(de::inBounds(colorBits.redBits, 0, 0xff) &&
337 de::inBounds(colorBits.greenBits, 0, 0xff) &&
338 de::inBounds(colorBits.blueBits, 0, 0xff) &&
339 de::inBounds(colorBits.alphaBits, 0, 0xff));
344 switch (PACK_FMT(colorBits.redBits, colorBits.greenBits, colorBits.blueBits, colorBits.alphaBits))
382 void renderReference (const tcu::PixelBufferAccess& dst, const vector<DrawPrimitiveOp>& drawOps, const tcu::PixelFormat& colorBits, cons argument
[all...]
/external/mesa3d/src/mesa/swrast/
H A Ds_renderbuffer.c444 GLuint colorBits, GLuint numBuffers)
448 if (colorBits > 16) {
450 "Unsupported colorBits in add_aux_renderbuffers");
466 assert (colorBits <= 8);
443 add_aux_renderbuffers(struct gl_context *ctx, struct gl_framebuffer *fb, GLuint colorBits, GLuint numBuffers) argument
/external/deqp/modules/gles2/functional/
H A Des2fTextureFilteringTests.cpp300 const tcu::IVec4 colorBits = max(getBitsVec(pixelFormat) - (isNearestOnly ? 1 : 2), tcu::IVec4(0)); // 1 inaccurate bit if nearest only, 2 otherwise local
306 lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / refParams.colorScale;
586 const tcu::IVec4 colorBits = max(getBitsVec(pixelFormat) - (isNearestOnly ? 1 : 2), tcu::IVec4(0)); // 1 inaccurate bit if nearest only, 2 otherwise local
592 lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / sampleParams.colorScale;
/external/deqp/modules/gles3/functional/
H A Des3fTextureWrapTests.cpp335 const tcu::IVec4 colorBits = tcu::max(getBitsVec(pixelFormat) - (isNearestOnly && !isSRGB ? 1 : 2), tcu::IVec4(0)); local
341 lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / refParams.colorScale;
H A Des3fTextureFilteringTests.cpp300 const tcu::IVec4 colorBits = max(getBitsVec(pixelFormat) - (isNearestOnly ? 1 : 2), tcu::IVec4(0)); // 1 inaccurate bit if nearest only, 2 otherwise local
306 lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / refParams.colorScale;
613 const tcu::IVec4 colorBits = max(getBitsVec(pixelFormat) - (isNearestOnly ? 1 : 2), tcu::IVec4(0)); // 1 inaccurate bit if nearest only, 2 otherwise local
619 lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / sampleParams.colorScale;
879 const tcu::IVec4 colorBits = max(getBitsVec(pixelFormat) - (isNearestOnly ? 1 : 2), tcu::IVec4(0)); // 1 inaccurate bit if nearest only, 2 otherwise local
885 lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / refParams.colorScale;
1121 const tcu::IVec4 colorBits = max(getBitsVec(pixelFormat) - (isNearestOnly ? 1 : 2), tcu::IVec4(0)); // 1 inaccurate bit if nearest only, 2 otherwise local
1127 lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / refParams.colorScale;
/external/deqp/modules/gles31/functional/
H A Des31fTextureFilteringTests.cpp377 const tcu::IVec4 colorBits = max(getBitsVec(pixelFormat) - (isNearestOnly ? 1 : 2), tcu::IVec4(0)); // 1 inaccurate bit if nearest only, 2 otherwise local
383 lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / refParams.colorScale;
H A Des31fTextureGatherTests.cpp1480 const IVec4 colorBits = tcu::max(gls::TextureTestUtil::getBitsVec(pixelFormat) - 1, tcu::IVec4(0)); local
1511 lookupPrec.colorThreshold = tcu::computeFixedPointThreshold(colorBits);
/external/deqp/framework/opengl/simplereference/
H A DsglrReferenceContext.cpp290 ReferenceContextBuffers::ReferenceContextBuffers (const tcu::PixelFormat& colorBits, int depthBits, int stencilBits, int width, int height, int samples) argument
292 m_colorbuffer.setStorage(toTextureFormat(colorBits), samples, width, height);
/external/skia/src/utils/
H A DSkTextureCompressor_ASTC.cpp1187 const int colorBits = fColorEndBit - fColorStartBit;
1188 SkASSERT(colorBits > 0);
1191 if (colorBits < ((13 * nColorVals + 4) / 5)) {
1196 // !SPEED! place this in a lookup table based on colorBits and nColorVals
1219 if (actualColorBits <= colorBits) {
1960 int colorBits, colorTrits, colorQuints; local
1961 if (!data.getColorValueEncoding(&colorBits, &colorTrits, &colorQuints)) {
1973 colorBits, colorTrits, colorQuints);
1981 unquantize_colors(colorValues, data.numColorValues(), colorBits, colorTrits, colorQuints);

Completed in 286 milliseconds