Home
last modified time | relevance | path

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

/external/swiftshader/third_party/PowerVR_SDK/Examples/Beginner/01_HelloAPI/OGLES2/
DOGLES2HelloAPI_Windows.cpp358 …GLuint uiProgramObject; /* Used to hold the program handle (made out of the two previous shade… in WinMain() local
412 uiProgramObject = glCreateProgram(); in WinMain()
415 glAttachShader(uiProgramObject, uiFragShader); in WinMain()
416 glAttachShader(uiProgramObject, uiVertShader); in WinMain()
419 glBindAttribLocation(uiProgramObject, VERTEX_ARRAY, "myVertex"); in WinMain()
422 glLinkProgram(uiProgramObject); in WinMain()
426 glGetProgramiv(uiProgramObject, GL_LINK_STATUS, &bLinked); in WinMain()
430 glGetProgramiv(uiProgramObject, GL_INFO_LOG_LENGTH, &i32InfoLogLength); in WinMain()
432 glGetProgramInfoLog(uiProgramObject, i32InfoLogLength, &i32CharsWritten, pszInfoLog); in WinMain()
441 glUseProgram(uiProgramObject); in WinMain()
[all …]