diff options
author | Keith Whitwell <keithw@vmware.com> | 2009-02-17 12:07:09 +0000 |
---|---|---|
committer | Keith Whitwell <keithw@vmware.com> | 2009-02-17 12:07:09 +0000 |
commit | befa4ff50ec4728de70c04532f8c7342fbd70147 (patch) | |
tree | 3ad8401102877c13d51465502128c28be6f3658b /progs/trivial/tri-clear.c | |
parent | c5c383596ddb26cd75e4b355918ad16915283b59 (diff) |
draw: add map/unmap directives for swtnl driver interface
Previously draw module asked for a pointer into (mapped) vertex data,
which it would incrementally fill and emit draw commands against. This
was hard for the drivers to deal with, especially in the case where a
draw command would force a flush and thus an unmap of the vertex data.
With this change, the draw module explicitly maps & then unmaps vertex
data prior to emitting draw commands.
Diffstat (limited to 'progs/trivial/tri-clear.c')
0 files changed, 0 insertions, 0 deletions