From 4b8a262febcabc9f43db9ae68e8a8cc3dc708dab Mon Sep 17 00:00:00 2001 From: Ian Elliott Date: Thu, 26 Jan 2017 10:54:41 -0700 Subject: [PATCH] Remove old macro/function to get {min|max}RefreshDuration Test: make Change-Id: I1d35500eb677985fdc426ae7b38d697dcb7c38bd --- include/system/window.h | 9 --------- 1 file changed, 9 deletions(-) diff --git a/include/system/window.h b/include/system/window.h index 15a9a5511..26ea96ad5 100644 --- a/include/system/window.h +++ b/include/system/window.h @@ -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