Home
last modified time | relevance | path

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

/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.cpp479 const GLuint colorLocation = m_gl.getUniformLocation(m_program->getProgram(), "u_color"); in genUniformColor() local
485 m_gl.uniform4uiv(colorLocation, 1, color.asUint().getPtr()); in genUniformColor()
491 m_gl.uniform4iv(colorLocation, 1, color.asInt().getPtr()); in genUniformColor()
498 m_gl.uniform4fv(colorLocation, 1, color.asFloat().getPtr()); in genUniformColor()
Des31fDrawElementsBaseVertexTests.cpp356 const GLuint colorLocation = m_gl.getUniformLocation(m_program->getProgram(), "u_colors[0]"); in iterate() local
397 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()