diff options
author | Emil Velikov <[email protected]> | 2015-11-09 11:17:07 +0000 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2015-11-20 10:56:34 +0000 |
commit | 2bd9116b8249fdb1711335711f8daef5f68752a6 (patch) | |
tree | aa32cf15c81e25c3139deaa5f5a2721bdf2f2429 /src/gallium/auxiliary/vl/vl_winsys.h | |
parent | c31218cdb342482064345d78ada691521c367446 (diff) |
auxiliary/vl: rename vl_screen_create to vl_dri2_screen_create
In a preparation of having proper multi-platform/backend handling in VL.
With follow up commits we'll introduce a dispatch within vl_screen
similar to the one in pipe_screen. This way any VL state-tracker can
operate seamlessly, considering the backend/platform is properly setup.
Signed-off-by: Emil Velikov <[email protected]>
Acked-by: Alex Deucher <[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, 3 insertions, 3 deletions
diff --git a/src/gallium/auxiliary/vl/vl_winsys.h b/src/gallium/auxiliary/vl/vl_winsys.h index df01917466f..9aa65ad3200 100644 --- a/src/gallium/auxiliary/vl/vl_winsys.h +++ b/src/gallium/auxiliary/vl/vl_winsys.h @@ -46,9 +46,6 @@ struct vl_screen struct pipe_loader_device *dev; }; -struct vl_screen* -vl_screen_create(Display *display, int screen); - void vl_screen_destroy(struct vl_screen *vscreen); struct pipe_resource* @@ -67,6 +64,9 @@ void* vl_screen_get_private(struct vl_screen *vscreen); struct vl_screen* +vl_dri2_screen_create(Display *display, int screen); + +struct vl_screen * vl_drm_screen_create(int fd); void |