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

Commit 5429c76f authored by Ian Elliott's avatar Ian Elliott Committed by Android (Google) Code Review
Browse files

Merge "Remove old macro/function to get {min|max}RefreshDuration"

parents bcf7d897 4b8a262f
Loading
Loading
Loading
Loading
+0 −9
Original line number Diff line number Diff line
@@ -356,7 +356,6 @@ enum {
    NATIVE_WINDOW_ENABLE_FRAME_TIMESTAMPS   = 23,
    NATIVE_WINDOW_GET_FRAME_TIMESTAMPS      = 24,
    NATIVE_WINDOW_GET_REFRESH_CYCLE_DURATION= 25,
    NATIVE_WINDOW_GET_REFRESH_CYCLE_PERIOD  = 26,
};

/* parameter for NATIVE_WINDOW_[API_][DIS]CONNECT */
@@ -1049,14 +1048,6 @@ static inline int native_window_get_refresh_cycle_duration(
            outRefreshDuration);
}

static inline int native_window_get_refresh_cycle_period(
        struct ANativeWindow* window,
        int64_t* outMinRefreshDuration, int64_t* outMaxRefreshDuration)
{
    return window->perform(window, NATIVE_WINDOW_GET_REFRESH_CYCLE_PERIOD,
            outMinRefreshDuration, outMaxRefreshDuration);
}


__END_DECLS