Searched refs:m_currVaoState (Results 1 – 6 of 6) sorted by relevance
75 m_currVaoState[VERTEX_LOCATION].glConst = GL_VERTEX_ARRAY; in init()76 m_currVaoState[NORMAL_LOCATION].glConst = GL_NORMAL_ARRAY; in init()77 m_currVaoState[COLOR_LOCATION].glConst = GL_COLOR_ARRAY; in init()78 m_currVaoState[POINTSIZE_LOCATION].glConst = GL_POINT_SIZE_ARRAY_OES; in init()79 m_currVaoState[TEXCOORD0_LOCATION].glConst = GL_TEXTURE_COORD_ARRAY; in init()80 m_currVaoState[TEXCOORD1_LOCATION].glConst = GL_TEXTURE_COORD_ARRAY; in init()81 m_currVaoState[TEXCOORD2_LOCATION].glConst = GL_TEXTURE_COORD_ARRAY; in init()82 m_currVaoState[TEXCOORD3_LOCATION].glConst = GL_TEXTURE_COORD_ARRAY; in init()83 m_currVaoState[TEXCOORD4_LOCATION].glConst = GL_TEXTURE_COORD_ARRAY; in init()84 m_currVaoState[TEXCOORD5_LOCATION].glConst = GL_TEXTURE_COORD_ARRAY; in init()[all …]
229 m_currVaoState.attribInfo()[index].enable(enable); in enableArr()235 return m_currVaoState.attribInfo().data() + index; in getPointer()329 dispatcher.glBindVertexArray(getVAOGlobalName(m_currVaoState.vaoId())); in postLoadRestoreCtx()438 m_currVaoState.attribInfo()[idx].setValue(count, val); in setAttribValue()641 GLESpointer* p = m_currVaoState.attribInfo().data() + i; in setupArraysPointers()699 if (bindingindex >= m_currVaoState.bufferBindings().size()) { in setVertexAttribDivisor()702 m_currVaoState.bufferBindings()[bindingindex].divisor = divisor; in setVertexAttribDivisor()708 m_currVaoState.attribInfo()[attribindex].setBindingIndex(bindingindex); in setVertexAttribBindingIndex()713 …m_currVaoState.attribInfo()[attribindex].setFormat(size, type, normalized == GL_TRUE, reloffset, i… in setVertexAttribFormat()
332 if (array == m_currVaoState.vaoId()) { in removeVertexArrayObject()350 m_currVaoState = VAOStateRef(it); in setVertexArrayObject()357 m_currVaoState.setEverBound(); in setVAOEverBound()361 return m_currVaoState.vaoId(); in getVertexArrayObject()365 const auto& info = m_currVaoState.attribInfo_const(); in vertexAttributesBufferBacked()369 !m_currVaoState.bufferBindings()[pointerInfo.getBindingIndex()].buffer) { in vertexAttributesBufferBacked()783 bindBuffer(GL_ELEMENT_ARRAY_BUFFER, m_currVaoState.iboId()); in postLoadRestoreCtx()959 if (m_currVaoState.it->second.legacy) { in setPointer()960 auto vertexAttrib = m_currVaoState.find(arrType); in setPointer()961 if (vertexAttrib == m_currVaoState.end()) { in setPointer()[all …]
50 m_currVaoState[GL_COLOR_ARRAY] = new GLESpointer(); in init()51 m_currVaoState[GL_NORMAL_ARRAY] = new GLESpointer(); in init()52 m_currVaoState[GL_VERTEX_ARRAY] = new GLESpointer(); in init()53 m_currVaoState[GL_POINT_SIZE_ARRAY_OES] = new GLESpointer(); in init()56 m_currVaoState[GL_TEXTURE_COORD_ARRAY] = &m_texCoords[m_clientActiveTexture]; in init()147 m_currVaoState[GL_TEXTURE_COORD_ARRAY] = in GLEScmContext()200 m_currVaoState[GL_TEXTURE_COORD_ARRAY] = &m_texCoords[m_clientActiveTexture]; in setClientActiveTexture()213 m_currVaoState[GL_TEXTURE_COORD_ARRAY] = NULL; in ~GLEScmContext()313 for (const auto& array : m_currVaoState) { in postLoadRestoreCtx()322 for (const auto& it : *m_currVaoState.it->second.arraysMap) { in postLoadRestoreCtx()[all …]
258 GLuint currentVertexArrayObject() const { return m_currVaoState.vaoId(); } in currentVertexArrayObject()260 return m_currVaoState.bufferBindings_const(); in currentVertexBufferBindings()264 GLuint currentIndexVbo() { return m_currVaoState.iboId(); } in currentIndexVbo()619 VAOStateRef m_currVaoState; variable763 m_currVaoState.bufferBindings_const()[vertexAttrib.bindingindex]; in getVertexAttribParameter()
544 VAOStateRef m_currVaoState; variable