Lines Matching defs:rnd
175 void generateRandomFrame (Frame* dst, const vector<BufferAgeTest::DrawType>& drawTypes, de::Random& rnd)
179 const int x1 = rnd.getInt(0, (dst->width-1)/8) * 4;
180 const int y1 = rnd.getInt(0, (dst->height-1)/8) * 4;
181 const int x2 = rnd.getInt((dst->width-1)/8, (dst->width-1)/4) * 4;
182 const int y2 = rnd.getInt((dst->height-1)/8, (dst->height-1)/4) * 4;
183 const GLubyte r = rnd.getUint8();
184 const GLubyte g = rnd.getUint8();
185 const GLubyte b = rnd.getUint8();
494 de::Random rnd (m_seed);
499 const float clearRed = rnd.getFloat();
500 const float clearGreen = rnd.getFloat();
501 const float clearBlue = rnd.getFloat();
520 generateRandomFrame(&newFrame, m_evenFrameDrawType, rnd);
522 generateRandomFrame(&newFrame, m_oddFrameDrawType, rnd);