Searched defs:PACK_FMT (Results 1 - 4 of 4) sorted by relevance
/external/deqp/framework/opengl/ |
H A D | gluTextureUtil.cpp | 145 #define PACK_FMT(ORDER, TYPE) ((int(ORDER) << 16) | int(TYPE)) macro 146 #define FMT_CASE(ORDER, TYPE) PACK_FMT(tcu::TextureFormat::ORDER, tcu::TextureFormat::TYPE) 148 switch (PACK_FMT(texFormat.order, texFormat.type))
|
/external/deqp/external/vulkancts/framework/vulkan/ |
H A D | vkImageUtil.cpp | 139 #define PACK_FMT(ORDER, TYPE) ((int(ORDER) << 16) | int(TYPE)) macro 140 #define FMT_CASE(ORDER, TYPE) PACK_FMT(tcu::TextureFormat::ORDER, tcu::TextureFormat::TYPE) 145 switch (PACK_FMT(format.order, format.type)) 266 #undef PACK_FMT macro
|
/external/deqp/modules/gles3/functional/ |
H A D | es3fFboInvalidateTests.cpp | 101 #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/modules/egl/ |
H A D | teglRenderTests.cpp | 341 #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
|
Completed in 304 milliseconds