[Mesa-dev] [Bug 40401] Cogs is slow

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Aug 27 06:10:02 PDT 2011


https://bugs.freedesktop.org/show_bug.cgi?id=40401

--- Comment #6 from Marek Olšák <maraeo at gmail.com> 2011-08-27 06:10:02 PDT ---
We usually just try to optimize drivers even for a totally inefficient OpenGL
usage and get the most performance out of it no matter what.

Some comments regarding the patches:
1) Can u_vbuf_mgr_draw_optimize be called inside u_vbuf_mgr_draw_begin instead
of explicitly by a driver?
2) Can you directly write the new vertices into a buffer object instead of user
memory, which must be uploaded to a buffer object at a later point anyway?
3) Could you please comment the code a bit more, e.g. how it interacts with the
other parts of u_vbuf_mgr.
4) We could use the translate module to convert indexed vertices in several
separate buffers into one non-indexed interleaved buffer. I think nv50 and nvc0
always do that for user buffers.

I think it's an optimization we definitely want.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the mesa-dev mailing list