[Nouveau] more one question regarding gl and nouveau

Daniel Melo Jorge da Cunha dmjcunha at gmail.com
Tue Apr 19 12:52:18 UTC 2016


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 learned that it has to pass through gallium and that means:
st_draw_vbo(...) ending up in nv30_draw_vbo(..) but these functions don't
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/nouveau/attachments/20160419/0d227f1e/attachment.html>


More information about the Nouveau mailing list