Searched refs:old_batch (Results 1 – 2 of 2) sorted by relevance
234 struct fd_batch *old_batch = *ptr; in fd_batch_reference() local237 __fd_batch_destroy(old_batch); in fd_batch_reference()249 struct fd_batch *old_batch = *ptr; in fd_batch_reference_locked() local251 if (old_batch) in fd_batch_reference_locked()252 fd_context_assert_locked(old_batch->ctx); in fd_batch_reference_locked()258 struct fd_context *ctx = old_batch->ctx; in fd_batch_reference_locked()260 __fd_batch_destroy(old_batch); in fd_batch_reference_locked()
219 struct fd_batch *batch, *old_batch = NULL; in fd_set_framebuffer_state() local221 fd_batch_reference(&old_batch, ctx->batch); in fd_set_framebuffer_state()223 if (likely(old_batch)) in fd_set_framebuffer_state()224 fd_batch_set_stage(old_batch, FD_STAGE_NULL); in fd_set_framebuffer_state()232 if (old_batch && old_batch->blit && !old_batch->back_blit) { in fd_set_framebuffer_state()238 fd_batch_flush(old_batch, false, false); in fd_set_framebuffer_state()241 fd_batch_reference(&old_batch, NULL); in fd_set_framebuffer_state()