[Piglit] [PATCH 09/20] fbo: Make an alternate function for initializing fbo-formats.h.

Eric Anholt eric at anholt.net
Thu Jun 7 15:44:46 PDT 2012


On Tue,  5 Jun 2012 17:03:19 -0700, Paul Berry <stereotype441 at gmail.com> wrote:
> This patch extracts code from fbo_formats_init() into a separate
> function, fbo_formats_init_test_set(), which skips command line
> parsing and simply initializes fbo-formats.h to use a particular test
> set.  This will allow future tests to make use of fbo-formats.h even
> if they have to use different command-line parsing than what is
> implemented in fbo_formats_init().
> 
> In addition, fbo_formats_init() has been changed to a non-static
> function, so that if an fbo test directly calls
> fbo_formats_init_test_set() instead, we won't get a spurious compile
> warning about an unused function.

Up to this patch is:

Reviewed-by: Eric Anholt <eric at anholt.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/piglit/attachments/20120607/9d5c74fe/attachment.pgp>


More information about the Piglit mailing list