Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e2823f4d authored by Ady Abraham's avatar Ady Abraham Committed by Automerger Merge Worker
Browse files

Merge "surfaceflinger: fix missing pure virtual declarations." am: f4e70632...

Merge "surfaceflinger: fix missing pure virtual declarations." am: f4e70632 am: d7a7f995 am: ffab144e

Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/2392152



Change-Id: I0395269db75c586c5bec4e5b6610654841d478c3
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents ef57045f ffab144e
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -314,12 +314,12 @@ public:
    virtual void parseArgs(const Vector<String16>& args, std::string& result) = 0;
    virtual void parseArgs(const Vector<String16>& args, std::string& result) = 0;


    // Sets the max number of display frames that can be stored. Called by SF backdoor.
    // Sets the max number of display frames that can be stored. Called by SF backdoor.
    virtual void setMaxDisplayFrames(uint32_t size);
    virtual void setMaxDisplayFrames(uint32_t size) = 0;


    // Computes the historical fps for the provided set of layer IDs
    // Computes the historical fps for the provided set of layer IDs
    // The fps is compted from the linear timeline of present timestamps for DisplayFrames
    // The fps is compted from the linear timeline of present timestamps for DisplayFrames
    // containing at least one layer ID.
    // containing at least one layer ID.
    virtual float computeFps(const std::unordered_set<int32_t>& layerIds);
    virtual float computeFps(const std::unordered_set<int32_t>& layerIds) = 0;


    // Restores the max number of display frames to default. Called by SF backdoor.
    // Restores the max number of display frames to default. Called by SF backdoor.
    virtual void reset() = 0;
    virtual void reset() = 0;