Daniel Laird wrote: > I have been trying the virtual surfaces, It compiles :-). > However when I run I keep getting > ....... > (>) [Main Thread 5.184] ( 515) NXP/STB22X/VIDEO: Entering > phStbDFB_TestRegion > () [Main Thread 5.185] ( 515) NXP/STB22X/VIDEO: Entering > phStbDFB_TestRegion > () [Main Thread 5.186] ( 515) NXP/STB22X/VIDEO: Entering > phStbDFB_TestRegion > ( size 1280x720 > (-) [Main Thread 5.551] ( 515) Core/Layers: -> format UYVY > (-) [Main Thread 5.551] ( 515) Core/Layers: -> surf caps > 0x00000000 > (-) [Main Thread 5.552] ( 515) Core/Layers: -> buffermode 1 > (-) [Main Thread 5.552] ( 515) Core/Layers: -> options > 0x00000021 > (-) [Main Thread 5.552] ( 515) Core/Layers: -> source > 0,0-1280x720 > (-) [Main Thread 5.552] ( 515) Core/Layers: -> dest > 0,0-720x576 > (-) [Main Thread 5.552] ( 515) Core/Layers: -> opacity 255 > (-) [Main Thread 5.552] ( 515) Core/Layers: -> src_key > 000000 (index 0) > (-) [Main Thread 5.552] ( 515) Core/Layers: -> dst_key > 000000 (index 0) > (-) [Main Thread 5.553] ( 515) Core/Layers: -> state > 0x00000015 > (-) [Main Thread 5.553] ( 515) Core/Layers: -> FROZEN! > (-) [Main Thread 5.553] ( 515) Core/WindowStack: > dfb_windowstack_resize( 0x45b0a0, 1280x720 ) > (-) [Main Thread 5.553] ( 515) Core/WindowStack: > dfb_windowstack_repaint_all( 0x45b0a0 ) > (-) [Main Thread 5.554] ( 515) Core/Layers: destroying region > 0x45ac80 (Secondary Vid Layer [tmdlVss2], 1280x720, configured, enabled, > inactive, not realized) > (-) [Main Thread 5.554] ( 515) Core/Layers: destroying context > 0x45a728 (Secondary Vid Layer [tmdlVss2], inactive) > (-) [Main Thread 5.554] ( 515) Core/Layers: > dfb_layer_remove_context (Secondary Vid Layer [tmdlVss2], 0x45a728) > (-) [Main Thread 5.554] ( 515) Core/WindowStack: > dfb_windowstack_destroy( 0x45a948 ) > (!) [Main Thread 5.555] ( 515) *** Assumption [region->surface != > NULL] failed *** [layer_region.c:390 in dfb_layer_region_get_surface()] > > I am struggling to see why region->surface is NULL. And If I look at what > calls this: > /* Lock the region. */ > if (dfb_layer_region_lock( region )) > return DFB_FUSION; > > I presume that this call makes sure that region->surface is ! NULL or fills > it in. > Any quick clues as to what i must have done or is this a virtual surface > issue.....
Did you remove DLCAPS_SURFACE? If so, please try with it. -- Best regards, Denis Oliver Kropp .------------------------------------------. | DirectFB - Hardware accelerated graphics | | http://www.directfb.org/ | "------------------------------------------" _______________________________________________ directfb-dev mailing list directfb-dev@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev