Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/renderfright/gl/filters/
DGenericProgram.cpp32 if (mProgramHandle != 0) { in ~GenericProgram()
33 glDetachShader(mProgramHandle, mVertexShaderHandle); in ~GenericProgram()
39 if (mProgramHandle != 0) { in ~GenericProgram()
40 glDetachShader(mProgramHandle, mFragmentShaderHandle); in ~GenericProgram()
45 if (mProgramHandle != 0) { in ~GenericProgram()
46 glDeleteProgram(mProgramHandle); in ~GenericProgram()
57 mProgramHandle = createAndLink(mVertexShaderHandle, mFragmentShaderHandle); in compile()
62 glUseProgram(mProgramHandle); in useProgram()
101 if (mProgramHandle == 0) { in getUniformLocation()
105 return glGetUniformLocation(mProgramHandle, (const GLchar*)name.c_str()); in getUniformLocation()
[all …]
DGenericProgram.h46 GLuint mProgramHandle = 0; variable