OSDN Git Service

size IMemoryHeap properly for screenshots
authorMathias Agopian <mathias@google.com>
Wed, 13 Mar 2013 22:22:11 +0000 (15:22 -0700)
committerMathias Agopian <mathias@google.com>
Wed, 13 Mar 2013 22:22:11 +0000 (15:22 -0700)
commit6a531717cddf1d30be0946884d21c27e5b6b390c
tree6acba40d18452b9ce1d7ca4f700c1c81e1059de3
parent35ffa6a868f1aa650c90956a4129bb70f780fc99
size IMemoryHeap properly for screenshots

since we're using glReadPixels(), we only need to use
the width (as opposed to the stride) of the source
screenshot.

Bug: 8374664
Change-Id: I145c80f4fff5444df7c77c4f52e70a7203caddbd
services/surfaceflinger/SurfaceFlinger.cpp