[PATCH 02/12] glamor: Ignore picture formats when choosing color for core rendering.

2015-07-08 Thread Eric Anholt
Attaching a picture to a pixmap doesn't change its GL format, so it doesn't change how core rendering should be assigning colors to it. (Imagine XCreatePixmap(), optional XCreatePicture(pixmap) with various formats, XFillRectangle, XGetImage(). If the XGetImage results changed, this would be

Re: [PATCH 02/12] glamor: Ignore picture formats when choosing color for core rendering.

2015-07-08 Thread Dave Airlie
On 9 July 2015 at 05:45, Eric Anholt e...@anholt.net wrote: Attaching a picture to a pixmap doesn't change its GL format, so it doesn't change how core rendering should be assigning colors to it. (Imagine XCreatePixmap(), optional XCreatePicture(pixmap) with various formats, XFillRectangle,