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

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

Merge "[SurfaceFlinger] Add composition unit tests"

parents 672cf795 d6b579f6
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -590,6 +590,9 @@ protected:

    friend class impl::SurfaceInterceptor;

    // For unit tests
    friend class TestableSurfaceFlinger;

    void commitTransaction(const State& stateToCommit);

    uint32_t getEffectiveUsage(uint32_t usage) const;
+3 −0
Original line number Diff line number Diff line
@@ -87,6 +87,9 @@ public:
    friend class ColorLayer;
    friend class SurfaceFlinger;

    // For unit tests
    friend class TestableSurfaceFlinger;

    LayerBE(Layer* layer, std::string layerName);
    explicit LayerBE(const LayerBE& layer);

+1 −0
Original line number Diff line number Diff line
@@ -24,6 +24,7 @@ cc_test {
    },
    srcs: [
        ":libsurfaceflinger_sources",
        "CompositionTest.cpp",
        "DisplayIdentificationTest.cpp",
        "DisplayTransactionTest.cpp",
        "EventControlThreadTest.cpp",
Loading