fbpx
Wikipedia

GLX

GLX (initialism for "OpenGL Extension to the X Window System") is an extension to the X Window System core protocol providing an interface between OpenGL and the X Window System as well as extensions to OpenGL itself. It enables programs wishing to use OpenGL to do so within a window provided by the X Window System. GLX distinguishes two "states": indirect state and direct state.

GLX
Original author(s)SGI
Initial release1992
Stable release
1.4 / December 16, 2005
Written inC
LicenseSGI FreeB License[1]
Websitedri.freedesktop.org/wiki/GLX/

History edit

Silicon Graphics developed GLX as part of their effort to support OpenGL in the X Window System. In 1999 SGI released GLX under an open-source license,[2] letting it be incorporated in XFree86 source code version 4.0 in 2000. From there, the code was inherited by the forked X.Org Foundation version of the X Window System X11R6.7.0. On September 19, 2008, SGI created a new SGI FreeB License Version 2.0, which "now mirrors the free X11 license used by X.Org" and "meets the free and open source software community's widely accepted definition of 'free'".[3] In 2009 the Free Software Foundation endorsed the SGI Free License B to be a free-software license, and GLX to be an important free-software graphics project.[4][5] As of 2011, GLX has reached version 1.4.

The first internal implementation of GLX API, called GLcore,[6] loaded a version of the software renderer of Mesa inside the X server and rendered the OpenGL commands in a window or pixmap. With the development of DRI, the ability to use hardware accelerated OpenGL through direct contexts was added (primarily used by videogames). In 2006, the popularization of the nested Xgl X server and Compiz compositing window manager lead to the development of Accelerated Indirect GLX (AIGLX). AIGLX brings hardware acceleration to the GLX (indirect context) applications by loading the Mesa DRI driver inside the X server. This method enables the sharing of GL objects between X clients using indirect contexts (they all are in the same address space in the X server) and also between a X client and the compositing window manager, thus accelerating composition. In 2008 the binding in GLcore to the Mesa software renderer was rewritten as a DRI interface module, called swrast_dri.so, improving the coupling of Mesa and the X server. Also in the year 2008 the new DRI2 was introduced to replace DRI, and with it a new model based in the Kernel mode-setting. In 2011, the Glamor project started, aiming to add a generic hardware-accelerated 2D X driver based in OpenGL. In 2013 Adam Jackson did a major rewrite of GLX code to consolidate the diverse paths from Glamor, indirect rendering, ... to one unique path to OpenGL's library libGL.[7]

Features edit

 
GLX demo (glxgears) included with X11

GLX consists of three parts:

  1. An API that provides OpenGL functions to an X Window System application.
  2. An extension of the X protocol, which allows the client (the OpenGL application) to send 3D rendering commands to the X server (the software responsible for the display). The client and server software may run on different computers.
  3. An extension of the X server that receives the rendering commands from the client and passes them on to the installed OpenGL library

If client and server are running on the same computer and an accelerated 3D graphics card using a suitable driver is available, the former two components can be bypassed by DRI. In this case, the client application is then allowed to directly access the video hardware through several API layers.

Implementations edit

See also edit

  • WGL – the equivalent Microsoft Windows interface to OpenGL
  • CGL – the equivalent macOS interface to OpenGL
  • EGL – a similar cross-platform interface between OpenGL ES or VG and the underlying native platform window system
  • GLUT – library of utilities for OpenGL programs

References edit

  1. ^ oss-project-owners (2012). . Silicon Graphics International. Archived from the original on 2017-04-20. Retrieved 2017-04-11.
  2. ^ Jon Leech (2012). . Silicon Graphics International. Archived from the original on 2011-05-14. Retrieved 2017-04-11.
  3. ^ . 2008-09-19. Archived from the original on 2012-02-11.
  4. ^ Lee, Matt (2008-09-19). "Thank you SGI, for freeing the GNU/Linux 3D desktop!". Free Software Foundation. Retrieved 2017-04-11.
  5. ^ brett (2009-01-13). "3D graphics are 100% free software". Free Software Foundation. Retrieved 2017-04-11.
  6. ^ "DRI – GLcore". freedesktop.org. 2016-07-20. Retrieved 2017-04-11.
  7. ^ Jackson, Adam (2014-02-04). "Rewriting GLX To Rewrite X". Linux.conf.au. Archived from the original on 2021-12-21. Retrieved 2017-04-11.

External links edit

  • OpenGL® Graphics with the X Window System®
  • at the Wayback Machine (archived 2009-06-08)
  • Current OpenGL API, OpenGL Shading Language and GLX Specifications and Reference Pages

