Lines Matching refs:dri_drawable
52 struct dri_drawable base;
63 static struct dri_drawable *
82 dri2DestroyDrawable(VADriverContextP ctx, struct dri_drawable *dri_drawable)
84 VA_DRI2DestroyDrawable(ctx->native_dpy, dri_drawable->x_drawable);
85 free(dri_drawable);
89 dri2SwapBuffer(VADriverContextP ctx, struct dri_drawable *dri_drawable)
91 struct dri2_drawable *dri2_drawable = (struct dri2_drawable *)dri_drawable;
98 VA_DRI2SwapBuffers(ctx->native_dpy, dri_drawable->x_drawable, 0, 0,
107 VA_DRI2CopyRegion(ctx->native_dpy, dri_drawable->x_drawable, region,
115 dri2GetRenderingBuffer(VADriverContextP ctx, struct dri_drawable *dri_drawable)
117 struct dri2_drawable *dri2_drawable = (struct dri2_drawable *)dri_drawable;
124 if (dri_drawable->is_window)
129 buffers = VA_DRI2GetBuffers(ctx->native_dpy, dri_drawable->x_drawable,
154 dri_drawable->width = dri2_drawable->width;
155 dri_drawable->height = dri2_drawable->height;