Lines Matching refs:FormatSamplesCase

41 class FormatSamplesCase : public TestCase
51 FormatSamplesCase (Context& ctx, const char* name, const char* desc, glw::GLenum texTarget, glw::GLenum internalFormat, FormatType type);
61 FormatSamplesCase::FormatSamplesCase (Context& ctx, const char* name, const char* desc, glw::GLenum target, glw::GLenum internalFormat, FormatType type)
72 void FormatSamplesCase::init (void)
88 FormatSamplesCase::IterateResult FormatSamplesCase::iterate (void)
380 FormatSamplesCase::FormatType type;
384 { "r8", GL_R8, FormatSamplesCase::FORMAT_COLOR },
385 { "rg8", GL_RG8, FormatSamplesCase::FORMAT_COLOR },
386 { "rgb8", GL_RGB8, FormatSamplesCase::FORMAT_COLOR },
387 { "rgb565", GL_RGB565, FormatSamplesCase::FORMAT_COLOR },
388 { "rgba4", GL_RGBA4, FormatSamplesCase::FORMAT_COLOR },
389 { "rgb5_a1", GL_RGB5_A1, FormatSamplesCase::FORMAT_COLOR },
390 { "rgba8", GL_RGBA8, FormatSamplesCase::FORMAT_COLOR },
391 { "rgb10_a2", GL_RGB10_A2, FormatSamplesCase::FORMAT_COLOR },
392 { "rgb10_a2ui", GL_RGB10_A2UI, FormatSamplesCase::FORMAT_INT },
393 { "srgb8_alpha8", GL_SRGB8_ALPHA8, FormatSamplesCase::FORMAT_COLOR },
394 { "r8i", GL_R8I, FormatSamplesCase::FORMAT_INT },
395 { "r8ui", GL_R8UI, FormatSamplesCase::FORMAT_INT },
396 { "r16i", GL_R16I, FormatSamplesCase::FORMAT_INT },
397 { "r16ui", GL_R16UI, FormatSamplesCase::FORMAT_INT },
398 { "r32i", GL_R32I, FormatSamplesCase::FORMAT_INT },
399 { "r32ui", GL_R32UI, FormatSamplesCase::FORMAT_INT },
400 { "rg8i", GL_RG8I, FormatSamplesCase::FORMAT_INT },
401 { "rg8ui", GL_RG8UI, FormatSamplesCase::FORMAT_INT },
402 { "rg16i", GL_RG16I, FormatSamplesCase::FORMAT_INT },
403 { "rg16ui", GL_RG16UI, FormatSamplesCase::FORMAT_INT },
404 { "rg32i", GL_RG32I, FormatSamplesCase::FORMAT_INT },
405 { "rg32ui", GL_RG32UI, FormatSamplesCase::FORMAT_INT },
406 { "rgba8i", GL_RGBA8I, FormatSamplesCase::FORMAT_INT },
407 { "rgba8ui", GL_RGBA8UI, FormatSamplesCase::FORMAT_INT },
408 { "rgba16i", GL_RGBA16I, FormatSamplesCase::FORMAT_INT },
409 { "rgba16ui", GL_RGBA16UI, FormatSamplesCase::FORMAT_INT },
410 { "rgba32i", GL_RGBA32I, FormatSamplesCase::FORMAT_INT },
411 { "rgba32ui", GL_RGBA32UI, FormatSamplesCase::FORMAT_INT },
414 { "r16f", GL_R16F, FormatSamplesCase::FORMAT_COLOR },
415 { "rg16f", GL_RG16F, FormatSamplesCase::FORMAT_COLOR },
416 { "rgba16f", GL_RGBA16F, FormatSamplesCase::FORMAT_COLOR },
417 { "r32f", GL_R32F, FormatSamplesCase::FORMAT_INT },
418 { "rg32f", GL_RG32F, FormatSamplesCase::FORMAT_INT },
419 { "rgba32f", GL_RGBA32F, FormatSamplesCase::FORMAT_INT },
420 { "r11f_g11f_b10f", GL_R11F_G11F_B10F, FormatSamplesCase::FORMAT_COLOR },
423 { "depth_component16", GL_DEPTH_COMPONENT16, FormatSamplesCase::FORMAT_DEPTH_STENCIL },
424 { "depth_component24", GL_DEPTH_COMPONENT24, FormatSamplesCase::FORMAT_DEPTH_STENCIL },
425 { "depth_component32f", GL_DEPTH_COMPONENT32F, FormatSamplesCase::FORMAT_DEPTH_STENCIL },
426 { "depth24_stencil8", GL_DEPTH24_STENCIL8, FormatSamplesCase::FORMAT_DEPTH_STENCIL },
427 { "depth32f_stencil8", GL_DEPTH32F_STENCIL8, FormatSamplesCase::FORMAT_DEPTH_STENCIL },
430 { "stencil_index8", GL_STENCIL_INDEX8, FormatSamplesCase::FORMAT_DEPTH_STENCIL }
458 group->addChild(new FormatSamplesCase(m_context, name.c_str(), desc.c_str(), texTarget, internalFormats[caseNdx].format, internalFormats[caseNdx].type));