other, uses, disambiguation, this, article, needs, additional, citations, verification, please, help, improve, this, article, adding, citations, reliable, sources, unsourced, material, challenged, removed, find, sources, news, newspapers, books, scholar, jstor. For other uses see GLX disambiguation This article needs additional citations for verification Please help improve this article by adding citations to reliable sources Unsourced material may be challenged and removed Find sources GLX news newspapers books scholar JSTOR July 2012 Learn how and when to remove this message GLX initialism for OpenGL Extension to the X Window System is an extension to the X Window System core protocol providing an interface between OpenGL and the X Window System as well as extensions to OpenGL itself It enables programs wishing to use OpenGL to do so within a window provided by the X Window System GLX distinguishes two states indirect state and direct state GLXOriginal author s SGIInitial release1992Stable release1 4 December 16 2005Written inCLicenseSGI FreeB License 1 Websitedri wbr freedesktop wbr org wbr wiki wbr GLX wbr Contents 1 History 2 Features 3 Implementations 4 See also 5 References 6 External linksHistory editSilicon Graphics developed GLX as part of their effort to support OpenGL in the X Window System In 1999 SGI released GLX under an open source license 2 letting it be incorporated in XFree86 source code version 4 0 in 2000 From there the code was inherited by the forked X Org Foundation version of the X Window System X11R6 7 0 On September 19 2008 SGI created a new SGI FreeB License Version 2 0 which now mirrors the free X11 license used by X Org and meets the free and open source software community s widely accepted definition of free 3 In 2009 the Free Software Foundation endorsed the SGI Free License B to be a free software license and GLX to be an important free software graphics project 4 5 As of 2011 GLX has reached version 1 4 The first internal implementation of GLX API called GLcore 6 loaded a version of the software renderer of Mesa inside the X server and rendered the OpenGL commands in a window or pixmap With the development of DRI the ability to use hardware accelerated OpenGL through direct contexts was added primarily used by videogames In 2006 the popularization of the nested Xgl X server and Compiz compositing window manager lead to the development of Accelerated Indirect GLX AIGLX AIGLX brings hardware acceleration to the GLX indirect context applications by loading the Mesa DRI driver inside the X server This method enables the sharing of GL objects between X clients using indirect contexts they all are in the same address space in the X server and also between a X client and the compositing window manager thus accelerating composition In 2008 the binding in GLcore to the Mesa software renderer was rewritten as a DRI interface module called swrast dri so improving the coupling of Mesa and the X server Also in the year 2008 the new DRI2 was introduced to replace DRI and with it a new model based in the Kernel mode setting In 2011 the Glamor project started aiming to add a generic hardware accelerated 2D X driver based in OpenGL In 2013 Adam Jackson did a major rewrite of GLX code to consolidate the diverse paths from Glamor indirect rendering to one unique path to OpenGL s library libGL 7 nbsp 2D drivers inside of the X server nbsp Indirect rendering over GLX using Utah GLX nbsp Early Direct Rendering Infrastructure nbsp Finally all access goes through the Direct Rendering Manager nbsp In Linux kernel 3 12 render nodes were merged and the KMS was split off Wayland implements direct rendering over EGLFeatures edit nbsp GLX demo glxgears included with X11 GLX consists of three parts An API that provides OpenGL functions to an X Window System application An extension of the X protocol which allows the client the OpenGL application to send 3D rendering commands to the X server the software responsible for the display The client and server software may run on different computers An extension of the X server that receives the rendering commands from the client and passes them on to the installed OpenGL library If client and server are running on the same computer and an accelerated 3D graphics card using a suitable driver is available the former two components can be bypassed by DRI In this case the client application is then allowed to directly access the video hardware through several API layers Implementations editMesa 3D a free and open source library which implements a couple of graphical APIs and also the available Free and open source device drivers graphics for a last resort Mesa 3D also offers fallback software rendering The proprietary device drivers for graphics chips also include an implementation of GLX See also editWGL the equivalent Microsoft Windows interface to OpenGL CGL the equivalent macOS interface to OpenGL EGL a similar cross platform interface between OpenGL ES or VG and the underlying native platform window system GLUT library of utilities for OpenGL programsReferences edit oss project owners 2012 History and Most Recent Version of the SGI Free Software License B Silicon Graphics International Archived from the original on 2017 04 20 Retrieved 2017 04 11 Jon Leech 2012 OpenGL Sample Implementation Silicon Graphics International Archived from the original on 2011 05 14 Retrieved 2017 04 11 SGI Further Opens Its OpenGL Contributions 2008 09 19 Archived from the original on 2012 02 11 Lee Matt 2008 09 19 Thank you SGI for freeing the GNU Linux 3D desktop Free Software Foundation Retrieved 2017 04 11 brett 2009 01 13 3D graphics are 100 free software Free Software Foundation Retrieved 2017 04 11 DRI GLcore freedesktop org 2016 07 20 Retrieved 2017 04 11 Jackson Adam 2014 02 04 Rewriting GLX To Rewrite X Linux conf au Archived from the original on 2021 12 21 Retrieved 2017 04 11 External links editOpenGL Graphics with the X Window System SGI Open Source Code GLX at the Wayback Machine archived 2009 06 08 Current OpenGL API OpenGL Shading Language and GLX Specifications and Reference Pages Retrieved from https en wikipedia org w index php title GLX amp oldid 1224129330 Features, wikipedia, wiki, book, books, library,

article

, read, download, free, free download, mp3, video, mp4, 3gp, jpg, jpeg, gif, png, picture, music, song, movie, book, game, games.