New commits:
http://git.directfb.org/?p=core/DirectFB.git;a=commit;h=9c09c56afb9c3b2d491d27ab4ac292d13d997fdd
commit 9c09c56afb9c3b2d491d27ab4ac292d13d997fdd
Author: Denis Oliver Kropp <[EMAIL PROTECTED](none)>
Date: Fri Jul 25 16:06:41 2008 +0200
[surface] Use fusion_ref_set_name() to show the same info as with the
skirmish.
TODO: Update information on both when surface is reconfigured!
src/core/surface.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
http://git.directfb.org/?p=core/DirectFB.git;a=commit;h=c326ef6b5556111a870d4cce2b66f41401185999
commit c326ef6b5556111a870d4cce2b66f41401185999
Author: Denis Oliver Kropp <[EMAIL PROTECTED](none)>
Date: Fri Jul 25 16:06:04 2008 +0200
[fusion] Added fusion_ref_set_name(), e.g. for better debug information on
object references.
lib/fusion/ref.c | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
lib/fusion/ref.h | 3 +++
2 files changed, 52 insertions(+), 0 deletions(-)
http://git.directfb.org/?p=core/DirectFB.git;a=commit;h=b180da246613406fec27abbe2139fed2cafbedf1
commit b180da246613406fec27abbe2139fed2cafbedf1
Author: Denis Oliver Kropp <[EMAIL PROTECTED](none)>
Date: Fri Jul 25 16:00:48 2008 +0200
[options] New option "warn=<event:params>" to print warnings on
surface/window creation or surface buffer allocations.
Example:
warn = allocate-buffer:300x300
Prints a warning for every surface buffer allocation made with both width
and height of 300 or above.
src/core/surface.c | 8 ++++++++
src/core/surface_pool.c | 9 +++++++++
src/core/windows.c | 4 ++++
src/misc/conf.c | 42 ++++++++++++++++++++++++++++++++++++++++++
src/misc/conf.h | 23 +++++++++++++++++++++++
5 files changed, 86 insertions(+), 0 deletions(-)
http://git.directfb.org/?p=core/DirectFB.git;a=commit;h=4abe47f51b2164e37632566dd300e7f69548ff9c
commit 4abe47f51b2164e37632566dd300e7f69548ff9c
Author: Denis Oliver Kropp <[EMAIL PROTECTED](none)>
Date: Wed Jul 23 15:53:22 2008 +0200
[x11] Build fix.
systems/x11/primary.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
http://git.directfb.org/?p=core/DirectFB.git;a=commit;h=f00bc9fc3a4febd48b159f6534068552917a8610
commit f00bc9fc3a4febd48b159f6534068552917a8610
Author: Denis Oliver Kropp <[EMAIL PROTECTED](none)>
Date: Wed Jul 23 11:05:29 2008 +0200
[x11] Enhance surface manager to find the best matching group of
allocations to muck out.
This is the first time multiple smaller allocations can be mucked out for a
bigger one.
The code that determines these allocations is still O(1) and finds the best
matching
group within all possible combinations.
systems/x11/surfacemanager.c | 118 ++++++++++++++++++++++++++++++++++++------
1 files changed, 102 insertions(+), 16 deletions(-)
http://git.directfb.org/?p=core/DirectFB.git;a=commit;h=3a607bdc5cae5e0766b4962794741b7476db496e
commit 3a607bdc5cae5e0766b4962794741b7476db496e
Author: Denis Oliver Kropp <[EMAIL PROTECTED](none)>
Date: Wed Jul 23 11:03:46 2008 +0200
[surfaces] Fixes for mucking out multiple allocations. Cleanups.
src/core/surface_buffer.c | 2 +-
src/core/surface_pool.c | 176 ++++++++++++++++++++++++++++++++-------------
2 files changed, 126 insertions(+), 52 deletions(-)
http://git.directfb.org/?p=core/DirectFB.git;a=commit;h=97727598045878dba91d7f61d3bb77d9acf61b3f
commit 97727598045878dba91d7f61d3bb77d9acf61b3f
Author: Denis Oliver Kropp <[EMAIL PROTECTED](none)>
Date: Mon Jul 21 18:17:16 2008 +0200
[x11] Enhancements to surface manager code and fixes for old behaviour
(without virtual physical surface pool).
Extend dfb_surfacemanager_displace() to check policies, reimplement
toleration code
and take free space before and after an occupied chunk into account.
Cleanup dfb_surfacemanager_allocate() to only check for free chunks.
Always initialize x11(Shm)Image surface pool, regardless of virtual physical
surface pool being enabled.
Never fail in x11TestConfig() if virtual physical surface pool is not
enabled,
but use Fusion shared memory allocations as a fallback (previous behaviour).
Update allocation size from chunk length which is usually bigger (at least
16
bytes of safety area).
systems/x11/surfacemanager.c | 102 +++++++++++++++++++++++++-----------
systems/x11/vpsmem_surface_pool.c | 7 ++-
systems/x11/x11.c | 4 +-
systems/x11/x11_surface_pool.c | 3 +
4 files changed, 82 insertions(+), 34 deletions(-)
http://git.directfb.org/?p=core/DirectFB.git;a=commit;h=29ab6ef9f3d1e978d99a6523b429398e8df8edf1
commit 29ab6ef9f3d1e978d99a6523b429398e8df8edf1
Author: Denis Oliver Kropp <[EMAIL PROTECTED](none)>
Date: Mon Jul 21 18:07:07 2008 +0200
[surfaces] Enhanced backup strategy when mucking out allocations.
First check if any of the existing allocations is up to date,
otherwise try to update one of the existing allocations.
Enforce same order of joining pools as of initializing them.
Fixed invalid 'buffer->written' allocation pointer when using
"thrifty-surface-buffers" option.
Fixed wrong order of joining surface pools in slaves.
Other fixes and enhanced debugging output.
src/core/surface_buffer.c | 6 ++-
src/core/surface_core.c | 6 +-
src/core/surface_pool.c | 110 ++++++++++++++++++++++++++++++++-------------
3 files changed, 86 insertions(+), 36 deletions(-)
http://git.directfb.org/?p=core/DirectFB.git;a=commit;h=01b57b96155cbcb512218dca1a7997866fb3e0ae
commit 01b57b96155cbcb512218dca1a7997866fb3e0ae
Author: Denis Oliver Kropp <[EMAIL PROTECTED](none)>
Date: Mon Jul 21 13:35:05 2008 +0200
[x11] XShm fixes and new virtual physical surface pool for development and
testing.
Specifying 'video-length = <bytes>' option will create a shared memory
block of that
size and initialize a surface pool with a surface manager supporting the
new MuckOut() call.
Changed x11(Shm)Image pool to only allow allocations for supported visuals
(no fallback
shared memory allocations) when the new option is used.
Return accelerator ID 51 for testing with the virtual acceleration
(currently called vmware).
Make usage of XShmQueryVersion() to check for XShm support.
Other cleanups and fixes.
systems/x11/Makefile.am | 4 +
systems/x11/surfacemanager.c | 429 +++++++++++++++++++++++++++++++++++++
systems/x11/surfacemanager.h | 110 ++++++++++
systems/x11/vpsmem_surface_pool.c | 408 +++++++++++++++++++++++++++++++++++
systems/x11/vpsmem_surface_pool.h | 37 ++++
systems/x11/x11.c | 67 +++++--
systems/x11/x11.h | 8 +-
systems/x11/x11_surface_pool.c | 24 ++-
systems/x11/x11_surface_pool.h | 2 +
systems/x11/x11image.c | 4 +
systems/x11/x11image.h | 2 +
systems/x11/xwindow.c | 2 -
12 files changed, 1067 insertions(+), 30 deletions(-)
http://git.directfb.org/?p=core/DirectFB.git;a=commit;h=03c500eea0451a8164090f86f5ff9ae1a529aeeb
commit 03c500eea0451a8164090f86f5ff9ae1a529aeeb
Author: Denis Oliver Kropp <[EMAIL PROTECTED](none)>
Date: Mon Jul 21 13:33:24 2008 +0200
[surfaces] Implemented strategy for surface allocations when pools are out
of memory.
Extended dfb_surface_pools_negotiate() to return a list of capable pools
order by priority
including pools out of memory at the end of the list.
Added MuckOut() to the surface pool API to tag all allocations for removal
to free up memory
for a new allocation. If not provided by the pool, a fallback
implementation will do the job,
but that's not implemented yet.
Added dfb_surface_pool_displace() to muck out and backup allocations and do
the new allocation.
Moved allocate_buffer() from surface buffer to surface pool code as
dfb_surface_pools_allocate()
with extended negotiation using a list of possible pools and with ability
to muck out allocations.
Changed static update_allocation() to exported
dfb_surface_allocation_update().
Added dfb_surface_trylock() for a fusion_skirmish_swoop() on the surface
lock.
Call dfb_surface_lock() and dfb_surface_unlock() in surface_destructor().
Moved surface core initialization before system module to have generic
pools always at
the same position (with the same pool IDs).
Keep an ordered list of surface pool IDs based on priority.
Have a pointer to a backup pool in every pool which is set to the shared
memory surface pool by default.
src/core/core.c | 2 +-
src/core/surface.c | 7 +-
src/core/surface.h | 8 +
src/core/surface_buffer.c | 75 +-------
src/core/surface_buffer.h | 8 +-
src/core/surface_pool.c | 435 ++++++++++++++++++++++++++++++++++++++-------
src/core/surface_pool.h | 21 ++-
7 files changed, 416 insertions(+), 140 deletions(-)
_______________________________________________
directfb-cvs mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-cvs