/external/chromium_org/third_party/skia/src/gpu/ |
H A D | GrRenderTarget.cpp | 67 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 D | GrRenderTarget.cpp | 67 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 D | SDL_QuartzGL.m | 70 int colorBits = bpp; 83 else if ( colorBits != device_bpp ) { 85 colorBits = device_bpp; 89 attr[i++] = colorBits;
|
/external/deqp/modules/egl/ |
H A D | teglRenderCase.cpp | 364 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 D | teglRenderTests.cpp | 296 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 D | SkTextureCompressor_ASTC.cpp | 1187 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 D | s_renderbuffer.c | 444 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 D | s_renderbuffer.c | 444 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 D | es3fTextureFilteringTests.cpp | 300 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 D | es3fTextureWrapTests.cpp | 334 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 D | es31fTextureFilteringTests.cpp | 377 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 D | es31fTextureGatherTests.cpp | 1481 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 D | es2fTextureFilteringTests.cpp | 300 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 D | sglrReferenceContext.hpp | 586 ReferenceContextBuffers (const tcu::PixelFormat& colorBits, int depthBits, int stencilBits, int width, int height, int samples = 1);
|
H A D | sglrReferenceContext.cpp | 290 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);
|