Loading services/surfaceflinger/SurfaceFlinger.cpp +2 −1 Original line number Diff line number Diff line Loading @@ -2170,6 +2170,7 @@ bool SurfaceFlinger::commit(nsecs_t frameTime, int64_t vsyncId, nsecs_t expected // This will block and tracing should only be enabled for debugging. mLayerTracing.notify(mVisibleRegionsDirty, frameTime, vsyncId); } mLastCommittedVsyncId = vsyncId; persistDisplayBrightness(mustComposite); Loading Loading @@ -5851,7 +5852,7 @@ status_t SurfaceFlinger::onTransact(uint32_t code, const Parcel& data, Parcel* r mScheduler ->schedule([&]() FTL_FAKE_GUARD(mStateLock) { mLayerTracing.notify(true /* visibleRegionDirty */, startingTime, -1 /* vsyncId */); startingTime, mLastCommittedVsyncId); }) .wait(); } Loading services/surfaceflinger/SurfaceFlinger.h +2 −0 Original line number Diff line number Diff line Loading @@ -1266,6 +1266,8 @@ private: const std::unique_ptr<FrameTracer> mFrameTracer; const std::unique_ptr<frametimeline::FrameTimeline> mFrameTimeline; int64_t mLastCommittedVsyncId = -1; // If blurs should be enabled on this device. bool mSupportsBlur = false; // If blurs are considered expensive and should require high GPU frequency. Loading Loading
services/surfaceflinger/SurfaceFlinger.cpp +2 −1 Original line number Diff line number Diff line Loading @@ -2170,6 +2170,7 @@ bool SurfaceFlinger::commit(nsecs_t frameTime, int64_t vsyncId, nsecs_t expected // This will block and tracing should only be enabled for debugging. mLayerTracing.notify(mVisibleRegionsDirty, frameTime, vsyncId); } mLastCommittedVsyncId = vsyncId; persistDisplayBrightness(mustComposite); Loading Loading @@ -5851,7 +5852,7 @@ status_t SurfaceFlinger::onTransact(uint32_t code, const Parcel& data, Parcel* r mScheduler ->schedule([&]() FTL_FAKE_GUARD(mStateLock) { mLayerTracing.notify(true /* visibleRegionDirty */, startingTime, -1 /* vsyncId */); startingTime, mLastCommittedVsyncId); }) .wait(); } Loading
services/surfaceflinger/SurfaceFlinger.h +2 −0 Original line number Diff line number Diff line Loading @@ -1266,6 +1266,8 @@ private: const std::unique_ptr<FrameTracer> mFrameTracer; const std::unique_ptr<frametimeline::FrameTimeline> mFrameTimeline; int64_t mLastCommittedVsyncId = -1; // If blurs should be enabled on this device. bool mSupportsBlur = false; // If blurs are considered expensive and should require high GPU frequency. Loading