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

  • SEARCH
  • Home
  • 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 6592643
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T17:34:51+00:00 2026-05-25T17:34:51+00:00

I have an OpenGL ES2-based app which runs smoothly at 30fps on an iPad

  • 0

I have an OpenGL ES2-based app which runs smoothly at 30fps on an iPad 2, but on an iPad 1 it’s a bit jerky. I want to modify my app to use a default frame rate of 20fps on the iPad 1, which I’ve already verified makes it feel much smoother on that model.

What’s a good way to detect the iPad 1’s lower performance? Should I just look for more than one CPU core (and how do I detect that) or maybe the processor speed or total system memory? I know it’s bad to look at device strings so I’m avoiding that. I’ve considered having my drawing code simply detect that it isn’t keeping up with the frame rate and throttling it back, but that has complications I’d rather avoid (ie, falling back on an iPad 2 just because of a transient load spike, then having to add even more code to re-try the higher frame rate just in case that happens).

  • 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-25T17:34:52+00:00Added an answer on May 25, 2026 at 5:34 pm

    Maybe you should try sysctl for this.

    - (NSUInteger) getSysInfo: (uint) typeSpecifier
    {
        size_t size = sizeof(int);
        int results;
        int mib[2] = {CTL_HW, typeSpecifier};
        sysctl(mib, 2, &results, &size, NULL, 0);
        return (NSUInteger) results;
    }
    
    - (NSUInteger) cpuFrequency
    {
        return [self getSysInfo:HW_CPU_FREQ];
    }
    
    - (NSUInteger) busFrequency
    {
        return [self getSysInfo:HW_BUS_FREQ];
    }
    

    See Erica Sadun’s UIDevice+Extension category (from which this code is extracted).

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

Sidebar

Related Questions

So, I have an OpenGL ES 2.0 app. It compiles and runs in the
Recently I want to learn OpenGL ES. But I don't know which version should
I have an iPad app with UI written in OpenGL ES 2.0, some UI
I want to update my app to require OpenGL ES 2.0. But I want
I'm developing an image warping iOS app with OpenGL ES 2.0. I have a
So I am working on openGL ES2.0 and GLSL and I have a question
I have created an OpenGL ES 2.0 view that takes up the iPad's whole
We have an iOS drawing app. Currently, the drawing is implemented with OpenGL ES
I have photo editing view that displays an OpenGL ES 2.0 view. I want
Well I have a device which supports OpenGl ES 2.0 (HTC Desire), and of

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.