[Piglit] [PATCH 0/4] Minor Improvements

Ken Phillis Jr kphillisjr at gmail.com
Thu Aug 22 16:45:38 PDT 2013


I probably should mention that the first two patches of the four patches is
meant to fix some problems with compatibility fall back... The problem is
caused by the test suite note resetting the variable that stores the list
of supported extensions after the old context is destroyed. There is a high
probability that the next context will show a different list of supported
extensions in a compatibility context.

Example output ( before patch):
$ ./bin/textureSize 140 fs sampler2D -auto -fbo
piglit: info: Failed to create GL 3.1 core context
piglit: info: Falling back to GL 1.0 compatibility context
Function "GenFramebuffers" not supported on this implementation
PIGLIT: {'result': 'skip' }

Example output ( after patch):
$ ./bin/textureSize 140 fs sampler2D -auto -fbo
piglit: info: Failed to create GL 3.1 core context
piglit: info: Falling back to GL 1.0 compatibility context
PIGLIT: {'result': 'pass' }





On Tue, Aug 20, 2013 at 3:12 PM, Kenney Phillis <kphillisjr at gmail.com>wrote:

> A couple of minor improvements in handling OpenGL Context fallback and
> how to determine feature support in fbo-storage-formats.
>
> Kenney Phillis (4):
>   piglit-util-gl-common: Add Function to clear extensions list.
>   util/waffle: reinitialize extensions
>   fbo-storage-formats: Fix reporting of invalid formats.
>   fbo-storage-formats: enable tests for OpenGl 3.0 formats.
>
>  tests/fbo/fbo-storage-formats.c                    |   59
> +++++++++++---------
>  .../piglit-framework-gl/piglit_wfl_framework.c     |    2 +
>  tests/util/piglit-util-gl-common.c                 |    8 +++
>  tests/util/piglit-util-gl-common.h                 |    6 ++
>  4 files changed, 48 insertions(+), 27 deletions(-)
>
> --
> 1.7.9.5
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/piglit/attachments/20130822/c9efd5a3/attachment-0001.html>


More information about the Piglit mailing list