/external/angle/src/tests/perf_tests/ |
D | PreRotationPerf.cpp | 137 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()
|
D | UniformsPerf.cpp | 251 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/ |
D | BufferDataTest.cpp | 1104 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()
|
D | ProgramBinaryTest.cpp | 185 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()
|
D | TransformFeedbackTest.cpp | 841 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/ |
D | ProgramExecutable.cpp | 649 bool ProgramExecutable::isAttribLocationActive(size_t attribLocation) const in isAttribLocationActive() 653 ASSERT(attribLocation < mActiveAttribLocationsMask.size()); in isAttribLocationActive() 654 return mActiveAttribLocationsMask[attribLocation]; in isAttribLocationActive()
|
D | ProgramExecutable.h | 180 bool isAttribLocationActive(size_t attribLocation) const;
|