OSDN Git Service

SurfaceFlinger: recompute visible regions less
authorJamie Gennis <jgennis@google.com>
Mon, 14 May 2012 22:30:16 +0000 (15:30 -0700)
committerJamie Gennis <jgennis@google.com>
Mon, 14 May 2012 22:41:38 +0000 (15:41 -0700)
commitcbad735d8cc4ff360341bf12d8c388edcbc78ce3
tree2a7eaa14006a49ace86f86c3959309e162f1b3f4
parentb7a6b96301c00c630610df4cb55a45d666200817
SurfaceFlinger: recompute visible regions less

This change removes some visible region recomputation that was needed to handle
the SCALING_MODE_FREEZE cropping.  We've changed things to use a window crop
from the WindowManager instead, so this is no longer needed.

Bug: 6299171
Change-Id: I32fbc2b689c985837126d8ba3d9a91e79613ffbf
services/surfaceflinger/Layer.cpp