diff options
Diffstat (limited to 'va/va_backend.h')
-rw-r--r-- | va/va_backend.h | 24 |
1 files changed, 21 insertions, 3 deletions
diff --git a/va/va_backend.h b/va/va_backend.h index a588462..736c680 100644 --- a/va/va_backend.h +++ b/va/va_backend.h @@ -181,8 +181,8 @@ struct VADriverVTable VAStatus (*vaQuerySurfaceError) ( VADriverContextP ctx, VASurfaceID render_target, - VAStatus error_status, - void **error_info /*out*/ + VAStatus error_status, + void **error_info /*out*/ ); VAStatus (*vaPutSurface) ( @@ -400,7 +400,23 @@ struct VADriverContext */ struct VADriverVTableGLX *vtable_glx; - void *vtable_tpi; /* the structure is malloc-ed */ + /** + * The VA/EGL implementation hooks. + * + * This structure is intended for drivers that implement the + * VA/EGL API. The driver implementation is responsible for the + * allocation and deallocation of this structure. + */ + struct VADriverVTableEGL *vtable_egl; + + /** + * The third-party/private implementation hooks. + * + * This structure is intended for drivers that implement the + * private API. The driver implementation is responsible for the + * allocation and deallocation of this structure. + */ + void *vtable_tpi; void *native_dpy; int x11_screen; @@ -418,6 +434,8 @@ struct VADriverContext void *dri_state; void *glx; /* opaque for GLX code */ + + unsigned long reserved[45]; /* reserve for future add-ins, decrease the subscript accordingly */ }; #define VA_DISPLAY_MAGIC 0x56414430 /* VAD0 */ |