{
}
+static void noop_set_frontend_noop(struct pipe_context *ctx, bool enable)
+{
+}
+
static struct pipe_context *noop_create_context(struct pipe_screen *screen,
void *priv, unsigned flags)
{
ctx->texture_subdata = noop_texture_subdata;
ctx->invalidate_resource = noop_invalidate_resource;
ctx->set_context_param = noop_set_context_param;
+ ctx->set_frontend_noop = noop_set_frontend_noop;
noop_init_state_functions(ctx);
return ctx;
}
}
+static void
+tc_call_set_frontend_noop(struct pipe_context *pipe, union tc_payload *payload)
+{
+ pipe->set_frontend_noop(pipe, payload->boolean);
+}
+
+static void
+tc_set_frontend_noop(struct pipe_context *_pipe, bool enable)
+{
+ struct threaded_context *tc = threaded_context(_pipe);
+
+ tc_add_small_call(tc, TC_CALL_set_frontend_noop)->boolean = enable;
+}
+
/********************************************************************
* draw, launch, clear, blit, copy, flush
CTX_INIT(create_image_handle);
CTX_INIT(delete_image_handle);
CTX_INIT(make_image_handle_resident);
+ CTX_INIT(set_frontend_noop);
#undef CTX_INIT
if (out)