/external/swiftshader/third_party/PowerVR_SDK/Tools/OGLES2/ |
D | PVRTBackground.cpp | 23 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()
|
D | PVRTPrint3DAPI.cpp | 42 #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/ |
D | OGLES3ColourGrading.cpp | 54 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()
|
D | VertShader.vsh | 3 #define VERTEX_ARRAY 0 6 layout (location = VERTEX_ARRAY) in highp vec4 inVertex;
|
/external/swiftshader/third_party/PowerVR_SDK/Examples/Beginner/01_HelloAPI/OGLES2/ |
D | OGLES2HelloAPI_Windows.cpp | 35 #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()
|
D | OGLES2HelloAPI_LinuxX11.cpp | 40 #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()
|
D | OGLES2HelloAPI_OSX.mm | 31 #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/ |
D | OGLES2DisplacementMap.cpp | 26 #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/ |
D | OGLES2ChameleonMan.cpp | 37 …VERTEX_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()
|