New commits:
http://git.directfb.org/?p=core/DirectFB.git;a=commit;h=2e88d76e45fd4cf3d69cc604d63c386aaa4c21d3
commit 2e88d76e45fd4cf3d69cc604d63c386aaa4c21d3
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=285bd209310c4b46948337aa1f865541582de380
commit 285bd209310c4b46948337aa1f865541582de380
Author: Denis Oliver Kropp <[EMAIL PROTECTED]>
Date: Thu Oct 11 12:01:34 2007 +0200
Ignore files.
interfaces/IDirectFBFont/.gitignore | 1 +
interfaces/IDirectFBImageProvider/.gitignore | 1 +
interfaces/IDirectFBVideoProvider/.gitignore | 1 +
lib/fusion/.gitignore | 1 +
src/.gitignore | 1 +
src/core/.gitignore | 1 +
src/display/.gitignore | 1 +
src/gfx/.gitignore | 1 +
src/gfx/generic/.gitignore | 1 +
src/input/.gitignore | 1 +
src/media/.gitignore | 1 +
src/misc/.gitignore | 1 +
src/windows/.gitignore | 1 +
13 files changed, 13 insertions(+), 0 deletions(-)
_______________________________________________
directfb-cvs mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-cvs