+44
−48
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Profiliing was saving the context id and then trying to find the context
after the cmdbatch was finished. If the context gets destroyed before
profiling runs, the profiling could would choke and spew garbage out.
Instead of dealing with refcounting the drawctxt, just store all the
information needed in the cmdbatch at the cost of a little wasted space
and a few extra memory writes from the GPU.
CRs-fixed: 613307
Change-Id: Ie7ab1a9c3e86a5a367313ccc83ed19cf4916b58d
Signed-off-by:
Carter Cooper <ccooper@codeaurora.org>