Home
last modified time | relevance | path

Searched refs:VERTEX_ARRAY (Results 1 – 9 of 9) sorted by relevance

/external/swiftshader/third_party/PowerVR_SDK/Tools/OGLES2/
DPVRTBackground.cpp23 const int VERTEX_ARRAY = 0; variable
155 glBindAttribLocation(m_pAPI->m_ui32ProgramObject, VERTEX_ARRAY, "myVertex"); in Init()
239 glEnableVertexAttribArray(VERTEX_ARRAY); in Draw()
240 glVertexAttribPointer(VERTEX_ARRAY, 2, GL_FLOAT, GL_FALSE, 0, (const void*) 0); in Draw()
249 glDisableVertexAttribArray(VERTEX_ARRAY); in Draw()
DPVRTPrint3DAPI.cpp42 #define VERTEX_ARRAY 0 macro
273 glEnableVertexAttribArray(VERTEX_ARRAY); in Flush()
297 …glVertexAttribPointer(VERTEX_ARRAY, 3, GL_FLOAT, GL_FALSE, sizeof(SPVRTPrint3DAPIVertex), (const v… in Flush()
313 glDisableVertexAttribArray(VERTEX_ARRAY); in Flush()
390 glBindAttribLocation(Data.uProgramLogo, VERTEX_ARRAY, "myVertex"); in APIInit()
408 glBindAttribLocation(Data.uProgramFont, VERTEX_ARRAY, "myVertex"); in APIInit()
621 glEnableVertexAttribArray(VERTEX_ARRAY); in APIDrawLogo()
624 glVertexAttribPointer(VERTEX_ARRAY, 3, GL_FLOAT, GL_FALSE, 0, (const void*)pVertices); in APIDrawLogo()
629 glDisableVertexAttribArray(VERTEX_ARRAY); in APIDrawLogo()
/external/swiftshader/third_party/PowerVR_SDK/Examples/Intermediate/ColourGrading/OGLES3/
DOGLES3ColourGrading.cpp54 const int VERTEX_ARRAY = 0; variable
712 glEnableVertexAttribArray(VERTEX_ARRAY); in RenderScene()
716 glVertexAttribPointer(VERTEX_ARRAY, 4, GL_FLOAT, GL_FALSE, m_ui32VertexStride, 0); in RenderScene()
729 glDisableVertexAttribArray(VERTEX_ARRAY); in RenderScene()
781 glEnableVertexAttribArray(VERTEX_ARRAY); in RenderScene()
785 glVertexAttribPointer(VERTEX_ARRAY, 4, GL_FLOAT, GL_FALSE, m_ui32VertexStride, 0); in RenderScene()
805 glDisableVertexAttribArray(VERTEX_ARRAY); in RenderScene()
835 glEnableVertexAttribArray(VERTEX_ARRAY); in DrawMesh()
840 …glVertexAttribPointer(VERTEX_ARRAY, 3, GL_FLOAT, GL_FALSE, pMesh->sVertex.nStride, pMesh->sVertex.… in DrawMesh()
848 glDisableVertexAttribArray(VERTEX_ARRAY); in DrawMesh()
DVertShader.vsh3 #define VERTEX_ARRAY 0
6 layout (location = VERTEX_ARRAY) in highp vec4 inVertex;
/external/swiftshader/third_party/PowerVR_SDK/Examples/Beginner/01_HelloAPI/OGLES2/
DOGLES2HelloAPI_Windows.cpp35 #define VERTEX_ARRAY 0 macro
389 glBindAttribLocation(uiProgramObject, VERTEX_ARRAY, "myVertex"); in WinMain()
466 glEnableVertexAttribArray(VERTEX_ARRAY); in WinMain()
469 glVertexAttribPointer(VERTEX_ARRAY, 3, GL_FLOAT, GL_FALSE, 0, 0); in WinMain()
DOGLES2HelloAPI_LinuxX11.cpp40 #define VERTEX_ARRAY 0 macro
537 glBindAttribLocation(shaderProgram, VERTEX_ARRAY, "myVertex"); in InitialiseShaders()
625 glEnableVertexAttribArray(VERTEX_ARRAY); in RenderScene()
628 glVertexAttribPointer(VERTEX_ARRAY, 3, GL_FLOAT, GL_FALSE, 0, 0); in RenderScene()
DOGLES2HelloAPI_OSX.mm31 #define VERTEX_ARRAY 0 macro
438 // Bind the vertex attribute "myVertex" to location VERTEX_ARRAY (0)
439 glBindAttribLocation(shaderProgram, VERTEX_ARRAY, "myVertex");
598 glEnableVertexAttribArray(VERTEX_ARRAY);
601 glVertexAttribPointer(VERTEX_ARRAY, 3, GL_FLOAT, GL_FALSE, 0, 0);
/external/swiftshader/third_party/PowerVR_SDK/Examples/Intermediate/DisplacementMap/OGLES2/
DOGLES2DisplacementMap.cpp26 #define VERTEX_ARRAY 0 macro
553 glEnableVertexAttribArray(VERTEX_ARRAY); in RenderScene()
596 glDisableVertexAttribArray(VERTEX_ARRAY); in RenderScene()
627 …glVertexAttribPointer(VERTEX_ARRAY, 3, GL_FLOAT, GL_FALSE, pMesh->sVertex.nStride, pMesh->sVertex.… in DrawMesh()
/external/swiftshader/third_party/PowerVR_SDK/Examples/Advanced/ChameleonMan/OGLES2/
DOGLES2ChameleonMan.cpp37VERTEX_ARRAY, NORMAL_ARRAY, TANGENT_ARRAY, BINORMAL_ARRAY, TEXCOORD_ARRAY, BONEWEIGHT_ARRAY, BONEI… enumerator
783 …glVertexAttribPointer(VERTEX_ARRAY, 3, GL_FLOAT, GL_FALSE, Mesh.sVertex.nStride, Mesh.sVertex.pDa… in DrawSkinnedMesh()