glXImportContextEXT man page on BSDOS

Man page or keyword search:  
man Server   6284 pages
apropos Keyword Search (all sections)
Output format
BSDOS logo
[printable version]



GLXIMPORTCONTEXTEXT()			GLXIMPORTCONTEXTEXT()

NAME
       glXImportContextEXT  -  import  another process's indirect
       rendering context.

C SPECIFICATION
       GLXContext glXImportContextEXT( Display *dpy,
				       GLXContextID contextID )

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 glX-
       CreateContext, to share another process's indirect render-
       ing context.

       Only  the  server-side  context	information can be shared
       between X clients; client-side state, such as pixel  stor-
       age  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 supported.

ERRORS
       GLXBadContext  is generated if contextID does not refer to
       a valid context.

SEE ALSO
       glXCreateContext,			 glXQueryVersion,

								1

GLXIMPORTCONTEXTEXT()			GLXIMPORTCONTEXTEXT()

       glXQueryExtensionsString,  glXGetContextIDEXT, glXFreeCon-
       textEXT

								2

[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server BSDOS

List of man pages available for BSDOS

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net