Remove old macro/function to get {min|max}RefreshDuration
Test: make Change-Id: I1d35500eb677985fdc426ae7b38d697dcb7c38bd
This commit is contained in:
parent
dc487b4058
commit
4b8a262feb
1 changed files with 0 additions and 9 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue