Hi,This patch drops the GLX 1.3 requirement. It was initially desired to make sure the TFP extensions are available. However, some drivers do support TFP but still expose GLX 1.2. For those, glXQueryExtensionsString() shall return GLX_EXT_texture_from_pixmap.
I have checked two GMA500 drivers and they operate correctly. e.g. one with support TFP and not for the other. Test pending for G45 chips but I believe this is OK too. i.e. GLX_EXT_texture_from_pixmap is only reported as server & client extensions, not as plain GLX extensions.
Thanks, Gwenole.
From 239729facdd56e52d0f200bfda35cffc11d9ae77 Mon Sep 17 00:00:00 2001 From: Gwenole Beauchesne <[email protected]> Date: Thu, 1 Jul 2010 08:19:54 +0200 Subject: [PATCH] Drop GLX 1.3 requirement. --- va/glx/va_glx_impl.c | 6 ------ 1 files changed, 0 insertions(+), 6 deletions(-) diff --git a/va/glx/va_glx_impl.c b/va/glx/va_glx_impl.c index c28da91..f5bbe91 100644 --- a/va/glx/va_glx_impl.c +++ b/va/glx/va_glx_impl.c @@ -1070,12 +1070,6 @@ VAStatus va_glx_init_context(VADriverContextP ctx) if (!glXQueryVersion((Display *)ctx->native_dpy, &glx_major, &glx_minor)) return VA_STATUS_ERROR_UNIMPLEMENTED; - if (glx_major < 1 || (glx_major == 1 && glx_minor < 3)) { /* GLX 1.3 */ - va_glx_error_message("GLX version 1.3 expected but only " - "version %d.%d is available\n", - glx_major, glx_minor); - return VA_STATUS_ERROR_UNIMPLEMENTED; - } if (!check_tfp_extensions(ctx) || !load_tfp_extensions(ctx)) return VA_STATUS_ERROR_UNIMPLEMENTED; -- 1.5.4.3
_______________________________________________ Libva mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libva
