Hi,

I am making a software mixer app where in 2 apps are creating 1 surface each
and I need to mix them up and render on a Display Layer.
Each app is creating a surface like:
        desc.flags = DSDESC_HEIGHT | DSDESC_WIDTH | DSDESC_CAPS ;
        desc.caps = DSCAPS_SYSTEMONLY;
        desc.width = 1000;
        desc.height = 800;
        ret = dfb->CreateSurface (dfb, &desc, &pLayer_Surface);
To my surprise, both app1 and app2 are getting the same pointer for
pLayer_Surface. I am expecting two different pointers, so that I can mix
them up and render to the Display Layer.
Any clue, where I  am wrong. 
- Sanjiv
-- 
View this message in context: 
http://www.nabble.com/DirectFB-software-Surface-tp22204973p22204973.html
Sent from the DirectFB Users mailing list archive at Nabble.com.

_______________________________________________
directfb-users mailing list
directfb-users@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to