please help - MIT-SHM extension > XShmCreatePixmap issue
Alan Coopersmith
Alan.Coopersmith at Sun.COM
Fri Jan 15 11:15:08 PST 2010
mark wrote:
> Do any of you know where I would get a list of all the Major and Minor
> opcodes for X requests?
Major op codes 1-127 are the Core X protocol, for those see any of these:
- the X_* defines at the end of /usr/include/X11/Xproto.h
- the XRequest.* lines in /usr/share/X11/XErrorDB
- the R* X11:* lines in /usr/lib/xorg/protocol.txt
- the X protocol specs at http://www.x.org/releases/X11R7.5/doc/index.html
Major op codes 128-255 are dynamically assigned to X extensions, depending
on which are supported and active in your current X server
version/configuration. To see which are which in your currently running X
server, run:
xdpyinfo -queryExt | grep opcode
Minor version op codes for each extension are defined by the extension.
For those, see any of these:
- the headers for that extension in /usr/include/X11/extensions/
- the XRequest.<extension>.* lines in /usr/share/X11/XErrorDB
- the R* <extension>:* lines in /usr/lib/xorg/protocol.txt
- the X extension protocol specs at
http://www.x.org/releases/X11R7.5/doc/index.html
--
-Alan Coopersmith- alan.coopersmith at sun.com
Sun Microsystems, Inc. - X Window System Engineering
More information about the xorg
mailing list