commit | c7b0c75f80c5cd5e1de1b7911981061bfd672f6e | [log] [tgz] |
---|---|---|
author | Lloyd Pique <lpique@google.com> | Thu Mar 07 20:59:59 2019 -0800 |
committer | Lloyd Pique <lpique@google.com> | Thu Aug 29 12:39:38 2019 -0700 |
tree | 0da678446f4ceef8e92ba8aa9e2e0c7e913d4ac9 | |
parent | 6a3b44698f365cb608f43df6e45844b4e18d3064 [diff] [blame] |
SF: Move/Refactor updateCursorAsync to CompositionEngine As part of this change, the existing LayerFE::latchCompositionState is extended to allow for more state types to be fetched. Test: atest libsurfaceflinger_unittest libcompositionengine_test Bug: 121291683 Change-Id: I71e0f547440a64c1025f36741beb68e72c18e475
diff --git a/services/surfaceflinger/CompositionEngine/include/compositionengine/LayerFECompositionState.h b/services/surfaceflinger/CompositionEngine/include/compositionengine/LayerFECompositionState.h index d5763d5..6a0caf0 100644 --- a/services/surfaceflinger/CompositionEngine/include/compositionengine/LayerFECompositionState.h +++ b/services/surfaceflinger/CompositionEngine/include/compositionengine/LayerFECompositionState.h
@@ -122,6 +122,13 @@ // True if the layer has protected content bool hasProtectedContent{false}; + + /* + * Cursor state + */ + + // The output-independent frame for the cursor + Rect cursorFrame; }; } // namespace android::compositionengine