Closed Bug 1413142 Opened 8 years ago Closed 1 year ago

Enable surfacetexture tiles on android

Categories

(Core :: Graphics: Layers, enhancement, P3)

Unspecified
Android
enhancement

Tracking

()

RESOLVED WONTFIX

People

(Reporter: jnicol, Assigned: jnicol)

References

Details

Attachments

(1 file)

Bug 1092294 added the ability to use surfacetextures to back tiles on android. It is currently switched off behind the gfx.use-surfacetexture-textures pref. This bug is to fix remaining issues until it can be switched on by default. * Snorp has mentioned he has seen updateTexImage failures with it enabled. * There is some uncertainty about whether we call releaseTexImage in all the required places - and missing one such call would cause the content process to hang in ANativeWindow_lock. * We may need to look at the rect output parameter of ANativeWindow_lock and use it to paint more content (or even the entire tile). * Once there is more clarity over exactly how the ANativeWindow_lock/unlock and update/releaseTexImage calls should fit in with our TextureClient/Host model, some more assertions should be added. (And perhaps some MOZ_CRASHes can be downgraded to MOZ_ASSERTs).
Depends on: 1416015
Depends on: 1419351
Once bug 1416015 is closed I think it's time to enable this!
Comment on attachment 8931023 [details] Bug 1413142 - Enable SurfaceTexture tiles on android by default. https://reviewboard.mozilla.org/r/202118/#review207500 Woo!
Attachment #8931023 - Flags: review?(snorp) → review+
I think we need to hold off, I'm still getting hangs.
Depends on: 1421586
Depends on: 1421693
Severity: normal → S3

We don't use layers/tiles any more

Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: