DisplayModeDirector: separate the display refresh rate and the render frame rate
Add an additional dimension to DisplayModeDirector for render frame rate in addition to the display physical refresh rate. DisplayModeDirector aggregates the requests for both render frame rates and physical refresh rates, and sets the policy to SurfaceFlinger. SurfaceFlinger will select the display refresh rate based on the physical refresh rate range, and schedule applications based on the render frame rate range. This is a change over the previous logic where the render frame rate and physical refresh rate were always the same for SurfaceFlinger. Test: atest LocalDisplayAdapterTest DisplayModeDirectorTest Bug: 241460058 Change-Id: I9563257c7268a731a3919ffa368f7b8ae777eb99
Loading
Please register or sign in to comment