diff options
author | Lucas Stach <[email protected]> | 2019-08-09 15:34:31 +0200 |
---|---|---|
committer | Lucas Stach <[email protected]> | 2019-10-18 17:03:25 +0000 |
commit | 9e672e4d20fb77e1b39aee29f9e8e76a5c2af68e (patch) | |
tree | 5c24325d2771197d93fb1f10c419b615365885ee /src/gallium/include/state_tracker | |
parent | 90e223646bf9541c4b751bcbd04cd81e27fb42e1 (diff) |
etnaviv: keep references to pending resources
As long as a resource is pending in any context we must not destroy
it, otherwise we'll hit a classical use-after-free with fireworks.
To avoid this take a reference when the resource is first added to
the pending set and put the reference when no longer pending.
Signed-off-by: Lucas Stach <[email protected]>
Reviewed-by: Jonathan Marek <[email protected]>
Diffstat (limited to 'src/gallium/include/state_tracker')
0 files changed, 0 insertions, 0 deletions