aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/virgl/virgl_encode.h
diff options
context:
space:
mode:
authorGert Wollny <[email protected]>2019-05-27 16:02:28 +0200
committerGert Wollny <[email protected]>2019-06-20 08:50:38 +0200
commitd8967b79518c54f6e8a9444819b28e6e70df46bf (patch)
treeeb2a02187db66687a27ca40a1286eb6ae3922cea /src/gallium/drivers/virgl/virgl_encode.h
parent28dc096e15fcf072a70a434297b2e00882a6136d (diff)
virgl: Add skeleton to evaluate cap and send tweaks
Signed-off-by: Gert Wollny <[email protected]> Reviewed-by: Gurchetan Singh <[email protected]>
Diffstat (limited to 'src/gallium/drivers/virgl/virgl_encode.h')
-rw-r--r--src/gallium/drivers/virgl/virgl_encode.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/virgl/virgl_encode.h b/src/gallium/drivers/virgl/virgl_encode.h
index 3cbec0f021c..a46ee216917 100644
--- a/src/gallium/drivers/virgl/virgl_encode.h
+++ b/src/gallium/drivers/virgl/virgl_encode.h
@@ -27,6 +27,7 @@
#include "pipe/p_state.h"
#include "virgl_winsys.h"
+#include "virgl_protocol.h"
struct tgsi_token;
@@ -296,4 +297,7 @@ void virgl_encode_copy_transfer(struct virgl_context *ctx,
struct virgl_transfer *trans);
void virgl_encode_end_transfers(struct virgl_cmd_buf *buf);
+
+int virgl_encode_tweak(struct virgl_context *ctx, enum vrend_tweak_type tweak, uint32_t value);
+
#endif