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-Tag: mesa-7.8~3080^2~573 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=510a44eea799f2370b79e5da532b3004e94bb005;p=platform%2Fupstream%2Fmesa.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 85fc67ac..808d348 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<