glXGetContextIDEXT - get the XID for a context.
GLXContextID glXGetContextIDEXT( const GLXContext ctx )
ctx Specifies a GLX rendering context.
glXGetContextIDEXT returns the XID associated with a GLXContext.
No round trip is forced to the server; unlike most X calls that return a value, glXGetContextIDEXT does not flush any pending events.
glXGetContextIDEXT is part of the EXT_import_context extension, not part of the core GLX command set. If GLX_EXT_import_context is included
in the string returned by glXQueryExtensionsString, when called with argument GLX_EXTENSIONS, extension EXT_import_context is supported.
GLXBadContext is generated if ctx does not refer to a valid context.
glXCreateContext, glXQueryVersion, glXQueryExtensionsString
Check Out this Related Man Page
glXImportContextEXT - import another process's indirect rendering context.
GLXContext glXImportContextEXT( Display *dpy,
GLXContextID contextID )
dpy Specifies the connection to the X server.
contextID Specifies a GLX rendering context.
glXImportContextEXT creates a GLXContext given the XID of an existing GLXContext. It may be used in place of glXCreateContext, to share
another process's indirect rendering context.
Only the server-side context information can be shared between X clients; client-side state, such as pixel storage modes, cannot be shared.
Thus, glXImportContextEXT must allocate memory to store client-side information. This memory is freed by calling glXFreeContextEXT.
This call does not create a new XID. It merely makes an existing object available to the importing client (Display *). Like any XID, it
goes away when the creating client drops its connection or the ID is explicitly deleted. Note that this is when the XID goes away. The
object goes away when the XID goes away AND the context is not current to any thread.
If contextID refers to a direct rendering context then no error is generated but glXImportContextEXT returns NULL.
glXImportContextEXT is part of the EXT_import_context extension, not part of the core GLX command set. If GLX_EXT_import_context is
included in the string returned by glXQueryExtensionsString, when called with argument GLX_EXTENSIONS, extension EXT_import_context is sup-
GLXBadContext is generated if contextID does not refer to a valid context.
glXCreateContext, glXQueryVersion, glXQueryExtensionsString, glXGetContextIDEXT, glXFreeContextEXT
There is no xorg.conf file and no XF86Config file on a certain FreeBSD machine:
# locate xorg.conf
# locate XF86Config
Can someone let me know if that means that there is a bare bones set up possible only? xrandr works fine, but I am looking for ways to... (6 Replies)
I'm looking for finer granularity than the 20 ANSI escape sequence screen modes. What I'd like to do is have the terminal increase it's own height when I have to show the user a long menu.
Platform is Cygwin 64 running over Win 7 Pro.
Mike (4 Replies)
What is the point of this? Whenever I close my shell it appends to the history file without adding this. I have never seen it overwrite my history file.
# When the shell exits, append to the history file instead of overwriting it
shopt -s histappend (3 Replies)
Look this very good rendering on Slackware 14.2
in my opinion is near perfect.
Now look the same page on Fedora 30
In my opinion the fonts on Fedora are too small and difficult to read, I prefer the fat fonts of... (20 Replies)