diff options
author | Chenjie Luo <cjluo@google.com> | 2016-01-20 13:25:11 -0800 |
---|---|---|
committer | Chenjie Luo <cjluo@google.com> | 2016-01-20 14:35:29 -0800 |
commit | e66554d4be58ce548085487c031cf4d1eb9f76ae (patch) | |
tree | d2c133507718209f523b120fbc786013e24c8f95 /docs/html/sdk/api_diff/19/changes | |
parent | 4a577bff9674f4bc748ab76bf48ac6e7d3e567cc (diff) |
Fix bug in AssetAtlas packing loop
There is a bug in AssetAtlasService that it always choose the
MAX_SIZE as height. The for loop of height calculation starts
from MAX_SIZE and breaks when it finds a working texture. This
means the height loop will always break for the initial value.
Reording the loop optimize the algorithm to find a smaller
atlas texture. The MIN_SIZE is also changed to 512 for fewer
assets case.
Bug: 26429912
Change-Id: Ic0b2396e9697c417a24f81ec792f8a8af53915ad
Diffstat (limited to 'docs/html/sdk/api_diff/19/changes')
0 files changed, 0 insertions, 0 deletions