Loading services/surfaceflinger/DisplayHardware/HWC2On1Adapter.cpp +2 −3 Original line number Diff line number Diff line Loading @@ -1993,9 +1993,8 @@ HWC2On1Adapter::Layer::Layer(Display& display) mHasUnsupportedDataspace(false), mHasUnsupportedPlaneAlpha(false) {} bool HWC2On1Adapter::SortLayersByZ::operator()( const std::shared_ptr<Layer>& lhs, const std::shared_ptr<Layer>& rhs) { bool HWC2On1Adapter::SortLayersByZ::operator()(const std::shared_ptr<Layer>& lhs, const std::shared_ptr<Layer>& rhs) const { return lhs->getZ() < rhs->getZ(); } Loading services/surfaceflinger/DisplayHardware/HWC2On1Adapter.h +1 −1 Original line number Diff line number Diff line Loading @@ -123,7 +123,7 @@ private: class SortLayersByZ { public: bool operator()(const std::shared_ptr<Layer>& lhs, const std::shared_ptr<Layer>& rhs); const std::shared_ptr<Layer>& rhs) const; }; class DisplayContentsDeleter { Loading Loading
services/surfaceflinger/DisplayHardware/HWC2On1Adapter.cpp +2 −3 Original line number Diff line number Diff line Loading @@ -1993,9 +1993,8 @@ HWC2On1Adapter::Layer::Layer(Display& display) mHasUnsupportedDataspace(false), mHasUnsupportedPlaneAlpha(false) {} bool HWC2On1Adapter::SortLayersByZ::operator()( const std::shared_ptr<Layer>& lhs, const std::shared_ptr<Layer>& rhs) { bool HWC2On1Adapter::SortLayersByZ::operator()(const std::shared_ptr<Layer>& lhs, const std::shared_ptr<Layer>& rhs) const { return lhs->getZ() < rhs->getZ(); } Loading
services/surfaceflinger/DisplayHardware/HWC2On1Adapter.h +1 −1 Original line number Diff line number Diff line Loading @@ -123,7 +123,7 @@ private: class SortLayersByZ { public: bool operator()(const std::shared_ptr<Layer>& lhs, const std::shared_ptr<Layer>& rhs); const std::shared_ptr<Layer>& rhs) const; }; class DisplayContentsDeleter { Loading