Lines Matching refs:getPtr
197 fillWithRandomBytes(refBuf.getPtr(), m_size, dataSeed);
201 glBufferData(m_target, m_size, refBuf.getPtr(), m_usage);
205 isOk = verifier.verify(buf, refBuf.getPtr(), 0, m_size, m_target);
245 fillWithRandomBytes(refBuf.getPtr(), spec->size, baseSeed ^ deInt32Hash(spec->size+spec->target+spec->usage));
248 glBufferData(spec->target, spec->size, refBuf.getPtr(), spec->usage);
252 iterOk = verifier.verify(buf, refBuf.getPtr(), 0, spec->size, spec->target);
298 fillWithRandomBytes(refBuf.getPtr(), m_size, dataSeed ^ 0x80354f);
299 glBufferData(m_target, m_size, refBuf.getPtr(), m_usage);
303 fillWithRandomBytes(refBuf.getPtr()+m_subDataOffs, m_subDataSize, dataSeed ^ 0xfac425c);
304 glBufferSubData(m_target, m_subDataOffs, m_subDataSize, refBuf.getPtr()+m_subDataOffs);
306 isOk = verifier.verify(buf, refBuf.getPtr(), 0, m_size, m_target);
357 fillWithRandomBytes(refBuf.getPtr()+range->x(), range->y(), dataSeed ^ deInt32Hash(range->x()+range->y()));
358 glBufferSubData(m_target, range->x(), range->y(), refBuf.getPtr()+range->x());
367 if (!verifier.verify(buf, refBuf.getPtr(), range->x(), range->y(), m_target))
487 fillWithRandomBytes(m_refBuffer.getPtr(), size, rnd.getUint32());
489 glBufferData(target, size, fillWithData ? m_refBuffer.getPtr() : DE_NULL, hint);
503 fillWithRandomBytes(m_refBuffer.getPtr()+offset, size, rnd.getUint32());
504 glBufferSubData(target, offset, size, m_refBuffer.getPtr()+offset);
521 if (!m_verifier->verify(m_buffer, m_refBuffer.getPtr(), range->x(), range->y(), targetHint))