[PATCH 3/3] glamor: Add a helper function for the common GL_QUADS fallback pattern.

Keith Packard 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
> places.

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
though.

In any case, having a wrapper function which dtrt seems fine to me.

Reviewed-by: Keith Packard <keithp at keithp.com>

-- 
-keith
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 810 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20150204/d2ff2210/attachment.sig>


More information about the xorg-devel mailing list