DescriptionAlways make context current in ViewManager's BitmapUploader, be laxer in SurfaceResourceHolder
When in the component build multiple threads (apps) will use the same
view manager client lib and could fight over the current GL context, so
always make our context current in BitmapUploader.
When shutting down abrubtly (i.e. when losing a connection to an app),
the client will not necessarily properly unref all resources it uses.
DCHECKing here isn't helpful, so just skip over resources that are not
fully unreffed.
R=ben@chromium.org
Committed: https://crrev.com/2504061c3b70cd2dc6748bfe4da2b8e020cecb14
Cr-Commit-Position: refs/heads/master@{#294943}
Patch Set 1 #
Messages
Total messages: 6 (1 generated)
|