Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4083332
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T18:17:58+00:00 2026-05-20T18:17:58+00:00

I cannot find reference to this. All Android developer docs are focused on OpenGL

  • 0

I cannot find reference to this. All Android developer docs are focused on OpenGL ES 1.0. How can I start using OpenGL 2.0 in Android SDK using API level 8? If level 8 is not supported then what level I need to use?

What percentage of android phones that are out there in the market currently support OpenGL ES 2.0 ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T18:17:59+00:00Added an answer on May 20, 2026 at 6:17 pm

    The problem is that you need to implement three methods in the GLSurfaceView that take at GL10 from the OS.

    public void onDrawFrame(GL10 gl)
    public void onSurfaceChanged(GL10 gl, int width, int height)
    public void onSurfaceCreated(GL10 gl, EGLConfig config)
    

    It looks like the solution is to ignore the GL10 entirely in your Renderer and just use all the GLES20 class’s static methods.

    public void onDrawFrame(GL10 glUnused) {
            GLES20.glClearColor(0.0f, 0.0f, 1.0f, 1.0f);
            GLES20.glClear( GLES20.GL_DEPTH_BUFFER_BIT | GLES20.GL_COLOR_BUFFER_BIT);
            GLES20.glUseProgram(mProgram);
            ...
    }
    

    All of the GLES20 static members are listed here:
    http://developer.android.com/reference/android/opengl/GLES20.html

    Better documentation on those are in the Khronos docs.
    http://www.khronos.org/opengles/sdk/docs/man/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am searching for the reference System.Windows.UIElement but I cannot find it in the
I cannot find the solution for this problem, here is the simplified example: On
I cannot find a way to get a Book's Ratings through the Books API
Just a quick question, on which I cannot find a good reference, especially with
I've been through all SharePoints posts all over the interwebs and I can't find
Disclaimer: I'm sure this has been answered before but I cannot find anything on
I cannot find out how to list and print all objects in a workspace.
Cannot find any example on Google.
I cannot find it anywhere, tried adding --silence, --quiet etc, but still the script
I cannot find a way to change the maximum rangeinput for jquery tools. The

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.