[Mesa-dev] [PATCH] egl-util: Adds probe_front_pixel_rgb function

Matt Turner mattst88 at gmail.com
Thu Sep 27 10:48:52 PDT 2012


On Thu, Sep 20, 2012 at 8:59 AM, Robert Bragg <robert at sixbynine.org> wrote:
> This adds an egl_probe_front_pixel_rgb function that is analogous to
> piglit_probe_pixel_rgba except it probes the front buffer instead of
> probing the back buffer.
> ---
>  tests/egl/egl-util.c |   31 +++++++++++++++++++++++++++++++
>  tests/egl/egl-util.h |    4 ++++
>  2 files changed, 35 insertions(+), 0 deletions(-)

I applied these two patches with the intention of committing them, but
they cause egl-nok-swap-region to fail:

Front Buffer Probe at (15,15)
  Expected: 1.000000 0.000000 0.000000 1.000000
  Observed: 0.000000 1.000000 0.000000 0.000000
PIGLIT: {'result': 'fail' }

The test (before and after) doesn't end on its own either. I have to
close it in order to get the test result. I don't know if that's by
design, but it's not good for automated piglit testing.


More information about the mesa-dev mailing list