/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/ |
H A D | InterleavedAttributeData.cpp | 175 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()
|
H A D | DynamicPromotionPerfTest.cpp | 128 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()
|
H A D | InstancingPerf.cpp | 231 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()
|
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
H A D | DepthStencilTest.cpp | 427 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()
|
H A D | ShaderInterpTest.cpp | 41 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()
|
H A D | FramebufferFetchTest.cpp | 378 GLint colorLocation = glGetUniformLocation(program, "u_color"); in BasicTest() local 379 glUniform4fv(colorLocation, 1, color); in BasicTest() 425 GLint colorLocation = glGetUniformLocation(program, "u_color"); in MultipleRenderTargetTest() local 426 glUniform4fv(colorLocation, 1, color); in MultipleRenderTargetTest() 479 GLint colorLocation = glGetUniformLocation(program, "u_color"); in MultipleRenderTargetArrayTest() local 480 glUniform4fv(colorLocation, 1, color); in MultipleRenderTargetArrayTest() 514 GLint colorLocation = glGetUniformLocation(program, "u_color"); in MultipleDrawTest() local 515 glUniform4fv(colorLocation, 1, color1); in MultipleDrawTest() 521 glUniform4fv(colorLocation, 1, color2); in MultipleDrawTest() 720 GLint colorLocation in DrawNonFetchDrawFetchWithDifferentAttachmentsTest() local 838 GLint colorLocation = glGetUniformLocation(programFetch1, "u_color"); DrawNonFetchDrawFetchWithDifferentProgramsTest() local 917 GLint colorLocation = glGetUniformLocation(programFetch, "u_color"); DrawFetchBlitDrawFetchTest() local 1536 GLint colorLocation = glGetUniformLocation(program, "u_color"); TEST_P() local 1602 GLint colorLocation = glGetUniformLocation(program, "u_color"); TEST_P() local [all...] |
H A D | MultithreadingTest.cpp | 280 GLint colorLocation = glGetUniformLocation(program, essl1_shaders::ColorUniform()); in TEST_P() 296 glUniform4fv(colorLocation, 1, floatColor.data()); in TEST_P() 323 GLint colorLocation = glGetUniformLocation(program, essl1_shaders::ColorUniform()); in TEST_P() 342 glUniform4fv(colorLocation, 1, floatColor.data()); in TEST_P() 374 GLint colorLocation = glGetUniformLocation(program, essl1_shaders::ColorUniform()); in TEST_P() 393 glUniform4fv(colorLocation, 1, floatColor.data()); in TEST_P() 426 GLint colorLocation = glGetUniformLocation(program, essl1_shaders::ColorUniform()); in TEST_P() 446 glUniform4fv(colorLocation, 1, floatColor.data()); in TEST_P()
|
H A D | SixteenBppTextureTest.cpp | 434 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()
|
H A D | VulkanMultithreadingTest.cpp | 156 GLint colorLocation = glGetUniformLocation(program, essl1_shaders::ColorUniform()); in TEST_P() 180 glUniform4fv(colorLocation, 1, floatColor.data()); in TEST_P()
|
H A D | RobustBufferAccessBehaviorTest.cpp | 240 GLint colorLocation = glGetAttribLocation(program, "a_color"); in TEST_P() local 241 glEnableVertexAttribArray(colorLocation); in TEST_P() 242 glVertexAttribPointer(colorLocation, 4, GL_FLOAT, GL_FALSE, sizeof(angle::Vector4) * 2, in TEST_P()
|
H A D | VertexAttributeTest.cpp | 1934 GLint colorLocation = glGetAttribLocation(program, "a_ColorTest"); in TEST_P() local 1935 ASSERT_NE(colorLocation, -1); in TEST_P() 1936 glVertexAttribIPointer(colorLocation, 1, GL_UNSIGNED_INT, 4 * sizeof(GLuint), in TEST_P()
|
H A D | StateChangeTest.cpp | 1060 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()
|
/third_party/vk-gl-cts/modules/egl/ |
H A D | teglGLES2SharingTests.cpp | 409 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_NULL)); in renderResource() 423 GLU_CHECK_GLW_CALL(m_gl, disableVertexAttribArray(colorLocation)); in renderResource() 783 GLuint colorLocation = m_gl.getAttribLocation(m_program->getProgram(), "a_color"); in renderResource() local 785 TCU_CHECK(colorLocation != (GLuint)-1); in renderResource() 787 GLU_CHECK_GLW_CALL(m_gl, enableVertexAttribArray(colorLocation)); in renderResource() 790 GLU_CHECK_GLW_CALL(m_gl, vertexAttribPointer(colorLocation, 4, GL_FLOAT, GL_FALSE, 0, colors)); in renderResource() 795 GLU_CHECK_GLW_CALL(m_gl, disableVertexAttribArray(colorLocation)); in renderResource() 1072 GLuint colorLocation = m_gl.getAttribLocation(program, "a_color"); renderResource() local [all...] |
H A D | teglNativeColorMappingTests.cpp | 233 deUint32 colorLocation; in render() local 240 colorLocation = gl.getUniformLocation(program, "u_color"); in render() 241 gl.uniform4fv(colorLocation, 1, color.getPtr()); in render()
|
/third_party/vk-gl-cts/modules/gles31/stress/ |
H A D | es31sDrawTests.cpp | 185 const deInt32 colorLocation = gl.glGetAttribLocation(programID, "a_color"); 228 gl.glVertexAttribPointer(colorLocation, 4, GL_FLOAT, GL_FALSE, 0, DE_NULL); 229 gl.glEnableVertexAttribArray(colorLocation); 230 gl.glVertexAttribDivisor(colorLocation, 1);
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
H A D | es3fDrawTests.cpp | 689 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()
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
H A D | es31fShaderFramebufferFetchTests.cpp | 509 const GLuint colorLocation = m_gl.getUniformLocation(m_program->getProgram(), "u_color"); in genUniformColor() local 515 m_gl.uniform4uiv(colorLocation, 1, color.asUint().getPtr()); in genUniformColor() 521 m_gl.uniform4iv(colorLocation, 1, color.asInt().getPtr()); in genUniformColor() 528 m_gl.uniform4fv(colorLocation, 1, color.asFloat().getPtr()); in genUniformColor()
|
H A D | es31fDrawElementsBaseVertexTests.cpp | 376 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()
|
H A D | es31fDrawTests.cpp | 825 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()
|