[Xcb] Where's XCBRenderFindStandardFormat ?

Jeremy Kolb jkolb at brandeis.edu
Tue May 17 12:17:11 PDT 2005


Keith Packard wrote:
> On Tue, 2005-05-17 at 04:23 -0700, Carl Worth wrote:
> 
> 
>>Is there a good reason I can't find something like this inside XCB's
>>bindings for the Render extension already?
> 
> 
> It's a convenience function in Xlib which walks over the available
> formats and locates one which matches the attributes in a standard
> pattern.
> 
> XCB isn't big on convenience functions.
> 
> -keith
> 

We seem to be hitting this quite a lot when converting from xlib to xcb. 
  I know there are some record, and randr that I've had to reimplement 
in my test programs.  Do we need a more proper set of libraries ontop of 
xcb?  Some XCBAux<Extension><FunctionName> (to go along with our 
libraries?  Or is this outside of the scope of the XCB project?  I feel 
like the stuff currently in xcb-util is a bit unwieldly and certainly 
doesn't provide the same extension support as xlib.  But if we follow 
this approach then we'll have just another Xlibs with different names.

Second, the naming convention as mentioned earlier... is this 
standardized somewhere?  If not we need to come up with something.  All 
the autogenerated stuff is fine but is there a convention for 
xids/typedefs/structs/enums/etc?

Jeremy


More information about the xcb mailing list