summaryrefslogtreecommitdiff
path: root/tests/testvirgl_encode.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testvirgl_encode.h')
-rw-r--r--tests/testvirgl_encode.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/testvirgl_encode.h b/tests/testvirgl_encode.h
index feb2be8..d717749 100644
--- a/tests/testvirgl_encode.h
+++ b/tests/testvirgl_encode.h
@@ -102,8 +102,10 @@ int virgl_encode_delete_object(struct virgl_context *ctx,
int virgl_encoder_set_framebuffer_state(struct virgl_context *ctx,
const struct pipe_framebuffer_state *state);
-int virgl_encoder_set_viewport_state(struct virgl_context *ctx,
- const struct pipe_viewport_state *state);
+int virgl_encoder_set_viewport_states(struct virgl_context *ctx,
+ int start_slot,
+ int num_viewports,
+ const struct pipe_viewport_state *states);
int virgl_encoder_draw_vbo(struct virgl_context *ctx,
const struct pipe_draw_info *info);
@@ -181,7 +183,7 @@ int virgl_encoder_set_blend_color(struct virgl_context *ctx,
const struct pipe_blend_color *color);
int virgl_encoder_set_scissor_state(struct virgl_context *ctx,
- int start_slot,
+ unsigned start_slot,
int num_scissors,
const struct pipe_scissor_state *ss);