Home | History | Annotate | Download | only in noop

Lines Matching full:ctx

36 void noop_init_state_functions(struct pipe_context *ctx);
49 static struct pipe_query *noop_create_query(struct pipe_context *ctx, unsigned query_type)
56 static void noop_destroy_query(struct pipe_context *ctx, struct pipe_query *query)
61 static void noop_begin_query(struct pipe_context *ctx, struct pipe_query *query)
65 static void noop_end_query(struct pipe_context *ctx, struct pipe_query *query)
69 static boolean noop_get_query_result(struct pipe_context *ctx,
210 static void noop_clear(struct pipe_context *ctx, unsigned buffers,
215 static void noop_clear_render_target(struct pipe_context *ctx,
223 static void noop_clear_depth_stencil(struct pipe_context *ctx,
233 static void noop_resource_copy_region(struct pipe_context *ctx,
247 static void noop_flush(struct pipe_context *ctx,
252 static void noop_destroy_context(struct pipe_context *ctx)
254 FREE(ctx);
259 struct pipe_context *ctx = CALLOC_STRUCT(pipe_context);
261 if (ctx == NULL)
263 ctx->screen = screen;
264 ctx->priv = priv;
265 ctx->destroy = noop_destroy_context;
266 ctx->flush = noop_flush;
267 ctx->clear = noop_clear;
268 ctx->clear_render_target = noop_clear_render_target;
269 ctx->clear_depth_stencil = noop_clear_depth_stencil;
270 ctx->resource_copy_region = noop_resource_copy_region;
271 ctx->create_query = noop_create_query;
272 ctx->destroy_query = noop_destroy_query;
273 ctx->begin_query = noop_begin_query;
274 ctx->end_query = noop_end_query;
275 ctx->get_query_result = noop_get_query_result;
276 ctx->get_transfer = noop_get_transfer;
277 ctx->transfer_map = noop_transfer_map;
278 ctx->transfer_flush_region = noop_transfer_flush_region;
279 ctx->transfer_unmap = noop_transfer_unmap;
280 ctx->transfer_destroy = noop_transfer_destroy;
281 ctx->transfer_inline_write = noop_transfer_inline_write;
282 noop_init_state_functions(ctx);
284 return ctx;