Commit fcfdab06 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

Keep unreferenced buffers around

One problem with delaying destruction of buffer objects is that the
compositor may create a shadow that references defunct buffers.

One way to fix that issue is to immediately destroy buffers. However,
there is other way to address the issue - keep released buffers alive.

If a buffer is kept alive by the client, then it will most likely be
used again. It also simplifies buffer management.

BUG: 425233
parent 9f814c49
......@@ -240,7 +240,6 @@ void BufferInterface::unref()
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment