← Back to team overview

ubuntu-phone team mailing list archive

Re: Pure OpenGL supported ?

 

On 02/25/2013 02:05 AM, Sam Spilsbury wrote:
Hi,

On Mon, Feb 25, 2013 at 7:20 AM, Petko <pditchev@xxxxxxxxx> wrote:
  I don't know the internals of it , but that's why I ask:
1. I'm pretty sure I heard Mark say that there will be full OpenGL
accessible.
2. On Phronix I read that there's only OpenGL ES 2.0 on the current devices.

I've programmed with OpenGL , but as far as I've seen the programming style
with OpenGL ES 2.0 is entirely different (sorry if I'm not informed enough,
but I'm very eager to ask , and I can't dig into googling the topic right
now) .
By "OpenGL", Mark meant "OpenGL ES 2.0" and eventually "OpenGL ES
3.0". When developing apps for both OpenGL and OpenGL ES it is best to
use the common subset of both APIs. ES2 is limited in some senses
(namely, no uniform buffer objects or multiple render targets), but
ES3 will bring those to the table eventually.

Best,

Sam

Petko


I know it's not entirely in-topic , but I want to ask a pretty much yes or no question . Can I (like in OpenGL) setup the viewport,modelview and projection in a few lines and then start drawing ? The shortest example that I saw for ES 2.0 was like 3 pages , and I really hope not to have to fully rewrite my ~200 lines into some entirely new system.

Petko


References