Home
last modified time | relevance | path

Searched refs:m_size (Results 1 – 11 of 11) sorted by relevance

/sdk/emulator/opengl/host/libs/Translator/include/GLcommon/
DRangeManip.h24 Range():m_start(0),m_end(0),m_size(0){}; in Range()
25 Range(int start,int size):m_start(start),m_end(start+size),m_size(size){}; in Range()
26 Range(const Range& r):m_start(r.m_start),m_end(r.m_end),m_size(r.m_size){}; in Range()
27 void setRange(int start,int size){m_start = start; m_end = start+size; m_size = size;}; in setRange()
30 inline int getSize() const{return m_size;}; in getSize()
34 m_size = r.m_size;
38 return m_start == r.m_start && m_size == r.m_size && m_end == r.m_end;
47 int m_size; variable
DGLESbuffer.h26 …GLESbuffer():ObjectData(BUFFER_DATA),m_size(0),m_usage(GL_STATIC_DRAW),m_data(NULL),m_wasBound(fal… in GLESbuffer()
27 GLuint getSize(){return m_size;}; in getSize()
39 GLuint m_size;
DGLESpointer.h47 GLint m_size;
/sdk/emulator/opengl/host/libs/libOpenglRender/
DReadBuffer.cpp24 m_size = bufsize; in ReadBuffer()
26 m_buf = (unsigned char*)malloc(m_size*sizeof(unsigned char)); in ReadBuffer()
42 size_t len = m_size - m_validData; in getData()
45 size_t new_size = m_size*2; in getData()
47 if (new_size < m_size) { // overflow check in getData()
56 m_size = new_size; in getData()
58 len = m_size - m_validData; in getData()
DReadBuffer.h32 size_t m_size; variable
/sdk/emulator/opengl/tests/ut_renderer/
DReadBuffer.cpp22 m_size = bufsize; in ReadBuffer()
24 m_buf = new unsigned char[m_size]; in ReadBuffer()
41 int stat = m_stream->recv(m_buf + m_validData, m_size - m_validData); in getData()
DReadBuffer.h32 size_t m_size; variable
/sdk/emulator/opengl/host/libs/Translator/GLcommon/
DGLESpointer.cpp19 GLESpointer::GLESpointer():m_size(4), in GLESpointer()
36 return m_size; in getSize()
85 m_size = size; in setArray()
96 m_size = size; in setBuffer()
DGLESbuffer.cpp20 m_size = size; in setBuffer()
32 m_conversionManager.addRange(Range(0,m_size)); in setBuffer()
39 if(offset + size > m_size) return false; in setSubBuffer()
/sdk/emulator/opengl/shared/OpenglCodecCommon/
DGLSharedGroup.cpp23 BufferData::BufferData() : m_size(0) {}; in BufferData()
25 BufferData::BufferData(GLsizeiptr size, void * data) : m_size(size) in BufferData()
251 if ((!buf) || (buf->m_size < offset+size) || (offset < 0) || (size<0)) return GL_INVALID_VALUE; in subUpdateBufferData()
DGLSharedGroup.h43 GLsizeiptr m_size; member