Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

When app closes get egl no context error #570

Closed

Description

@ljbade

When closing app with back button I get this:

11-08 19:10:49.477  30453-30453/com.mapbox.mapboxgl.app V/../../android/cpp/NativeMapView.cpp:444﹕ NativeMapView::stop
11-08 19:10:49.477  30453-31327/com.mapbox.mapboxgl.app E/libEGL﹕ call to OpenGL ES API with no current context (logged once per thread)

Activity

  1. added
    Android
    on Nov 8, 2014
  2. ljbade commented on Nov 8, 2014

    @ljbade
    ContributorAuthor

    I note that make_inactive is called before stop, but make_active does not.

    So I think stop needs to call make_active, then make_inactive

  3. ljbade commented on Nov 8, 2014

    @ljbade
    ContributorAuthor

    If I make make_inactive a noop then it goes away

  4. ljbade commented on Nov 8, 2014

    @ljbade
    ContributorAuthor

    I put in make_active/inactive into terminate but now get this:

    11-08 21:57:27.960  17126-18640/com.mapbox.mapboxgl.app D/HttpRequest﹕ HTTPRequest https://www.mapbox.com/mapbox-gl-styles/sprites/bright.png
    11-08 21:57:27.960  17126-18640/com.mapbox.mapboxgl.app V/../../android/cpp/NativeMapView.cpp:496﹕ MBGLView::make_active
    11-08 21:57:27.960  17126-18640/com.mapbox.mapboxgl.app W/Adreno-ES20﹕ < gl_draw_error_checks:575 >: GL_INVALID_OPERATION
    
  5. ljbade commented on Nov 8, 2014

    @ljbade
    ContributorAuthor

    So I think something is doing something wrong

  6. ljbade commented on Nov 10, 2014

    @ljbade
    ContributorAuthor

    I need to check if this problem has been fixed by my latest commits.

    Also need to tidy up my comments to make them more understandable if we still have a problem.

  7. ljbade commented on Nov 10, 2014

    @ljbade
    ContributorAuthor

    OK these errors are gone, lets hope they stay that way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Androidbug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions