Re: [PATCH] radeon: avoid segfault when pixmap exceed GPU capabilities

2012-11-15 Thread Jerome Glisse
On Thu, Nov 15, 2012 at 5:04 AM, Michel Dänzer wrote: > On Mit, 2012-11-14 at 12:39 -0500, j.gli...@gmail.com wrote: >> From: Jerome Glisse >> >> We might get a request for a pixmap/drawable that is too big >> for GPU capabilities in the dri2 get buffer path. In face of >> such things just return

Re: [PATCH] radeon: avoid segfault when pixmap exceed GPU capabilities

2012-11-15 Thread Michel Dänzer
On Mit, 2012-11-14 at 12:39 -0500, j.gli...@gmail.com wrote: > From: Jerome Glisse > > We might get a request for a pixmap/drawable that is too big > for GPU capabilities in the dri2 get buffer path. In face of > such things just return NULL to dri2 get buffer request. The > GL driver should the

[PATCH] radeon: avoid segfault when pixmap exceed GPU capabilities

2012-11-14 Thread j . glisse
From: Jerome Glisse We might get a request for a pixmap/drawable that is too big for GPU capabilities in the dri2 get buffer path. In face of such things just return NULL to dri2 get buffer request. The GL driver should then use something like transparent black to avoid something too ugly on the