Hi,

On Fri, May 18, 2012 at 9:46 PM, Poole, Bryce <bryce.po...@intel.com> wrote:

> I needed a way to determine the colorspace of a surface. So I added a
> GetColorSpace API call to the IDirectFBSurface. I have attached the patch
> that I made from the repository head.



You can call the IDirectFBSurface::GetPixelFormat(), then call  the macro
DFB_COLORSPACE_DEFAULT to get the colorspace.

HtH

regards
Haithem.

-- 
*Never say that's "impossible", the word itself says "I'm Possible"*
_______________________________________________
directfb-dev mailing list
directfb-dev@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to