New commits:
http://git.directfb.org/?p=core/DirectFB.git;a=commit;h=1f6003afb2d2549b98b411a4c7d1e5ddab20d2c9
commit 1f6003afb2d2549b98b411a4c7d1e5ddab20d2c9
Author: Denis Oliver Kropp <[EMAIL PROTECTED]>
Date: Thu Oct 11 13:00:57 2007 +0200
Implemented defered region realization by adding CLRSF_FROZEN
which is set initially on every region that is created.
As long as CLRSF_FROZEN is set, all SetRegion() calls to the
driver (and buffer allocations due to it) are simply discarded.
Only when dfb_layer_region_flip_update() is called and the region
is enabled and active, the flag is removed and the region is either
realized or the config is just set if it was already/still realized.
That means from a driver's point of view: AddRegion(), SetRegion()
and either FlipRegion() or UpdateRegion() are called in a row for
the first time, with a buffer that is already initialized with the
proper content.
However, the driver should still not show the region in SetRegion(),
but in FlipRegion() or UpdateRegion(). This is because between the
SetRegion() and the FlipRegion() call, the locked buffer changes to
the correct one (only for multi buffer modes).
NOTE: This needs more testing, especially single buffered exclusive
contexts where the application might never call
dfb_layer_region_flip_update().
src/core/layer_context.c | 3 ++-
src/core/layer_region.c | 34 +++++++++++++++++++++++++++++++++-
src/core/layers_internal.h | 4 +++-
3 files changed, 38 insertions(+), 3 deletions(-)
http://git.directfb.org/?p=core/DirectFB.git;a=commit;h=df154b87b4cf7f7dc2707ae9f31201c3497cf02f
commit df154b87b4cf7f7dc2707ae9f31201c3497cf02f
Author: Denis Oliver Kropp <[EMAIL PROTECTED]>
Date: Thu Oct 11 12:01:34 2007 +0200
Ignore files.
interfaces/IDirectFBVideoProvider/.gitignore | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
http://git.directfb.org/?p=core/DirectFB.git;a=commit;h=e3e13042b565b5efddb50aaf1f1bca2b91045073
commit e3e13042b565b5efddb50aaf1f1bca2b91045073
Author: Denis Oliver Kropp <[EMAIL PROTECTED]>
Date: Tue Oct 9 03:46:06 2007 +0200
Made argument to fusion_skirmish_lock_count() const.
Added unimplemented fusion_skirmish_lock_count() for single app.
lib/fusion/lock.c | 16 ++++++++++++++--
lib/fusion/lock.h | 2 +-
2 files changed, 15 insertions(+), 3 deletions(-)
_______________________________________________
directfb-cvs mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-cvs