diff options
author | Keith Packard <keithp@keithp.com> | 2008-03-18 13:45:46 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2008-03-18 14:10:25 -0700 |
commit | 4f5500abe209b92b39ae1f2d7a1118362ac95034 (patch) | |
tree | 06c84c603c92fb6f7f4ce09e700a80253a9e868f /src | |
parent | b1b173d03b3acd300c3b0f0ceffeddf1a8137839 (diff) |
8xx/9xx can handle textures to 2kx2k. 965 can do 8kx8k
Diffstat (limited to 'src')
-rw-r--r-- | src/i830_render.c | 2 | ||||
-rw-r--r-- | src/i915_render.c | 2 | ||||
-rw-r--r-- | src/i965_render.c | 2 |
3 files changed, 3 insertions, 3 deletions
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]); |