Home
last modified time | relevance | path

Searched refs:PACK_FMT (Results 1 – 4 of 4) sorted by relevance

/external/deqp/modules/egl/
DteglRenderTests.cpp341 #define PACK_FMT(R, G, B, A) (((R) << 24) | ((G) << 16) | ((B) << 8) | (A)) in getColorFormat() macro
344 switch (PACK_FMT(colorBits.redBits, colorBits.greenBits, colorBits.blueBits, colorBits.alphaBits)) in getColorFormat()
346 case PACK_FMT(8,8,8,8): return TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8); in getColorFormat()
347 case PACK_FMT(8,8,8,0): return TextureFormat(TextureFormat::RGB, TextureFormat::UNORM_INT8); in getColorFormat()
348 …case PACK_FMT(4,4,4,4): return TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_SHORT_4444… in getColorFormat()
349 …case PACK_FMT(5,5,5,1): return TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_SHORT_5551… in getColorFormat()
350 case PACK_FMT(5,6,5,0): return TextureFormat(TextureFormat::RGB, TextureFormat::UNORM_SHORT_565); in getColorFormat()
356 #undef PACK_FMT in getColorFormat()
/external/deqp/modules/gles3/functional/
Des3fFboInvalidateTests.cpp101 #define PACK_FMT(R, G, B, A) (((R) << 24) | ((G) << 16) | ((B) << 8) | (A)) in getCompatibleColorFormat() macro
104 switch (PACK_FMT(pxFmt.redBits, pxFmt.greenBits, pxFmt.blueBits, pxFmt.alphaBits)) in getCompatibleColorFormat()
106 case PACK_FMT(8,8,8,8): return GL_RGBA8; in getCompatibleColorFormat()
107 case PACK_FMT(8,8,8,0): return GL_RGB8; in getCompatibleColorFormat()
108 case PACK_FMT(4,4,4,4): return GL_RGBA4; in getCompatibleColorFormat()
109 case PACK_FMT(5,5,5,1): return GL_RGB5_A1; in getCompatibleColorFormat()
110 case PACK_FMT(5,6,5,0): return GL_RGB565; in getCompatibleColorFormat()
114 #undef PACK_FMT in getCompatibleColorFormat()
/external/deqp/framework/opengl/
DgluTextureUtil.cpp145 #define PACK_FMT(ORDER, TYPE) ((int(ORDER) << 16) | int(TYPE)) in getInternalFormat() macro
146 #define FMT_CASE(ORDER, TYPE) PACK_FMT(tcu::TextureFormat::ORDER, tcu::TextureFormat::TYPE) in getInternalFormat()
148 switch (PACK_FMT(texFormat.order, texFormat.type)) in getInternalFormat()
/external/deqp/external/vulkancts/framework/vulkan/
DvkImageUtil.cpp1502 #define PACK_FMT(ORDER, TYPE) ((int(ORDER) << 16) | int(TYPE)) in mapTextureFormat() macro
1503 #define FMT_CASE(ORDER, TYPE) PACK_FMT(tcu::TextureFormat::ORDER, tcu::TextureFormat::TYPE) in mapTextureFormat()
1508 switch (PACK_FMT(format.order, format.type)) in mapTextureFormat()
1638 #undef PACK_FMT in mapTextureFormat()