Linux and UNIX Man Pages

Test Your Knowledge in Computers #323
Difficulty: Easy
In most programming languages, the operator ++ is equivalent to the statement -= 1;.
True or False?
Linux & Unix Commands - Search Man Pages

glxgetcontextidext(3) [xfree86 man page]

GLXGETCONTEXTIDEXT()													      GLXGETCONTEXTIDEXT()

NAME
glXGetContextIDEXT - get the XID for a context. C SPECIFICATION
GLXContextID glXGetContextIDEXT( const GLXContext ctx ) delim $$ PARAMETERS
ctx Specifies a GLX rendering context. DESCRIPTION
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. ERRORS
GLXBadContext is generated if ctx does not refer to a valid context. SEE ALSO
glXCreateContext, glXQueryVersion, glXQueryExtensionsString GLXGETCONTEXTIDEXT()

Check Out this Related Man Page

GLXIMPORTCONTEXTEXT()													     GLXIMPORTCONTEXTEXT()

NAME
glXImportContextEXT - import another process's indirect rendering context. C SPECIFICATION
GLXContext glXImportContextEXT( Display *dpy, GLXContextID contextID ) delim $$ PARAMETERS
dpy Specifies the connection to the X server. contextID Specifies a GLX rendering context. DESCRIPTION
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- ported. ERRORS
GLXBadContext is generated if contextID does not refer to a valid context. SEE ALSO
glXCreateContext, glXQueryVersion, glXQueryExtensionsString, glXGetContextIDEXT, glXFreeContextEXT GLXIMPORTCONTEXTEXT()

4 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

No xorg.conf or XF86Config

There is no xorg.conf file and no XF86Config file on a certain FreeBSD machine: # locate xorg.conf /usr/local/man/man5/xorg.conf.5.gz # 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)
Discussion started by: figaro
6 Replies

2. Shell Programming and Scripting

Can a script resize it's own mintty console?

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)
Discussion started by: Michael Stora
4 Replies

3. UNIX for Advanced & Expert Users

Shopt -s histappend

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)
Discussion started by: cokedude
3 Replies

4. Fedora

Fedora 30 and Slackware 14.2, how to obtain the same rendering?

Look this very good rendering on Slackware 14.2 in my opinion is near perfect. https://i.stack.imgur.com/q5trL.png Now look the same page on Fedora 30 https://i.stack.imgur.com/FBQv7.png In my opinion the fonts on Fedora are too small and difficult to read, I prefer the fat fonts of... (20 Replies)
Discussion started by: Linusolaradm1
20 Replies

Featured Tech Videos