Lines Matching refs:ctx
65 struct fd_context *ctx;
260 struct fd_batch *fd_batch_create(struct fd_context *ctx, bool nondraw);
302 fd_screen_assert_locked(old_batch->ctx->screen);
316 struct fd_context *ctx = old_batch ? old_batch->ctx : NULL;
318 if (ctx)
319 fd_screen_lock(ctx->screen);
323 if (ctx)
324 fd_screen_unlock(ctx->screen);
355 fd_fence_ref(&batch->ctx->last_fence, NULL);
365 struct fd_context *ctx = batch->ctx;
367 if (ctx->query_update_batch)
368 ctx->query_update_batch(batch, false);
374 struct fd_context *ctx = batch->ctx;
376 if (ctx->query_update_batch)
377 ctx->query_update_batch(batch, true);