summaryrefslogtreecommitdiff
path: root/src/freedreno
diff options
context:
space:
mode:
authorJuan A. Suarez Romero <jasuarez@igalia.com>2022-04-07 18:05:36 +0200
committerMarge Bot <emma+marge@anholt.net>2022-04-08 13:51:25 +0000
commit36066702ade7d51dffd44e7f5d1da282dcc61f9f (patch)
treec0edefe79f48a8702d614e61b73b8435654243f1 /src/freedreno
parent82ca8a707eba4aa0955fc682efec3dd28ed8fb6b (diff)
v3d: do not leak BO on query begin
This happens when we have a sequence of multiple beginQuery / endQuery with the same target and query identifier. As a BO is created on beginQuery but not free on endQuery (we need to wait until either explicitly deleting the query or querying the results), in the above sequence we are basically leaking the BO. This ensures that any BO created before is unreference before creating the new one. Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com> Reviewed-by: Iago Toral Quiroga <itoral@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15796>
Diffstat (limited to 'src/freedreno')
0 files changed, 0 insertions, 0 deletions