Searched refs:nr_verts_in_row (Results 1 - 1 of 1) sorted by relevance

/xsrc/external/mit/mesa-demos/dist/src/tests/
H A Dcva_huge.c51 GLuint nr_verts_in_row = rows; variable in typeref:typename:GLuint
60 GLfloat step = row_width /(GLfloat)(nr_verts_in_row - 1);
61 verts = malloc(sizeof(verts[0]) * 4 * nr_verts_in_row * nr_verts_in_row);
63 for (y = 0; y < nr_verts_in_row; ++y) {
64 for (x = 0; x < nr_verts_in_row; ++x) {
65 unsigned idx = 4*(x + y * nr_verts_in_row);
79 GLfloat step = 255.0/(GLfloat)(nr_verts_in_row - 1);
80 color = malloc(sizeof(color[0]) * 4 * nr_verts_in_row * nr_verts_in_row);
[all...]

Completed in 60 milliseconds