New commits:
http://git.directfb.org/?p=core/DirectFB.git;a=commit;h=863d66772292b3f8182e1a56f23b8c08cb739028
commit 863d66772292b3f8182e1a56f23b8c08cb739028
Author: Denis Oliver Kropp <[EMAIL PROTECTED]>
Date: Thu Aug 9 22:41:15 2007 +0200
Progress on new surface core and X11 system module for the new surface core!
Use X11 Shm Images to implement a surface pool. Other Fusionees will
attach to the shared memory segments and can read/write from/to these
XImages!
No longer use a scratch image, but just use XShmPutImage() from the
layer surface (an X11 Shm Image) to the X11 output window.
Added "preallocated" surface pool and revived preallocated surface support.
The shared memory pool "DirectFB Surface Pool" is the "DirectFB Data Pool"
now.
Surfaces are allocated in the "Surface Memory Pool".
Added fusion_shm_enum_pools().
Fixed local surface pool deallocation by adding a call for each fusionee
to free a buffer when it is the owner.
Added type flags CSTF_INTERNAL and CSTF_EXTERNAL for "system only" and
"video only".
Added join/leave hooks in surface pool API.
Fixed buffer indices and surface types.
Revived back to front copy etc. using the new state members "from" and "to".
More info from dfbdump about pools and allocations, new arguments, check
"-h".
Shutdown surface core and many other fixes.
Getting to getting the fbdev system module to work again... oh, and add
locking...
lib/fusion/object.c | 1 +
lib/fusion/shm/shm.c | 45 ++-
lib/fusion/shm/shm.h | 6 +
src/core/Makefile.am | 1 +
src/core/core.c | 3 +-
src/core/local_surface_pool.c | 103 ++++-
src/core/prealloc_surface_pool.c | 190 ++++++++
src/core/shared_surface_pool.c | 38 ++-
src/core/surface.c | 48 ++-
src/core/surface.h | 26 +-
src/core/surface_buffer.c | 15 +-
src/core/surface_core.c | 24 +-
src/core/surface_pool.c | 80 +++-
src/core/surface_pool.h | 12 +
src/core/windows.c | 4 +-
src/core/windowstack.c | 2 +-
src/gfx/convert.h | 170 +++++++
src/gfx/util.c | 50 +--
src/idirectfb.c | 25 +-
systems/sdl/sdl_surface_pool.c | 4 +-
systems/x11/Makefile.am | 14 +-
systems/x11/primary.c | 547 +++++++--------------
systems/x11/primary.h | 10 -
systems/x11/x11.c | 175 ++++++--
systems/x11/x11.h | 54 ++-
systems/x11/x11_surface_pool.c | 241 ++++++++++
systems/x11/x11_surface_pool.h | 43 ++
systems/x11/x11image.c | 192 ++++++++
systems/x11/x11image.h | 68 +++
systems/x11/x11input.c | 977 +++++++++++++++++---------------------
systems/x11/xwindow.c | 197 +++-----
systems/x11/xwindow.h | 20 +-
tools/Makefile.am | 6 +-
tools/dfbdump.c | 312 ++++++++++---
wm/default/default.c | 3 +-
35 files changed, 2445 insertions(+), 1261 deletions(-)
_______________________________________________
directfb-cvs mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-cvs