OSDN Git Service

Fixed to call computeVisibleRegions() when transparent value changed
authorIchitaro Kohara <ichitaro.kohara@sonyericsson.com>
Thu, 17 Feb 2011 11:31:23 +0000 (12:31 +0100)
committerJohan Redestig <johan.redestig@sonyericsson.com>
Thu, 17 Feb 2011 11:31:23 +0000 (12:31 +0100)
commitfbce6ac4cb9aebd795603fc2e315f6934bdabda7
tree781ce782d63380b5b5bc0c2d7cd461671975c5a1
parent93552de8e305027fb003401e347b9493c64c981f
Fixed to call computeVisibleRegions() when transparent value changed

When some Surfaces are overlapping and one of them changed to
transparent or opaque, the back Surfaces should appear or
disappear. This patch calls SurfaceFlinger::computeVisibleRegions()
to re-calculate region of each Surface to implement the behavior.

Change-Id: Iffb1caf1b4ce28dff252e114fe5b9b07d9c84a6f
services/surfaceflinger/LayerBuffer.cpp