Re: [PATCH] gl: Use vertex attributes to store solid color for constant operations
Eric Anholt <[email protected]>
| Newsgroups | gmane.comp.lib.cairo |
|---|---|
| Message-ID | <[email protected]> |
Martin Robinson <[email protected]> writes: > From b23b51e4489131c41c268c7bcd98f9593cd79a83 Mon Sep 17 00:00:00 2001 > From: "Alejandro G. Castro" <[email protected]> > Date: Thu, 21 Feb 2013 13:01:47 -0800 > Subject: [PATCH] gl: Use vertex attributes to store solid color for constant > operations > > Add a rendering mode in which constant color information is passed to > shaders via vertex attributes instead of uniforms. This allows rendering > low-vertex geometry of different colors without flushing. It would be really nice to see performance numbers with changes like these -- I've totally checked out of cairo-gl stuff because nobody seems to be justifying changes being made. If you're looking for an easy way to do the stats, http://anholt.net/compare-perf/ -- cairo mailing list [email protected] http://lists.cairographics.org/mailman/listinfo/cairo
signature.asc
(application/pgp-signature, 197 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlFMpTIACgkQHUdvYGzw6vfp+QCfenpZN7b4GpBVb32TbfQglbHM FkoAnjiSOT40KmpYLFFso20GlIS4RZOb =pPkv -----END PGP SIGNATURE-----