> -----Original Message----- > From: daniel.vetter at ffwll.ch [mailto:daniel.vetter at ffwll.ch] On Behalf Of > Daniel Vetter > Sent: Monday, August 06, 2012 4:33 PM > To: Sun, Yi > Cc: intel-gfx at lists.freedesktop.org; Jin, Gordon > Subject: Re: [PATCH] tests/testdisplay.c: Add a option '-g' to save images which > intended to paint on screen during each mode setting. > > On Mon, Aug 6, 2012 at 9:47 AM, Sun, Yi <yi.sun at intel.com> wrote: > > We want to use the option to save the images which are intended to be > painted on the screen. > > The images will be save in the folder "saveimages", and named like > "1_1920x1200 at 60.png", "2_1920x1080 at 60" ..... > > > > That would be help for our automatic display testing. If some mode can't be > lighten up in automatic display testing, we could check the image saved in the > folder to see which mode setting failed manually. > > I still don't see what you need the images for ... adding more output sounds > sane, only lighting up a specific mode makes sense, but I have no idea what you > need the actual pngs for. Maybe I'm a bit dense. > -Daniel > -- Oh, it seems that lighting up a specific mode is better than saving the surface into file. I'll try to rewrite it. Thanks --Sun, Yi > Daniel Vetter > daniel.vetter at ffwll.ch - +41 (0) 79 364 57 48 - http://blog.ffwll.ch