Results 1 to 3 of 3

Thread: opengl es 2 vs opengl es 1.0

  1. #1
    Junior Member
    Join Date
    Feb 2012
    Posts
    1

    opengl es 2 vs opengl es 1.0

    Will ES 1.0 code run on ES 2.0 ?
    In the hardware manual it is mentioned both opengl ES 1.0 and 2.0
    In such cases how to run ES1.0 code..
    Any suggestions ?

  2. #2

    Re: opengl es 2 vs opengl es 1.0

    Several parameters and sintaxes are a bit different. So, no... ES 1.0 code will not run on ES 2.0.

    If you run ES 2 or ES 1, the difference is the way you specify your library header.

    Don't mix ES 2 with ES 1. If you have to choose, if you can, take ES 2.

  3. #3
    Junior Member
    Join Date
    Jul 2011
    Posts
    17

    Re: opengl es 2 vs opengl es 1.0

    Quote Originally Posted by threaderslash
    Several parameters and sintaxes are a bit different. So, no... ES 1.0 code will not run on ES 2.0.

    If you run ES 2 or ES 1, the difference is the way you specify your library header.

    Don't mix ES 2 with ES 1. If you have to choose, if you can, take ES 2.
    Ehm, not just parameters and syntaxes are different, they're completely different. OpenGL ES 1.x uses a fixed function pipeline while ES 2.0 uses a programmable pipeline, thus, you would have to rewrite a lot of code if you want to make your ES 1.x application run using ES 2.0 (add all required shaders, setup uniforms etc)

    If you have an application relying on a fixed function pipeline, use ES 1.x, if your app is shader oriented use ES 2.0.

    A lot of platforms support both, just as real OpenGL (before 3.x decided to deprecate stuff). If i'm not mistaking, Android introduced OpenGL ES 2.0 with Android 2.0 (??) thus old versions used ES 1.x and new versions should support both

Similar Threads

  1. Trouble porting OpenGL code to iPhone's OpenGL ES
    By vamshivakul in forum Cross API and window system integration
    Replies: 3
    Last Post: 10-26-2011, 01:27 AM
  2. Trouble porting OpenGL code to iPhone's OpenGL ES
    By vamshivakul in forum OpenGL ES general technical discussions
    Replies: 1
    Last Post: 04-16-2009, 07:39 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •