Recent

Author Topic: OpenGL vs OpenGLES  (Read 6108 times)

Graeme

  • Hero Member
  • *****
  • Posts: 1428
    • Graeme on the web
OpenGL vs OpenGLES
« on: January 24, 2017, 08:07:50 pm »
Could somebody explain the difference between OpenGL and OpenGLES please?

And where does GLUT fit into the picture?
--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

lainz

  • Hero Member
  • *****
  • Posts: 4460
    • https://lainz.github.io/
Re: OpenGL vs OpenGLES
« Reply #1 on: January 24, 2017, 08:42:08 pm »
One is for desktops and other for mobile?

skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2770
    • havefunsoft.com
Re: OpenGL vs OpenGLES
« Reply #2 on: January 24, 2017, 09:29:04 pm »
GLUT is OpenGL utility library, not available for OpenGLES

Btw, it's possible to find OpenGL ES libraries for Desktops as well. But to be used for development purposes only.

Leledumbo

  • Hero Member
  • *****
  • Posts: 8746
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: OpenGL vs OpenGLES
« Reply #3 on: January 25, 2017, 05:46:03 am »
Could somebody explain the difference between OpenGL and OpenGLES please?
The latter is a subset of the former, suitable for Embedded Systems (hence the ES suffix)
And where does GLUT fit into the picture?
GLUT is like LCL, it abstracts windowing, event and input management of underlying platform, albeit in a much simpler way. It doesn't exist for OpenGL ES (along with GLU) although porting is probably possible. The design is old and I don't recommend using it for new projects, GLFW (and GLFM for mobile, largely inspired but is a different project and API) is better suited.

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11383
  • FPC developer.
Re: OpenGL vs OpenGLES
« Reply #4 on: January 25, 2017, 08:43:38 am »
Opengl and opengl ES afaik pretty much converged in OpenGL 3.3.

Still there are practical differences, I gave some opengl 3.3+ core profile code to an OpenES developer and he balked at my geometry shader usage, seems phone hardware often doesn't have it.
« Last Edit: January 25, 2017, 10:27:03 am by marcov »

Thaddy

  • Hero Member
  • *****
  • Posts: 14197
  • Probably until I exterminate Putin.
Re: OpenGL vs OpenGLES
« Reply #5 on: January 25, 2017, 10:25:29 am »
Many phones and tablets have OpenGles 2. Anything higher converges. I would be interested in a small example that I can run across multiple devices..
« Last Edit: January 25, 2017, 10:27:37 am by Thaddy »
Specialize a type, not a var.

 

TinyPortal © 2005-2018