[Mesa-dev] [PATCH v2 27/37] panfrost: Add a panfrost_freeze_batch() helper

Alyssa Rosenzweig alyssa at rosenzweig.io
Mon Sep 16 19:43:25 UTC 2019


> +        /* Remove the entry in the FBO -> batch hash table if the batch
> +         * matches. This way, next draws/clears targeting this FBO will trigger
> +         * the creation of a new batch.
> +         */
> +        entry = _mesa_hash_table_search(ctx->batches, &batch->key);
> +	if (entry && entry->data == batch)
> +                _mesa_hash_table_remove(ctx->batches, entry);

Spacing got messed up here, otherwise R-b


More information about the mesa-dev mailing list