Home
last modified time | relevance | path

Searched refs:colorLocation (Results 1 – 15 of 15) sorted by relevance

/external/angle/src/tests/perf_tests/
DInterleavedAttributeData.cpp175 GLint colorLocation = glGetAttribLocation(mPointSpriteProgram, "aColor"); in drawBenchmark() local
176 ASSERT_NE(colorLocation, -1); in drawBenchmark()
187 glEnableVertexAttribArray(colorLocation); in drawBenchmark()
188 glVertexAttribPointer(colorLocation, 3, GL_UNSIGNED_BYTE, GL_TRUE, in drawBenchmark()
196 glDisableVertexAttribArray(colorLocation); in drawBenchmark()
DDynamicPromotionPerfTest.cpp128 GLint colorLocation = glGetAttribLocation(mProgram, "color"); in initializeBenchmark() local
129 ASSERT_NE(-1, colorLocation); in initializeBenchmark()
132 glVertexAttribPointer(colorLocation, 3, GL_FLOAT, GL_FALSE, 0, in initializeBenchmark()
136 glEnableVertexAttribArray(colorLocation); in initializeBenchmark()
DInstancingPerf.cpp231 GLint colorLocation = glGetAttribLocation(mProgram, "aColor"); in initializeBenchmark() local
232 ASSERT_NE(-1, colorLocation); in initializeBenchmark()
233 glVertexAttribPointer(colorLocation, 3, GL_FLOAT, GL_FALSE, 12, nullptr); in initializeBenchmark()
234 glEnableVertexAttribArray(colorLocation); in initializeBenchmark()
235 glVertexAttribDivisorANGLE(colorLocation, 1); in initializeBenchmark()
/external/angle/src/tests/gl_tests/
DShaderInterpTest.cpp41 GLint colorLocation = glGetAttribLocation(program, "vertex_color"); in draw() local
44 glVertexAttribPointer(colorLocation, 4, GL_FLOAT, GL_FALSE, 0, colors.data()); in draw()
47 glEnableVertexAttribArray(colorLocation); in draw()
DSixteenBppTextureTest.cpp434 GLint colorLocation = glGetAttribLocation(program, "color"); in TEST_P() local
435 ASSERT_NE(-1, colorLocation); in TEST_P()
436 glEnableVertexAttribArray(colorLocation); in TEST_P()
437 glVertexAttribPointer(colorLocation, 4, GL_UNSIGNED_BYTE, GL_TRUE, 0, fourColors.data()); in TEST_P()
DMultithreadingTest.cpp172 GLint colorLocation = glGetUniformLocation(program, essl1_shaders::ColorUniform()); in TEST_P() local
191 glUniform4fv(colorLocation, 1, floatColor.data()); in TEST_P()
DRobustBufferAccessBehaviorTest.cpp243 GLint colorLocation = glGetAttribLocation(program, "a_color"); in TEST_P() local
244 glEnableVertexAttribArray(colorLocation); in TEST_P()
245 glVertexAttribPointer(colorLocation, 4, GL_FLOAT, GL_FALSE, sizeof(angle::Vector4) * 2, in TEST_P()
DStateChangeTest.cpp942 constexpr GLint colorLocation = 1; in TEST_P() local
946 glBindAttribLocation(dualProgram, colorLocation, "color"); in TEST_P()
994 glVertexAttribPointer(colorLocation, 4, GL_UNSIGNED_BYTE, GL_FALSE, 4, nullptr); in TEST_P()
995 glEnableVertexAttribArray(colorLocation); in TEST_P()
/external/deqp/modules/egl/
DteglGLES2SharingTests.cpp409 GLuint colorLocation = m_gl.getAttribLocation(program.getProgram(), "a_color"); in renderResource() local
411 TCU_CHECK(colorLocation != (GLuint)-1); in renderResource()
413 GLU_CHECK_GLW_CALL(m_gl, enableVertexAttribArray(colorLocation)); in renderResource()
417 …GLU_CHECK_GLW_CALL(m_gl, vertexAttribPointer(colorLocation, 1, GL_UNSIGNED_BYTE, GL_TRUE, 0, DE_NU… in renderResource()
423 GLU_CHECK_GLW_CALL(m_gl, disableVertexAttribArray(colorLocation)); in renderResource()
723 GLuint colorLocation = m_gl.getAttribLocation(m_program->getProgram(), "a_color"); in renderResource() local
725 TCU_CHECK(colorLocation != (GLuint)-1); in renderResource()
727 GLU_CHECK_GLW_CALL(m_gl, enableVertexAttribArray(colorLocation)); in renderResource()
730 GLU_CHECK_GLW_CALL(m_gl, vertexAttribPointer(colorLocation, 4, GL_FLOAT, GL_FALSE, 0, colors)); in renderResource()
735 GLU_CHECK_GLW_CALL(m_gl, disableVertexAttribArray(colorLocation)); in renderResource()
[all …]
DteglNativeColorMappingTests.cpp233 deUint32 colorLocation; in render() local
240 colorLocation = gl.getUniformLocation(program, "u_color"); in render()
241 gl.uniform4fv(colorLocation, 1, color.getPtr()); in render()
/external/deqp/modules/gles31/stress/
Des31sDrawTests.cpp185 const deInt32 colorLocation = gl.glGetAttribLocation(programID, "a_color"); in iterate() local
228 gl.glVertexAttribPointer(colorLocation, 4, GL_FLOAT, GL_FALSE, 0, DE_NULL); in iterate()
229 gl.glEnableVertexAttribArray(colorLocation); in iterate()
230 gl.glVertexAttribDivisor(colorLocation, 1); in iterate()
/external/deqp/modules/gles3/functional/
Des3fDrawTests.cpp689 deInt32 colorLocation = ctx.getAttribLocation(programID, "a_color"); in renderTo() local
737 ctx.vertexAttribPointer(colorLocation, 4, GL_FLOAT, GL_FALSE, 0, DE_NULL); in renderTo()
738 ctx.vertexAttribDivisor(colorLocation, 1); in renderTo()
739 ctx.enableVertexAttribArray(colorLocation); in renderTo()
/external/deqp/modules/gles31/functional/
Des31fShaderFramebufferFetchTests.cpp480 const GLuint colorLocation = m_gl.getUniformLocation(m_program->getProgram(), "u_color"); in genUniformColor() local
486 m_gl.uniform4uiv(colorLocation, 1, color.asUint().getPtr()); in genUniformColor()
492 m_gl.uniform4iv(colorLocation, 1, color.asInt().getPtr()); in genUniformColor()
499 m_gl.uniform4fv(colorLocation, 1, color.asFloat().getPtr()); in genUniformColor()
Des31fDrawElementsBaseVertexTests.cpp364 const GLuint colorLocation = m_gl.getUniformLocation(m_program->getProgram(), "u_colors[0]"); in iterate() local
405 GLU_CHECK_GLW_CALL(m_gl, uniform4fv(colorLocation, DE_LENGTH_OF_ARRAY(colors), &colors[0])); in iterate()
Des31fDrawTests.cpp821 deInt32 colorLocation = ctx.getAttribLocation(programID, "a_color"); in renderTo() local
872 ctx.vertexAttribPointer(colorLocation, 4, GL_FLOAT, GL_FALSE, 0, DE_NULL); in renderTo()
873 ctx.vertexAttribDivisor(colorLocation, 1); in renderTo()
874 ctx.enableVertexAttribArray(colorLocation); in renderTo()