Lines Matching refs:samples
318 int samples;
320 FboSpec(int width_, int height_, int samples_) : width(width_), height(height_), samples(samples_){}
367 const int samples = getSamples();
373 gl.framebufferParameteri(GL_DRAW_FRAMEBUFFER, GL_FRAMEBUFFER_DEFAULT_SAMPLES, samples);
375 log << TestLog::Message << "Verifying " << width << "x" << height << " framebuffer with " << samples << "x multisampling" << TestLog::EndMessage;
419 if (m_spec.samples != USE_MAXIMUM)
420 return m_spec.samples;
424 GLint samples = 0;
426 gl.getIntegerv(GL_MAX_FRAMEBUFFER_SAMPLES, &samples);
428 return samples;
475 gl.framebufferParameteri(GL_DRAW_FRAMEBUFFER, GL_FRAMEBUFFER_DEFAULT_SAMPLES, m_defaultSpec.samples);
479 gl.renderbufferStorageMultisample(GL_RENDERBUFFER, m_attachmentSpec.samples, GL_RGBA8, m_attachmentSpec.width, m_attachmentSpec.height);
482 log << TestLog::Message << "Verifying " << m_attachmentSpec.width << "x" << m_attachmentSpec.height << " framebuffer with " << m_attachmentSpec.samples << "x multisampling"
483 << " and defaults set to " << m_defaultSpec.width << "x" << m_defaultSpec.height << " with " << m_defaultSpec.samples << "x multisampling" << TestLog::EndMessage;
581 for (int samples = 0; samples <= maxSamples; samples++)
583 const FboSpec spec (128, 128, samples);
586 name << "samples" << samples;
603 const int samples = rng.getInt(0, maxSamples);
604 const FboSpec spec (width, height, samples);
635 baseSpecName << baseSpec.width << "x" << baseSpec.height << "ms" << baseSpec.samples;
636 altSpecName << altSpec.width << "x" << altSpec.height << "ms" << altSpec.samples;
654 group->addChild(new SizeCase(testCtx, renderCtx, "samples", "Maximum samples", FboSpec(128, 128, SizeCase::USE_MAXIMUM)));
655 group->addChild(new SizeCase(testCtx, renderCtx, "all", "Maximum size & samples", FboSpec(SizeCase::USE_MAXIMUM, SizeCase::USE_MAXIMUM, SizeCase::USE_MAXIMUM)));