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

Commit d0391001 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Update typeId for BufferQueueLayer and BufferStateLayer"

parents f037891f 8a01fa4d
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -62,10 +62,6 @@ public:
    void useSurfaceDamage() override;
    void useEmptyDamage() override;

    // getTypeId - Provide unique string for each class type in the Layer
    // hierarchy
    const char* getTypeId() const override { return "BufferLayer"; }

    bool isOpaque(const Layer::State& s) const override;

    // isVisible - true if this layer is visible, false otherwise
+2 −0
Original line number Diff line number Diff line
@@ -38,6 +38,8 @@ public:
    // Interface implementation for Layer
    // -----------------------------------------------------------------------
public:
    const char* getType() const override { return "BufferQueueLayer"; }

    void onLayerDisplayed(const sp<Fence>& releaseFence) override;

    void setTransformHint(uint32_t orientation) const override;
+2 −0
Original line number Diff line number Diff line
@@ -40,6 +40,8 @@ public:
    // -----------------------------------------------------------------------
    // Interface implementation for Layer
    // -----------------------------------------------------------------------
    const char* getType() const override { return "BufferStateLayer"; }

    void onLayerDisplayed(const sp<Fence>& releaseFence) override;
    void setTransformHint(uint32_t orientation) const override;
    void releasePendingBuffer(nsecs_t dequeueReadyTime) override;
+1 −1
Original line number Diff line number Diff line
@@ -30,7 +30,7 @@ public:

    std::shared_ptr<compositionengine::Layer> getCompositionLayer() const override;

    virtual const char* getTypeId() const { return "ColorLayer"; }
    const char* getType() const override { return "ColorLayer"; }
    bool isVisible() const override;

    bool setColor(const half3& color) override;
+1 −1
Original line number Diff line number Diff line
@@ -28,7 +28,7 @@ public:
    explicit ContainerLayer(const LayerCreationArgs&);
    ~ContainerLayer() override;

    const char* getTypeId() const override { return "ContainerLayer"; }
    const char* getType() const override { return "ContainerLayer"; }
    bool isVisible() const override;

    bool canReceiveInput() const override;
Loading