Bug 7001 - Handle absence or failure of XC-MISC
Summary: Handle absence or failure of XC-MISC
Status: RESOLVED FIXED
Alias: None
Product: XCB
Classification: Unclassified
Component: Library (show other bugs)
Version: unspecified
Hardware: All All
: high major
Assignee: Jamey Sharp
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 6797
  Show dependency treegraph
 
Reported: 2006-05-23 05:30 UTC by Jamey Sharp
Modified: 2006-09-09 14:45 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Jamey Sharp 2006-05-23 05:30:09 UTC
Currently XCB will dereference a null pointer if the XC-MISC extension is absent
or doesn't work and a new batch of XIDs is needed. Probably it should return an
invalid XID instead (anything >= 2**29 should work, including -1). This behavior
then needs to be documented so programmers realize this can fail.

Latency-hiding the XC-MISC request when we're nearly out of XIDs might be a
feature too. Some API design thought should go into this: ideally it would be
under the control of the application if desired, happening automatically if the
application doesn't take care of it.
Comment 1 Bart Massey 2006-09-09 14:45:22 UTC
The enhancement portion has been moved to bug 8204, while the fix portion has
been fixed by Jamey.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.