Re: [PATCH 4/5] glx: Implement GLX_PRESERVED_CONTENTS drawable attribute

2013-03-07 Thread Tomasz Lis
I agree with Ian's proposition to add integer counter which replaces hard-coded index. This also allows to add: assert(i <= sizeof(attribs)/sizeof(attribs[0])) While both GLX 1.4 spec and older GLX_SGIX_pbuffer do not mention what value to return if GLX_PRESERVED_CONTENTS is unset on creation, th

Re: [PATCH] xserver: add monitor Option "ZoomModes"

2013-03-07 Thread vdb
> On 11/21/2012 04:12 AM, v...@picaros.org wrote: > > Add support for the Option "ZoomModes" in a monitor section: > > > > Section "Monitor" > >Identifier "a21inch" > >Option "PreferredMode" "1600x1200" > >Option "ZoomModes" "1600x1200 1280x1024 1280x1024 640x480" > > EndSection > > "Z

Re: Initial DRI3000 protocol specs available

2013-03-07 Thread Aaron Plattner
On 03/06/2013 10:35 PM, Keith Packard wrote: * PGP Signed by an unknown key Owen Taylor writes: A complex scheme where the compositor and the server collaborate on the implementation of SwapRegion seems fragile to me, and still doesn't get some details right - like the swap count returned fro

Re: Initial DRI3000 protocol specs available

2013-03-07 Thread Keith Packard
Aaron Plattner writes: > If I'm understanding this correctly, this requires the X server to > receive a notification from the GPU that the swap is complete so it can > send the SwapComplete event. Is there any chance this could be done > with a Fence instead? The application could specify th

Re: Initial DRI3000 protocol specs available

2013-03-07 Thread Owen Taylor
On Thu, 2013-02-28 at 16:55 -0800, Keith Packard wrote: > > * It would be great if we could figure out a plan to get to the > > point where the exact same application code is going to work for > > proprietary and open source drivers. When you get down to the details > > of swap this isn't cl

Re: Initial DRI3000 protocol specs available

2013-03-07 Thread James Jones
On 03/07/2013 12:49 PM, Keith Packard wrote: * PGP Signed by an unknown key Aaron Plattner writes: If I'm understanding this correctly, this requires the X server to receive a notification from the GPU that the swap is complete so it can send the SwapComplete event. Is there any chance this

Re: Initial DRI3000 protocol specs available

2013-03-07 Thread James Jones
On 03/07/2013 01:19 PM, Owen Taylor wrote: On Thu, 2013-02-28 at 16:55 -0800, Keith Packard wrote: * It would be great if we could figure out a plan to get to the point where the exact same application code is going to work for proprietary and open source drivers. When you get down to the

Re: how to reduce X building time?

2013-03-07 Thread Peter Hutterer
On Thu, Mar 07, 2013 at 06:32:23AM +, wolfking wrote: > > hi, all: I'm building the X on my PowerPC platform and have a problem: > Everytime when I use the build.sh scricpt to build the X, the build.sh > restart from thebeginning to compile, it wastes a lot of time to rebuild the > compon

Re: Initial DRI3000 protocol specs available

2013-03-07 Thread Keith Packard
James Jones writes: > If you associate an X Fence Sync with your swap operation, the driver > has the option to trigger it directly from the client command stream and > wake up only the applications waiting for that fence. Yeah, right now we're doing some hand-waving about serialization which

Re: Initial DRI3000 protocol specs available

2013-03-07 Thread Keith Packard
James Jones writes: > There didn't seem to be much interest outside of NVIDIA, so > besides fence sync, the ideas are tabled internally ATM. This shouldn't surprise you though -- no-one else needs this kind of synchronization, so it's really hard for anyone to evaluate it. And, DRI2 offers 'suf

Re: [PATCH] fb: Rename wfbDestroyGlyphCache

2013-03-07 Thread Keith Packard
Aaron Plattner writes: > Renaming this function was missed in commit > 9cbcb5bd6a5360a128d15b77a02d8d3351f74366, so both libfb.so and libwfb.so > define > functions named fbDestroyGlyphCache. Merged. 103b77c..5047810 master -> master -- keith.pack...@intel.com pgpVd2Llyp22C.pgp Descript

[PULL] -next for 1.15

2013-03-07 Thread Peter Hutterer
Misc patches accumulated during the freeze window. Nothing outrageous and no big features in here. The following changes since commit 90642948cc78834d95f7a3bddaac7ff77b68ed7e: Merge remote-tracking branch 'jeremyhu/master' (2013-02-14 11:05:48 -0800) are available in the git repository at:

Re: [PATCH] dix/resource: bug out if we get 0 type resource added

2013-03-07 Thread Keith Packard
Colin Harrison writes: > -counts[(type & TypeMask) - 1]++; > +if ((type & TypeMask) != RT_NONE) counts[(type & TypeMask) - 1]++; > } > > to avoid xrestop crashing the server...which has got to be a good > thing? Ouch. Looks like there really are places in the server storing RT_NONE reso