On 2 May 2015 at 20:15, Axel Davy <axel.d...@ens.fr> wrote: > Checks blitImage is implemented. > Initially having the __DRIimageExtension extension > at version 9 at least meant blitImage was supported. > However some implementations do advertise version >= 9 > without implementing it. > > Signed-off-by: Axel Davy <axel.d...@ens.fr>
Reviewed-by: Dave Airlie <airl...@redhat.com> > --- > src/glx/dri3_glx.c | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/src/glx/dri3_glx.c b/src/glx/dri3_glx.c > index 1ddc723..fa38513 100644 > --- a/src/glx/dri3_glx.c > +++ b/src/glx/dri3_glx.c > @@ -1985,6 +1985,11 @@ dri3_create_screen(int screen, struct glx_display * > priv) > goto handle_error; > } > > + if (psc->is_different_gpu && !psc->image->blitImage) { > + ErrorMessageF("Different GPU, but blitImage not implemented for this > driver\n"); > + goto handle_error; > + } > + > if (!psc->is_different_gpu && ( > !psc->texBuffer || psc->texBuffer->base.version < 2 || > !psc->texBuffer->setTexBuffer2 > -- > 2.3.7 > > _______________________________________________ > mesa-dev mailing list > mesa-dev@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/mesa-dev _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev