A little more info I used the correct macro this time here is the code
snippet of my prints in

     if (data->base.locked) {
printf("Window BASE SURFACE LOCKED Surface=%p base.surface=%p
base.locked=%d %s:%d
\n",thiz,data->base.surface,data->base.locked,__FILE__,__LINE__);

        IDirectFBSurface_data *parent_data;

        DIRECT_INTERFACE_GET_DATA_FROM(thiz,parent_data,IDirectFBSurface);

printf("Window SURFACE Interface LOCKED Surface=%p data->locked=%d
%s:%d \n",thiz,parent_data->locked,__FILE__,__LINE__);
          return DFB_LOCKED;
     }


And the output ...
LOCKING 0x93d0b28 LOCK=1 idirectfbsurface.c:345
 UNLOCKING 0x93d0b28 LOCKED=1 idirectfbsurface.c:360
 LOCKING 0x93d0b28 LOCK=1 idirectfbsurface.c:345
 UNLOCKING 0x93d0b28 LOCKED=1 idirectfbsurface.c:360
Window BASE SURFACE LOCKED Surface=0x93d0b28 base.surface=0xd30ae0
base.locked=13830872 idirectfbsurface_window.c:117
Window SURFACE Interface LOCKED Surface=0x93d0b28
data->locked=13830872 idirectfbsurface_window.c:123

Anyway it looks to me like the lock variable got smashed ...

Mike



On 7/18/05, Mike Emmel <[EMAIL PROTECTED]> wrote:
> The problem seems to be that the core surface is locked for the
> subwindow. I looked and there seems to be a thread that may be started
> thats probably the culprit here are my prints.
> 
> 
> (*) DirectFB/Core: Single Application Core. (2005-07-15 17:49)
> (*) Direct/Memcpy: Using SSE optimized memcpy()
> (*) Direct/Thread: Running 'SDL Input' (INPUT, 10559)...
>  (!!!)  *** UNIMPLEMENTED [fusion_reactor_set_lock] *** [reactor.c:802]
> (*) DirectFB/Input: SDL Input 0.1 (Denis Oliver Kropp)
> (*) DirectFB/Genefx: MMX detected and enabled
> (*) DirectFB/Graphics: MMX Software Rasterizer 0.6 (convergence
> integrated media GmbH)
> (*) DirectFB/Core/WM: Default 0.2 (Convergence GmbH)
>  LOCKING 0x9f31058 LOCK=1 idirectfbsurface.c:345
>  UNLOCKING 0x9f31058 LOCKED=1 idirectfbsurface.c:360
> (*) Direct/Thread: Running 'EventBufferFeed' (MESSAGING, 10560)...
> 
> (testgtk:10558): Gdk-DirectFB-WARNING **: gdk_window_set_keep_above()
> not implemented.
> 
> 
> (testgtk:10558): Gdk-DirectFB-WARNING **: gdk_window_set_keep_below()
> not implemented.
> 
>  LOCKING 0x9fdacd8 LOCK=1 idirectfbsurface.c:345
>  UNLOCKING 0x9fdacd8 LOCKED=1 idirectfbsurface.c:360
>  LOCKING 0x9fdacd8 LOCK=1 idirectfbsurface.c:345
>  UNLOCKING 0x9fdacd8 LOCKED=1 idirectfbsurface.c:360
>  SURFACE LOCKED Surface=167619800 base=0x877ae0 idirectfbsurface_window.c:117
>  SURFACE LOCKED 0x9fdacd8
> 
> The window base is still locked event though I've unlocked via the
> surface api the surface.
> 
> Mike
>

_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to