/external/deqp/framework/common/ |
H A D | tcuRandomValueIterator.hpp | 75 de::Random m_rnd; member in class:tcu::RandomValueIterator 82 : m_rnd (seed) 84 , m_curVal (numLeft > 0 ? getRandomValue<T>(m_rnd) : T()) 94 m_curVal = getRandomValue<T>(m_rnd); 110 return (m_numLeft == 0 && other.m_numLeft == 0) || (m_numLeft == other.m_numLeft && m_rnd == other.m_rnd); 116 return !(m_numLeft == 0 && other.m_numLeft == 0) && (m_numLeft != other.m_numLeft || m_rnd != other.m_rnd);
|
/external/deqp/framework/delibs/decpp/ |
H A D | deRandom.hpp | 41 Random (deUint32 seed) { deRandom_init(&m_rnd, seed); } 44 float getFloat (void) { return deRandom_getFloat(&m_rnd); } 45 double getDouble (void) { return deRandom_getDouble(&m_rnd); } 46 bool getBool (void) { return deRandom_getBool(&m_rnd) == DE_TRUE; } 53 deUint32 getUint32 (void) { return deRandom_getUint32(&m_rnd); } 54 deUint16 getUint16 (void) { return (deUint16)deRandom_getUint32(&m_rnd); } 55 deUint8 getUint8 (void) { return (deUint8)deRandom_getUint32(&m_rnd); } 74 deRandom m_rnd; member in class:de::Random
|
/external/deqp/modules/gles3/stress/ |
H A D | es3sSyncTests.cpp | 77 de::Random m_rnd; member in class:deqp::gles3::Stress::FenceSyncCase 88 , m_rnd (deStringHash(name)) 180 generateVertices (vertices, m_numSyncs, m_rnd); 200 m_rnd.shuffle(m_syncObjects.begin(), m_syncObjects.end());
|
H A D | es3sOcclusionQueryTests.cpp | 79 de::Random m_rnd; member in class:deqp::gles3::Stress::OcclusionQueryStressCase 94 , m_rnd (deStringHash(name)) 176 vertices[4*i ] = m_rnd.getFloat(-1.0f, 1.0f); 177 vertices[4*i + 1] = m_rnd.getFloat(-1.0f, 1.0f); 178 vertices[4*i + 2] = m_rnd.getFloat(0.0f, 1.0f); 188 int vtxNdx = m_rnd.getInt(0, NUM_GENERATED_VERTICES-1); 199 int vtxNdx = m_rnd.getInt(0, NUM_GENERATED_VERTICES-1);
|
/external/deqp/modules/gles3/functional/ |
H A D | es3fSyncTests.cpp | 86 de::Random m_rnd; member in class:deqp::gles3::Functional::FenceSyncCase 100 , m_rnd (deStringHash(name)) 192 generateVertices (vertices, m_numPrimitives, m_rnd);
|
H A D | es3fRasterizerDiscardTests.cpp | 104 de::Random m_rnd; member in class:deqp::gles3::Functional::RasterizerDiscardCase 118 , m_rnd (deStringHash(name)) 307 generateVertices (vertices, m_numPrimitives, m_rnd, m_drawMode);
|
H A D | es3fASTCDecompressionCases.cpp | 261 de::Random m_rnd; member in class:deqp::gles3::Functional::ASTCDecompressionCaseInternal::ASTCRenderer2D 280 , m_rnd (randomSeed) 333 const RandomViewport viewport (renderCtx.getRenderTarget(), textureWidth, textureHeight, m_rnd.getUint32());
|
H A D | es3fOcclusionQueryTests.cpp | 94 de::Random m_rnd; member in class:deqp::gles3::Functional::OcclusionQueryCase 110 , m_rnd (deStringHash(name)) 229 OccluderType type = occOptions[m_rnd.getInt(0, (int)occOptions.size()-1)]; // Choosing a random occluder type from available options 237 generateVertices(occluderVertices, 2.0f, 2.0f, m_numOccludersPerDraw, 3, m_rnd, m_occluderSize, 0.0f, 0.6f); // Generate vertices for occluding primitives 251 int scissorBoxX = m_rnd.getInt(-DEPTH_CLEAR_OFFSET, targetW); 252 int scissorBoxY = m_rnd.getInt(-DEPTH_CLEAR_OFFSET, targetH); 253 int scissorBoxW = m_rnd.getInt( DEPTH_CLEAR_OFFSET, targetW+DEPTH_CLEAR_OFFSET); 254 int scissorBoxH = m_rnd.getInt( DEPTH_CLEAR_OFFSET, targetH+DEPTH_CLEAR_OFFSET); 277 generateVertices(occluderVertices, 2.0f, 2.0f, m_numOccludersPerDraw, 3, m_rnd, m_occluderSize, 0.0f, 0.6f); 294 int scissorBoxX = m_rnd [all...] |
H A D | es3fShaderPrecisionTests.cpp | 227 de::Random m_rnd; member in class:deqp::gles3::Functional::ShaderFloatPrecisionCase 246 , m_rnd (deStringHash(name)) 386 const float in0 = m_rnd.getFloat(m_rangeA.x(), m_rangeA.y()); 387 const float in1 = m_rnd.getFloat(m_rangeB.x(), m_rangeB.y()); 479 de::Random m_rnd; member in class:deqp::gles3::Functional::ShaderIntPrecisionCase 499 , m_rnd (deStringHash(name)) 602 int in0 = deSignExtendTo32(((isMaxRangeA ? (int)m_rnd.getUint32() : m_rnd.getInt(m_rangeA.x(), m_rangeA.y())) & mask), m_bits); 603 int in1 = deSignExtendTo32(((isMaxRangeB ? (int)m_rnd.getUint32() : m_rnd 673 de::Random m_rnd; member in class:deqp::gles3::Functional::ShaderUintPrecisionCase [all...] |
H A D | es3fMultisampleTests.cpp | 249 de::Random m_rnd; member in class:deqp::gles3::Functional::MultisampleCase 270 , m_rnd (deStringHash(name)) 396 m_viewportX = m_rnd.getInt(0, m_renderWidth - m_viewportSize); 397 m_viewportY = m_rnd.getInt(0, m_renderHeight - m_viewportSize);
|
H A D | es3fShaderApiTests.cpp | 228 ConstantShaderGenerator (de::Random& rnd) : m_rnd(rnd) {} 236 de::Random m_rnd; member in class:deqp::gles3::Functional::__anon4352::ConstantShaderGenerator 243 const float value = m_rnd.getFloat(0.0f, 1.0f); 689 , m_rnd (deStringHash(getName()) ^ 0x4fb2337d) 735 m_rnd.shuffle(indices.begin(), indices.end()); 744 sources.lengths[ndx] = m_rnd.getInt(-10, -1); 806 de::Random m_rnd; member in class:deqp::gles3::Functional::ShaderSourceSplitCase 831 de::Random m_rnd; member in class:deqp::gles3::Functional::ProgramStateCase 837 , m_rnd (deStringHash(name) ^ 0x713de0ca) 889 ConstantShaderGenerator sourceGen (m_rnd); 1386 de::Random m_rnd; member in class:deqp::gles3::Functional::ProgramBinaryUniformResetCase 1405 de::Random m_rnd; member in class:deqp::gles3::Functional::ProgramBinaryPersistenceCase [all...] |
/external/deqp/modules/egl/ |
H A D | teglMakeCurrentPerfTests.cpp | 94 de::Random m_rnd; member in class:deqp::egl::MakeCurrentPerfCase 160 , m_rnd (deStringHash(name)) 520 EGLContext context = m_contexts[m_rnd.getUint32() % m_contexts.size()]; 521 EGLSurface surface = m_surfaces[m_rnd.getUint32() % m_surfaces.size()];
|
H A D | teglMemoryStressTests.cpp | 90 de::Random m_rnd; member in class:deqp::egl::__anon4133::MemoryAllocator 110 , m_rnd (seed) 159 ObjectType type = m_rnd.choose<ObjectType>(types.begin(), types.end()); 200 const EGLint width = m_rnd.getInt(m_minWidth, m_maxWidth); 201 const EGLint height = m_rnd.getInt(m_minHeight, m_maxHeight); 218 EGLContext context = m_rnd.choose<EGLContext>(m_contexts.begin(), m_contexts.end()); 219 const float red = m_rnd.getFloat(); 220 const float green = m_rnd.getFloat(); 221 const float blue = m_rnd.getFloat(); 222 const float alpha = m_rnd [all...] |
/external/deqp/modules/gles2/performance/ |
H A D | es2pDrawCallBatchingTests.cpp | 105 de::Random m_rnd; member in class:deqp::gles2::Performance::__anon4262::DrawCallBatchingTest 153 , m_rnd (deStringHash(name)) 301 data.push_back((deInt8)m_rnd.getUint32()); 341 data.push_back((deInt8)m_rnd.getUint32());
|
H A D | es2pTextureUploadTests.cpp | 98 de::Random m_rnd; member in class:deqp::gles2::Performance::TextureUploadCase 114 , m_rnd (deStringHash(name))
|
/external/deqp/modules/gles31/functional/ |
H A D | es31fMultisampleTests.cpp | 202 de::Random m_rnd; member in class:deqp::gles31::Functional::__anon4594::DefaultFBOMultisampleCase 217 , m_rnd (deStringHash(name)) 380 m_viewportX = m_rnd.getInt(0, m_context.getRenderTarget().getWidth() - m_viewportSize); 381 m_viewportY = m_rnd.getInt(0, m_context.getRenderTarget().getHeight() - m_viewportSize);
|
/external/deqp/modules/glshared/ |
H A D | glsLongStressCase.hpp | 320 de::Random m_rnd; member in class:deqp::gls::LongStressCase
|
H A D | glsLifetimeTests.cpp | 700 Random m_rnd; member in class:deqp::gls::LifetimeTests::details::TestBase 707 , m_rnd (deStringHash(name)) 714 m_rnd = Random(deStringHash(getName())); 819 const GLuint id = m_rnd.getUint32(); 992 const GLuint refSeed = m_rnd.getUint32(); 993 const GLuint newSeed = m_rnd.getUint32(); 1073 const GLuint refSeed = m_rnd.getUint32(); 1074 const GLuint newSeed = m_rnd.getUint32();
|
H A D | glsBuiltinPrecisionTests.cpp | 4426 , m_rnd (0xdeadbeefu + 4453 Random m_rnd; member in class:deqp::gls::BuiltinPrecisionTests::PrecisionCase 4917 m_rnd)); local 4975 m_rnd)); local
|
/external/deqp/modules/gles2/functional/ |
H A D | es2fMultisampleTests.cpp | 212 de::Random m_rnd; member in class:deqp::gles2::Functional::MultisampleCase 224 , m_rnd (deStringHash(name)) 307 m_viewportX = m_rnd.getInt(0, m_context.getRenderTarget().getWidth() - m_viewportSize); 308 m_viewportY = m_rnd.getInt(0, m_context.getRenderTarget().getHeight() - m_viewportSize);
|
H A D | es2fShaderApiTests.cpp | 183 ConstantShaderGenerator (de::Random& rnd) : m_rnd(rnd) {} 191 de::Random m_rnd; member in class:deqp::gles2::Functional::__anon4202::ConstantShaderGenerator 198 const float value = m_rnd.getFloat(0.0f, 1.0f); 632 , m_rnd (deStringHash(getName()) ^ 0x4fb2337d) 675 m_rnd.shuffle(indices.begin(), indices.end()); 684 sources.lengths[ndx] = m_rnd.getInt(-10, -1); 746 de::Random m_rnd; member in class:deqp::gles2::Functional::ShaderSourceSplitCase 771 de::Random m_rnd; member in class:deqp::gles2::Functional::ProgramStateCase 777 , m_rnd (deStringHash(name) ^ 0x713de0ca) 829 ConstantShaderGenerator sourceGen (m_rnd); [all...] |