summaryrefslogtreecommitdiffstats
path: root/src/glx/apple/glx_empty.c
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2019-04-24 12:11:39 -0700
committerKenneth Graunke <[email protected]>2019-04-24 13:31:32 -0700
commit21688a306b299ae7214f4fb139a6813e0018c0a8 (patch)
tree7774b98bd6c21fdef7d07cb882aa50607fb0fb37 /src/glx/apple/glx_empty.c
parent3323cf08f002e63f26d83268c12c635866aa102b (diff)
iris: Split iris_flush_and_dirty_for_history into two helpers.
We create two new helpers, iris_flush_bits_for_history, and iris_dirty_for_history, then use them in the existing function. The first accumulates flush bits based on res->bind_history, but doesn't actually perform a flush. This allows us to accumulate flush bits by looping over multiple resources, but ultimately emit a single flush for all of them. The latter flags dirty bits without flushing, which again allows us to handle multiple resources, but also is more convenient when writing from the CPU where we don't need a flush (as in commit 4d12236072).
Diffstat (limited to 'src/glx/apple/glx_empty.c')
0 files changed, 0 insertions, 0 deletions