Searched refs:mProgramId (Results 1 – 11 of 11) sorted by relevance
/cts/tests/openglperf2/jni/primitive/pixeloutput/ |
D | PixelOutputRenderer.cpp | 65 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/ |
D | ShaderPerfRenderer.cpp | 113 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/ |
D | WaterMeshNode.cpp | 26 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/ |
D | ContextSwitchRenderer.cpp | 95 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/graphics/ |
D | PerspectiveMeshNode.cpp | 26 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()
|
D | TexturedMeshNode.cpp | 22 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()
|
D | Program.cpp | 18 mProgramId(programId) { in Program() 22 glUseProgram(mProgramId); in before()
|
D | Program.h | 27 GLuint mProgramId; variable
|
D | Renderer.h | 40 GLuint mProgramId; variable
|
/cts/tests/openglperf2/jni/reference/scene/glowing/ |
D | BlurMeshNode.cpp | 24 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/primitive/fullpipeline/ |
D | FullPipelineRenderer.cpp | 106 mProgramId = GLUtils::createProgram(&FP_VERTEX, &FP_FRAGMENT); in setUp() 107 if (mProgramId == 0) { in setUp() 110 mProgram = new PerspectiveProgram(mProgramId); in setUp()
|