[Xcb] XRenderFindVisualFormat

Vincent Torri Vincent.Torri at iecn.u-nancy.fr
Wed Dec 15 00:31:56 PST 2004


I'm not sure, but i would use :

XCBRenderQueryPictFormatsCookie XCBRenderQueryPictFormats(XCBConnection
*c);

XCBRenderQueryPictFormatsRep *XCBRenderQueryPictFormatsReply(XCBConnection
*c, XCBRenderQueryPictFormatsCookie cookie, XCBGenericError **e);

XCBRenderPICTSCREENIter
XCBRenderQueryPictFormatsScreensIter(XCBRenderQueryPictFormatsRep *R);

i would give the 'data' field of the XCBRenderPICTSCREENIter to this
function:

XCBRenderPICTDEPTHIter XCBRenderPICTSCREENDepthsIter(XCBRenderPICTSCREEN
*R);

i would give the 'data' field of the XCBRenderPICTDEPTHIter to this
function:

XCBRenderPICTVISUALIter XCBRenderPICTDEPTHVisualsIter(XCBRenderPICTDEPTH
*R);

then the 'format' field of the XCBRenderPICTVISUALIter struct

(of course, it's in the render extension (render.h))

regards

Vincent TORRI


On Wed, 15 Dec 2004, Jeremy Kolb wrote:

> What's the XCB equivalent of XRenderFindVisualFormat?  I can't seem to
> find it.  Thanks.
>
> Jeremy
> _______________________________________________
> xcb mailing list
> xcb at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xcb
>



More information about the xcb mailing list