Yes. Our hardware supports only 2 layers. So it's not possible to create 3rd 
layer




________________________________
From: chiachen <[EMAIL PROTECTED]>
To: directfb-users@directfb.org
Sent: Wednesday, 26 November, 2008 9:19:10 AM
Subject: Re: [directfb-users] create surface/display layer failed

Hi,  pvanandin, 

The layer cant not be  created ,just cant be get.
How many layer you can get ,it depends on the  hardware you use.
That means if the 3rd layer is not exist, it will  failed when  
GetDisplayLayer().



/////////////////////////////////////////////////////////////////////////////////////

Hi,



In our application we are have 2 layers (primary and video layer).. I'm trying 
to create 

3rd layer via GetDisplayLayer  (or CreateSurface) for drawing images into that 
and later 

we want to blit that surface into primary surface. Please refer the below code 

block which we use to create user layer. But it fails. We are unable to test 

blit functions. kindly help to resolve this issue. 



CreateUserLayer 

()

{

            IDirectFBDisplayLayer 

*pdisplaylayer;



            dfb->GetDisplayLayer 

( dfb, 2, &pdisplaylayer ); // this api call returns failure 



            if (ret || ! 

pdisplaylayer)



{



printf("failed to GetDisplayLayer\n");

                        return 

false;



}

}



Regards,

Vijay



Sincerely yours, 
chiachen 
[EMAIL PROTECTED] 
2008-11-26 



      Get perfect Email ID for your Resume. Grab now 
http://in.promos.yahoo.com/address
_______________________________________________
directfb-users mailing list
directfb-users@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to