Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/renderstate/
DRenderState.cpp328 int colorLocation = -1; in render() local
330 colorLocation = fill.program->getAttrib("colors"); in render()
331 glEnableVertexAttribArray(colorLocation); in render()
332 … glVertexAttribPointer(colorLocation, 4, GL_FLOAT, GL_FALSE, vertices.stride, vertices.color); in render()
392 glDisableVertexAttribArray(colorLocation); in render()