[Intel-gfx] [PATCH] Handle differently tiled front/back/depth/third in DRI window management

Julien Cristau jcristau at debian.org
Sun Oct 19 21:41:35 CEST 2008


On Fri, Oct 17, 2008 at 00:07:09 -0700, Keith Packard wrote:

> diff --git a/src/i830_dri.c b/src/i830_dri.c
> index fb9b6f6..c964486 100644
> --- a/src/i830_dri.c
> +++ b/src/i830_dri.c
> @@ -1191,47 +1191,42 @@ I830DRIInitBuffers(WindowPtr pWin, RegionPtr prgn, CARD32 index)
>  {
>     ScreenPtr pScreen = pWin->drawable.pScreen;
>     ScrnInfoPtr pScrn = xf86Screens[pScreen->myNum];
> -   BoxPtr pbox = REGION_RECTS(prgn);
> -   int nbox = REGION_NUM_RECTS(prgn);
> +   BoxPtr pbox;
> +   int nbox;
> +   int buffer, first_buffer, last_buffer;
>  
> +   return;
>     if (I810_DEBUG & DEBUG_VERBOSE_DRI)
>        ErrorF("I830DRIInitBuffers\n");
>  
The added 'return;' looks like a bug?

Cheers,
Julien



More information about the Intel-gfx mailing list