Lines Matching defs:const
67 bool checkFramebufferSize (TestLog& log, const glu::RenderContext& renderCtx, GLuint framebuffer, const IVec2& size)
69 const glw::Functions& gl = renderCtx.getFunctions();
71 const char* const vertexSource = "#version 310 es\n"
78 const char* const fragmentSource = "#version 310 es\n"
87 const glu::ShaderProgram program (renderCtx, glu::makeVtxFragSources(vertexSource, fragmentSource));
112 const float data[] =
174 bool checkFramebufferRenderable (TestLog& log, const glu::RenderContext& renderCtx, GLuint framebuffer, const IVec2& size)
176 const glw::Functions& gl = renderCtx.getFunctions();
178 const char* const vertexSource = "#version 310 es\n"
185 const char* const fragmentSource = "#version 310 es\n"
192 const glu::ShaderProgram program (renderCtx, glu::makeVtxFragSources(vertexSource, fragmentSource));
212 const float data[] =
269 const glu::RenderContext& renderCtx,
270 const char* name,
271 const char* desc);
276 const glu::RenderContext& m_renderCtx;
281 const glu::RenderContext& renderCtx,
282 const char* name,
283 const char* desc)
291 const glw::Functions& gl = m_renderCtx.getFunctions();
327 const glu::RenderContext& renderCtx,
328 const char* name,
329 const char* desc,
330 const FboSpec& spec);
340 int getWidth (void) const;
341 int getHeight (void) const;
342 int getSamples (void) const;
344 const glu::RenderContext& m_renderCtx;
346 const FboSpec m_spec;
350 const glu::RenderContext& renderCtx,
351 const char* name,
352 const char* desc,
353 const FboSpec& spec)
362 const glw::Functions& gl = m_renderCtx.getFunctions();
365 const int width = getWidth();
366 const int height = getHeight();
414 int SizeCase::getWidth (void) const
420 const glw::Functions& gl = m_renderCtx.getFunctions();
429 int SizeCase::getHeight (void) const
435 const glw::Functions& gl = m_renderCtx.getFunctions();
444 int SizeCase::getSamples (void) const
450 const glw::Functions& gl = m_renderCtx.getFunctions();
463 const glu::RenderContext& renderCtx,
464 const char* name,
465 const char* desc,
466 const FboSpec& defaultSpec,
467 const FboSpec& attachmentSpec);
473 const glu::RenderContext& m_renderCtx;
474 const FboSpec m_defaultSpec;
475 const FboSpec m_attachmentSpec;
479 const glu::RenderContext& renderCtx,
480 const char* name,
481 const char* desc,
482 const FboSpec& defaultSpec,
483 const FboSpec& attachmentSpec)
493 const glw::Functions& gl = m_renderCtx.getFunctions();
528 const glu::RenderContext& renderCtx = context.getRenderContext();
531 const int maxWidth = 2048; // MAX_FRAMEBUFFER_WIDTH in ES 3.1
532 const int maxHeight = 2048; // MAX_FRAMEBUFFER_HEIGHT in ES 3.1
533 const int maxSamples = 4;
535 tcu::TestCaseGroup* const root = new tcu::TestCaseGroup(testCtx, "no_attachments", "Framebuffer without attachments");
539 tcu::TestCaseGroup* const group = new tcu::TestCaseGroup(testCtx, "size", "Basic functionality tests with varying default size");
547 const FboSpec spec (width, height, 0);
559 const FboSpec specs[] =
587 tcu::TestCaseGroup* const group = new tcu::TestCaseGroup(testCtx, "npot_size", "Basic functionality with Non-power-of-two size");
593 const FboSpec& spec = specs[caseNdx];
604 tcu::TestCaseGroup* const group = new tcu::TestCaseGroup(testCtx, "multisample", "Basic functionality with multisampled fbo");
610 const FboSpec spec (128, 128, samples);
621 tcu::TestCaseGroup* const group = new tcu::TestCaseGroup(testCtx, "random", "Randomized size & multisampling");
628 const int width = rng.getInt(1, maxWidth);
629 const int height = rng.getInt(1, maxHeight);
630 const int samples = rng.getInt(0, maxSamples);
631 const FboSpec spec (width, height, samples);
632 const string name = de::toString(caseNdx);
640 tcu::TestCaseGroup* const group = new tcu::TestCaseGroup(testCtx, "interaction", "Interaction of default parameters with normal fbo");
644 const FboSpec specs[][2] =
658 const FboSpec& baseSpec = specs[specNdx][0];
659 const FboSpec& altSpec = specs[specNdx][1];
666 const string name = baseSpecName.str() + "_default_" + altSpecName.str();
675 tcu::TestCaseGroup* const group = new tcu::TestCaseGroup(testCtx, "maximums", "Maximum dimensions");
690 TestCaseGroup* const group = new TestCaseGroup(context, "completeness", "Completeness tests");