Do178-HMI-creator / POC

GNU General Public License v3.0
2 stars 0 forks source link

Switch to OpenGL ES #24

Open Mavrikant opened 3 years ago

Mavrikant commented 3 years ago

According to this answer here, it is just a different header file nothing changes in code.

https://stackoverflow.com/questions/47343412/can-i-use-opengl-gles-instead-of-full-opelgl-on-desktop

Mavrikant commented 3 years ago

https://askubuntu.com/questions/244133/how-do-i-get-egl-and-opengles-libraries-for-ubuntu-running-on-virtualbox

Mavrikant commented 3 years ago

Kendi bilgisayarımda böyle bir çıktı aldım. ES3.2 destekliyormuş.

serdar@ASUS-Ubuntu:~$ glxinfo -B
name of display: :1
display: :1  screen: 0
direct rendering: Yes
Memory info (GL_NVX_gpu_memory_info):
    Dedicated video memory: 2048 MB
    Total available memory: 2048 MB
    Currently available dedicated video memory: 1389 MB
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce 930MX/PCIe/SSE2
OpenGL core profile version string: 4.6.0 NVIDIA 450.102.04
OpenGL core profile shading language version string: 4.60 NVIDIA
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.6.0 NVIDIA 450.102.04
OpenGL shading language version string: 4.60 NVIDIA
OpenGL context flags: (none)
OpenGL profile mask: (none)

OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 450.102.04
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20