virglrenderer: Expose VIRGL_RES_BIND_SCANOUT externally.

Allow external users to intercept resource creation based on
scanout bind flag.

Signed-off-by: David Riley <davidriley@chromium.org>
Reviewed-by: Gert Wollny <gert.wollny@collabora.com>
macos/master
David Riley 6 years ago committed by Gert Wollny
parent 1fd939c912
commit 72902a5b86
  1. 1
      src/virglrenderer.h

@ -95,6 +95,7 @@ VIRGL_EXPORT int virgl_renderer_get_fd_for_texture2(uint32_t tex_id, int *fd, in
#define VIRGL_RES_BIND_STREAM_OUTPUT (1 << 11)
#define VIRGL_RES_BIND_CURSOR (1 << 16)
#define VIRGL_RES_BIND_CUSTOM (1 << 17)
#define VIRGL_RES_BIND_SCANOUT (1 << 18)
struct virgl_renderer_resource_create_args {
uint32_t handle;

Loading…
Cancel
Save