[Intel-gfx] [PATCH] tests/testdisplay.c: Add a option '-g' to save images which intended to paint on screen during each mode setting.

Sun, Yi yi.sun at intel.com
Mon Aug 6 09:47:42 CEST 2012


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.

Thanks
   --Yi Sun


> -----Original Message-----
> From: Daniel Vetter [mailto:daniel.vetter at ffwll.ch] On Behalf Of Daniel Vetter
> Sent: Monday, August 06, 2012 3:09 PM
> To: Sun, Yi
> Cc: daniel.vetter at ffwll.ch; 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 Wed, Aug 01, 2012 at 09:51:46AM +0800, Yi Sun wrote:
> > That option will save all the images which are created and intended to paint
> on screen.
> > The images will be saved in folder "saveimages" with PNG format.
> >
> > Signed-off-by: Yi Sun <yi.sun at intel.com>
> 
> tbh I don't see the point of this. Care to elaborate a bit what you want to
> achieve with this?
> -Daniel
> --
> Daniel Vetter
> Mail: daniel at ffwll.ch
> Mobile: +41 (0)79 365 57 48



More information about the Intel-gfx mailing list