Searched refs:nr_chan (Results 1 – 1 of 1) sorted by relevance
/external/virglrenderer/src/ |
D | vrend_renderer.c | 514 GLuint nr_chan; member 2762 v->elements[i].nr_chan = GL_BGRA; in vrend_create_vertex_elements_state() 2764 v->elements[i].nr_chan = 3; in vrend_create_vertex_elements_state() 2766 v->elements[i].nr_chan = desc->nr_channels; in vrend_create_vertex_elements_state() 2779 glVertexAttribIFormat(i, ve->nr_chan, ve->type, ve->base.src_offset); in vrend_create_vertex_elements_state() 2782 glVertexAttribFormat(i, ve->nr_chan, ve->type, ve->norm, ve->base.src_offset); in vrend_create_vertex_elements_state() 4079 …data = glMapBufferRange(GL_ARRAY_BUFFER, vbo->base.buffer_offset, ve->nr_chan * sizeof(GLfloat), G… in vrend_draw_bind_vertex_legacy() 4081 switch (ve->nr_chan) { in vrend_draw_bind_vertex_legacy() 4101 …glVertexAttribIPointer(loc, ve->nr_chan, ve->type, vbo->base.stride, (void *)(unsigned long)(ve->b… in vrend_draw_bind_vertex_legacy() 4103 …glVertexAttribPointer(loc, ve->nr_chan, ve->type, ve->norm, vbo->base.stride, (void *)(unsigned lo… in vrend_draw_bind_vertex_legacy()
|