Home
last modified time | relevance | path

Searched refs:m_refBuffer (Results 1 – 4 of 4) sorted by relevance

/external/deqp/framework/opengl/
DgluTexture.hpp282 deUint8* getRefBuffer (void) { return &(m_refBuffer[0]); } in getRefBuffer()
283 const deUint8* getRefBuffer (void) const { return &(m_refBuffer[0]); } in getRefBuffer()
287 size_t getBufferSize (void) const { return m_refBuffer.size(); } in getBufferSize()
304 std::vector<deUint8> m_refBuffer; member in glu::TextureBuffer
DgluTexture.cpp842 m_refBuffer.resize(bufferSize, 0); in init()
845 deMemcpy(&m_refBuffer[0], data, (int)bufferSize); in init()
860 …nt)((m_size != 0 ? m_size : bufferSize) / format.getPixelSize())), 1, 1, &(m_refBuffer[m_offset])); in init()
871 …gl.bufferData(GL_TEXTURE_BUFFER, (glw::GLsizei)m_refBuffer.size(), &(m_refBuffer[0]), GL_STATIC_DR… in init()
901 …gl.bufferData(GL_TEXTURE_BUFFER, (glw::GLsizei)m_refBuffer.size(), &(m_refBuffer[0]), GL_STATIC_DR… in upload()
910 m_refBuffer = vector<deUint8>(data, data+size); in bufferData()
919 …TextureSize, (int)((m_size != 0 ? m_size : m_refBuffer.size()) / format.getPixelSize())), 1, 1, &… in bufferData()
/external/deqp/modules/gles3/functional/
Des3fBufferWriteTests.cpp419 m_refBuffer.setSize(0); in deinit()
485 m_refBuffer.setSize(size); in iterate()
487 fillWithRandomBytes(m_refBuffer.getPtr(), size, rnd.getUint32()); in iterate()
489 glBufferData(target, size, fillWithData ? m_refBuffer.getPtr() : DE_NULL, hint); in iterate()
503 fillWithRandomBytes(m_refBuffer.getPtr()+offset, size, rnd.getUint32()); in iterate()
504 glBufferSubData(target, offset, size, m_refBuffer.getPtr()+offset); in iterate()
521 if (!m_verifier->verify(m_buffer, m_refBuffer.getPtr(), range->x(), range->y(), targetHint)) in iterate()
542 ReferenceBuffer m_refBuffer; member in deqp::gles3::Functional::RandomBufferWriteCase
/external/deqp/modules/gles2/functional/
Des2fBufferWriteTests.cpp419 m_refBuffer.setSize(0); in deinit()
473 m_refBuffer.setSize(size); in iterate()
475 fillWithRandomBytes(m_refBuffer.getPtr(), size, rnd.getUint32()); in iterate()
477 glBufferData(target, size, fillWithData ? m_refBuffer.getPtr() : DE_NULL, hint); in iterate()
491 fillWithRandomBytes(m_refBuffer.getPtr()+offset, size, rnd.getUint32()); in iterate()
492 glBufferSubData(target, offset, size, m_refBuffer.getPtr()+offset); in iterate()
508 if (!m_verifier->verify(m_buffer, m_refBuffer.getPtr(), range->x(), range->y())) in iterate()
529 ReferenceBuffer m_refBuffer; member in deqp::gles2::Functional::RandomBufferWriteCase