Lines Matching refs:m_currVaoState

42     m_currVaoState[VERTEX_LOCATION].glConst = GL_VERTEX_ARRAY;  in init()
43 m_currVaoState[NORMAL_LOCATION].glConst = GL_NORMAL_ARRAY; in init()
44 m_currVaoState[COLOR_LOCATION].glConst = GL_COLOR_ARRAY; in init()
45 m_currVaoState[POINTSIZE_LOCATION].glConst = GL_POINT_SIZE_ARRAY_OES; in init()
46 m_currVaoState[TEXCOORD0_LOCATION].glConst = GL_TEXTURE_COORD_ARRAY; in init()
47 m_currVaoState[TEXCOORD1_LOCATION].glConst = GL_TEXTURE_COORD_ARRAY; in init()
48 m_currVaoState[TEXCOORD2_LOCATION].glConst = GL_TEXTURE_COORD_ARRAY; in init()
49 m_currVaoState[TEXCOORD3_LOCATION].glConst = GL_TEXTURE_COORD_ARRAY; in init()
50 m_currVaoState[TEXCOORD4_LOCATION].glConst = GL_TEXTURE_COORD_ARRAY; in init()
51 m_currVaoState[TEXCOORD5_LOCATION].glConst = GL_TEXTURE_COORD_ARRAY; in init()
52 m_currVaoState[TEXCOORD6_LOCATION].glConst = GL_TEXTURE_COORD_ARRAY; in init()
53 m_currVaoState[TEXCOORD7_LOCATION].glConst = GL_TEXTURE_COORD_ARRAY; in init()
54 m_currVaoState[MATRIXINDEX_LOCATION].glConst = GL_MATRIX_INDEX_ARRAY_OES; in init()
55 m_currVaoState[WEIGHT_LOCATION].glConst = GL_WEIGHT_ARRAY_OES; in init()
125 m_currVaoState[location].enableDirty |= (state != m_currVaoState[location].enabled); in enable()
126 m_currVaoState[location].enabled = state; in enable()
131 m_currVaoState[location].size = size; in setVertexAttribState()
132 m_currVaoState[location].type = type; in setVertexAttribState()
133 m_currVaoState[location].stride = stride; in setVertexAttribState()
134 m_currVaoState[location].data = (void*)data; in setVertexAttribState()
135 m_currVaoState[location].bufferObject = m_arrayBuffer; in setVertexAttribState()
136 m_currVaoState[location].elementSize = size ? (glSizeof(type) * size) : 0; in setVertexAttribState()
140 m_currVaoState[location].elementSize = in setVertexAttribState()
141 m_currVaoState[location].elementSize / 4; in setVertexAttribState()
146 m_currVaoState[location].normalized = normalized; in setVertexAttribState()
147 m_currVaoState[location].isInt = isInt; in setVertexAttribState()
151 m_currVaoState.bufferBinding(bindingindex).divisor = divisor; in setVertexBindingDivisor()
155 return m_currVaoState.bufferBindings_const()[m_currVaoState[attribindex].bindingindex]; in getCurrAttributeBindingInfo()
159 m_currVaoState[attribindex].bindingindex = bindingindex; in setVertexAttribBinding()
163 m_currVaoState[location].size = size; in setVertexAttribFormat()
164 m_currVaoState[location].type = type; in setVertexAttribFormat()
165 m_currVaoState[location].normalized = normalized; in setVertexAttribFormat()
166 m_currVaoState[location].reloffset = reloffset; in setVertexAttribFormat()
167 m_currVaoState[location].elementSize = size ? (glSizeof(type) * size) : 0; in setVertexAttribFormat()
171 m_currVaoState[location].elementSize = in setVertexAttribFormat()
172 m_currVaoState[location].elementSize / 4; in setVertexAttribFormat()
177 m_currVaoState[location].isInt = isInt; in setVertexAttribFormat()
188 if (arrays[i] && m_currVaoState.vaoId() == arrays[i]) { in removeVertexArrayObjects()
250 if (name && m_currVaoState.vaoId() == name) { in setVertexArrayObject()
256 m_currVaoState = in setVertexArrayObject()
260 m_currVaoState.vaoId(), in setVertexArrayObject()
262 m_currVaoState.iboId()); in setVertexArrayObject()
271 return m_currVaoState[location]; in getState()
277 *enableChanged = m_currVaoState[location].enableDirty; in getStateAndEnableDirty()
280 m_currVaoState[location].enableDirty = false; in getStateAndEnableDirty()
281 return m_currVaoState[location]; in getStateAndEnableDirty()
343 if (m_currVaoState.iboId() == id) m_currVaoState.iboId() = 0; in unBindBuffer()
369 sClearIndexedBufferBinding(id, m_currVaoState.bufferBindings()); in unBindBuffer()
380 m_currVaoState.iboId() = id; in bindBuffer()
445 m_currVaoState.bufferBinding(index).buffer = buffer; in bindIndexedBuffer()
446 m_currVaoState.bufferBinding(index).offset = offset; in bindIndexedBuffer()
447 m_currVaoState.bufferBinding(index).size = size; in bindIndexedBuffer()
448 m_currVaoState.bufferBinding(index).stride = stride; in bindIndexedBuffer()
449 m_currVaoState.bufferBinding(index).effectiveStride = effectiveStride; in bindIndexedBuffer()
465 return m_currVaoState.bufferBindings_const().size(); in getMaxIndexedBufferBindings()
476 ret = m_currVaoState.iboId(); in getBuffer()