Loading services/surfaceflinger/SurfaceFlinger.h +1 −1 Original line number Diff line number Diff line Loading @@ -1112,7 +1112,7 @@ private: volatile nsecs_t mDebugInTransaction = 0; bool mForceFullDamage = false; bool mPropagateBackpressureClientComposition = false; std::unique_ptr<SurfaceInterceptor> mInterceptor; sp<SurfaceInterceptor> mInterceptor; SurfaceTracing mTracing{*this}; std::mutex mTracingLock; Loading services/surfaceflinger/SurfaceFlingerDefaultFactory.cpp +2 −3 Original line number Diff line number Diff line Loading @@ -68,9 +68,8 @@ std::unique_ptr<Scheduler> DefaultFactory::createScheduler( return std::make_unique<Scheduler>(configs, callback); } std::unique_ptr<SurfaceInterceptor> DefaultFactory::createSurfaceInterceptor( SurfaceFlinger* flinger) { return std::make_unique<android::impl::SurfaceInterceptor>(flinger); sp<SurfaceInterceptor> DefaultFactory::createSurfaceInterceptor(SurfaceFlinger* flinger) { return new android::impl::SurfaceInterceptor(flinger); } sp<StartPropertySetThread> DefaultFactory::createStartPropertySetThread( Loading services/surfaceflinger/SurfaceFlingerDefaultFactory.h +1 −1 Original line number Diff line number Diff line Loading @@ -32,7 +32,7 @@ public: const scheduler::RefreshRateConfigs&) override; std::unique_ptr<Scheduler> createScheduler(const scheduler::RefreshRateConfigs&, ISchedulerCallback&) override; std::unique_ptr<SurfaceInterceptor> createSurfaceInterceptor(SurfaceFlinger*) override; sp<SurfaceInterceptor> createSurfaceInterceptor(SurfaceFlinger*) override; sp<StartPropertySetThread> createStartPropertySetThread(bool timestampPropertyValue) override; sp<DisplayDevice> createDisplayDevice(DisplayDeviceCreationArgs&) override; sp<GraphicBuffer> createGraphicBuffer(uint32_t width, uint32_t height, PixelFormat format, Loading services/surfaceflinger/SurfaceFlingerFactory.h +1 −1 Original line number Diff line number Diff line Loading @@ -73,7 +73,7 @@ public: const scheduler::RefreshRateConfigs&) = 0; virtual std::unique_ptr<Scheduler> createScheduler(const scheduler::RefreshRateConfigs&, ISchedulerCallback&) = 0; virtual std::unique_ptr<SurfaceInterceptor> createSurfaceInterceptor(SurfaceFlinger*) = 0; virtual sp<SurfaceInterceptor> createSurfaceInterceptor(SurfaceFlinger*) = 0; virtual sp<StartPropertySetThread> createStartPropertySetThread( bool timestampPropertyValue) = 0; Loading services/surfaceflinger/SurfaceInterceptor.cpp +5 −0 Original line number Diff line number Diff line Loading @@ -45,6 +45,11 @@ SurfaceInterceptor::SurfaceInterceptor(SurfaceFlinger* flinger) { } void SurfaceInterceptor::binderDied(const wp<IBinder>& who) { // TODO: Implement (void)who; } void SurfaceInterceptor::enable(const SortedVector<sp<Layer>>& layers, const DefaultKeyedVector< wp<IBinder>, DisplayDeviceState>& displays) { Loading Loading
services/surfaceflinger/SurfaceFlinger.h +1 −1 Original line number Diff line number Diff line Loading @@ -1112,7 +1112,7 @@ private: volatile nsecs_t mDebugInTransaction = 0; bool mForceFullDamage = false; bool mPropagateBackpressureClientComposition = false; std::unique_ptr<SurfaceInterceptor> mInterceptor; sp<SurfaceInterceptor> mInterceptor; SurfaceTracing mTracing{*this}; std::mutex mTracingLock; Loading
services/surfaceflinger/SurfaceFlingerDefaultFactory.cpp +2 −3 Original line number Diff line number Diff line Loading @@ -68,9 +68,8 @@ std::unique_ptr<Scheduler> DefaultFactory::createScheduler( return std::make_unique<Scheduler>(configs, callback); } std::unique_ptr<SurfaceInterceptor> DefaultFactory::createSurfaceInterceptor( SurfaceFlinger* flinger) { return std::make_unique<android::impl::SurfaceInterceptor>(flinger); sp<SurfaceInterceptor> DefaultFactory::createSurfaceInterceptor(SurfaceFlinger* flinger) { return new android::impl::SurfaceInterceptor(flinger); } sp<StartPropertySetThread> DefaultFactory::createStartPropertySetThread( Loading
services/surfaceflinger/SurfaceFlingerDefaultFactory.h +1 −1 Original line number Diff line number Diff line Loading @@ -32,7 +32,7 @@ public: const scheduler::RefreshRateConfigs&) override; std::unique_ptr<Scheduler> createScheduler(const scheduler::RefreshRateConfigs&, ISchedulerCallback&) override; std::unique_ptr<SurfaceInterceptor> createSurfaceInterceptor(SurfaceFlinger*) override; sp<SurfaceInterceptor> createSurfaceInterceptor(SurfaceFlinger*) override; sp<StartPropertySetThread> createStartPropertySetThread(bool timestampPropertyValue) override; sp<DisplayDevice> createDisplayDevice(DisplayDeviceCreationArgs&) override; sp<GraphicBuffer> createGraphicBuffer(uint32_t width, uint32_t height, PixelFormat format, Loading
services/surfaceflinger/SurfaceFlingerFactory.h +1 −1 Original line number Diff line number Diff line Loading @@ -73,7 +73,7 @@ public: const scheduler::RefreshRateConfigs&) = 0; virtual std::unique_ptr<Scheduler> createScheduler(const scheduler::RefreshRateConfigs&, ISchedulerCallback&) = 0; virtual std::unique_ptr<SurfaceInterceptor> createSurfaceInterceptor(SurfaceFlinger*) = 0; virtual sp<SurfaceInterceptor> createSurfaceInterceptor(SurfaceFlinger*) = 0; virtual sp<StartPropertySetThread> createStartPropertySetThread( bool timestampPropertyValue) = 0; Loading
services/surfaceflinger/SurfaceInterceptor.cpp +5 −0 Original line number Diff line number Diff line Loading @@ -45,6 +45,11 @@ SurfaceInterceptor::SurfaceInterceptor(SurfaceFlinger* flinger) { } void SurfaceInterceptor::binderDied(const wp<IBinder>& who) { // TODO: Implement (void)who; } void SurfaceInterceptor::enable(const SortedVector<sp<Layer>>& layers, const DefaultKeyedVector< wp<IBinder>, DisplayDeviceState>& displays) { Loading