Go to advanced search

by Arkiruthis
Sat Jul 20, 2019 8:31 pm
Forum: OpenGLES
Topic: RPi4 Problem drawing GL_POINTS anyone?
Replies: 38
Views: 9310

Re: RPi4 Problem drawing GL_POINTS anyone?

I have noticed some quirks porting my Pi3 code to Pi4 that other GLES implementations (including Broadcom's Pi2/Pi3 driver) seem to tolerate. I had 2 texture units in a vertex shader (one for heightfield lookup, the other unused) and bound 2 active textures (to GL_TEXTURE0 and GL_TEXTURE1) .cpp file...
by Arkiruthis
Sat Jul 20, 2019 8:03 pm
Forum: OpenGLES
Topic: Thread from Pi4 discussion
Replies: 87
Views: 23441

Re: Thread from Pi4 discussion

Following Solskogen's suggestions I built the latest SDL with kmsdrm and was able to get my game running fine with OpenGL ES 3.0. It works fine in console mode, but in X11 I get a buffer error (which I think makes sense, as I've not compiled SDL for X11?). UPDATE - works fine in X11 as well. :D It c...
by Arkiruthis
Thu Jul 11, 2019 2:19 pm
Forum: OpenGLES
Topic: Thread from Pi4 discussion
Replies: 87
Views: 23441

Re: Thread from Pi4 discussion

I would suggest you configure SDL2 with --disable-video-rpi --enable-video-kmsdrm as options. Unless you do, SDL2 gets configured with the old rpi driver in /opt/vc. And with --enable-video-kmsdrm you can use SDL2 in console, without X11. kmsdrm needs a couple of packages installed: libgdm-dev and ...

Go to advanced search