Loading services/surfaceflinger/Layer.cpp +4 −1 Original line number Diff line number Diff line Loading @@ -120,7 +120,10 @@ Layer::Layer(const LayerCreationArgs& args) mCallingPid = args.callingPid; mCallingUid = args.callingUid; mFlinger->onLayerCreated(this); } void Layer::onFirstRef() { mFlinger->onLayerFirstRef(this); } Layer::~Layer() { Loading services/surfaceflinger/Layer.h +2 −0 Original line number Diff line number Diff line Loading @@ -222,6 +222,8 @@ public: explicit Layer(const LayerCreationArgs& args); virtual ~Layer(); void onFirstRef() override; int getWindowType() const { return mWindowType; } void setPrimaryDisplayOnly() { mPrimaryDisplayOnly = true; } Loading services/surfaceflinger/SurfaceFlinger.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -5502,7 +5502,7 @@ sp<Layer> SurfaceFlinger::fromHandle(const sp<IBinder>& handle) { return nullptr; } void SurfaceFlinger::onLayerCreated(Layer* layer) { void SurfaceFlinger::onLayerFirstRef(Layer* layer) { mNumLayers++; mScheduler->registerLayer(layer); } Loading services/surfaceflinger/SurfaceFlinger.h +1 −1 Original line number Diff line number Diff line Loading @@ -310,7 +310,7 @@ public: bool authenticateSurfaceTextureLocked( const sp<IGraphicBufferProducer>& bufferProducer) const; void onLayerCreated(Layer*); void onLayerFirstRef(Layer*); void onLayerDestroyed(Layer*); TransactionCompletedThread& getTransactionCompletedThread() { Loading Loading
services/surfaceflinger/Layer.cpp +4 −1 Original line number Diff line number Diff line Loading @@ -120,7 +120,10 @@ Layer::Layer(const LayerCreationArgs& args) mCallingPid = args.callingPid; mCallingUid = args.callingUid; mFlinger->onLayerCreated(this); } void Layer::onFirstRef() { mFlinger->onLayerFirstRef(this); } Layer::~Layer() { Loading
services/surfaceflinger/Layer.h +2 −0 Original line number Diff line number Diff line Loading @@ -222,6 +222,8 @@ public: explicit Layer(const LayerCreationArgs& args); virtual ~Layer(); void onFirstRef() override; int getWindowType() const { return mWindowType; } void setPrimaryDisplayOnly() { mPrimaryDisplayOnly = true; } Loading
services/surfaceflinger/SurfaceFlinger.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -5502,7 +5502,7 @@ sp<Layer> SurfaceFlinger::fromHandle(const sp<IBinder>& handle) { return nullptr; } void SurfaceFlinger::onLayerCreated(Layer* layer) { void SurfaceFlinger::onLayerFirstRef(Layer* layer) { mNumLayers++; mScheduler->registerLayer(layer); } Loading
services/surfaceflinger/SurfaceFlinger.h +1 −1 Original line number Diff line number Diff line Loading @@ -310,7 +310,7 @@ public: bool authenticateSurfaceTextureLocked( const sp<IGraphicBufferProducer>& bufferProducer) const; void onLayerCreated(Layer*); void onLayerFirstRef(Layer*); void onLayerDestroyed(Layer*); TransactionCompletedThread& getTransactionCompletedThread() { Loading