New commits:
http://git.directfb.org/?p=core/DirectFB.git;a=commit;h=9c259529255f6aa0eed0e01b3cfa3d7fb01fa7c1
commit 9c259529255f6aa0eed0e01b3cfa3d7fb01fa7c1
Author: Marek Pikarski <[email protected]>
Date: Fri May 25 16:02:08 2012 +0200
[PATCH] Store and inherit set ColorSpace for Layer/Surface.
The first change was in layer_context.c, while adding color space support
in our system driver, to allow the Region to inherit a Layer's color space
setting we found we need to transfer the color space setting from Layer config
to its Region config in init_region_config().
The second change was in surface.c,
added color space handling while re-configuring a surface in function
dfb_surface_reconfig(). The prior color space handling resulted in the new
surface configuration to have an incompatible pixel format when it switched
from RGB-based to YUV-based (and vice versa). This could previously occur when
the IDirectFBDisplayLayer_SetConfiguration()
function was called and the underlying core surface is re-configured.
Thanks to Timothy Strelchun <[email protected]>.
src/core/layer_context.c | 1 +
src/core/surface.c | 3 +++
2 files changed, 4 insertions(+), 0 deletions(-)
_______________________________________________
directfb-cvs mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-cvs