OSDN Git Service

Improve memory coherence management in screenshot code
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 04:36:33 +0000 (21:36 -0700)
commitc61576794e75898a829eac52fc524c8e907b4b02
treeeadec19c3f8fd8ce1a2b00a7f4f79b053ede81e4
parent3795c0618f676f39e9f05d63e12e38ce744615c0
Improve memory coherence management in screenshot code

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
services/surfaceflinger/Barrier.h
services/surfaceflinger/SurfaceFlinger.cpp