New issue
Advanced search Search tips

Issue 810925 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Feb 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug

Blocking:
issue 730660



Sign in to add a comment

Deleting ResourcePool could cause a flash

Project Member Reported by danakj@chromium.org, Feb 9 2018

Issue description

After https://bugs.chromium.org/p/chromium/issues/detail?id=730660 the tile resources are owned in ResourcePool. If they are exported and in flight to the display compositor, and we delete the ResourcePool to replace it, then those in flight resources are destroyed, which can cause a flash of black.

There's no strong reason to replace the ResourcePool anymore unless the ResourceProvider is changing (it has a pointer to that). So instead of deleting the ResourcePool when we don't delete the ResourceProvider (switching between gpu raster modes), we can just mark any resources in use atm as lost, so that they will not be reused.
 
Cc: enne@chromium.org
Blocking: 730660

Comment 3 by danakj@chromium.org, Feb 21 2018

Status: Fixed (was: Assigned)
Oops, didn't attach the bug, but https://chromium-review.googlesource.com/c/chromium/src/+/927323 resolves this.

Sign in to add a comment