commit | c5e6fb0fd3a82bc0290b443db4611f4fc304a6ab | [log] [tgz] |
---|---|---|
author | Naseer Ahmed <naseer@codeaurora.org> | Thu Mar 07 13:42:20 2013 -0500 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Fri Mar 22 17:10:30 2013 -0700 |
tree | 68cbfaca02ffec64d39e3f8158bf49eb603f1197 | |
parent | 9c301a18c67f6fd21a4f8f699b3880cb246fda7f [diff] |
gralloc: Align protected allocations with the spec The specification for GRALLOC_USAGE_PROTECTED indicates that allocations with that flag must be protected by securing with hardware. If such protection is not possible, the buffer must not be composited. In our current software only the MM_HEAP is secured. If we allocate protected buffers from any other heap we block those from being displayed. CRs-fixed: 465012 Change-Id: I9d47aba3d28192db3fcc394fd6b38efe42ae118b