Home | History | Annotate | Download | only in functional

Lines Matching refs:sampleCounts

58 		StateQueryMemoryWriteGuard<GLint> sampleCounts;
59 glGetInternalformativ(GL_RENDERBUFFER, m_internalFormat, GL_NUM_SAMPLE_COUNTS, 1, &sampleCounts);
62 if (!sampleCounts.verifyValidity(m_testCtx))
65 m_testCtx.getLog() << TestLog::Message << "// sample counts is " << sampleCounts << TestLog::EndMessage;
67 if (m_isIntegerInternalFormat && sampleCounts != 0)
71 m_testCtx.getLog() << TestLog::Message << "// ERROR: integer internal formats should have NUM_SAMPLE_COUNTS = 0; got " << sampleCounts << TestLog::EndMessage;
76 if (sampleCounts == 0)
80 samples.resize(sampleCounts, -1);
81 glGetInternalformativ(GL_RENDERBUFFER, m_internalFormat, GL_SAMPLES, sampleCounts, &samples[0]);
144 StateQueryMemoryWriteGuard<GLint> sampleCounts;
145 glGetInternalformativ(GL_RENDERBUFFER, m_internalFormat, GL_NUM_SAMPLE_COUNTS, 1, &sampleCounts);
148 if (!sampleCounts.verifyValidity(m_testCtx))