Home
last modified time | relevance | path

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

/external/deqp/modules/gles3/functional/
Des3fPixelBufferObjectTests.cpp90 de::Random m_random; member in deqp::gles3::Functional::__anon07022c120111::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.cpp243 deRandom m_random; member in vkt::api::InvarianceInstance
250 deRandom_init(&m_random, seed); in InvarianceInstance()
579 if (deRandom_getBool(&m_random)) in iterate()
580 objs[i] = new BufferAllocator(m_random, isDedicatedAllocationSupported, memoryTypes); in iterate()
582 …objs[i] = new ImageAllocator(m_random, isDedicatedAllocationSupported, linearFormats, optimalForma… 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.hpp182 de::Random& getRandom (void) { return m_random; } in getRandom()
195 de::Random m_random; member in tcu::ThreadUtil::Thread
DtcuThreadUtil.cpp167 : m_random (seed) in Thread()
/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()