diff options
author | John Reck <jreck@google.com> | 2016-04-07 16:02:33 -0700 |
---|---|---|
committer | John Reck <jreck@google.com> | 2016-04-07 16:02:33 -0700 |
commit | 945961f78a78eced823d5ba78505c781b079703d (patch) | |
tree | 770f49272fa8c981be4f0e1d9c1c3fc3726dfdf3 /docs/html/sdk/api_diff/24/changes | |
parent | 3397c88f7900d8db677204cdbe9e7a5dc26e453a (diff) |
Make stopped state a first-class thing
Bug: 27286867
WindowManager has committed to stopped state
controlling the lifecycle of the Surface, so
make that a first-class thing in HWUI as well.
This makes it more resistent to things like
a rogue updateSurface() happening while mStopped=true,
leading to bad things down the line. Instead let
the surface be changed/updated as often as desired,
and just block any attempt to draw on that surface.
Also removes some unnecessary makeCurrent()s, as
EglManager ensures that we *always* have a valid
GL context now (using a pbuffer surface if there is
no window surface set)
Change-Id: Iead78ddebc7997e8fdb0c9534836352f5e54b9bd
Diffstat (limited to 'docs/html/sdk/api_diff/24/changes')
0 files changed, 0 insertions, 0 deletions