Home
last modified time | relevance | path

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

/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic_renderer/
DWarpRenderer.cpp75 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 …]
DYVURenderer.cpp47 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()
DSurfaceTextureRenderer.cpp87 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()