Home
last modified time | relevance | path

Searched refs:sampleCounts (Results 1 – 14 of 14) sorted by relevance

/external/deqp/modules/gles3/functional/
Des3fInternalFormatQueryTests.cpp58 StateQueryMemoryWriteGuard<GLint> sampleCounts; in test() local
59 glGetInternalformativ(GL_RENDERBUFFER, m_internalFormat, GL_NUM_SAMPLE_COUNTS, 1, &sampleCounts); in test()
62 if (!sampleCounts.verifyValidity(m_testCtx)) in test()
65 …m_testCtx.getLog() << TestLog::Message << "// sample counts is " << sampleCounts << TestLog::EndMe… in test()
67 if (sampleCounts == 0) in test()
71 samples.resize(sampleCounts, -1); in test()
72 glGetInternalformativ(GL_RENDERBUFFER, m_internalFormat, GL_SAMPLES, sampleCounts, &samples[0]); in test()
138 StateQueryMemoryWriteGuard<GLint> sampleCounts; in test() local
139 glGetInternalformativ(GL_RENDERBUFFER, m_internalFormat, GL_NUM_SAMPLE_COUNTS, 1, &sampleCounts); in test()
142 if (!sampleCounts.verifyValidity(m_testCtx)) in test()
Des3fFboTestCase.cpp328 std::vector<int> sampleCounts; in querySampleCounts() local
334 sampleCounts.resize(numSampleCounts); in querySampleCounts()
335 …formativ(GL_RENDERBUFFER, format, GL_SAMPLES, (glw::GLsizei)sampleCounts.size(), &sampleCounts[0]); in querySampleCounts()
340 return sampleCounts; in querySampleCounts()
Des3fFboMultisampleTests.cpp299 static const int sampleCounts[] = { 2, 4, 8 }; in init() local
301 for (int sampleCntNdx = 0; sampleCntNdx < DE_LENGTH_OF_ARRAY(sampleCounts); sampleCntNdx++) in init()
303 int samples = sampleCounts[sampleCntNdx]; in init()
/external/chromium_org/third_party/skia/tests/
DGpuDrawPathTest.cpp54 static const int sampleCounts[] = { 0, 4, 16 }; in DEF_GPUTEST() local
56 for (size_t i = 0; i < SK_ARRAY_COUNT(sampleCounts); ++i) { in DEF_GPUTEST()
60 sampleCounts[i], NULL)); in DEF_GPUTEST()
/external/skia/tests/
DGpuDrawPathTest.cpp54 static const int sampleCounts[] = { 0, 4, 16 }; in DEF_GPUTEST() local
56 for (size_t i = 0; i < SK_ARRAY_COUNT(sampleCounts); ++i) { in DEF_GPUTEST()
65 desc.fSampleCnt = sampleCounts[i]; in DEF_GPUTEST()
/external/deqp/modules/gles31/functional/
Des31fFboTestCase.cpp333 std::vector<int> sampleCounts; in querySampleCounts() local
339 sampleCounts.resize(numSampleCounts); in querySampleCounts()
340 …formativ(GL_RENDERBUFFER, format, GL_SAMPLES, (glw::GLsizei)sampleCounts.size(), &sampleCounts[0]); in querySampleCounts()
345 return sampleCounts; in querySampleCounts()
Des31fShaderTextureSizeTests.cpp506 static const int sampleCounts[] = { 1, 4 }; in init() local
510 for (int sampleCountNdx = 0; sampleCountNdx < DE_LENGTH_OF_ARRAY(sampleCounts); ++sampleCountNdx) in init()
512 …const std::string name = std::string() + "samples_" + de::toString(sampleCounts[sampleCountNdx]) +… in init()
513 …const std::string desc = std::string() + "samples count = " + de::toString(sampleCounts[sampleCoun… in init()
515 …ntext, name.c_str(), desc.c_str(), samplerTypes[samplerTypeNdx].type, sampleCounts[sampleCountNdx]… in init()
Des31fTextureMultisampleTests.cpp2038 static const int sampleCounts[] = { 1, 2, 3, 4, 8, 10, 12, 13, 16, 64 }; in init() local
2057 for (int sampleNdx = 0; sampleNdx < DE_LENGTH_OF_ARRAY(sampleCounts); ++sampleNdx) in init()
2059 …tcu::TestCaseGroup(m_testCtx, (std::string("samples_") + de::toString(sampleCounts[sampleNdx])).c_… in init()
2063 …sRasterizationTest(m_context, "sample_position", "test SAMPLE_POSITION", sampleCounts[sampleNdx])); in init()
2066 …t, "sample_mask_only", "Test with SampleMask only", sampleCounts[sampleNdx], Sam… in init()
2067 …_to_coverage", "Test with SampleMask and alpha to coverage", sampleCounts[sampleNdx], Sam… in init()
2068 …ple_coverage", "Test with SampleMask and sample coverage", sampleCounts[sampleNdx], Sam… in init()
2069 …age", "Test with SampleMask, sample coverage, and alpha to coverage", sampleCounts[sampleNdx], Sam… in init()
2072 …s", "Test with SampleMask, set higher bits than sample count", sampleCounts[sampleNdx], Sam… in init()
2076 …") + textureTypes[typeNdx].name).c_str(), textureTypes[typeNdx].name, sampleCounts[sampleNdx], tex… in init()
/external/chromium_org/third_party/angle/src/libGLESv2/
DCaps.cpp23 sampleCounts() in TextureCaps()
29 return !sampleCounts.empty() ? *sampleCounts.rbegin() : 0; in getMaxSamples()
39 for (SupportedSampleSet::const_iterator i = sampleCounts.begin(); i != sampleCounts.end(); i++) in getNearestSamples()
DCaps.h35 SupportedSampleSet sampleCounts; member
DContext.cpp2273 formatCaps.sampleCounts.clear(); in initCaps()
DlibGLESv2.cpp8242 *params = formatCaps.sampleCounts.size(); in glGetInternalformativ()
8247 …std::copy_n(formatCaps.sampleCounts.rbegin(), std::min<size_t>(bufSize, formatCaps.sampleCounts.si… in glGetInternalformativ()
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/d3d9/
Drenderer9_utils.cpp294 textureCaps.sampleCounts.insert(1); in GenerateTextureFormatCaps()
302 textureCaps.sampleCounts.insert(i); in GenerateTextureFormatCaps()
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/d3d11/
Drenderer11_utils.cpp259 textureCaps.sampleCounts.insert(sampleCount); in GenerateTextureFormatCaps()