Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/renderstate/
DRenderState.cpp350 int colorLocation = -1; in render() local
352 colorLocation = fill.program->getAttrib("colors"); in render()
353 glEnableVertexAttribArray(colorLocation); in render()
354 … glVertexAttribPointer(colorLocation, 4, GL_FLOAT, GL_FALSE, vertices.stride, vertices.color); in render()
448 glDisableVertexAttribArray(colorLocation); in render()