- Original Message -
> Previously we were mapping/unmapping the index buffer each time we
> found the restart index in the buffer. This is bad when the restart
> index is frequently used. Now just map the index buffer once, scan
> it to produce a list of sub-primitives, unmap the buffer,
Previously we were mapping/unmapping the index buffer each time we
found the restart index in the buffer. This is bad when the restart
index is frequently used. Now just map the index buffer once, scan
it to produce a list of sub-primitives, unmap the buffer, then draw
the sub-primitives.
Also,
Previously we were mapping/unmapping the index buffer each time we
found the restart index in the buffer. This is bad when the restart
index is frequently used. Now just map the index buffer once, scan
it to produce a list of sub-primitives, unmap the buffer, then draw
the sub-primitives.
Also,