summaryrefslogtreecommitdiff
path: root/include/utils/AndroidUnicode.h
diff options
context:
space:
mode:
author Mathias Agopian <mathias@google.com> 2009-12-09 14:32:56 -0800
committer Mathias Agopian <mathias@google.com> 2009-12-09 15:26:29 -0800
commitc5e181f8b347ad89874e0c6c7d2eea8d0465a478 (patch)
treeb637cb7ac5eabf5897345fbf7c39ce68ff9e6edb /include/utils/AndroidUnicode.h
parentcb94f70d5cfecf69f4f470497703befb270f6565 (diff)
fix [2315900] Monochrome camera preview screen after launching camera
this was introduced by a recent change. when we try to figure out the size of the yuv->rgb temporary buffer, the output resolution has not been computed yet and an invalid buffer size is used. most of the time the allocation fails and the system reverts to "standard" GL will uses onle the Y plane. the allocation of the temporary buffer is moved to onDraw(), the first time it is called, by that time, the window is positioned properly.
Diffstat (limited to 'include/utils/AndroidUnicode.h')
0 files changed, 0 insertions, 0 deletions