OSDN Git Service

fix transitions from hwc to GLES composition
authorMathias Agopian <mathias@google.com>
Tue, 6 Nov 2012 01:50:57 +0000 (17:50 -0800)
committerMathias Agopian <mathias@google.com>
Tue, 6 Nov 2012 01:50:57 +0000 (17:50 -0800)
commit02b95105754b1859a97e234b79f41489a4677c20
tree3d6d537b1187b7cb79d36ba395d1fe3f446a3042
parent2281af967dd840aade7bc55b19ea7df0e6da36f2
fix transitions from hwc to GLES composition

If we switched from HWC to GLES but the dirty region was empty
(could happen if the dirty region is outside of the screen for instance), we
need to force a full screen composition.

In this change we ignore the dirty region for the purpose of
rejecting the whole update and we rely on the fact that it will later
be expanded to the whole screen. This was the least risky fix.

Bug: 74677607452931
Change-Id: I2132f2f963b00a3ce7150adadb107b0367b3862e
services/surfaceflinger/SurfaceFlinger.cpp