I'm trying to learn how to make two apps that use DirectFB display on screen at the same time, so I was experimenting with the sample code for multiAppTestTool, But if I start it with a layer that's not 'C' it fails. Here's the output:
# multiAppTestTool -r=2 -l=B Starting. PID:3772 ~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.4.3++ |~~~~~~~~~~~~~~~~~~~~~~~~~ (c) 2007-2010 Intel Corporation (c) 2001-2009 The world wide DirectFB Open Source Community (c) 2000-2004 Convergence (integrated media) GmbH ---------------------------------------------------------------- (*) DirectFB/Core: Multi Application Core. (2010-09-21 21:49) (*) Fusion/SHM: Using MADV_REMOVE (2.6.28.0 >= 2.6.19.2) (*) Direct/Thread: Started 'Fusion Dispatch' (3773) [MESSAGING OTHER/OTHER 0/0] <8388608>... (*) IntelCE/Systems: Available GDL driver video memory: 51MB of 70MB (*) IntelCE/Systems: Default video memory caching policy: Uncached (*) IntelCE/Systems: Slave Process (*) DirectFB/Genefx: MMX detected and enabled (*) IntelCE/GfxDriver: Using OpenGL ES 1.1 graphics library (*) IntelCE/GfxDriver: Using SRB graphics library (*) IntelCE/GfxDriver: Default graphics library: SRB (*) DirectFB/Graphics: Intel Corporation Intel_CE Graphics Driver 2.0 (Intel Corporation) (*) Direct/Interface: Loaded 'FT2' implementation of 'IDirectFBFont'. (!) DirectFB/core/layers: Could not set primary region config! --> Not supported! multiAppTestTool.c <376>: (#) DirectFBError [dfb->GetDisplayLayer(dfb, gDisplayLayerId, &pLayer)]: Not supported! (!!!) *** WARNING [Application exited without deinitialization of DirectFB!] *** [core.c:874 in dfb_core_deinit_check()] (!) Direct/Thread: Canceling 'Fusion Dispatch' (3773)! dfbinfo shows that B is a layer, so I'm not sure what's wrong. Layer (00) DLID_UPP_C (primary layer) Type: GRAPHICS VIDEO STILL_PICTURE Caps: SURFACE OPACITY ALPHACHANNEL SRC_COLORKEY PREMULTIPLIED SCREEN_POSITION Layer (01) DLID_UPP_B Type: GRAPHICS VIDEO STILL_PICTURE Caps: SURFACE OPACITY ALPHACHANNEL SRC_COLORKEY PREMULTIPLIED SCREEN_POSITION Maybe I'm going about this whole process the wrong way? What is the recommended way to have two applications be able to share the screen? Thanks, Ken Rogers _______________________________________________ directfb-dev mailing list directfb-dev@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev