Re: [Mesa-dev] [PATCH 1/9] gallium/dri: Support DRI Image extension version 6

2013-11-22 Thread Axel Davy
>A dri_context can be converted to a st_context. Sorry for the typo. It should be "A dri_context can't be converted to a st_context". Axel Davy ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mes

Re: [Mesa-dev] [PATCH 1/9] gallium/dri: Support DRI Image extension version 6

2013-11-22 Thread Axel Davy
+ void *loaderPrivate) +{ + __DRIimage *img; + struct gl_context *ctx = ((struct st_context *)dri_context(context))->ctx; + struct gl_texture_object *obj; + struct pipe_resource *tex; + GLuint face = 0; This part doesn't work. A dri_context can be converted to a

[Mesa-dev] [PATCH 1/9] gallium/dri: Support DRI Image extension version 6

2013-11-20 Thread christopher . halse . rogers
From: Christopher James Halse Rogers --- src/gallium/state_trackers/dri/drm/dri2.c | 72 ++- 1 file changed, 71 insertions(+), 1 deletion(-) diff --git a/src/gallium/state_trackers/dri/drm/dri2.c b/src/gallium/state_trackers/dri/drm/dri2.c index 868cd25..bc6ca0a 100