New commits:
http://git.directfb.org/?p=core/DirectFB.git;a=commit;h=8ed404e55cffffcc2949c7c0eba867114dcac82c
commit 8ed404e55cffffcc2949c7c0eba867114dcac82c
Author: Denis Oliver Kropp <[email protected]>
Date: Thu Apr 12 13:17:56 2012 +0200
IDirectFBSurface: Add asynchronous frame synchronisation for
apps/compositors attaching dynamically.
Add IDirectFBSurface::MakeClient() and FrameAck().
Add flip_count to DFBSurfaceEvent.
Add CoreSurfaceClient featuring FrameAck() for each compositor registering
at a CoreSurface.
Add CoreSurface::PreLockBuffer3() adding flip_count for explicit buffer
specification.
Add dfb_state_set_source_2() with flip_count for explicit blitting from one
buffer.
Add dfb_surface_lock_buffer2() for explicitly locking a certain buffer.
Add dfb_surface_notify_frame() issued when surface clients acknowledge
flip_count from update event.
Block applications in Flip() while surface clients are attached and haven't
acknowledged the frame
that would be written to next.
Extend dfbtest_surface_compositor calling MakeClient() and upon
DFBSurfaceEvent receival FrameAck().
include/directfb.h | 19 +++++
src/core/.gitignore | 2 +
src/core/CoreDFB_includes.h | 73 +++++++++++++++++
src/core/CoreSurface.flux | 66 ++++++++++++++++
src/core/CoreSurfaceClient.flux | 18 +++++
src/core/CoreSurfaceClient_includes.h | 27 +++++++
src/core/CoreSurfaceClient_real.cpp | 90 +++++++++++++++++++++
src/core/CoreSurface_real.cpp | 113 +++++++++++++++++++++++++++
src/core/Makefile.am | 7 ++
src/core/core.c | 54 +++++++++++++
src/core/core.h | 6 ++
src/core/coretypes.h | 1 +
src/core/gfxcard.c | 7 ++-
src/core/state.c | 43 ++++++++++
src/core/state.h | 5 +
src/core/surface.c | 66 ++++++++++++++++
src/core/surface.h | 38 +++++++++-
src/core/surface_client.c | 137 +++++++++++++++++++++++++++++++++
src/core/surface_client.h | 74 ++++++++++++++++++
src/display/idirectfbsurface.c | 114 +++++++++++++++++++++++++++-
src/display/idirectfbsurface.h | 11 +++
src/display/idirectfbsurface_layer.c | 4 +
src/display/idirectfbsurface_window.c | 4 +
tests/dfbtest_surface_compositor.c | 22 +++++-
24 files changed, 993 insertions(+), 8 deletions(-)
_______________________________________________
directfb-cvs mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-cvs