New commits:
http://git.directfb.org/?p=core/DirectFB.git;a=commit;h=7de94a64d47056a828f73880aed252865ffac17b
commit 7de94a64d47056a828f73880aed252865ffac17b
Author: Marek Pikarski <[email protected]>
Date: Fri May 25 12:40:31 2012 +0200
[PATCH] Added buffer alloc destroy notify message.
Added a surface notification message sent for each buffer allocation that
is destroyed. It is sent by the dfb_surface_pool_deallocate function using a
new notify function called dfb_surface_pool_notify.
A graphics driver that allocates custom shared/local resources for a buffer
allocation from any surface pool (such as the pre-allocated memory one) should
register to receive this new buffer allocation destruction message. This will
give the graphics driver (in each registered process) an opportunity to destroy
those associated custom shared/local resources.
Thanks to Timothy Strelchun <[email protected]>.
src/core/surface.c | 54 ++++++++++++++++++++++++++++++++++++++++-
src/core/surface.h | 28 +++++++++++++++++++--
src/core/surface_allocation.c | 6 ++++
3 files changed, 84 insertions(+), 4 deletions(-)
_______________________________________________
directfb-cvs mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-cvs