I work with TI 8168 card of the DaVinci family. I use the TI's ti81xxfb driver. I found the videoInitLayer() (.InitLayer function) in davinci_video.c file. If I understood you right I should add there DLCAPS_OPACITY option.
Why it didn't work with SetConfig function? Maybe something else wasn't configured properly? Thanks. On Wed, Aug 1, 2012 at 1:15 PM, haithem rahmani <haithem.rahm...@gmail.com> wrote: > Hi, > > have you written your own system driver? > if yes then you should specify that flag in your .InitLayer function. > > have a look for example, at besInitLayer() in > "gfxdrivers/matrox/matrox_bes.c" > > if you are using the common fbdev driver, then you have to adjust a bit to > suit your hadrware spec. > > HTH > > regards > Haithem. > > > On Wed, Aug 1, 2012 at 9:24 AM, Alla N <alla...@gmail.com> wrote: >> >> Hi Egor, >> >> Thank you for your answer. I did what you suggested >> >> DFBDisplayLayerDescription ret_desc; >> DFBDisplayLayerConfig dlc; >> >> dfb->GetDisplayLayer( dfb, 0, &videolayer ); >> >> dlc.flags = DLCONF_OPTIONS; >> dlc.options = DLOP_OPACITY; >> videolayer->SetConfiguration( videolayer, &dlc ); >> >> videolayer->GetDescription(videolayer, &ret_desc); >> >> if (ret_desc.caps & DLCAPS_OPACITY) >> printf( " - Supports blending based on global alpha factor.\n" ); >> >> but the flag value wasn't changed. Am I doing something wrong? >> >> Thanks. >> _______________________________________________ >> directfb-users mailing list >> directfb-users@directfb.org >> http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users > > > > > -- > Never say that's "impossible", the word itself says "I'm Possible" > _______________________________________________ directfb-users mailing list directfb-users@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users