clover: Add support to mem objects for multiple destructor callbacks v2
authorTom Stellard <thomas.stellard@amd.com>
Mon, 22 Sep 2014 14:00:39 +0000 (10:00 -0400)
committerTom Stellard <thomas.stellard@amd.com>
Mon, 22 Sep 2014 16:32:34 +0000 (12:32 -0400)
commitc6d980140913307d48648058ec24da42a31fc37c
tree3afb9513e2e474507f5b0b624900d40e93986f72
parentcc71457b48906f4f19d2735879c157f7f5f96edf
clover: Add support to mem objects for multiple destructor callbacks v2

The spec says that mem objects should maintain a stack of callbacks
not just one.

v2:
  - Remove stray printf.

Reviewed-by: Francisco Jerez <currojerez@riseup.net>
CC: "10.3" <mesa-stable@lists.freedesktop.org>
src/gallium/state_trackers/clover/core/memory.cpp
src/gallium/state_trackers/clover/core/memory.hpp