Lines Matching defs:args
367 struct notify_before_flush_cb_args *args = (struct notify_before_flush_cb_args *) _args;
368 struct st_context_iface *st = args->stctx;
371 if (args->stwfb->stvis.samples > 1) {
374 args->stwfb->textures[ST_ATTACHMENT_BACK_LEFT],
375 args->stwfb->msaa_textures[ST_ATTACHMENT_BACK_LEFT]);
378 } else if (args->stwfb->back_texture) {
381 args->stwfb->textures[ST_ATTACHMENT_BACK_LEFT],
382 args->stwfb->back_texture);
385 if (args->stwfb->textures[ST_ATTACHMENT_BACK_LEFT])
386 pipe->flush_resource(pipe, args->stwfb->textures[ST_ATTACHMENT_BACK_LEFT]);
395 struct notify_before_flush_cb_args args;
399 args.stctx = stctx;
400 args.stwfb = stwfb;
401 args.flags = flags;
408 stctx->flush(stctx, flags, pfence, notify_before_flush_cb, &args);