Home
last modified time | relevance | path

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

/OK3568_Linux_fs/app/forlinx/forlinx_up4_qt/qopenglwidget/
H A Dglwidget.cpp101 m_vbo2.destroy(); in ~GLWidget()
152 if (!m_vbo2.isCreated()) { in paintTexturedCube()
205 m_vbo2.create(); in paintTexturedCube()
206 m_vbo2.bind(); in paintTexturedCube()
207 m_vbo2.allocate(36 * 8 * sizeof(GLfloat)); in paintTexturedCube()
208 m_vbo2.write(0, afVertices, sizeof(afVertices)); in paintTexturedCube()
209 m_vbo2.write(sizeof(afVertices), afTexCoord, sizeof(afTexCoord)); in paintTexturedCube()
210 m_vbo2.write(sizeof(afVertices) + sizeof(afTexCoord), afNormals, sizeof(afNormals)); in paintTexturedCube()
211 m_vbo2.release(); in paintTexturedCube()
220 m_vbo2.bind(); in paintTexturedCube()
[all …]
H A Dglwidget.h118 QOpenGLBuffer m_vbo2; in QT_FORWARD_DECLARE_CLASS() local
/OK3568_Linux_fs/app/forlinx/forlinx_qt/qopenglwidget/
H A Dglwidget.cpp101 m_vbo2.destroy(); in ~GLWidget()
152 if (!m_vbo2.isCreated()) { in paintTexturedCube()
205 m_vbo2.create(); in paintTexturedCube()
206 m_vbo2.bind(); in paintTexturedCube()
207 m_vbo2.allocate(36 * 8 * sizeof(GLfloat)); in paintTexturedCube()
208 m_vbo2.write(0, afVertices, sizeof(afVertices)); in paintTexturedCube()
209 m_vbo2.write(sizeof(afVertices), afTexCoord, sizeof(afTexCoord)); in paintTexturedCube()
210 m_vbo2.write(sizeof(afVertices) + sizeof(afTexCoord), afNormals, sizeof(afNormals)); in paintTexturedCube()
211 m_vbo2.release(); in paintTexturedCube()
220 m_vbo2.bind(); in paintTexturedCube()
[all …]
H A Dglwidget.h118 QOpenGLBuffer m_vbo2; in QT_FORWARD_DECLARE_CLASS() local