I got most of it working. I am having one problem though. Inside update_region(...) (in core/windows.c) I added code for blitting from the decorative surfaces to the screen. This kinda works:
state->blittingflags = DSBLIT_BLEND_ALPHACHANNEL; state->source = window->decorations[decor]; /* array of decorative surfaces */ state->modified |= SMF_BLITTING_FLAGS | SMF_SOURCE; dfb_gfxcard_blit( &srect, region.x1, region.y1, state ); state->source = NULL; This blits something to the screen, and as long a "window->decorations[decor]" is a filled with only a solid color it appears to work. However, when I draw something more complex into this surface (such as an image loaded with a provider) I get unexpected results (not recognizable, yet predictable, so it's not just currupted memory). I am fairly sure that the surface is somewhat correct because I can blit it to the window's main surface and it looks fine. Why is it that blitting it to the screen using the code above doesn't work? I figure I am missing something fundamental about how the internal gfx functions work. Any help is greatly appreciated. Stephen -- Info: To unsubscribe send a mail to [EMAIL PROTECTED] with "unsubscribe directfb-dev" as subject.
