Home
last modified time | relevance | path

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

/cts/tests/tests/opengl/libopengltest/
Dcolor_one.cpp31 GLuint gProgram; variable
41 gProgram = glCreateProgram(); in initColorOne()
42 LOGI("Program %d\n", gProgram); in initColorOne()
45 glAttachShader(gProgram, vertexShader); in initColorOne()
47 glAttachShader(gProgram, fragmentShader); in initColorOne()
49 glBindAttribLocation(gProgram, 0, "vPosition"); in initColorOne()
50 glBindAttribLocation(gProgram, 1, "vColor"); in initColorOne()
51 glLinkProgram(gProgram); in initColorOne()
53 glGetProgramiv(gProgram, GL_LINK_STATUS, &linkStatus); in initColorOne()
56 glGetProgramiv(gProgram, GL_INFO_LOG_LENGTH, &bufLength); in initColorOne()
[all …]