I am still having considerable trouble with the layers being cleared at 
shutdown.

>From the debug you can see the issue:
(-) [Main Thread      59.932] (  516) IDirectFB:          IDirectFB_Release( 
0x7bf7e0 )
(-) [Main Thread      59.932] (  516) IDirectFB:          IDirectFB_Destruct( 
0x7bf7e0 )
(-) [Main Thread      59.932] (  516) Core/Layers:        destroying context 
0x7c1b70 (FBDev Primary Layer [OSD], active)
(-) [Main Thread      59.932] (  516) Core/Layers:        
dfb_layer_remove_context (FBDev Primary Layer [OSD], 0x7c1b70)
(-) [Main Thread      59.933] (  516) Core/Layers:        
dfb_layer_context_deactivate (0x7c1b70)
(-) [Main Thread      59.933] (  516) Core/Layers:        
dfb_layer_context_activate (0x7c0118)
.....


this 'activate context' call seems to re allocate buffers and in the end cause 
the buffer to be cleared and flipped.

The call to dfb_layer_context_activate seems to come from
layer_control.c -> dfb_layer_remove_context.

There is a check on line 497 that says
shared->suspended || dfb_layer_context_activate() = DFB_OK

This call is causing the window stack etc to be repainted and cause my issue.

Can anyone advise on this issue.
I need to have it such that when I exit DirectFB the Framebuffer continues to 
display what was onscreen when I exited.

Many thanks
Daniel Laird

_______________________________________________
directfb-dev mailing list
directfb-dev@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to