OSDN Git Service

Improve memory coherence management in screenshot code [DO NOT MERGE]
authorJesse Hall <jessehall@google.com>
Sun, 13 Jul 2014 19:47:02 +0000 (12:47 -0700)
committerJesse Hall <jessehall@google.com>
Mon, 14 Jul 2014 19:29:09 +0000 (19:29 +0000)
commitb154c42c39c1499c26d88fff8ca642cd86f91098
tree5c3a083d18167ca736b353ad7877441ae93d6396
parent24cd98eef88ac93f80c327f8d74f0a1ae0aceee4
Improve memory coherence management in screenshot code [DO NOT MERGE]

The existing code worked in practice, but wasn't quite correct in
theory and relied on implementation details of other code. It's still
somewhat unusual and subtle, but now is correct-in-theory (I believe)
and a little better documented.

Bug: 16044767
Change-Id: I22b01d6640f0b7beca7cbfc74981795a3218b064
(cherry picked from commit c61576794e75898a829eac52fc524c8e907b4b02)
services/surfaceflinger/Barrier.h
services/surfaceflinger/SurfaceFlinger.cpp