[Nouveau] more one question regarding gl and nouveau
Ilia Mirkin
imirkin at alum.mit.edu
Tue Apr 19 15:44:51 UTC 2016
On Tue, Apr 19, 2016 at 11:01 AM, Daniel Melo Jorge da Cunha
<dmjcunha at gmail.com> wrote:
> Hi Ilia, you were straight to the point for me in:
>
> "src/mesa/vbo will upload it to a vbo. The driver then points the
> hardware at the vbo and tells it to read from there."
>
> But where is it the function that implements this? Is it in
> nv30_draw_vbo(...)? Please, give me a function name or
> at least a file name?
Before draw_vbo is called, the vbo will have been set up via
pipe->bind_vertex_elements_state and pipe->set_vertex_buffers. The
draw call will then validate those, by calling nv30_state_validate (or
something along those lines) which will look at all the dirtied state
and write that out to hw.
There are also funny interactions with translate... for formats that
aren't directly supported.
-ilia
More information about the Nouveau
mailing list