Home
last modified time | relevance | path

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

/external/swiftshader/third_party/PowerVR_SDK/Examples/Beginner/01_HelloAPI/OGLES2/
DOGLES2HelloAPI_Windows.cpp357 GLuint uiFragShader, uiVertShader; /* Used to hold the fragment and vertex shader handles */ in WinMain() local
361 uiFragShader = glCreateShader(GL_FRAGMENT_SHADER); in WinMain()
364 glShaderSource(uiFragShader, 1, (const char**)&pszFragShader, NULL); in WinMain()
367 glCompileShader(uiFragShader); in WinMain()
371 glGetShaderiv(uiFragShader, GL_COMPILE_STATUS, &bShaderCompiled); in WinMain()
378 glGetShaderiv(uiFragShader, GL_INFO_LOG_LENGTH, &i32InfoLogLength); in WinMain()
382 glGetShaderInfoLog(uiFragShader, i32InfoLogLength, &i32CharsWritten, pszInfoLog); in WinMain()
415 glAttachShader(uiProgramObject, uiFragShader); in WinMain()
528 glDeleteShader(uiFragShader); in WinMain()
/external/swiftshader/third_party/PowerVR_SDK/Tools/OGLES2/
DPVRTPFXParserAPI.cpp209 unsigned int uiFragShader = 0; in LoadShadersForEffect() local
333 GL_FRAGMENT_SHADER, GL_SGX_BINARY_IMG, &uiFragShader, &error) == PVR_SUCCESS) in LoadShadersForEffect()
350 …if (PVRTShaderLoadSourceFromMemory(pszFragmentShader, GL_FRAGMENT_SHADER, &uiFragShader, &error) !… in LoadShadersForEffect()
389 glAttachShader(m_uiProgram, uiFragShader); in LoadShadersForEffect()
393 glDeleteShader(uiFragShader); in LoadShadersForEffect()