From 4f5500abe209b92b39ae1f2d7a1118362ac95034 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Tue, 18 Mar 2008 13:45:46 -0700 Subject: 8xx/9xx can handle textures to 2kx2k. 965 can do 8kx8k --- src/i830_render.c | 2 +- src/i915_render.c | 2 +- src/i965_render.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/i830_render.c b/src/i830_render.c index 949c7006..78ae40a0 100644 --- a/src/i830_render.c +++ b/src/i830_render.c @@ -231,7 +231,7 @@ static Bool i830_check_composite_texture(PicturePtr pPict, int unit) int h = pPict->pDrawable->height; int i; - if ((w > 0x7ff) || (h > 0x7ff)) + if ((w > 2048) || (h > 2048)) I830FALLBACK("Picture w/h too large (%dx%d)\n", w, h); for (i = 0; i < sizeof(i830_tex_formats) / sizeof(i830_tex_formats[0]); diff --git a/src/i915_render.c b/src/i915_render.c index b15beefe..8ac1b78e 100644 --- a/src/i915_render.c +++ b/src/i915_render.c @@ -188,7 +188,7 @@ static Bool i915_check_composite_texture(PicturePtr pPict, int unit) int h = pPict->pDrawable->height; int i; - if ((w > 0x7ff) || (h > 0x7ff)) + if ((w > 2048) || (h > 2048)) I830FALLBACK("Picture w/h too large (%dx%d)\n", w, h); for (i = 0; i < sizeof(i915_tex_formats) / sizeof(i915_tex_formats[0]); diff --git a/src/i965_render.c b/src/i965_render.c index 7f798e6c..ada3919a 100644 --- a/src/i965_render.c +++ b/src/i965_render.c @@ -182,7 +182,7 @@ static Bool i965_check_composite_texture(PicturePtr pPict, int unit) int h = pPict->pDrawable->height; int i; - if ((w > 0x7ff) || (h > 0x7ff)) + if ((w > 8192) || (h > 8192)) I830FALLBACK("Picture w/h too large (%dx%d)\n", w, h); for (i = 0; i < sizeof(i965_tex_formats) / sizeof(i965_tex_formats[0]); -- cgit v1.2.3