You're talking about the default resolution.

Anyway, that is hardware dependent... maybe they are both scaled to the same size (I see DLCAPS_SCREEN_SIZE is supported), or maybe they have an offset.. If it bothers you, you can probably set them all to the same resultion using SetConfiguration, or show a single window with your required size on the layer.

hth
Niels

[email protected] wrote:
Resolution of my IDirectFBScreen is: x: 1280, y: 720.

This screen has 4 layers:

layer_id: 0 name: FBDev Primary Layer [OSD] type :(DLTF_GRAPHICS, ) capabilities :(DLCAPS_SURFACE, DLCAPS_OPACITY, DLCAPS_ALPHACHANNEL, DLCAPS_SCREEN_ LOCATION, DLCAPS_LEVELS, DLCAPS_SCREEN_POSITION, DLCAPS_SCREEN_SIZE, ) level: 0 regions: 0 sources: 0 clip_regions: 0

layer_id: 1 name: FBDev Primary Layer [Images] type :(DLTF_GRAPHICS, ) capabilities :(DLCAPS_SURFACE, DLCAPS_OPACITY, DLCAPS_ALPHACHANNEL, DLCAPS _SCREEN_LOCATION, DLCAPS_LEVELS, DLCAPS_SCREEN_POSITION, DLCAPS_SCREEN_SIZE, ) level: 0 regions: 0 sources: 0 clip_regions: 0

layer_id: 2 name: Primary Vid Layer [tmdlVss1] type :(DLTF_VIDEO, ) capabilities :(DLCAPS_SURFACE, DLCAPS_OPACITY, DLCAPS_SCREEN_LOCATION, DLC APS_DEINTERLACING, DLCAPS_BRIGHTNESS, DLCAPS_CONTRAST, DLCAPS_SATURATION, DLCAPS_LEVELS, DLCAPS_SCREEN_POSITION, DLCAPS_SCREEN_SIZE, ) level: 0 re
gions: 0        sources: 0      clip_regions: 0

layer_id: 3 name: Secondary Vid Layer [tmdlVss2] type :(DLTF_VIDEO, ) capabilities :(DLCAPS_SURFACE, DLCAPS_OPACITY, DLCAPS_SCREEN_LOCATION, DLC APS_DEINTERLACING, DLCAPS_BRIGHTNESS, DLCAPS_CONTRAST, DLCAPS_SATURATION, DLCAPS_LEVELS, DLCAPS_SCREEN_POSITION, DLCAPS_SCREEN_SIZE, ) level: 0 re
gions: 0        sources: 0      clip_regions: 0

And resolutions of surfaces for this layers are as follows:
x: 720, y: 720
x: 720, y: 720
x: 1280, y: 720
x: 1280, y: 720

Why X resolution of surfaces for layers 0,1 are 720 when X screen resolution is 1280.
Video layers have X resolution equal to screen resolution.


----------------------------------------------------------------------
Nie dla nich ciepla praca za biurkiem.
Sprawdz >>> http://link.interia.pl/f2383

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



--

.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/                 |
"------------------------------------------"
_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to