diff options
author | Martin Peres <[email protected]> | 2016-10-06 17:07:22 +0300 |
---|---|---|
committer | Martin Peres <[email protected]> | 2016-10-07 11:11:44 +0300 |
commit | 0247e5ee3edd546b8598082d5b45d110f61853d0 (patch) | |
tree | 428c1747d1b7fb8a49569c9bde6a0e2ffec63e96 /src/loader | |
parent | 82b4f1c47b1d6ca326dbd863253d89337f565309 (diff) |
loader/dri3: add get_dri_screen() to the vtable
This allows querying the current active screen from the
loader's common code.
Cc: [email protected]
Reviewed-by: Emil Velikov <[email protected]>
Signed-off-by: Martin Peres <[email protected]>
Diffstat (limited to 'src/loader')
-rw-r--r-- | src/loader/loader_dri3_helper.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/loader/loader_dri3_helper.h b/src/loader/loader_dri3_helper.h index 5b8fd1d24ca..658e190a3d7 100644 --- a/src/loader/loader_dri3_helper.h +++ b/src/loader/loader_dri3_helper.h @@ -103,6 +103,7 @@ struct loader_dri3_vtable { void (*set_drawable_size)(struct loader_dri3_drawable *, int, int); bool (*in_current_context)(struct loader_dri3_drawable *); __DRIcontext *(*get_dri_context)(struct loader_dri3_drawable *); + __DRIscreen *(*get_dri_screen)(struct loader_dri3_drawable *); void (*flush_drawable)(struct loader_dri3_drawable *, unsigned); void (*show_fps)(struct loader_dri3_drawable *, uint64_t); }; |