Home
last modified time | relevance | path

Searched refs:mProgramId (Results 1 – 11 of 11) sorted by relevance

/cts/tests/openglperf2/jni/primitive/pixeloutput/
DPixelOutputRenderer.cpp65 mProgramId = GLUtils::createProgram(&PO_VERTEX, &PO_FRAGMENT); in setUp()
66 if (mProgramId == 0) { in setUp()
70 mTextureUniformHandle = glGetUniformLocation(mProgramId, "u_Texture"); in setUp()
71 mPositionHandle = glGetAttribLocation(mProgramId, "a_Position"); in setUp()
72 mTexCoordHandle = glGetAttribLocation(mProgramId, "a_TexCoord"); in setUp()
84 if (mProgramId != 0) in tearDown()
86 glDeleteProgram(mProgramId); in tearDown()
87 mProgramId = 0; in tearDown()
101 glUseProgram(mProgramId); in drawWorkload()
/cts/tests/openglperf2/jni/primitive/shaderperf/
DShaderPerfRenderer.cpp113 mProgramId = GLUtils::createProgram(&SP_VERTEX, const_cast<const char**>(&spFragment)); in setUp()
115 if (mProgramId == 0) { in setUp()
119 mTextureUniformHandle = glGetUniformLocation(mProgramId, "u_Texture"); in setUp()
120 mSeedUniformHandle = glGetUniformLocation(mProgramId, "u_Seed"); in setUp()
121 mPositionHandle = glGetAttribLocation(mProgramId, "a_Position"); in setUp()
122 mTexCoordHandle = glGetAttribLocation(mProgramId, "a_TexCoord"); in setUp()
146 glUseProgram(mProgramId); in drawWorkload()
/cts/tests/openglperf2/jni/reference/scene/flocking/
DWaterMeshNode.cpp26 int textureUniformHandle1 = glGetUniformLocation(prog.mProgramId, "u_Texture1"); in before()
27 int textureUniformHandle2 = glGetUniformLocation(prog.mProgramId, "u_Texture2"); in before()
28 int timeUniformHandle = glGetUniformLocation(prog.mProgramId, "u_Time"); in before()
29 int positionHandle = glGetAttribLocation(prog.mProgramId, "a_Position"); in before()
30 int texCoordHandle = glGetAttribLocation(prog.mProgramId, "a_TexCoordinate"); in before()
/cts/tests/openglperf2/jni/primitive/contextswitch/
DContextSwitchRenderer.cpp95 mProgramId = GLUtils::createProgram(&CS_VERTEX, &CS_FRAGMENT); in setUp()
96 if (mProgramId == 0) { in setUp()
100 mTextureUniformHandle = glGetUniformLocation(mProgramId, "u_Texture"); in setUp()
101 mTranslateUniformHandle = glGetUniformLocation(mProgramId, "u_Translate"); in setUp()
102 mPositionHandle = glGetAttribLocation(mProgramId, "a_Position"); in setUp()
103 mTexCoordHandle = glGetAttribLocation(mProgramId, "a_TexCoord"); in setUp()
188 glUseProgram(mProgramId); in drawWorkload()
/cts/tests/openglperf2/jni/reference/scene/glowing/
DBlurMeshNode.cpp24 int textureUniformHandle = glGetUniformLocation(program.mProgramId, "u_Texture"); in before()
25 int scaleUniformHandle = glGetUniformLocation(program.mProgramId, "u_Scale"); in before()
26 int positionHandle = glGetAttribLocation(program.mProgramId, "a_Position"); in before()
27 int texCoordHandle = glGetAttribLocation(program.mProgramId, "a_TexCoordinate"); in before()
/cts/tests/openglperf2/jni/graphics/
DPerspectiveMeshNode.cpp26 int textureUniformHandle = glGetUniformLocation(prog.mProgramId, "u_Texture"); in before()
27 int positionHandle = glGetAttribLocation(prog.mProgramId, "a_Position"); in before()
28 int normalHandle = glGetAttribLocation(prog.mProgramId, "a_Normal"); in before()
29 int texCoordHandle = glGetAttribLocation(prog.mProgramId, "a_TexCoordinate"); in before()
DTexturedMeshNode.cpp22 int textureUniformHandle = glGetUniformLocation(program.mProgramId, "u_Texture"); in before()
23 int positionHandle = glGetAttribLocation(program.mProgramId, "a_Position"); in before()
24 int texCoordHandle = glGetAttribLocation(program.mProgramId, "a_TexCoordinate"); in before()
DProgram.cpp18 mProgramId(programId) { in Program()
22 glUseProgram(mProgramId); in before()
DProgram.h27 GLuint mProgramId; variable
DRenderer.h40 GLuint mProgramId; variable
/cts/tests/openglperf2/jni/primitive/fullpipeline/
DFullPipelineRenderer.cpp106 mProgramId = GLUtils::createProgram(&FP_VERTEX, &FP_FRAGMENT); in setUp()
107 if (mProgramId == 0) { in setUp()
110 mProgram = new PerspectiveProgram(mProgramId); in setUp()