Hi, Deepak Mundra, Use this function: dfb->GetDisplayLayer(dfb, 0, layer_0); dfb->GetDisplayLayer(dfb, 1, layer_1);
You could get the layers respectively. Then Create window or get surface through the layer above , to display pictures or video on each layer. Best regards, chiachen [EMAIL PROTECTED] 2008-09-02 ======= 2008-09-02 17:07, your message: [directfb-users] how to use different layers of framebuffer in davinci======= I am using davinci board when i run ./dfbinfo --dfb:system=devmem --dfb:video-phys=0x83000000 --dfb:video-length=691200 --dfb:accelerator=6400 i get Screen (00) TI Davinci Screen (primary screen) Caps: VSYNC Layer (00) TI Davinci OSD (primary layer) Type: GRAPHICS Caps: SURFACE OPACITY ALPHACHANNEL SRC_COLORKEY SCREEN_POSITION Layer (01) TI Davinci Video Type: VIDEO STILL_PICTURE Caps: SURFACE SCREEN_LOCATION SCREEN_POSITION SCREEN_SIZE So my question is how can i use thease layers ? i want to use both layers in a single program ... an another question why inputs are not defined here? i mean keyboard or mouse like following output ./dfbinfo Screen (00) FBDev Primary Screen (primary screen) Caps: VSYNC POWER_MANAGEMENT Layer (00) FBDev Primary Layer (primary layer) Type: GRAPHICS Caps: SURFACE BRIGHTNESS CONTRAST SATURATION Input (00) Keyboard (primary keyboard) Type: KEYBOARD Caps: KEYS Min. Keycode: 0 Max. Keycode: 127 Input (01) IMPS/2 Mouse (primary mouse) Type: MOUSE Caps: AXES BUTTONS Max. Axis: 2 Max. Button: 2 this output is without system=devmem Thanks = = = = = = = = = = = = = = = = = = = =
_______________________________________________ directfb-users mailing list directfb-users@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users