Searched refs:mProgramId (Results 1 – 1 of 1) sorted by relevance
196 private final int mProgramId; field in Gles2ColoredTriangleList.Program217 mProgramId = GLES20.glCreateProgram(); in Program()219 if (mProgramId == 0) { in Program()224 GLES20.glAttachShader(mProgramId, vertexShader); in Program()226 GLES20.glAttachShader(mProgramId, fragmentShader); in Program()230 GLES20.glLinkProgram(mProgramId); in Program()234 mMvpMatrixHandle = GLES20.glGetUniformLocation(mProgramId, "uMvpMatrix"); in Program()238 mPositionHandle = GLES20.glGetAttribLocation(mProgramId, "aPosition"); in Program()246 mColorHandle = GLES20.glGetUniformLocation(mProgramId, "uColor"); in Program()255 GLES20.glUseProgram(mProgramId); in use()