Lines Matching refs:attrDataBuf
991 static int generateRandomAttribData (vector<deUint8>& attrDataBuf, int& dataSizeBytesDst, const Var… in generateRandomAttribData() argument
996 …const int offsetInBuf = nextDivisible((int)attrDataBuf.size(), componentSize); // Round up for al… in generateRandomAttribData()
1003 attrDataBuf.resize(offsetInBuf + dataSizeBytesDst); in generateRandomAttribData()
1007 float* const data = (float*)&attrDataBuf[offsetInBuf]; in generateRandomAttribData()
1017 int* const data = (int*)&attrDataBuf[offsetInBuf]; in generateRandomAttribData()
1027 static int generateRandomPositionAttribData (vector<deUint8>& attrDataBuf, int& dataSizeBytesDst, c… in generateRandomPositionAttribData() argument
1033 …const int offsetInBuf = generateRandomAttribData(attrDataBuf, dataSizeBytesDst, attrSpec, numVerti… in generateRandomPositionAttribData()
1037 float* const data = (float*)&attrDataBuf[offsetInBuf]; in generateRandomPositionAttribData()
1063 static void generateAttribs (vector<deUint8>& attrDataBuf, vector<int>& attrDataOffsets, vector<int… in generateAttribs() argument
1065 attrDataBuf.clear(); in generateAttribs()
1072 …attrDataOffsets.push_back(generateRandomPositionAttribData(attrDataBuf, attrDataSizes[i], attrSpec… in generateAttribs()
1074 …attrDataOffsets.push_back(generateRandomAttribData(attrDataBuf, attrDataSizes[i], attrSpecs[i], nu… in generateAttribs()
1368 …generateAttribs(programResources.attrDataBuf, programResources.attrDataOffsets, programResources.a… in iterate()
1395 …curAttrBuf.setData(&programResources.attrDataBuf[programResources.attrDataOffsets[attrNdx]], progr… in iterate()
1398 …curAttrBuf.setSubData(&programResources.attrDataBuf[programResources.attrDataOffsets[attrNdx]], 0,… in iterate()
1422 …der(m_maxBufMemoryUsageBytes - attrBuf.getApproxMemUsageDiff(programResources.attrDataBuf), m_rnd); in iterate()
1426 …attrBuf.setData(programResources.attrDataBuf, target, m_rnd.getFloat() < m_probabilities.randomBuf… in iterate()
1428 …attrBuf.setSubData(programResources.attrDataBuf, 0, (int)programResources.attrDataBuf.size(), targ… in iterate()
1442 …program.setAttributeClientMem(&programResources.attrDataBuf[programResources.attrDataOffsets[i]], … in iterate()