Home
last modified time | relevance | path

Searched refs:attribLocation (Results 1 – 7 of 7) sorted by relevance

/external/angle/src/tests/perf_tests/
DPreRotationPerf.cpp137 GLint attribLocation = glGetAttribLocation(mProgram, "positionIn"); in drawBenchmark() local
138 ASSERT_NE(-1, attribLocation); in drawBenchmark()
150 glVertexAttrib4f(attribLocation, -2.0f, 0.0f, 0.0f, 1.0f); in drawBenchmark()
153 glVertexAttrib4f(attribLocation, 2.0f, 0.0f, 0.0f, 1.0f); in drawBenchmark()
156 glVertexAttrib4f(attribLocation, 0.0f, -2.0f, 0.0f, 1.0f); in drawBenchmark()
159 glVertexAttrib4f(attribLocation, 0.0f, 2.0f, 0.0f, 1.0f); in drawBenchmark()
162 glVertexAttrib4f(attribLocation, 0.0f, 0.0f, -2.0f, 1.0f); in drawBenchmark()
DUniformsPerf.cpp251 GLint attribLocation = glGetAttribLocation(mPrograms[0], "pos"); in initializeBenchmark() local
252 ASSERT_NE(-1, attribLocation); in initializeBenchmark()
253 ASSERT_EQ(attribLocation, glGetAttribLocation(mPrograms[1], "pos")); in initializeBenchmark()
254 glVertexAttrib4f(attribLocation, 1.0f, 0.0f, 0.0f, 1.0f); in initializeBenchmark()
/external/angle/src/tests/gl_tests/
DBufferDataTest.cpp1104 GLint attribLocation = glGetAttribLocation(program.get(), attribNameStr.str().c_str()); in TEST_P() local
1105 ASSERT_NE(-1, attribLocation); in TEST_P()
1107 glVertexAttribPointer(attribLocation, 1, GL_FLOAT, GL_FALSE, 4, nullptr); in TEST_P()
1108 glEnableVertexAttribArray(attribLocation); in TEST_P()
1125 GLint attribLocation = glGetAttribLocation(program.get(), attribNameStr.str().c_str()); in TEST_P() local
1126 ASSERT_NE(-1, attribLocation); in TEST_P()
1127 glDisableVertexAttribArray(attribLocation); in TEST_P()
DProgramBinaryTest.cpp185 GLint attribLocation = glGetAttribLocation(mProgram, essl1_shaders::PositionAttrib()); in TEST_P() local
186 ASSERT_NE(-1, attribLocation); in TEST_P()
187 glEnableVertexAttribArray(attribLocation); in TEST_P()
189 glVertexAttribPointer(attribLocation, 2, GL_BYTE, GL_FALSE, 0, nullptr); in TEST_P()
192 glVertexAttribPointer(attribLocation, 2, GL_UNSIGNED_BYTE, GL_FALSE, 0, nullptr); in TEST_P()
DTransformFeedbackTest.cpp841 GLint attribLocation = glGetAttribLocation(mProgram, "attrib"); in TEST_P() local
842 ASSERT_NE(-1, attribLocation); in TEST_P()
844 glVertexAttribPointer(attribLocation, 1, GL_FLOAT, GL_FALSE, 4, &attribData[0]); in TEST_P()
845 glEnableVertexAttribArray(attribLocation); in TEST_P()
914 GLint attribLocation = glGetAttribLocation(mProgram, "attrib"); in TEST_P() local
915 ASSERT_NE(-1, attribLocation); in TEST_P()
917 glVertexAttribPointer(attribLocation, 1, GL_FLOAT, GL_FALSE, 4, &attribData[0]); in TEST_P()
918 glEnableVertexAttribArray(attribLocation); in TEST_P()
3650 GLint attribLocation = glGetAttribLocation(prog, "attrib"); in TEST_P() local
3651 ASSERT_NE(-1, attribLocation); in TEST_P()
[all …]
/external/angle/src/libANGLE/
DProgramExecutable.cpp649 bool ProgramExecutable::isAttribLocationActive(size_t attribLocation) const in isAttribLocationActive()
653 ASSERT(attribLocation < mActiveAttribLocationsMask.size()); in isAttribLocationActive()
654 return mActiveAttribLocationsMask[attribLocation]; in isAttribLocationActive()
DProgramExecutable.h180 bool isAttribLocationActive(size_t attribLocation) const;