Kenneth Graunke <[email protected]> writes:

> All we really need is a memory context and the instruction list; passing
> a backend_visitor is just convenient at times.
>
> This will be necessary two patches from now.
> ---
>  src/mesa/drivers/dri/i965/brw_cfg.cpp | 17 ++++++++++++++---
>  src/mesa/drivers/dri/i965/brw_cfg.h   |  4 ++++
>  2 files changed, 18 insertions(+), 3 deletions(-)
>
> Technically I don't think we actually need to pass in a parent memory
> context since we allocate and free at ctor/dtor time anyway.  We might
> want to remove that and just pass the exec_list.

That would be fine with me.  We'd just need to be careful to free
cfg_ts.  There would be leak of one under INTEL_DEBUG=wm, though that's
the only one I see currently.

Attachment: pgpBevVu3a2Th.pgp
Description: PGP signature

_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to