misc fixes for VC4

Eric Anholt eric at anholt.net
Wed Dec 31 11:52:47 PST 2014


Rob Clark <robdclark at gmail.com> writes:

> On Tue, Dec 30, 2014 at 5:54 PM, Eric Anholt <eric at anholt.net> 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20141231/cffc84ee/attachment.sig>


More information about the xorg-devel mailing list