[Mesa-dev] [PATCH mesa] egl/dri3: implement query surface hook
Emil Velikov
emil.l.velikov at gmail.com
Mon Feb 27 13:42:04 UTC 2017
On 27 February 2017 at 05:53, Tapani Pälli <tapani.palli at intel.com> wrote:
>>>> This is a DRI3 version of a change made for DRI2
>>>> (4d6d4f939e0af4252e0b, "egl/dri2: implement query surface hook"),
>>>> that fixed failures in dEQP-EGL.functional.resize.surface_size.grow
>>>> and dEQP-EGL.functional.resize.surface_size.shrink.
>>>
>>>
>>> Do these tests fail on some platform? When debugging the original
>>> failures this failed for me only when using DRI2. It's nice to be
>>> consistent but is it possible that this is not necessary because of
>>> differences between DRI2 and DRI3?
>>>
>> The tests failed on the PowerVR driver. The tests resize the drawable
>> before calling eglSwapBuffers, and query the drawable width and height
>> after the call. The driver hasn't started drawing the next frame at this
>> point, and so hasn't requested the new buffers for the drawable yet,
>> hence the old width and height were being returned.
>
>
> OK thanks for clarifying, these changes look good to me;
>
> Reviewed-by: Tapani Pälli <tapani.palli at intel.com>
>
I'm leaning that we'd want this for stable. Worth checking if it
improves the CI runs, or at least that nothing regresses ;-)
Thanks
Emil
More information about the mesa-dev
mailing list