summaryrefslogtreecommitdiff
path: root/services/surfaceflinger/RegionSamplingThread.cpp
diff options
context:
space:
mode:
author Lloyd Pique <lpique@google.com> 2019-04-16 18:10:26 -0700
committer Lloyd Pique <lpique@google.com> 2019-09-25 13:09:49 -0700
commita38ea7e70d047eb5557e3b3425fd45bb4ca5c6a9 (patch)
treeb17baed9e737bffb4fd6e6e936387f8f3b9ac2f9 /services/surfaceflinger/RegionSamplingThread.cpp
parent685e178127934b310eb9ed8cf6b99ecd43d6b1db (diff)
CE: Allow the final class to set the types used
Modifies the various CompositionEngine implementation classes so that they no longer store instances of the state structures they manipulate. Instead the implementation gets access to the state using an accessor, which is only implemented by a final derived class type. Doing this allows for implementation inheritance, where a derived implementation can leverage covariance to work with a more specialized type. Test: atest libsurfaceflinger_unittest libcompositionengine_test Test: go/wm-smoke Bug: 121291683 Change-Id: I26366900fc4c7869f4de91f25e43b3bec917f63d
Diffstat (limited to 'services/surfaceflinger/RegionSamplingThread.cpp')
0 files changed, 0 insertions, 0 deletions