Lines Matching refs:samples
317 int samples;
319 FboSpec(int width_, int height_, int samples_) : width(width_), height(height_), samples(samples_){}
366 const int samples = getSamples();
372 gl.framebufferParameteri(GL_DRAW_FRAMEBUFFER, GL_FRAMEBUFFER_DEFAULT_SAMPLES, samples);
374 log << TestLog::Message << "Verifying " << width << "x" << height << " framebuffer with " << samples << "x multisampling" << TestLog::EndMessage;
418 if (m_spec.samples != USE_MAXIMUM)
419 return m_spec.samples;
423 GLint samples = 0;
425 gl.getIntegerv(GL_MAX_FRAMEBUFFER_SAMPLES, &samples);
427 return samples;
474 gl.framebufferParameteri(GL_DRAW_FRAMEBUFFER, GL_FRAMEBUFFER_DEFAULT_SAMPLES, m_defaultSpec.samples);
478 gl.renderbufferStorageMultisample(GL_RENDERBUFFER, m_attachmentSpec.samples, GL_RGBA8, m_attachmentSpec.width, m_attachmentSpec.height);
481 log << TestLog::Message << "Verifying " << m_attachmentSpec.width << "x" << m_attachmentSpec.height << " framebuffer with " << m_attachmentSpec.samples << "x multisampling"
482 << " and defaults set to " << m_defaultSpec.width << "x" << m_defaultSpec.height << " with " << m_defaultSpec.samples << "x multisampling" << TestLog::EndMessage;
580 for (int samples = 0; samples <= maxSamples; samples++)
582 const FboSpec spec (128, 128, samples);
585 name << "samples" << samples;
602 const int samples = rng.getInt(0, maxSamples);
603 const FboSpec spec (width, height, samples);
634 baseSpecName << baseSpec.width << "x" << baseSpec.height << "ms" << baseSpec.samples;
635 altSpecName << altSpec.width << "x" << altSpec.height << "ms" << altSpec.samples;
653 group->addChild(new SizeCase(testCtx, renderCtx, "samples", "Maximum samples", FboSpec(128, 128, SizeCase::USE_MAXIMUM)));
654 group->addChild(new SizeCase(testCtx, renderCtx, "all", "Maximum size & samples", FboSpec(SizeCase::USE_MAXIMUM, SizeCase::USE_MAXIMUM, SizeCase::USE_MAXIMUM)));