From: Keith Whitwell Date: Tue, 21 Apr 2009 18:49:29 +0000 (+0100) Subject: tests/mipmap_view: add a bunch of keystrokes for testing render-to-texture X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=510a44eea799f2370b79e5da532b3004e94bb005;p=mesa.git tests/mipmap_view: add a bunch of keystrokes for testing render-to-texture Move between mipmaps, render a triangle, reload textures with either the original arch (and GenMipmaps) or via straightforward glTexImage. --- diff --git a/progs/tests/mipmap_view.c b/progs/tests/mipmap_view.c index 85fc67ac79f..808d348699c 100644 --- a/progs/tests/mipmap_view.c +++ b/progs/tests/mipmap_view.c @@ -18,12 +18,27 @@ #define TEXTURE_FILE "../images/arch.rgb" -static int TexWidth = 256, TexHeight = 256; +#define LEVELS 8 +#define SIZE (1<