Home | History | Annotate | Download | only in chromium

Lines Matching refs:m_context

39     : m_context(context)
52 GLC(m_context, m_quadVerticesVbo = m_context->createBuffer());
53 GLC(m_context, m_quadElementsVbo = m_context->createBuffer());
54 GLC(m_context, m_context->bindBuffer(GraphicsContext3D::ARRAY_BUFFER, m_quadVerticesVbo));
55 GLC(m_context, m_context->bufferData(GraphicsContext3D::ARRAY_BUFFER, sizeof(vertices), vertices, GraphicsContext3D::STATIC_DRAW));
56 GLC(m_context, m_context->bindBuffer(GraphicsContext3D::ELEMENT_ARRAY_BUFFER, m_quadElementsVbo));
57 GLC(m_context, m_context->bufferData(GraphicsContext3D::ELEMENT_ARRAY_BUFFER, sizeof(indices), indices, GraphicsContext3D::STATIC_DRAW));
64 GLC(m_context, m_context->deleteBuffer(m_quadVerticesVbo));
65 GLC(m_context, m_context->deleteBuffer(m_quadElementsVbo));
70 GLC(m_context, m_context->bindBuffer(GraphicsContext3D::ARRAY_BUFFER, quadVerticesVbo()));
71 GLC(m_context, m_context->bindBuffer(GraphicsContext3D::ELEMENT_ARRAY_BUFFER, quadElementsVbo()));
73 GLC(m_context, m_context->vertexAttribPointer(positionAttribLocation(), 3, GraphicsContext3D::FLOAT, false, 5 * sizeof(float), offset));
75 GLC(m_context, m_context->vertexAttribPointer(texCoordAttribLocation(), 2, GraphicsContext3D::FLOAT, false, 5 * sizeof(float), offset));
76 GLC(m_context, m_context->enableVertexAttribArray(positionAttribLocation()));
77 GLC(m_context, m_context->enableVertexAttribArray(texCoordAttribLocation()));