<s>
GLX	B-Device
(	O
initialism	O
for	O
"	O
OpenGL	B-Application
Extension	O
to	O
the	O
X	B-Operating_System
Window	I-Operating_System
System	I-Operating_System
"	O
)	O
is	O
an	O
extension	O
to	O
the	O
X	B-Device
Window	I-Device
System	I-Device
core	I-Device
protocol	I-Device
providing	O
an	O
interface	B-Application
between	O
OpenGL	B-Application
and	O
the	O
X	B-Operating_System
Window	I-Operating_System
System	I-Operating_System
as	O
well	O
as	O
extensions	O
to	O
OpenGL	B-Application
itself	O
.	O
</s>
<s>
It	O
enables	O
programs	O
wishing	O
to	O
use	O
OpenGL	B-Application
to	O
do	O
so	O
within	O
a	O
window	O
provided	O
by	O
the	O
X	B-Operating_System
Window	I-Operating_System
System	I-Operating_System
.	O
</s>
<s>
GLX	B-Device
distinguishes	O
two	O
"	O
states	O
"	O
:	O
indirect	O
state	O
and	O
direct	O
state	O
.	O
</s>
<s>
Silicon	O
Graphics	O
developed	O
GLX	B-Device
as	O
part	O
of	O
their	O
effort	O
to	O
support	O
OpenGL	B-Application
in	O
the	O
X	B-Operating_System
Window	I-Operating_System
System	I-Operating_System
.	O
</s>
<s>
In	O
1999	O
SGI	O
released	O
GLX	B-Device
under	O
an	O
open-source	O
license	O
,	O
letting	O
it	O
be	O
incorporated	O
in	O
XFree86	B-Device
source	O
code	O
version	O
4.0	O
in	O
2000	O
.	O
</s>
<s>
From	O
there	O
,	O
the	O
code	O
was	O
inherited	O
by	O
the	O
forked	O
X.Org	B-Operating_System
Foundation	I-Operating_System
version	O
of	O
the	O
X	B-Operating_System
Window	I-Operating_System
System	I-Operating_System
X11R6.7.0	O
.	O
</s>
<s>
On	O
September	O
19	O
,	O
2008	O
,	O
SGI	O
created	O
a	O
new	O
SGI	O
FreeB	O
License	O
Version	O
2.0	O
,	O
which	O
"	O
now	O
mirrors	O
the	O
free	O
X11	B-Operating_System
license	O
used	O
by	O
X.Org	O
"	O
and	O
"	O
meets	O
the	O
free	B-License
and	I-License
open	I-License
source	I-License
software	I-License
community	O
's	O
widely	O
accepted	O
definition	O
of	O
'	O
free	O
 '	O
