1. I have one screen - so this is primary screen. If I would have three,
the primary screen always is the first, with id = 0 ?
2. I have 4 layers for this screen. Primary layer is the layer with id = 0?
3. I understand that all this 4 layers are shared by all directFB
applications.
And this is why eg if application want to change layer level
IDirectFBDisplayLayer::SetLevel() it must claim ownership of this layer
with IDirectFBDisplayLayer::SetCooperativeLevel() to _EXCLUSIVE or
_ADMINISTRATIVE ?
4.
a) Every layer has its own surface?
b) If we want to show something on screen, it need to be draw in some
way to one of this surface?
c) This surfaces are shared by all directFB applications, or every
application has its own set of 4 surfaces - for 4 layers?
d) We may get this surfaces with IDirectFBDisplayLayer::GetSurface() ?
e) If I create surface with IDirecfFB::CreateSurface(), and draw
something on it, I need to blit this surface to one of this 4 layers
surfaces?
d) If I create window for layer IDirectFBDisplayLayer::CreateWindow()
then surface is created for that window, and everything we draw to that
surface is then "bliting" to surface of this layer.
e) If I create another window then another surface (independent of first
window surface) is created?
f) Is it ok to draw directly to layer surface, or I should try to create
another one and blit it to layer surface, or try to create window.
g) What is primary surface?
I guess that if we set IDirectFB::SetCooperativeLevel() to
_FULLSCREEN or _EXCLUSIVE than if we create IDirectFB::CreateSurface()
with _PRIMARY then it is "blit" with surface of primary layer of primary
screen.
But what if we set IDirectFB::SetCooperativeLevel() to _NORMAL and we
create primary surface - what this surface stands for?
I really would like to understand this ideas.
Please for any help, answers.
Please share yours precious knowledge with me.
I be grateful.
Best regards,
Tomek.
----------------------------------------------------------------------
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