[PATCH 3/3] glamor: Add a helper function for the common GL_QUADS fallback pattern.
keithp at keithp.com
Wed Feb 4 21:45:58 PST 2015
Eric Anholt <eric at anholt.net> writes:
> We should do better than this with an index buffer, but for now at
> least make it so that we don't have to copy the same code to new
I remember writing the index buffer code at some point; it's really easy
as we just need to initialize a static index buffer and then dump the
coords into the driver in the existing order. Now I can't find it
In any case, having a wrapper function which dtrt seems fine to me.
Reviewed-by: Keith Packard <keithp at keithp.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 810 bytes
Desc: not available
More information about the xorg-devel