Home
last modified time | relevance | path

Searched refs:colorLocation (Results 1 – 18 of 18) 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/
DDepthStencilTest.cpp427 GLint colorLocation = glGetUniformLocation(program, angle::essl1_shaders::ColorUniform()); in TEST_P() local
428 ASSERT_NE(-1, colorLocation); in TEST_P()
431 glUniform4f(colorLocation, 1.0f, 0.0f, 0.0f, 1.0f); in TEST_P()
477 GLint colorLocation = glGetUniformLocation(program, angle::essl1_shaders::ColorUniform()); in TEST_P() local
478 ASSERT_NE(-1, colorLocation); in TEST_P()
481 glUniform4f(colorLocation, 1.0f, 0.0f, 0.0f, 1.0f); in TEST_P()
525 GLint colorLocation = glGetUniformLocation(program, angle::essl1_shaders::ColorUniform()); in TEST_P() local
526 ASSERT_NE(-1, colorLocation); in TEST_P()
529 glUniform4f(colorLocation, 1.0f, 0.0f, 0.0f, 1.0f); in TEST_P()
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()
DFramebufferFetchTest.cpp371 GLint colorLocation = glGetUniformLocation(program, "u_color"); in BasicTest() local
372 glUniform4fv(colorLocation, 1, color); in BasicTest()
418 GLint colorLocation = glGetUniformLocation(program, "u_color"); in MultipleRenderTargetTest() local
419 glUniform4fv(colorLocation, 1, color); in MultipleRenderTargetTest()
472 GLint colorLocation = glGetUniformLocation(program, "u_color"); in MultipleRenderTargetArrayTest() local
473 glUniform4fv(colorLocation, 1, color); in MultipleRenderTargetArrayTest()
507 GLint colorLocation = glGetUniformLocation(program, "u_color"); in MultipleDrawTest() local
508 glUniform4fv(colorLocation, 1, color1); in MultipleDrawTest()
514 glUniform4fv(colorLocation, 1, color2); in MultipleDrawTest()
713 GLint colorLocation = glGetUniformLocation(programFetch, "u_color"); in DrawNonFetchDrawFetchWithDifferentAttachmentsTest() local
[all …]
DMultithreadingTest.cpp266 GLint colorLocation = glGetUniformLocation(program, essl1_shaders::ColorUniform()); in TEST_P() local
282 glUniform4fv(colorLocation, 1, floatColor.data()); in TEST_P()
309 GLint colorLocation = glGetUniformLocation(program, essl1_shaders::ColorUniform()); in TEST_P() local
328 glUniform4fv(colorLocation, 1, floatColor.data()); in TEST_P()
362 GLint colorLocation = glGetUniformLocation(program, essl1_shaders::ColorUniform()); in TEST_P() local
381 glUniform4fv(colorLocation, 1, floatColor.data()); in TEST_P()
414 GLint colorLocation = glGetUniformLocation(program, essl1_shaders::ColorUniform()); in TEST_P() local
434 glUniform4fv(colorLocation, 1, floatColor.data()); in TEST_P()
DVulkanMultithreadingTest.cpp154 GLint colorLocation = glGetUniformLocation(program, essl1_shaders::ColorUniform()); in TEST_P() local
178 glUniform4fv(colorLocation, 1, floatColor.data()); in TEST_P()
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()
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.cpp1060 constexpr GLint colorLocation = 1; in TEST_P() local
1064 glBindAttribLocation(dualProgram, colorLocation, "color"); in TEST_P()
1112 glVertexAttribPointer(colorLocation, 4, GL_UNSIGNED_BYTE, GL_FALSE, 4, nullptr); in TEST_P()
1113 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.cpp501 const GLuint colorLocation = m_gl.getUniformLocation(m_program->getProgram(), "u_color"); in genUniformColor() local
507 m_gl.uniform4uiv(colorLocation, 1, color.asUint().getPtr()); in genUniformColor()
513 m_gl.uniform4iv(colorLocation, 1, color.asInt().getPtr()); in genUniformColor()
520 m_gl.uniform4fv(colorLocation, 1, color.asFloat().getPtr()); in genUniformColor()
Des31fDrawElementsBaseVertexTests.cpp376 const GLuint colorLocation = m_gl.getUniformLocation(m_program->getProgram(), "u_colors[0]"); in iterate() local
417 GLU_CHECK_GLW_CALL(m_gl, uniform4fv(colorLocation, DE_LENGTH_OF_ARRAY(colors), &colors[0])); in iterate()
Des31fDrawTests.cpp825 deInt32 colorLocation = ctx.getAttribLocation(programID, "a_color"); in renderTo() local
876 ctx.vertexAttribPointer(colorLocation, 4, GL_FLOAT, GL_FALSE, 0, DE_NULL); in renderTo()
877 ctx.vertexAttribDivisor(colorLocation, 1); in renderTo()
878 ctx.enableVertexAttribArray(colorLocation); in renderTo()