summaryrefslogtreecommitdiff
path: root/libs/hwui/ProgramCache.cpp
diff options
context:
space:
mode:
author Sangkyu Lee <sk82.lee@lge.com> 2014-11-21 18:05:41 +0900
committer John Reck <jreck@google.com> 2014-12-01 21:38:34 +0000
commita12b2405df5c12363e24cebc684f5f3a5c9a5b7b (patch)
tree395524d5f2413969c38197aa7db765e45e29c655 /libs/hwui/ProgramCache.cpp
parent6cacf44e7ecfe50097adc99dab97c3fb9770a1af (diff)
Prevent calling GL functions with an invalid surface
Bug: 18518580 When destroying CanvasContext, the surface can be invalid state. So the surface should be updated to null prior to destroying GL resources to ensure that GL functions are not called with an invalid surface. Some GL implementation makes an error if GL functions are called with an invalid surface. (Adreno 3xx) Cherry picked from AOSP: f76d36f96bf221672e98e440c9df7cbf0e02e84e Change-Id: Ie6f6ea081ec931fc9df30b2c3ed066ec1ae9d294
Diffstat (limited to 'libs/hwui/ProgramCache.cpp')
0 files changed, 0 insertions, 0 deletions