commit | 8add6cf4976de9b7bca7b73b1473a1e5f7201087 | [log] [tgz] |
---|---|---|
author | Eino-Ville Talvala <etalvala@google.com> | Fri Apr 13 16:06:16 2012 -0700 |
committer | Eino-Ville Talvala <etalvala@google.com> | Mon Apr 16 14:07:26 2012 -0700 |
tree | ada5e81de0598988dfc4f190b898ea831ccefb43 | |
parent | 1803c3ae573e5fa3f3a1abe24ae802e30e5d5495 [diff] |
Set gralloc consumer usage bits in SurfaceMediaSource. BufferQueue is no longer setting these for its endpoints; set the bits to GRALLOC_USAGE_HW_VIDEO_ENCODER | GRALLOC_USAGE_HW_TEXTURE. In the longer term, the set flags should be just GRALLOC_USAGE_HW_VIDEO_ENCODER, but that requires other changes. Change-Id: I4170658de49bf88d829d34605a15684e72a90706