Home
last modified time | relevance | path

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

/external/virglrenderer/src/
Dvrend_renderer.c395 GLuint nr_chan; member
2274 v->elements[i].nr_chan = GL_BGRA; in vrend_create_vertex_elements_state()
2276 v->elements[i].nr_chan = 3; in vrend_create_vertex_elements_state()
2278 v->elements[i].nr_chan = desc->nr_channels; in vrend_create_vertex_elements_state()
2288 glVertexAttribIFormat(i, ve->nr_chan, ve->type, ve->base.src_offset); in vrend_create_vertex_elements_state()
2290 glVertexAttribFormat(i, ve->nr_chan, ve->type, ve->norm, ve->base.src_offset); in vrend_create_vertex_elements_state()
3404 …BufferRange(GL_ARRAY_BUFFER, ctx->sub->vbo[vbo_index].buffer_offset, ve->nr_chan * sizeof(GLfloat)… in vrend_draw_bind_vertex_legacy()
3406 switch (ve->nr_chan) { in vrend_draw_bind_vertex_legacy()
3426 …glVertexAttribIPointer(loc, ve->nr_chan, ve->type, ctx->sub->vbo[vbo_index].stride, (void *)(unsig… in vrend_draw_bind_vertex_legacy()
3428 …glVertexAttribPointer(loc, ve->nr_chan, ve->type, ve->norm, ctx->sub->vbo[vbo_index].stride, (void… in vrend_draw_bind_vertex_legacy()