diff options
author | Romain Guy <romainguy@google.com> | 2012-10-16 11:25:06 -0700 |
---|---|---|
committer | Romain Guy <romainguy@google.com> | 2012-10-16 11:25:06 -0700 |
commit | d43b22da291fd08017fac627561091a633c85807 (patch) | |
tree | f03a0488697614a39366f81f22878339e1096f16 /graphics | |
parent | 4682cf02b42f75876f14f512e874c3e798b09c9c (diff) | |
download | frameworks_base-d43b22da291fd08017fac627561091a633c85807.zip frameworks_base-d43b22da291fd08017fac627561091a633c85807.tar.gz frameworks_base-d43b22da291fd08017fac627561091a633c85807.tar.bz2 |
Always use the correct pixel store size
Bug #7357394
When a bitmap is reused it may change configuration which can lead
to a different pixel store alignment. Our current texture cache
implementation assumes this never happens and keeps the old alignment
which can lead to distorted texture (if the bitmap goes from
ARGB8888 to RGB565 for instance.)
Change-Id: Ic57acf2403411ae4d0924e92f221298350612617
Diffstat (limited to 'graphics')
0 files changed, 0 insertions, 0 deletions