EGL on linux without X

Thomas Pönitz <[email protected]> Tue, 16 Apr 2019 16:20:05 +0200
Newsgroups gmane.comp.python.opengl.user
Message-ID <CAD49M5DmsEaWKVA0F7TFMhZKYXF3uiMwRPrWAVut+vG9mxWZqg@mail.gmail.com>
--===============4167243697401301679==
Content-Type: multipart/alternative; boundary="000000000000c771960586a677f2"

--000000000000c771960586a677f2
Content-Type: text/plain; charset="UTF-8"

I am trying to use PyOpenGL with an EGL context on a linux system without X
server.

I create a context similar to
https://github.com/tensorflow/lucid/blob/master/lucid/misc/gl/glcontext.py#L79


Context seems fine, but I get errors when calling various OpenGL functions,
e.g.

*OpenGL.error.NullFunctionError: Attempt to call an undefined function
glTexStorage2D, check for bool(glTexStorage2D) before calling*

Any ideas what's the problem?

--000000000000c771960586a677f2
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><div>I am trying to use PyOpenGL with an =
EGL context on a linux system without X server.</div><div><br></div><div>I =
create a context similar to</div><div><a href=3D"https://github.com/tensorf=
low/lucid/blob/master/lucid/misc/gl/glcontext.py#L79">https://github.com/te=
nsorflow/lucid/blob/master/lucid/misc/gl/glcontext.py#L79</a>=C2=A0=C2=A0<b=
r></div><div><br></div><div>Context seems fine, but I get errors when calli=
ng various OpenGL functions, e.g.</div><div><br></div><div><i>OpenGL.error.=
NullFunctionError: Attempt to call an undefined function glTexStorage2D, ch=
eck for bool(glTexStorage2D) before calling</i></div><div><i><br></i></div>=
<div>Any ideas what&#39;s the problem?</div></div></div>

--000000000000c771960586a677f2--


--===============4167243697401301679==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


--===============4167243697401301679==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
PyOpenGL Homepage
http://pyopengl.sourceforge.net
_______________________________________________
PyOpenGL-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyopengl-users

--===============4167243697401301679==--