Searched refs:old_batch (Results 1 – 2 of 2) sorted by relevance
300 struct fd_batch *old_batch = *ptr; in fd_batch_reference_locked() local303 if (old_batch) in fd_batch_reference_locked()304 fd_context_assert_locked(old_batch->ctx); in fd_batch_reference_locked()308 __fd_batch_destroy(old_batch); in fd_batch_reference_locked()316 struct fd_batch *old_batch = *ptr; in fd_batch_reference() local317 struct fd_context *ctx = old_batch ? old_batch->ctx : NULL; in fd_batch_reference()
235 struct fd_batch *old_batch = NULL; in fd_set_framebuffer_state() local237 fd_batch_reference(&old_batch, ctx->batch); in fd_set_framebuffer_state()239 if (likely(old_batch)) in fd_set_framebuffer_state()240 fd_batch_set_stage(old_batch, FD_STAGE_NULL); in fd_set_framebuffer_state()245 if (old_batch && old_batch->blit && !old_batch->back_blit) { in fd_set_framebuffer_state()251 fd_batch_flush(old_batch); in fd_set_framebuffer_state()254 fd_batch_reference(&old_batch, NULL); in fd_set_framebuffer_state()