Rob Clark <[email protected]> writes:

> On Tue, Dec 30, 2014 at 5:54 PM, Eric Anholt <[email protected]> wrote:
>> I've been looking into X performance on VC4 recently.  The first
>> obvious thing happening was that we're hitting some fallbacks in the
>> driver for things like GL_QUADS, so I thought "what if I use the GLES2
>> paths instead?"  Turns out the GLES2 paths are thoroughly broken now.
>> I wrote two quick patches that clean up a bunch of errors, but it's
>> not working yet.
>
> What about simply not using GL_QUADS for the normal GL paths?  Is
> using quads, vs tri's and a few extra vertices really going to be a
> win on some other hw?  If not, avoiding quads would be a big help for
> freedreno too..

We could use tris with glDrawElements.  But with an IB, I'd need to be
careful to use GL_UNSIGNED_SHORT indices and not GL_UNSIGNED_INT, and I
forget what the limits are on number of prims per request so it might be
tricky.

Attachment: signature.asc
Description: PGP signature

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to