Пример #1
0
void r600_postflush_resume_features(struct r600_common_context *ctx)
{
	if (ctx->streamout.suspended) {
		ctx->streamout.append_bitmask = ctx->streamout.enabled_mask;
		r600_streamout_buffers_dirty(ctx);
	}

	/* resume queries */
	if (ctx->queries_suspended_for_flush) {
		r600_resume_nontimer_queries(ctx);
		r600_resume_timer_queries(ctx);
	}
}
Пример #2
0
void r600_postflush_resume_features(struct r600_common_context *ctx)
{
	if (ctx->streamout.suspended) {
		ctx->streamout.append_bitmask = ctx->streamout.enabled_mask;
		r600_streamout_buffers_dirty(ctx);
	}

	/* resume queries */
	if (!LIST_IS_EMPTY(&ctx->active_timer_queries))
		r600_resume_timer_queries(ctx);
	if (ctx->nontimer_queries_suspended_by_flush) {
		ctx->nontimer_queries_suspended_by_flush = false;
		r600_resume_nontimer_queries(ctx);
	}
}
Пример #3
0
void r600_postflush_resume_features(struct r600_common_context *ctx)
{
	if (ctx->streamout.suspended) {
		ctx->streamout.append_bitmask = ctx->streamout.enabled_mask;
		r600_streamout_buffers_dirty(ctx);
	}

	/* resume queries */
	if (ctx->queries_suspended_for_flush) {
		r600_resume_nontimer_queries(ctx);
		r600_resume_timer_queries(ctx);
	}

	/* Re-enable render condition. */
	if (ctx->saved_render_cond) {
		ctx->b.render_condition(&ctx->b, ctx->saved_render_cond,
					  ctx->saved_render_cond_cond,
					  ctx->saved_render_cond_mode);
	}
}