Home | History | Annotate | Download | only in egl

Lines Matching refs:TextureFormat

296 tcu::TextureFormat getColorFormat (const tcu::PixelFormat& colorBits)
298 using tcu::TextureFormat;
310 case PACK_FMT(8,8,8,8): return TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8);
311 case PACK_FMT(8,8,8,0): return TextureFormat(TextureFormat::RGB, TextureFormat::UNORM_INT8);
312 case PACK_FMT(4,4,4,4): return TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_SHORT_4444);
313 case PACK_FMT(5,5,5,1): return TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_SHORT_5551);
314 case PACK_FMT(5,6,5,0): return TextureFormat(TextureFormat::RGB, TextureFormat::UNORM_SHORT_565);
317 default: return TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8);
323 tcu::TextureFormat getDepthFormat (const int depthBits)
327 case 0: return tcu::TextureFormat();
328 case 8: return tcu::TextureFormat(tcu::TextureFormat::D, tcu::TextureFormat::UNORM_INT8);
329 case 16: return tcu::TextureFormat(tcu::TextureFormat::D, tcu::TextureFormat::UNORM_INT16);
330 case 24: return tcu::TextureFormat(tcu::TextureFormat::D, tcu::TextureFormat::UNSIGNED_INT_24_8);
332 default: return tcu::TextureFormat(tcu::TextureFormat::D, tcu::TextureFormat::FLOAT);
336 tcu::TextureFormat getStencilFormat (int stencilBits)
340 case 0: return tcu::TextureFormat();
342 default: return tcu::TextureFormat(tcu::TextureFormat::S, tcu::TextureFormat::UNSIGNED_INT8);