search for: glgenbuff

Displaying 3 results from an estimated 3 matches for "glgenbuff".

2016 Apr 19
2
more one question regarding gl and nouveau
Hi, for example, if I have glVertex3f(0.75, 0.75, 1.0) how the video card processes these three floats? Does the card work with floats? Does (mesa? gallium? driver?) process these three input floats before it is sent to the card? Where is the code for it? If you say the floats are memory mapped as in exec->vtx.buffer_map = (GLfloat *)ctx->Driver.MapBufferRange(...) I would say from what I
2016 Apr 19
0
more one question regarding gl and nouveau
...make > any reference to those (memory mapped) input floats. So where is the piece > of > code that instructs the card to fetch those three (possibly processed) input > floats > and send them to the card? > > Thanks in advance. The vbo module converts this to the equivalent of glGenBuffers(1, &buf) glBindBuffer(GL_ARRAY_BUFFER, buf) glBufferData(GL_ARRAY_BUFFER, ...) foo = glMapBuffer(buf) write vertex values to foo glVertexAttribPointer(0, 3, GL_FLOAT, GL_FALSE, 0, 0); draw Hope that helps, -ilia
2016 Apr 19
2
more one question regarding gl and nouveau
...ats. So where is the > piece > > of > > code that instructs the card to fetch those three (possibly processed) > input > > floats > > and send them to the card? > > > > Thanks in advance. > > The vbo module converts this to the equivalent of > > glGenBuffers(1, &buf) > glBindBuffer(GL_ARRAY_BUFFER, buf) > glBufferData(GL_ARRAY_BUFFER, ...) > foo = glMapBuffer(buf) > write vertex values to foo > glVertexAttribPointer(0, 3, GL_FLOAT, GL_FALSE, 0, 0); > draw > > Hope that helps, > > -ilia > -------------- next par...