Closed
Bug 613002
Opened 14 years ago
Closed 14 years ago
invalid GL surface used on Android after app resume
Categories
(Core :: Graphics, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 614832
| Tracking | Status | |
|---|---|---|
| fennec | 2.0b4+ | --- |
People
(Reporter: vlad, Assigned: jrmuizel)
References
Details
If we resume a running Fennec, we need to recreate the EGL surface. We currently don't, and so get:
I/Gecko ( 836): LayerManagerOGL[0x4cc66e90]::Render
E/Surface ( 836): using an invalid surface id=1, identity=40 should be 98
E/Adreno200-EGL( 836): egliGetNativeWindowSize: unable to dequeue native buffer
E/Surface ( 836): using an invalid surface id=1, identity=40 should be 98
E/Adreno200-EGL( 836): eglLockWindowSurface: unable to dequeue native buffer
E/Surface ( 836): using an invalid surface id=1, identity=40 should be 98
E/Adreno200-EGL( 836): egliGetNativeWindowSize: unable to dequeue native buffer
E/Surface ( 836): using an invalid surface id=1, identity=40 should be 98
E/Adreno200-EGL( 836): egliGetNativeWindowSize: unable to dequeue native buffer
E/Surface ( 836): using an invalid surface id=1, identity=40 should be 98
E/Adreno200-EGL( 836): eglLockWindowSurface: unable to dequeue native buffer
E/Surface ( 836): using an invalid surface id=1, identity=40 should be 98
E/Adreno200-EGL( 836): egliGetNativeWindowSize: unable to dequeue native buffer
etc.
with just white in the display.
| Reporter | ||
Updated•14 years ago
|
tracking-fennec: --- → ?
| Assignee | ||
Updated•14 years ago
|
Blocks: opengl-mobile
Updated•14 years ago
|
tracking-fennec: ? → 2.0b4+
| Assignee | ||
Comment 1•14 years ago
|
||
Bug 614832 is similar to this.
Updated•14 years ago
|
Assignee: nobody → jmuizelaar
| Assignee | ||
Comment 2•14 years ago
|
||
I assume we get some kind of event on resume?
Comment 3•14 years ago
|
||
I suspect the surfaceChanged/surfaceCreated/surfaceDestroyed methods are what you want.
See http://developer.android.com/reference/android/view/SurfaceHolder.Callback.html and http://hg.mozilla.org/mozilla-central/file/9ddbf8ab23a5/embedding/android/GeckoSurfaceView.java#l102
| Assignee | ||
Updated•14 years ago
|
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•