HomeSort by relevance Sort by last modified time
    Searched refs:colorLocation (Results 1 - 6 of 6) sorted by null

  /frameworks/base/libs/hwui/renderstate/
RenderState.cpp 328 int colorLocation = -1;
330 colorLocation = fill.program->getAttrib("colors");
331 glEnableVertexAttribArray(colorLocation);
332 glVertexAttribPointer(colorLocation, 4, GL_FLOAT, GL_FALSE, vertices.stride, vertices.color);
392 glDisableVertexAttribArray(colorLocation);
  /external/deqp/modules/egl/
teglGLES2SharingTests.cpp 409 GLuint colorLocation = m_gl.getAttribLocation(program.getProgram(), "a_color");
411 TCU_CHECK(colorLocation != (GLuint)-1);
413 GLU_CHECK_GLW_CALL(m_gl, enableVertexAttribArray(colorLocation));
417 GLU_CHECK_GLW_CALL(m_gl, vertexAttribPointer(colorLocation, 1, GL_UNSIGNED_BYTE, GL_TRUE, 0, DE_NULL));
423 GLU_CHECK_GLW_CALL(m_gl, disableVertexAttribArray(colorLocation));
723 GLuint colorLocation = m_gl.getAttribLocation(m_program->getProgram(), "a_color");
725 TCU_CHECK(colorLocation != (GLuint)-1);
727 GLU_CHECK_GLW_CALL(m_gl, enableVertexAttribArray(colorLocation));
730 GLU_CHECK_GLW_CALL(m_gl, vertexAttribPointer(colorLocation, 4, GL_FLOAT, GL_FALSE, 0, colors));
735 GLU_CHECK_GLW_CALL(m_gl, disableVertexAttribArray(colorLocation));
    [all...]
teglNativeColorMappingTests.cpp 233 deUint32 colorLocation;
240 colorLocation = gl.getUniformLocation(program, "u_color");
241 gl.uniform4fv(colorLocation, 1, color.getPtr());
  /external/deqp/modules/gles31/stress/
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);
  /external/deqp/modules/gles3/functional/
es3fDrawTests.cpp 689 deInt32 colorLocation = ctx.getAttribLocation(programID, "a_color");
737 ctx.vertexAttribPointer(colorLocation, 4, GL_FLOAT, GL_FALSE, 0, DE_NULL);
738 ctx.vertexAttribDivisor(colorLocation, 1);
739 ctx.enableVertexAttribArray(colorLocation);
    [all...]
  /external/deqp/modules/gles31/functional/
es31fDrawTests.cpp 821 deInt32 colorLocation = ctx.getAttribLocation(programID, "a_color");
872 ctx.vertexAttribPointer(colorLocation, 4, GL_FLOAT, GL_FALSE, 0, DE_NULL);
873 ctx.vertexAttribDivisor(colorLocation, 1);
874 ctx.enableVertexAttribArray(colorLocation);
    [all...]

Completed in 223 milliseconds