commit | 91a6826d6794c19cdedfa58c42f8820c5cf5fe2b | [log] [tgz] |
---|---|---|
author | Jamie Gennis <jgennis@google.com> | Mon Apr 16 13:41:05 2012 -0700 |
committer | Jamie Gennis <jgennis@google.com> | Mon Apr 16 20:33:54 2012 -0700 |
tree | 519a4a2e88447a271201b2a98af62e76a5856856 | |
parent | 172a62a224967beee9e35e02a5b2fb2705dd2cc0 [diff] |
SurfaceTexture: shrink all sides when cropping This change makes SurfaceTexture include an offset for all sides of the crop region when cropping. This keeps the image centered, to minimize the visual changes when switching between the texture transform matrix-based cropping and something that does proper cropping (e.g. HWComposer). Change-Id: I541d3046fd92e49221b488444df36d490924d1c5