SF: move setupHwComposer logic to FE function
One step towards separating FE from BE. The logic that
traditionally has been in setupHwComposer will be in
a function named calculateWorkingSet as the function
named setUpHwComposer will handle different functionality.
Bug: 112259502
Test: cts -m CtsViewTestCases
SurfaceFlinger_test
vrflinger_test
Change-Id: If4c2735898969ab15de42cbd9eb5f08a7a26b545
diff --git a/services/surfaceflinger/SurfaceFlinger.h b/services/surfaceflinger/SurfaceFlinger.h
index 5ceea3a..3bef9f5 100644
--- a/services/surfaceflinger/SurfaceFlinger.h
+++ b/services/surfaceflinger/SurfaceFlinger.h
@@ -667,7 +667,7 @@
void pickColorMode(const sp<DisplayDevice>& display, ui::ColorMode* outMode,
ui::Dataspace* outDataSpace, ui::RenderIntent* outRenderIntent) const;
- void setUpHWComposer();
+ void calculateWorkingSet();
void doComposition();
void doDebugFlashRegions();
void doTracing(const char* where);