Hemant Kumar, Noida-1 wrote:
> I am a new user of directfb and want to develop a GUI application with 
> the help of directfb using its APIs.I wanted to ask how we can implement 
> windowing system and surface drawing functions on layer. I am stuck at 
> this point as I am unable to draw any thing on layer which was possible 
> on surface. And also can anyone please clarify the relation between 
> layer and surface. please please do help me and don’t neglect this mail. 
> waiting for your response eagerly.

If I understood you correctly, you had been creating a primary surface
before, but now you are using the layer's surface?

The difference might be that before you had a single buffered surface
and now you're using a double buffered surface.

You can change the layer's configuration prior to using its surface or
use Flip() on the surface to make your drawings visible, either the
full surface or only the parts you updated (faster).

-- 
Best regards,
   Denis Oliver Kropp

.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/                 |
"------------------------------------------"

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

Reply via email to