aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/include/state_tracker/drm_api.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/include/state_tracker/drm_api.h')
-rw-r--r--src/gallium/include/state_tracker/drm_api.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gallium/include/state_tracker/drm_api.h b/src/gallium/include/state_tracker/drm_api.h
index 4d1259e1ee7..ea0b91c5813 100644
--- a/src/gallium/include/state_tracker/drm_api.h
+++ b/src/gallium/include/state_tracker/drm_api.h
@@ -8,6 +8,7 @@ struct pipe_screen;
struct pipe_winsys;
struct pipe_buffer;
struct pipe_context;
+struct pipe_video_context;
struct pipe_texture;
enum drm_create_screen_mode {
@@ -36,6 +37,11 @@ struct drm_api
struct drm_create_screen_arg *arg);
struct pipe_context* (*create_context)(struct drm_api *api,
struct pipe_screen *screen);
+ struct pipe_video_context* (*create_video_context)(struct drm_api *api,
+ struct pipe_screen *screen,
+ enum pipe_video_profile profile,
+ enum pipe_video_chroma_format chroma_format,
+ unsigned width, unsigned height);
/*@}*/
/**