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

Failed to make complete framebuffer #4065

Closed
fireflyexperience opened this issue Feb 22, 2016 · 4 comments
Closed

Failed to make complete framebuffer #4065

fireflyexperience opened this issue Feb 22, 2016 · 4 comments
Labels
iOS Mapbox Maps SDK for iOS

Comments

@fireflyexperience
Copy link

Using latest build (ios-v3.1.1) I get the following over and over again - no crashes; it seems to all work, but something's obviously not happy ...

2016-02-22 14:22:11.347 MapCollectionTest[6560:2635259] Failed to make complete framebuffer object 8cd6  
2016-02-22 14:22:11.361 MapCollectionTest[6560:2635259] Failed to bind EAGLDrawable: <CAEAGLLayer: 0x12c699ca0> to GL_RENDERBUFFER 1  
2016-02-22 14:22:11.361 MapCollectionTest[6560:2635259] Failed to make complete framebuffer object 8cd6  
2016-02-22 14:22:11.374 MapCollectionTest[6560:2635259] Failed to bind EAGLDrawable: <CAEAGLLayer: 0x12e676490> to GL_RENDERBUFFER 1  
2016-02-22 14:22:11.374 MapCollectionTest[6560:2635259] Failed to make complete framebuffer object 8cd6  
2016-02-22 14:22:11.387 MapCollectionTest[6560:2635259] Failed to bind EAGLDrawable: <CAEAGLLayer: 0x13194a160> to GL_RENDERBUFFER 1  
2016-02-22 14:22:11.387 MapCollectionTest[6560:2635259] Failed to make complete framebuffer object 8cd6  
2016-02-22 14:22:11.400 MapCollectionTest[6560:2635259] Failed to bind EAGLDrawable: <CAEAGLLayer: 0x1319c6a20> to GL_RENDERBUFFER 1  
2016-02-22 14:22:11.400 MapCollectionTest[6560:2635259] Failed to make complete framebuffer object 8cd6
2016-02-22 14:22:11.413 MapCollectionTest[6560:2635259] Failed to bind EAGLDrawable: <CAEAGLLayer: 0x13198d020> to GL_RENDERBUFFER 1
2016-02-22 14:22:11.413 MapCollectionTest[6560:2635259] Failed to make complete framebuffer object 8cd6  
2016-02-22 14:22:11.427 MapCollectionTest[6560:2635259] Failed to bind EAGLDrawable: <CAEAGLLayer: 0x130cdc6b0> to GL_RENDERBUFFER 1  
2016-02-22 14:22:11.427 MapCollectionTest[6560:2635259] Failed to make complete framebuffer object 8cd6  
2016-02-22 14:22:11.439 MapCollectionTest[6560:2635259] Failed to bind EAGLDrawable: <CAEAGLLayer: 0x131a34470> to GL_RENDERBUFFER 1  
2016-02-22 14:22:11.440 MapCollectionTest[6560:2635259] Failed to make complete framebuffer object 8cd6 
@1ec5
Copy link
Contributor

1ec5 commented Feb 22, 2016

Interesting, I don't think I've ever encountered this message before. Is the MGLMapView's opaque property false by any chance?

/cc @kkaefer

@1ec5
Copy link
Contributor

1ec5 commented Feb 22, 2016

Also, can you indicate the iOS version and device/simulator model you're seeing this message in?

@friedbunny friedbunny added the iOS Mapbox Maps SDK for iOS label Feb 22, 2016
@fireflyexperience
Copy link
Author

this is on iOS 9.2.1, iPhone 6
I test explicitly setting opaque = true, but that had no effect.
The specific use case we have has MGLMapViews embedded inside UICollectionViewCells - maybe this is related?

@1ec5
Copy link
Contributor

1ec5 commented Feb 22, 2016

Ah, it sounds like the map view somehow got initialized with an empty frame (zero width or zero height). #1572 tracks making the map view handle this situation correctly. It’s interesting that you aren’t seeing a crash; perhaps we’re failing more gracefully at the mbgl level now.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
iOS Mapbox Maps SDK for iOS
Projects
None yet
Development

No branches or pull requests

2 participants