Lines Matching refs:deUint8
84 deUint8 extend2BitsToByte (deUint8 bits) in extend2BitsToByte()
88 return (deUint8)(bits | (bits << 2) | (bits << 4) | (bits << 6)); in extend2BitsToByte()
91 void genRandomCoords (de::Random rng, vector<deUint8>& coords, size_t offset, size_t size) in genRandomCoords()
93 const deUint8 bits = 2; in genRandomCoords()
94 const deUint8 bitMask = deUint8((0x1u << bits) - 1); in genRandomCoords()
100 const deUint8 xBits = deUint8(rng.getUint32() & bitMask); in genRandomCoords()
106 const deUint8 indices[] = in genRandomCoords()
116 const deUint8 index = indices[i]; in genRandomCoords()
130 const deUint8 indices[] = in genRandomCoords()
426 vector<deUint8> data; in modifyBufferData()
434 de::ArrayBuffer<deUint8> buffer(&(data[0]), data.size()); in modifyBufferData()
450 vector<deUint8> data; in modifyBufferSubData()
461 deMemcpy((deUint8*)texture.getRefBuffer().getPtr() + offset, &(data[0]), int(data.size())); in modifyBufferSubData()
473 vector<deUint8> data; in modifyMapWrite()
481 …deUint8* ptr = (deUint8*)gl.mapBufferRange(GL_TEXTURE_BUFFER, (glw::GLsizei)offset, (glw::GLsizei)… in modifyMapWrite()
494 deMemcpy((deUint8*)texture.getRefBuffer().getPtr()+offset, &(data[0]), int(data.size())); in modifyMapWrite()
507 deUint8* const refPtr = (deUint8*)texture.getRefBuffer().getPtr() + offset; in modifyMapReadWrite()
508 vector<deUint8> data; in modifyMapReadWrite()
517 …deUint8* const ptr = (deUint8*)gl.mapBufferRange(GL_TEXTURE_BUFFER, (glw::GLsizei)offset, (glw:… in modifyMapReadWrite()
599 vector<deUint8> coords; in renderGL()
680 vector<deUint8> coords; in renderReference()
879 vector<deUint8> bufferData; in runTests()
883 for (deUint8 i = 0; i < 4; i++) in runTests()
885 const deUint8 val = extend2BitsToByte(i); in runTests()