commit | eadfb673e7b346af02a925ad04494100db1ebbf7 | [log] [tgz] |
---|---|---|
author | Jamie Gennis <jgennis@google.com> | Sun Jun 12 17:03:06 2011 -0700 |
committer | Jamie Gennis <jgennis@google.com> | Mon Jun 13 10:50:12 2011 -0700 |
tree | 6ff88f77a6762f00a868807706f1e995d16373ae | |
parent | fe93010446e68c747f4af727cbc48eaf63131689 [diff] |
SurfaceTexture: fix a getTransformMatrix crash. This change moves the computation of the transform matrix out of getTransformMatrix and instead performs the computation when updateTexImage gets called. This is needed in order for getTransformMatrix to succeed even if the buffers have been freed (e.g. by changing the buffer count) because the computation depends upon the properties of the current GraphicBuffer. Change-Id: Ied541ab8747b7ad604f862717135f9a16a816be9 Bug: 4490420