Hi Dennis I posted this problem before its not fixed yet in git. I'd
have to dig out the old post.
But basically you said that the lock count needs to be set to one in
single app mode so fusion
skrimish always succeeds. I'd like to fix it so I can send a clean
patch for the new sysmem.
Problem is I'm not clear on the changes needed to make this work correctly.
I'll do it and test it if you can tell me a bit more.
Is this the core problem ?
diff --git a/lib/fusion/lock.c b/lib/fusion/lock.c
index 9b756ba..ebc4c51 100644
--- a/lib/fusion/lock.c
+++ b/lib/fusion/lock.c
@@ -592,7 +592,7 @@ fusion_skirmish_lock_count( const FusionSkirmish
*skirmish, int *lock_c
D_UNIMPLEMENTED();
- *lock_count = 0;
+ *lock_count = 1;
return DFB_UNIMPLEMENTED;
}
(END)
3 0xb59fc25a in dfb_surface_buffer_lock (buffer=0x81168b8,
access=CSAF_CPU_WRITE,
lock=0x80fa690) at surface_buffer.c:181
181 FUSION_SKIRMISH_ASSERT( &surface->lock );
(gdb) bt
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb7130d30 in raise () from /lib/i686/cmov/libpthread.so.0
#2 0xb591840a in trap (domain=0xb5927f6c "Assertion") at debug.c:317
#3 0xb59fc25a in dfb_surface_buffer_lock (buffer=0x81168b8,
access=CSAF_CPU_WRITE,
lock=0x80fa690) at surface_buffer.c:181
#4 0xb59cdb2c in gAcquire (state=0x80fa5e4, accel=DFXL_FILLRECTANGLE)
at generic.c:6573
#5 0xb59df3cf in dfb_gfxcard_fillrectangles (rects=0xbf905fbc, num=1,
state=0x80fa5e4)
at gfxcard.c:912
#6 0xb4456bc5 in draw_background (stack=0x8110f98, state=0x80fa5e4,
region=<value optimized out>) at default.c:951
#7 0xb445712e in update_region (stack=0x8110f98, data=0x8116268,
state=0x80fa5e4, start=-1,
x1=0, y1=0, x2=639, y2=479) at default.c:1171
#8 0xb44576bd in repaint_stack (stack=0x8110f98, data=0x8116268,
region=0x8115160,
updates=0xbf906130, num_updates=1, flags=DSFLIP_NONE) at default.c:1222
#9 0xb4457bd4 in process_updates (data=0x8116268, wmdata=<value
optimized out>,
stack=0x8110f98, region=0x0, flags=DSFLIP_NONE) at default.c:1303
#10 0xb4457faa in wm_update_stack (stack=0x8110f98, wm_data=0x80fc600,
stack_data=0x8116268,
region=0xbf9061dc, flags=DSFLIP_NONE) at default.c:3564
#11 0xb5a07d0b in dfb_wm_update_stack (stack=0x8110f98,
region=0xbf9061dc, flags=DSFLIP_NONE)
_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev