Searched refs:glProgram (Results 1 – 3 of 3) sorted by relevance
/development/perftests/panorama/feature_mos/src/mosaic_renderer/ |
D | WarpRenderer.cpp | 75 GLuint glProgram; in InitializeGLProgram() local 76 glProgram = createProgram(VertexShaderSource(), in InitializeGLProgram() 78 if (!glProgram) { in InitializeGLProgram() 82 glUseProgram(glProgram); in InitializeGLProgram() 86 mPositionLoc = glGetAttribLocation(glProgram, "a_position"); in InitializeGLProgram() 87 mAffinetransLoc = glGetUniformLocation(glProgram, "u_affinetrans"); in InitializeGLProgram() 88 mViewporttransLoc = glGetUniformLocation(glProgram, "u_viewporttrans"); in InitializeGLProgram() 89 mScalingtransLoc = glGetUniformLocation(glProgram, "u_scalingtrans"); in InitializeGLProgram() 90 mTexCoordLoc = glGetAttribLocation(glProgram, "a_texCoord"); in InitializeGLProgram() 93 mSamplerLoc = glGetUniformLocation(glProgram, "s_texture"); in InitializeGLProgram() [all …]
|
D | YVURenderer.cpp | 47 GLuint glProgram; in InitializeGLProgram() local 48 glProgram = createProgram(VertexShaderSource(), in InitializeGLProgram() 50 if (!glProgram) { in InitializeGLProgram() 54 glUseProgram(glProgram); in InitializeGLProgram() 58 mPositionLoc = glGetAttribLocation(glProgram, "a_Position"); in InitializeGLProgram() 59 mTexCoordLoc = glGetAttribLocation(glProgram, "a_texCoord"); in InitializeGLProgram() 62 mSamplerLoc = glGetUniformLocation(glProgram, "s_texture"); in InitializeGLProgram() 64 mGlProgram = glProgram; in InitializeGLProgram()
|
D | SurfaceTextureRenderer.cpp | 85 GLuint glProgram; in InitializeGLProgram() local 86 glProgram = createProgram(VertexShaderSource(), in InitializeGLProgram() 88 if (!glProgram) { in InitializeGLProgram() 92 glUseProgram(glProgram); in InitializeGLProgram() 95 maPositionHandle = glGetAttribLocation(glProgram, "aPosition"); in InitializeGLProgram() 97 maTextureHandle = glGetAttribLocation(glProgram, "aTextureCoord"); in InitializeGLProgram() 99 muSTMatrixHandle = glGetUniformLocation(glProgram, "uSTMatrix"); in InitializeGLProgram() 101 mScalingtransLoc = glGetUniformLocation(glProgram, "u_scalingtrans"); in InitializeGLProgram() 104 mGlProgram = glProgram; in InitializeGLProgram()
|