Searched refs:glProgram (Results 1 – 3 of 3) sorted by relevance
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic_renderer/ |
D | WarpRenderer.cpp | 79 GLuint glProgram; in InitializeGLProgram() local 80 glProgram = createProgram(VertexShaderSource(), in InitializeGLProgram() 82 if (!glProgram) { in InitializeGLProgram() 86 glUseProgram(glProgram); in InitializeGLProgram() 90 mPositionLoc = glGetAttribLocation(glProgram, "a_position"); in InitializeGLProgram() 91 mAffinetransLoc = glGetUniformLocation(glProgram, "u_affinetrans"); in InitializeGLProgram() 92 mViewporttransLoc = glGetUniformLocation(glProgram, "u_viewporttrans"); in InitializeGLProgram() 93 mScalingtransLoc = glGetUniformLocation(glProgram, "u_scalingtrans"); in InitializeGLProgram() 94 mTexCoordLoc = glGetAttribLocation(glProgram, "a_texCoord"); in InitializeGLProgram() 97 mSamplerLoc = glGetUniformLocation(glProgram, "s_texture"); in InitializeGLProgram() [all …]
|
D | SurfaceTextureRenderer.cpp | 87 GLuint glProgram; in InitializeGLProgram() local 88 glProgram = createProgram(VertexShaderSource(), in InitializeGLProgram() 90 if (!glProgram) { in InitializeGLProgram() 94 glUseProgram(glProgram); in InitializeGLProgram() 97 maPositionHandle = glGetAttribLocation(glProgram, "aPosition"); in InitializeGLProgram() 99 maTextureHandle = glGetAttribLocation(glProgram, "aTextureCoord"); in InitializeGLProgram() 101 muSTMatrixHandle = glGetUniformLocation(glProgram, "uSTMatrix"); in InitializeGLProgram() 103 mScalingtransLoc = glGetUniformLocation(glProgram, "u_scalingtrans"); in InitializeGLProgram() 106 mGlProgram = glProgram; in InitializeGLProgram()
|
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()
|