summaryrefslogtreecommitdiff
path: root/va/va_backend.h
diff options
context:
space:
mode:
authorDmitry Ermilov <dmitry.ermilov@intel.com>2012-06-07 19:29:14 +0400
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>2012-09-26 11:47:56 +0200
commitbcc85ca5200ae83cbbf895dde46bfa2767495f7f (patch)
treef6bf21d0f59aee73f630430537809cec4d0dbd9d /va/va_backend.h
parent901bbe13c187bfcc138f5a9def3d3625a6395657 (diff)
API: add support for raw DRM.
This API makes it possible to use DRM-based VA drivers without an X server. Since this is a renderless API, vaPutSurface() is not available. Signed-off-by: Dmitry Ermilov <dmitry.ermilov@intel.com> Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Diffstat (limited to 'va/va_backend.h')
-rw-r--r--va/va_backend.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/va/va_backend.h b/va/va_backend.h
index a6f4047..b6b651c 100644
--- a/va/va_backend.h
+++ b/va/va_backend.h
@@ -46,6 +46,8 @@ enum {
VA_DISPLAY_GLX = (VA_DISPLAY_X11 | (1 << 0)),
/** \brief VA/Android API is used, through vaGetDisplay() entry-point. */
VA_DISPLAY_ANDROID = 0x20,
+ /** \brief VA/DRM API is used, through vaGetDisplayDRM() entry-point. */
+ VA_DISPLAY_DRM = 0x30,
};
struct VADriverVTable