diff options
author | Leo Liu <[email protected]> | 2015-11-04 16:24:26 -0500 |
---|---|---|
committer | Leo Liu <[email protected]> | 2015-11-08 18:15:57 -0500 |
commit | 7da86e0ec0cd38dcf58db97bb5c8a0eff9a3dd15 (patch) | |
tree | 3a482dbbf50365b3d978a599070f866560f21377 /src/gallium/auxiliary/vl/vl_winsys.h | |
parent | d115e47099b6c3ceb27d0c462eb559df6d1f9fd7 (diff) |
vl: add drm support for vl_screen
This will allow the state trackers to use render nodes
with screen creation
v2: dup fd for pipe loader
Signed-off-by: Leo Liu <[email protected]>
Reviewed-by: Christian König <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/vl/vl_winsys.h')
-rw-r--r-- | src/gallium/auxiliary/vl/vl_winsys.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/vl/vl_winsys.h b/src/gallium/auxiliary/vl/vl_winsys.h index f6b47c964f9..df01917466f 100644 --- a/src/gallium/auxiliary/vl/vl_winsys.h +++ b/src/gallium/auxiliary/vl/vl_winsys.h @@ -66,4 +66,10 @@ vl_screen_set_next_timestamp(struct vl_screen *vscreen, uint64_t stamp); void* vl_screen_get_private(struct vl_screen *vscreen); +struct vl_screen* +vl_drm_screen_create(int fd); + +void +vl_drm_screen_destroy(struct vl_screen *vscreen); + #endif |