On 03/28/12 17:54, Andre DRASZIK wrote: > Two new callbacks are added to GraphicsDeviceFuncs, that if set, will be > called whenever a state is created or destroyed. This allows a graphics > driver to store custom state specific data in CardState, which is useful > if e.g. extra data needs to be preserved between calls to CheckState() and > SetState(). > --- > src/core/gfxcard.c | 36 ++++++++++++++++++++++++++++++++++++ > src/core/gfxcard.h | 8 ++++++++ > src/core/state.c | 6 ++++++ > src/core/state.h | 2 ++ > 4 files changed, 52 insertions(+), 0 deletions(-) >
Nice one, please commit on master. -- Best regards, Denis Oliver Kropp .------------------------------------------. | DirectFB - Hardware accelerated graphics | | http://www.directfb.org/ | "------------------------------------------" _______________________________________________ directfb-dev mailing list directfb-dev@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev