Skip to content

gpus_ReturnNotPermittedKillClient error occuring in iOS background-aware applications #378

@msmollin

Description

@msmollin

We received some feedback in the Mapzen iOS SDK causing crashes for applications going into the background. This seems to stem from GLKitViewController not pausing its rendering (like I thought it did) when going into and out of background. On reflection this does make some sense as it would be silly for Apple to assume it knows the state of the render pipeline.

To resolve this, we should follow the guidelines outlined in https://developer.apple.com/library/content/documentation/3DDrawing/Conceptual/OpenGLES_ProgrammingGuide/ImplementingaMultitasking-awareOpenGLESApplication/ImplementingaMultitasking-awareOpenGLESApplication.html#//apple_ref/doc/uid/TP40008793-CH5-SW1

tangrams/tangram-es#1708 has been opened in the upstream Tangram-es repo as that is probably the correct place to implement this. However, we can probably implement something in the iOS-SDK sooner if necessary.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions