commit | 4cc86ec14bdd6f9adf34b1fd7829041a5e4b84a0 | [log] [tgz] |
---|---|---|
author | Greg Hackmann <ghackmann@google.com> | Mon Oct 08 10:14:53 2012 -0700 |
committer | Greg Hackmann <ghackmann@google.com> | Mon Oct 08 10:29:42 2012 -0700 |
tree | 70dc5f72f804d11762bfd12c5989b73646721b1d | |
parent | 3ac758164b6b49e433191a13160e0918352ca7c8 [diff] |
gralloc: pad RGB buffers by a minimum of 2 extra lines If the buffer is xcrop pixels off the left edge of the screen, xcrop extra pixels are needed past the 1 line of padding normally expected by the FIMD. xcrop is not known at allocation time so assume the worst case of a full extra line. Bug: 7304464 Change-Id: I126992eccfb36a402a202a8236a07a5479332812 Signed-off-by: Greg Hackmann <ghackmann@google.com>