Lines Matching refs:m_rnd
1112 , m_rnd (deStringHash(getName()) ^ testCtx.getCommandLine().getBaseSeed()) in LongStressCase()
1179 m_rnd.shuffle(m_vertexIndices.begin(), m_vertexIndices.end()); in init()
1260 const bool useClientMemoryIndexData = m_rnd.getFloat() < m_probabilities.clientMemoryIndexData; in iterate()
1261 const bool useDrawArrays = m_rnd.getFloat() < m_probabilities.useDrawArrays; in iterate()
1262 …const bool separateAttributeBuffers = m_rnd.getFloat() < m_probabilities.separateAttributeBuff… in iterate()
1263 const int progContextNdx = m_rnd.getInt(0, (int)m_programContexts.size()-1); in iterate()
1284 if (!hadProgram || m_rnd.getFloat() < m_probabilities.rebuildProgram) in iterate()
1310 if (!hadTexture || m_rnd.getFloat() < m_probabilities.reuploadTexture) in iterate()
1314 …exture.getApproxMemUsageDiff(spec.width, spec.height, spec.internalFormat, spec.useMipmap), m_rnd); in iterate()
1316 if (!hadTexture || m_rnd.getFloat() < m_probabilities.reuploadWithTexImage) in iterate()
1333 m_rnd.shuffle(texSpecIndices.begin(), texSpecIndices.end()); in iterate()
1342 m_rnd.shuffle(m_vertexIndices.begin(), m_vertexIndices.end()); in iterate()
1353 if (!hadIndexBuffer || m_rnd.getFloat() < m_probabilities.reuploadBuffer) in iterate()
1355 …rbageUntilUnder(m_maxBufMemoryUsageBytes - indexBuf.getApproxMemUsageDiff(m_vertexIndices), m_rnd); in iterate()
1356 …const deUint32 target = m_rnd.getFloat() < m_probabilities.randomBufferUploadTarget ? randomBuffer… in iterate()
1358 if (!hadIndexBuffer || m_rnd.getFloat() < m_probabilities.reuploadWithBufferData) in iterate()
1359 …Buf.setData(m_vertexIndices, target, m_rnd.getFloat() < m_probabilities.randomBufferUsage ? random… in iterate()
1369 programContext.attributes, programContext.positionAttrName, m_numVerticesPerDrawCall, m_rnd); in iterate()
1371 if (!(m_rnd.getFloat() < m_probabilities.clientMemoryAttributeData)) in iterate()
1377 const int usedRedundantBufferNdx = m_rnd.getInt(0, m_redundantBufferFactor-1); in iterate()
1389 if (!hadCurAttrBuffer || m_rnd.getFloat() < m_probabilities.reuploadBuffer) in iterate()
1391 …moryUsageBytes - curAttrBuf.getApproxMemUsageDiff(programResources.attrDataSizes[attrNdx]), m_rnd); in iterate()
1392 …const deUint32 target = m_rnd.getFloat() < m_probabilities.randomBufferUploadTarget ? randomBuffer… in iterate()
1394 if (!hadCurAttrBuffer || m_rnd.getFloat() < m_probabilities.reuploadWithBufferData) in iterate()
1396 …m_rnd.getFloat() < m_probabilities.randomBufferUsage ? randomBufferUsage(m_rnd, m_isGLES3) : m_att… in iterate()
1408 const int usedRedundantBufferNdx = m_rnd.getInt(0, m_redundantBufferFactor-1); in iterate()
1420 if (!hadAttrBuffer || m_rnd.getFloat() < m_probabilities.reuploadBuffer) in iterate()
1422 …der(m_maxBufMemoryUsageBytes - attrBuf.getApproxMemUsageDiff(programResources.attrDataBuf), m_rnd); in iterate()
1423 …const deUint32 target = m_rnd.getFloat() < m_probabilities.randomBufferUploadTarget ? randomBuffer… in iterate()
1425 if (!hadAttrBuffer || m_rnd.getFloat() < m_probabilities.reuploadWithBufferData) in iterate()
1426 …rogramResources.attrDataBuf, target, m_rnd.getFloat() < m_probabilities.randomBufferUsage ? random… in iterate()
1456 …ogram.setRandomUniforms(programContext.uniforms, programResources.shaderNameManglingSuffix, m_rnd); in iterate()
1519 if (m_rnd.getFloat() < m_probabilities.deleteTexture) in iterate()
1521 else if (m_rnd.getFloat() < m_probabilities.wastefulTextureMemoryUsage) in iterate()
1528 if (m_rnd.getFloat() < m_probabilities.deleteBuffer) in iterate()
1530 else if (m_rnd.getFloat() < m_probabilities.wastefulBufferMemoryUsage) in iterate()
1543 if (m_rnd.getFloat() < m_probabilities.deleteBuffer) in iterate()
1548 else if (m_rnd.getFloat() < m_probabilities.wastefulBufferMemoryUsage) in iterate()
1560 if (m_rnd.getFloat() < m_probabilities.deleteBuffer) in iterate()
1565 else if (m_rnd.getFloat() < m_probabilities.wastefulBufferMemoryUsage) in iterate()