[Intel-gfx] why two vertex buffers ?

baisheng_wang baisheng_wang at 163.com
Tue Oct 16 08:09:46 CEST 2012


 Dear All,

In intel 3D driver, It seems there are two vertex buffers: one is "struct intel_buffer_object" (VBO), which catches all vertex
building and drawing commands, such as glVertex3f; Another is "struct prim" in "struct intel_context", into which functions like intel_draw_triangle accumulate vertex. So why exist two vertex buffers? What's the difference ?

Thanks,
Jacky

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20121016/2213574b/attachment.html>


More information about the Intel-gfx mailing list