hi all,

first off i want to say that i've been following the development of directfb
for some time and i love what the development team has done with it.  i do
wish that directfb.org had more content, particularly in the documentation
realm.  a wiki containing appropriate code for each of the screenshots would
be awesome.

that aside, i have a few questions which aren't explained clearly in the
documentation.  i've read all of the API docs, the readme, the FAQ, the
tutorials, and the features/concepts overview, and a few concepts are still
fuzzy to me.

fuzziness one: cooperative levels

while i'm fairly certain i've got a solid grasp on cooperative levels, i'm
seeking clarification and elaboration on the uses and limits of various
cooperative levels.  can multiple SetCooperativeLevel() calls be made?  ie,
if i want an app to run full screen at 640x480x32, then allow other
applications access to that layer, would i:

    dfb->SetCooperativeLevel(dfb, DFSCL_FULLSCREEN);
    dfb->SetVideoMode(dfb, 640, 480, 32);
    dfb->SetCooperativeLevel(dfb, DFSCL_NORMAL);

fuzziness two: layers, windows, and the multi-app core

scenario: i want a directfb application to run full screen and, on command,
execute mplayer in a full-screen window while still allowing the application
to display a transparent overlay.  i would think such would be possible,
particularly if the transparent overlay (window) were atop mplayer's window
with an global transparency of 0.  then, the overlay could be shown/hidden
by adjusting the window's transparency.

the question: is this what the multi-app core is for?  would i need
DLSCL_ADMINISTRATIVE access to the layer in order to change mplayer's
window?  will mplayer's directfb output driver cooperate with me on this?
will the display layer have to be DLSCL_SHARED in order for mplayer's
directfb output to be displayed on the layer?  do i have to release the
layer before mplayer can use it?

i've been messing around with code, but i cannot be certain what i'm doing
is what i *think* i'm doing without some clarification.

that's about all the questions i have at this time.  i'm really looking
forward to getting into directfb and contributing back.  in the meantime, i
think i will download XDirectFB and start reading some source...

thanks in advance,

-mike


-- 
Info: To unsubscribe send a mail to [EMAIL PROTECTED] with 
"unsubscribe directfb-users" as subject.

Reply via email to