Searched refs:colorBits (Results 1 - 15 of 15) sorted by relevance

/external/chromium_org/third_party/skia/src/gpu/
H A DGrRenderTarget.cpp67 size_t colorBits; local
69 colorBits = 32; // don't know, make a guess
71 colorBits = GrBytesPerPixel(fDesc.fConfig) * 8;
75 size *= colorBits;
/external/skia/src/gpu/
H A DGrRenderTarget.cpp67 size_t colorBits; local
69 colorBits = 32; // don't know, make a guess
71 colorBits = GrBytesPerPixel(fDesc.fConfig);
75 size *= colorBits;
/external/qemu/distrib/sdl-1.2.15/src/video/quartz/
H A DSDL_QuartzGL.m70 int colorBits = bpp;
83 else if ( colorBits != device_bpp ) {
85 colorBits = device_bpp;
89 attr[i++] = colorBits;
/external/deqp/modules/egl/
H A DteglRenderCase.cpp364 tcu::RGBA colorBits,
368 filters << (eglu::ConfigColorBits() == colorBits) << (eglu::ConfigSurfaceType() & surfaceType);
388 tcu::RGBA colorBits)
390 addRenderConfigIdSet(configSets, configInfos, baseFilters, (string(name) + "_window").c_str(), colorBits, EGL_WINDOW_BIT);
391 addRenderConfigIdSet(configSets, configInfos, baseFilters, (string(name) + "_pixmap").c_str(), colorBits, EGL_PIXMAP_BIT);
392 addRenderConfigIdSet(configSets, configInfos, baseFilters, (string(name) + "_pbuffer").c_str(), colorBits, EGL_PBUFFER_BIT);
359 addRenderConfigIdSet( vector<RenderConfigIdSet>& configSets, const vector<eglu::ConfigInfo>& configInfos, const eglu::FilterList& baseFilters, const char* name, tcu::RGBA colorBits, EGLint surfaceType) argument
383 addRenderConfigIdSet( vector<RenderConfigIdSet>& configSets, const vector<eglu::ConfigInfo>& configInfos, const eglu::FilterList& baseFilters, const char* name, tcu::RGBA colorBits) argument
H A DteglRenderTests.cpp296 tcu::TextureFormat getColorFormat (const tcu::PixelFormat& colorBits) argument
300 DE_ASSERT(de::inBounds(colorBits.redBits, 0, 0xff) &&
301 de::inBounds(colorBits.greenBits, 0, 0xff) &&
302 de::inBounds(colorBits.blueBits, 0, 0xff) &&
303 de::inBounds(colorBits.alphaBits, 0, 0xff));
308 switch (PACK_FMT(colorBits.redBits, colorBits.greenBits, colorBits.blueBits, colorBits.alphaBits))
346 void renderReference (const tcu::PixelBufferAccess& dst, const vector<DrawPrimitiveOp>& drawOps, const tcu::PixelFormat& colorBits, cons argument
[all...]
/external/chromium_org/third_party/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);
/external/chromium_org/third_party/mesa/src/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/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/gles3/functional/
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;
H A Des3fTextureWrapTests.cpp334 const tcu::IVec4 colorBits = tcu::max(getBitsVec(pixelFormat) - (isNearestOnly && !isSRGB ? 1 : 2), tcu::IVec4(0)); local
340 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.cpp1481 const IVec4 colorBits = tcu::max(gls::TextureTestUtil::getBitsVec(pixelFormat) - 1, tcu::IVec4(0)); local
1512 lookupPrec.colorThreshold = tcu::computeFixedPointThreshold(colorBits);
/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/framework/opengl/simplereference/
H A DsglrReferenceContext.hpp586 ReferenceContextBuffers (const tcu::PixelFormat& colorBits, int depthBits, int stencilBits, int width, int height, int samples = 1);
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);

Completed in 4940 milliseconds