summaryrefslogtreecommitdiff
path: root/docs/html/sdk/api_diff/11/changes
diff options
context:
space:
mode:
authorRomain Guy <romainguy@google.com>2012-10-23 19:17:15 -0700
committerRomain Guy <romainguy@google.com>2012-10-23 19:17:15 -0700
commitbd17bd34311ba5af4b6ac9ddc4b8c71888f2e6f1 (patch)
tree915363e650c64062b6b53f8076c14c19791efda8 /docs/html/sdk/api_diff/11/changes
parent3a2d6aaf8e71a89f82517369acc03d46ffe9bb22 (diff)
Ensure we have a GL context before deleting View layers
Bug #7391098 The existing code was doing a make current to guarantee we have a current context. This can however fail when the surface is destroyed which could lead to GL calls without an EGL context, and therefore potential leaks. This change fixes the issue by using a technique found in HardwareRenderer.destroyHardwareResources(). If the surface is not available then we use a special 1x1 pbuffer as a way to get a valid context. Change-Id: I716d3799bf90120d793d76e90a83956837ecd491
Diffstat (limited to 'docs/html/sdk/api_diff/11/changes')
0 files changed, 0 insertions, 0 deletions