summaryrefslogtreecommitdiff
path: root/libs/gui/TransactionState.cpp
diff options
context:
space:
mode:
author Melody Hsu <melodymhsu@google.com> 2025-02-11 07:58:26 +0000
committer Melody Hsu <melodymhsu@google.com> 2025-02-11 19:26:35 +0000
commit36cb1edb347a5b4b3bed0986e890fa070e9f9e79 (patch)
tree06ae53546c56a1224c21a5e39aa7f9e7dff4a2a3 /libs/gui/TransactionState.cpp
parent3b2e4214848187bc95230de63f25dd1c72e590b8 (diff)
Extract DisplayState elements into ScreenshotArgs
Only a subset of display state variables are needed for a screenshot and can be passed around in the existing ScreenshotArgs struct. This simplifies the parameter list passed around in screenshots and is a step toward refactoring screenshots to be cleaner and separated into a separate class. Ideally, once everything is split into a separate class, SF will deal with all the main thread work and provide the subset of screenshot arguments that are need by the yet-to-come screenshotter class. Bug: b/377758217 Test: atest SurfaceFlinger_test, atest CompositionTest Test: presubmit, screenshots, screen lock/unlock Flag: EXEMPT, refactor Change-Id: Id66d108824b5fab6f110867f2b86408928dc7519
Diffstat (limited to 'libs/gui/TransactionState.cpp')
0 files changed, 0 insertions, 0 deletions