Searched refs:PACK_FMT (Results 1 - 3 of 3) sorted by relevance

/external/deqp/modules/egl/
H A DteglRenderTests.cpp341 #define PACK_FMT(R, G, B, A) (((R) << 24) | ((G) << 16) | ((B) << 8) | (A)) macro
344 switch (PACK_FMT(colorBits.redBits, colorBits.greenBits, colorBits.blueBits, colorBits.alphaBits))
346 case PACK_FMT(8,8,8,8): return TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8);
347 case PACK_FMT(8,8,8,0): return TextureFormat(TextureFormat::RGB, TextureFormat::UNORM_INT8);
348 case PACK_FMT(4,4,4,4): return TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_SHORT_4444);
349 case PACK_FMT(5,5,5,1): return TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_SHORT_5551);
350 case PACK_FMT(5,6,5,0): return TextureFormat(TextureFormat::RGB, TextureFormat::UNORM_SHORT_565);
356 #undef PACK_FMT macro
/external/deqp/modules/gles3/functional/
H A Des3fFboInvalidateTests.cpp101 #define PACK_FMT(R, G, B, A) (((R) << 24) | ((G) << 16) | ((B) << 8) | (A)) macro
104 switch (PACK_FMT(pxFmt.redBits, pxFmt.greenBits, pxFmt.blueBits, pxFmt.alphaBits))
106 case PACK_FMT(8,8,8,8): return GL_RGBA8;
107 case PACK_FMT(8,8,8,0): return GL_RGB8;
108 case PACK_FMT(4,4,4,4): return GL_RGBA4;
109 case PACK_FMT(5,5,5,1): return GL_RGB5_A1;
110 case PACK_FMT(5,6,5,0): return GL_RGB565;
114 #undef PACK_FMT macro
/external/deqp/framework/opengl/
H A DgluTextureUtil.cpp144 #define PACK_FMT(ORDER, TYPE) ((int(ORDER) << 16) | int(TYPE)) macro
145 #define FMT_CASE(ORDER, TYPE) PACK_FMT(tcu::TextureFormat::ORDER, tcu::TextureFormat::TYPE)
147 switch (PACK_FMT(texFormat.order, texFormat.type))

Completed in 1920 milliseconds