summaryrefslogtreecommitdiffstats
path: root/src/loader
diff options
context:
space:
mode:
authorBoris Brezillon <[email protected]>2019-09-19 15:52:02 +0200
committerBoris Brezillon <[email protected]>2019-10-08 10:07:54 +0200
commitc138ca80d2390ce0d0fe640bc74aab2d2d0cb80d (patch)
tree66f196d239cdeb54e2342e46b5f4ed301570a42b /src/loader
parent016c19bc895ffaa85954aa864a9de969261f9922 (diff)
panfrost: Make sure a clear does not re-use a pre-existing batch
glClear()s are expected to be the first thing GL apps do before drawing new things. If there's already an existing batch targetting the same FBO that has draws attached to it, we should make sure the new clear gets a new batch assigned to guaranteed that the FB content is actually cleared with the requested color/depth/stencil values. We create a panfrost_get_fresh_batch_for_fbo() helper for that and call it from panfrost_clear(). Signed-off-by: Boris Brezillon <[email protected]> Reviewed-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/loader')
0 files changed, 0 insertions, 0 deletions