Displaying 2 results from an estimated 2 matches for "check_texture".
2010 Feb 09
1
texture dimension limits in ddx
in nv10_exa.c :
check_texture does :
       if (w > 2046 || h > 2046)
                NOUVEAU_FALLBACK("picture too large, %dx%d\n", w, h);
check_render_target does :
        if (w > 4096 || h > 4096)
                return FALSE;
So we have different size limits for the source and the destination ?
Anot...
2009 Nov 04
1
[PATCH] nv10/exa: Spring-cleaning
...108},
-		{PICT_x8r8g8b8, 0x108},
-		{PICT_r5g6b5,	0x103}
-	};
-
-	int i;
-	for (i = 0; i < sizeof(dst_format) / sizeof(dst_format[0]); i++) {
-		if (dst_format[i].exa == ExaFormat)
-			return dst_format[i].hw;
-	}
-
-	return 0;
-}
-
-static Bool NV10CheckTexture(PicturePtr Picture)
+static Bool
+check_texture(PicturePtr pict)
 {
 	int w, h;
 
-	if (!Picture->pDrawable)
+	if (!pict->pDrawable)
 		NOUVEAU_FALLBACK("Solid and gradient pictures unsupported\n");
 
-	w = Picture->pDrawable->width;
-	h = Picture->pDrawable->height;
+	w = pict->pDrawable->width;
+	h = pict->...