[PATCH 11/16] glamor: Use glamor_program and GL_LINES for 0-width lines

Keith Packard keithp at keithp.com
Mon Apr 7 23:53:14 PDT 2014

Michel Dänzer <michel at daenzer.net> writes:

> I'm afraid it's not that simple: I was testing with your current
> glamor-server branch.

Right, I was mistaken about the dependency on the dashing code; the
first 0-width line patch does indeed handle all fill styles. I had
written the code in a different order, but when cleaning things up, I
also made sure the solid code used the fill programs.

I cannot explain why it fails for you. I've verified locally that the
server is going through the GL code path for tiled and solid lines,
and (in fact), the example works as expected here.

Surely your hardware hits the same pixels when asked to draw the same
line twice in a row?

keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 810 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20140407/1cb3ebd0/attachment.sig>

More information about the xorg-devel mailing list