Home
last modified time | relevance | path

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

/development/ndk/platforms/android-18/samples/MoreTeapots/jni/
DMoreTeapotsRenderer.cpp384 GLuint vertShader, fragShader; in LoadShaders() local
400 if( !ndk_helper::shader::CompileShader( &fragShader, GL_FRAGMENT_SHADER, strFsh ) ) in LoadShaders()
411 glAttachShader( program, fragShader ); in LoadShaders()
428 if( fragShader ) in LoadShaders()
430 glDeleteShader( fragShader ); in LoadShaders()
431 fragShader = 0; in LoadShaders()
452 if( fragShader ) in LoadShaders()
453 glDeleteShader( fragShader ); in LoadShaders()
469 GLuint vertShader, fragShader; in LoadShadersES3() local
485 if( !ndk_helper::shader::CompileShader( &fragShader, GL_FRAGMENT_SHADER, strFsh, in LoadShadersES3()
[all …]
/development/ndk/platforms/android-18/samples/gles3jni/jni/
Dgles3jni.cpp74 GLuint fragShader = 0; in createProgram() local
82 fragShader = createShader(GL_FRAGMENT_SHADER, fragSrc); in createProgram()
83 if (!fragShader) in createProgram()
92 glAttachShader(program, fragShader); in createProgram()
114 glDeleteShader(fragShader); in createProgram()