<div dir="ltr"><div>Wow! Things go deep... :)<br></div>Thank you very much.<br></div><div class="gmail_extra"><br><div class="gmail_quote">2016-04-19 11:44 GMT-04:00 Ilia Mirkin <span dir="ltr"><<a href="mailto:imirkin@alum.mit.edu" target="_blank">imirkin@alum.mit.edu</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Tue, Apr 19, 2016 at 11:01 AM, Daniel Melo Jorge da Cunha<br>
<<a href="mailto:dmjcunha@gmail.com">dmjcunha@gmail.com</a>> wrote:<br>
> Hi Ilia, you were straight to the point for me in:<br>
><br>
> "src/mesa/vbo will upload it to a vbo. The driver then points the<br>
> hardware at the vbo and tells it to read from there."<br>
><br>
> But where is it the function that implements this? Is it in<br>
> nv30_draw_vbo(...)? Please, give me a function name or<br>
> at least a file name?<br>
<br>
</span>Before draw_vbo is called, the vbo will have been set up via<br>
pipe->bind_vertex_elements_state and pipe->set_vertex_buffers. The<br>
draw call will then validate those, by calling nv30_state_validate (or<br>
something along those lines) which will look at all the dirtied state<br>
and write that out to hw.<br>
<br>
There are also funny interactions with translate... for formats that<br>
aren't directly supported.<br>
<span class="HOEnZb"><font color="#888888"><br>
-ilia<br>
</font></span></blockquote></div><br></div>