Home
last modified time | relevance | path

Searched refs:m_random (Results 1 – 13 of 13) sorted by relevance

/external/deqp/modules/gles3/functional/
Des3fPixelBufferObjectTests.cpp90 de::Random m_random; member in deqp::gles3::Functional::__anon93b46c700111::ReadPixelsTest
108 , m_random (deStringHash(spec.name.c_str())) in ReadPixelsTest()
423 int clearCount = m_random.getInt(minClearCount, maxClearCount); in iterate()
427 int clearX = m_random.getInt(0, width - minClearSize); in iterate()
428 int clearY = m_random.getInt(0, height - minClearSize); in iterate()
430 int clearWidth = m_random.getInt(minClearSize, width - clearX); in iterate()
431 int clearHeight = m_random.getInt(minClearSize, height - clearY); in iterate()
433 float clearRed = m_colorScale * m_random.getFloat(); in iterate()
434 float clearGreen = m_colorScale * m_random.getFloat(); in iterate()
435 float clearBlue = m_colorScale * m_random.getFloat(); in iterate()
[all …]
Des3fVertexArrayObjectTests.cpp161 de::Random m_random; member in deqp::gles3::Functional::VertexArrayObjectTest
183 , m_random (deStringHash(name)) in VertexArrayObjectTest()
289 GLuint v = (GLuint)m_random.getInt(m_spec.indexRangeMin, m_spec.indexRangeMax); in generateIndices()
296 GLushort v = (GLushort)m_random.getInt(m_spec.indexRangeMin, m_spec.indexRangeMax); in generateIndices()
303 GLubyte v = (GLubyte)m_random.getInt(m_spec.indexRangeMin, m_spec.indexRangeMax); in generateIndices()
355 …float v = buffer.floatRangeMin + (buffer.floatRangeMax - buffer.floatRangeMin) * m_random.getFloat… in createRandomBufferData()
363 GLint v = m_random.getInt(buffer.intRangeMin, buffer.intRangeMax); in createRandomBufferData()
371 GLuint v = m_random.getInt(buffer.intRangeMin, buffer.intRangeMax); in createRandomBufferData()
379 GLshort v = (GLshort)m_random.getInt(buffer.intRangeMin, buffer.intRangeMax); in createRandomBufferData()
387 GLushort v = (GLushort)m_random.getInt(buffer.intRangeMin, buffer.intRangeMax); in createRandomBufferData()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiMemoryRequirementInvarianceTests.cpp237 deRandom m_random; member in vkt::api::InvarianceInstance
244 deRandom_init(&m_random, seed); in InvarianceInstance()
579 if (deRandom_getBool(&m_random)) in iterate()
580 …objs[i] = de::MovePtr<IObjectAllocator>(new BufferAllocator(m_random, isDedicatedAllocationSupport… in iterate()
582 …objs[i] = de::MovePtr<IObjectAllocator>(new ImageAllocator(m_random, isDedicatedAllocationSupporte… in iterate()
597 int a = deRandom_getUint32(&m_random) % testCycles; in iterate()
598 int b = deRandom_getUint32(&m_random) % testCycles; in iterate()
/external/deqp/framework/randomshaders/
DrsgGeneratorState.hpp59 de::Random& getRandom (void) { return m_random; } in getRandom()
90 de::Random& m_random; member in rsg::GeneratorState
DrsgGeneratorState.cpp33 , m_random (random) in GeneratorState()
/external/deqp/modules/glshared/
DglsSamplerObjectTest.hpp95 de::Random m_random; member in deqp::gls::TextureSamplerTest
155 de::Random m_random; member in deqp::gls::MultiTextureSamplerTest
DglsSamplerObjectTest.cpp79 , m_random (deStringHash(spec.name)) in TextureSamplerTest()
562 int x = m_random.getInt(0, m_renderCtx.getRenderTarget().getWidth() - VIEWPORT_WIDTH); in iterate()
563 int y = m_random.getInt(0, m_renderCtx.getRenderTarget().getHeight() - VIEWPORT_HEIGHT); in iterate()
591 , m_random (deStringHash(spec.name)) in MultiTextureSamplerTest()
1153 int x = m_random.getInt(0, m_renderCtx.getRenderTarget().getWidth() - VIEWPORT_WIDTH); in iterate()
1154 int y = m_random.getInt(0, m_renderCtx.getRenderTarget().getHeight() - VIEWPORT_HEIGHT); in iterate()
/external/deqp/framework/common/
DtcuThreadUtil.hpp183 de::Random& getRandom (void) { return m_random; } in getRandom()
196 de::Random m_random; member in tcu::ThreadUtil::Thread
DtcuThreadUtil.cpp167 : m_random (seed) in Thread()
/external/deqp/external/vulkancts/modules/vulkan/binding_model/
DvktBindingDescriptorUpdateTests.cpp745 deRandom m_random; member in vkt::BindingModel::__anon40634e450111::RandomDescriptorUpdateTestInstance
795 deRandom_init(&m_random, 0); in RandomDescriptorUpdateTestInstance()
1126 if (deRandom_getUint32(&m_random) % 10 == 0) in iterate()
1127 numWrites = deRandom_getUint32(&m_random) % 20 + 1; in iterate()
1136 bool rare = (deRandom_getUint32(&m_random) % 100u >= (firstHalf ? 98u : 80u)); in iterate()
1148 descWrite.offset = (deRandom_getUint32(&m_random) % kNumOffsets) * 256u; in iterate()
1150 descWrite.bufferId = deRandom_getUint32(&m_random) % kNumBuffers; in iterate()
1155 DescriptorMutation mutation = {i == 0 ? true : deRandom_getBool(&m_random), in iterate()
1156 deRandom_getUint32(&m_random) % 10u, writes}; in iterate()
1189 descWrite.offset = (deRandom_getUint32(&m_random) % kNumOffsets) * 256u; in iterate()
[all …]
/external/deqp/modules/egl/
DteglGLES2SharingThreadedTests.cpp2083 de::Random m_random; member in deqp::egl::GLES2SharingRandomTest
2117 , m_random (deStringHash(name)) in GLES2SharingRandomTest()
2276 int threadNdx = m_random.getUint32() % (deUint32)m_threads.size(); in addRandomOperation()
2324 …destroyableBufferNdx = m_random.getUint32() % m_threads[threadNdx]->context->resourceManager->getB… in addRandomOperation()
2327 …destroyableTextureNdx = m_random.getUint32() % m_threads[threadNdx]->context->resourceManager->get… in addRandomOperation()
2330 …destroyableShaderNdx = m_random.getUint32() % m_threads[threadNdx]->context->resourceManager->getS… in addRandomOperation()
2333 …destroyableProgramNdx = m_random.getUint32() % m_threads[threadNdx]->context->resourceManager->get… in addRandomOperation()
2344 else if (m_random.getBool()) in addRandomOperation()
2358 else if (m_random.getBool()) in addRandomOperation()
2365 else if (m_random.getBool()) in addRandomOperation()
[all …]
DteglGLES2SharingTests.cpp106 de::Random m_random; member in deqp::egl::GLES2SharingTest
118 , m_random (deStringHash(name)) in GLES2SharingTest()
322 m_buffer.push_back((GLubyte)m_random.getInt(0, 255)); in createResource()
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmTrinaryMinMaxTests.cpp264 de::Random m_random; member in vkt::SpirVAssembly::__anon13c548fd0111::OperationManager
313 , m_random {params.randomSeed}
339 m_chosenGenerator(m_random, reinterpret_cast<void*>(compPtr)); in genInputBuffer()