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 8692931
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T00:25:34+00:00 2026-06-13T00:25:34+00:00

My application is an OpenGL heavily employed one, which is being used to process

  • 0

My application is an OpenGL heavily employed one, which is being used to process images, rendering scenes, display previews, etc. However, after I implemented multi-task as Apple’s official document ‘OpenGL ES Programming Guide for iOS’, weird crashes still came up sporadically. Debug Navigator Stack trace shows something like ‘sgxPatchDeferredFramebufferOffsets’, ‘presentRenderbuffer EXC_BAD_ACCESS’, ‘gpus_ReturnNotPermittedKillClient’, etc.

So, I would like to know what exactly one should implement OpenGL ES Multi-task.

=============UPDATE: Problem Solved============

Thanks for your answer, CStreel, and other guys who tried to help.

After reading ‘Background Applications May Not Execute Commands on the Graphics Hardware’ part in’OpenGL ES Programming Guide for iOS’ a second time, line by line, I have a new understanding with this issue.

The big problem with my app is I should not implement OpenGL ES multi-task in a notification method. Since, unlike delegate methods, notification methods will be called asynchronously, these stopping animation actions and glFinish() calls may not take effect when the application has already moved into the background. This may happen more frequently when I hit the lock-screen button as soon as I am performing a series of OpenGL ES related actions.

If you guys found some other issues, feel free to contact me.

  • 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-06-13T00:25:35+00:00Added an answer on June 13, 2026 at 12:25 am

    When you app is about to enter the background, if your app calls any OGLES functions the OS will kill your app straight away

    Read the App States & Multitasking for more information
    Read the Being a Responsible Background App

    Here are some extracts from that document:

    (Required) When moving to the background, make sure your app adjusts its behavior appropriately.
    

    In regards to OGLES

     ...the app should stop calling OpenGL ES functions.
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a simple iPhone application which uses OpenGL ES (v1) to draw a
My OpenGL application which was working fine on ATI card stopped working when I
I'm trying to create a multithreaded opengl application with libx11 - with one separate
Friends,I want to work on a OpenGL application, in which i have to develop
I wrote a simple opengl application in C which plots sin(x). This is my
I have a simple OpenGL application, which displays a line. I store x1, y1,
I've got an OpenGL application which I'm afraid is GPU bound. How can I
I am developing openGL application on iPad and i came up to one quite
I'm working on a new OpenGL application, and am aware that display lists will
I have an OpenGL application which implements navigation functions such as Orbit, Walk, Pan,

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.