summaryrefslogtreecommitdiff
path: root/docs/html/sdk/api_diff/10/changes
diff options
context:
space:
mode:
authorRomain Guy <romainguy@google.com>2012-05-14 15:32:18 -0700
committerThe Android Automerger <android-build@android.com>2012-05-14 18:29:41 -0700
commit0b1dd98af9e64cd252ff3f75e0273e41265ce066 (patch)
treecd3f11bf38e8b39a872deac320a71ba046ad6afa /docs/html/sdk/api_diff/10/changes
parentd15ae53911ec878e32231c7dde4486332c80dbc6 (diff)
Forget the name of a texture after freeing
Bug #6408362 FontRenderer allocates large font textures when more room is needed to store all the glyphs used by an application. Thse large textures are the first to be freed when memory needs to be reclaimed by the system. When freeing a texture, the renderer would however not set the texture name to an invalid name, leading future allocations to be performed on the same texture name. That name could have by then be recycled by the driver and returned by a call to glGenTexture and used to create an entirely different texture. This would cause the font renderer to point to the wrong texture, thus leading to the "corruptions." Change-Id: I8a1e80e5b79e8f21d1baf5320c090df4f2066cd4 Conflicts: libs/hwui/FontRenderer.cpp libs/hwui/FontRenderer.h
Diffstat (limited to 'docs/html/sdk/api_diff/10/changes')
0 files changed, 0 insertions, 0 deletions