"	O
.	O
</s>
<s>
In	O
2009	O
the	B-Operating_System
Free	I-Operating_System
Software	I-Operating_System
Foundation	I-Operating_System
endorsed	O
the	O
SGI	O
Free	O
License	O
B	O
to	O
be	O
a	O
free-software	B-License
license	I-License
,	O
and	O
GLX	B-Device
to	O
be	O
an	O
important	O
free-software	B-Application
graphics	O
project	O
.	O
</s>
<s>
As	O
of	O
2011	O
,	O
GLX	B-Device
has	O
reached	O
version	O
1.4	O
.	O
</s>
<s>
The	O
first	O
internal	O
implementation	O
of	O
GLX	B-Device
API	B-Application
,	O
called	O
GLcore	O
,	O
loaded	O
a	O
version	O
of	O
the	O
software	O
renderer	O
of	O
Mesa	B-Application
inside	O
the	O
X	B-Operating_System
server	O
and	O
rendered	O
the	O
OpenGL	B-Application
commands	O
in	O
a	O
window	O
or	O
pixmap	O
.	O
</s>
<s>
With	O
the	O
development	O
of	O
DRI	B-Application
,	O
the	O
ability	O
to	O
use	O
hardware	O
accelerated	O
OpenGL	B-Application
through	O
direct	O
contexts	O
was	O
added	O
(	O
primarily	O
used	O
by	O
videogames	O
)	O
.	O
</s>
<s>
In	O
2006	O
,	O
the	O
popularization	O
of	O
the	O
nested	O
Xgl	B-Application
X	B-Operating_System
server	O
and	O
Compiz	B-Language
compositing	B-Operating_System
window	I-Operating_System
manager	I-Operating_System
lead	O
to	O
the	O
development	O
of	O
Accelerated	O
Indirect	O
GLX	B-Device
(	O
AIGLX	B-Application
)	O
.	O
</s>
<s>
AIGLX	B-Application
brings	O
hardware	O
acceleration	O
to	O
the	O
GLX	B-Device
(	O
indirect	O
context	O
)	O
applications	O
by	O
loading	O
the	O
Mesa	B-Application
DRI	B-Application
driver	O
inside	O
the	O
X	B-Operating_System
server	O
.	O
</s>
<s>
This	O
method	O
enables	O
the	O
sharing	O
of	O
GL	O
objects	O
between	O
X	B-Operating_System
clients	O
using	O
indirect	O
contexts	O
(	O
they	O
all	O
are	O
in	O
the	O
same	O
address	O
space	O
in	O
the	O
X	B-Operating_System
server	O
)	O
and	O
also	O
between	O
a	O
X	B-Operating_System
client	O
and	O
the	O
compositing	B-Operating_System
window	I-Operating_System
manager	I-Operating_System
,	O
thus	O
accelerating	O
composition	O
.	O
</s>
<s>
In	O
2008	O
the	O
binding	O
in	O
GLcore	O
to	O
the	O
Mesa	B-Application
software	O
renderer	O
was	O
rewritten	O
as	O
a	O
DRI	B-Application
interface	B-Application
module	O
,	O
called	O
swrast_dri.so	O
,	O
improving	O
the	O
coupling	O
of	O
Mesa	B-Application
and	O
the	O
X	B-Operating_System
server	O
.	O
</s>
<s>
Also	O
in	O
the	O
year	O
2008	O
the	O
new	O
DRI2	B-Application
was	O
introduced	O
to	O
replace	O
DRI	B-Application
,	O
and	O
with	O
it	O
a	O
new	O
model	O
based	O
in	O
the	O
Kernel	B-Operating_System
mode-setting	I-Operating_System
.	O
</s>
<s>
In	O
2011	O
,	O
the	O
Glamor	B-Application
project	O
started	O
,	O
aiming	O
to	O
add	O
a	O
generic	O
hardware-accelerated	O
2D	O
X	B-Operating_System
driver	O
based	O
in	O
OpenGL	B-Application
.	O
</s>
<s>
In	O
2013	O
Adam	O
Jackson	O
did	O
a	O
major	O
rewrite	O
of	O
GLX	B-Device
code	O
to	O
consolidate	O
the	O
diverse	O
paths	O
from	O
Glamor	B-Application
,	O
indirect	O
rendering	O
,	O
...	O
to	O
one	O
unique	O
path	O
to	O
OpenGL	B-Application
's	O
library	B-Library
libGL	O
.	O
</s>
<s>
GLX	B-Device
consists	O
of	O
three	O
parts	O
:	O
</s>
<s>
An	O
API	B-Application
that	O
provides	O
OpenGL	B-Application
functions	O
to	O
an	O
X	B-Operating_System
Window	I-Operating_System
System	I-Operating_System
application	O
.	O
</s>
<s>
An	O
extension	O
of	O
the	O
X	B-Device
protocol	I-Device
,	O
which	O
allows	O
the	O
client	O
(	O
the	O
OpenGL	B-Application
application	O
)	O
to	O
send	O
3D	O
rendering	O
commands	O
to	O
the	O
X	B-Operating_System
server	O
(	O
the	O
software	O
responsible	O
for	O
the	O
display	O
)	O
.	O
</s>
<s>
If	O
client	O
and	O
server	O
are	O
running	O
on	O
the	O
same	O
computer	O
and	O
an	O
accelerated	O
3D	O
graphics	O
card	O
using	O
a	O
suitable	O
driver	O
is	O
available	O
,	O
the	O
former	O
two	O
components	O
can	O
be	O
bypassed	O
by	O
DRI	B-Application
.	O
</s>
<s>
In	O
this	O
case	O
,	O
the	O
client	O
application	O
is	O
then	O
allowed	O
to	O
directly	O
access	O
the	O
video	O
hardware	O
through	O
several	O
API	B-Application
layers	O
.	O
</s>
<s>
Mesa	B-Application
3D	I-Application
–	O
a	O
free	B-License
and	I-License
open-source	I-License
library	B-Library
which	O
implements	O
a	O
couple	O
of	O
graphical	O
APIs	B-Application
and	O
also	O
the	O
available	O
Free	B-Application
and	I-Application
open-source	I-Application
device	I-Application
drivers	I-Application
:	I-Application
graphics	I-Application
;	O
for	O
a	O
last	O
resort	O
Mesa	B-Application
3D	I-Application
also	O
offers	O
fallback	O
software	O
rendering	O
.	O
</s>
<s>
The	O
proprietary	O
device	O
drivers	O
for	O
graphics	O
chips	O
also	O
include	O
an	O
implementation	O
of	O
GLX	B-Device
.	O
</s>
