summaryrefslogtreecommitdiff
path: root/libs/nativewindow/include/apex/window.h
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2021-10-07 16:57:34 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2021-10-07 16:57:34 +0000
commitb288e591b5546b00c17dc78634c87aeee6af4746 (patch)
tree1bca85935788654055cf665af42a53634cef23bf /libs/nativewindow/include/apex/window.h
parent3ee6879e91eb132e0b24e2adefd4d8eae2491a62 (diff)
parent38afbfd13622e10b8e74b9c114fa05f30ba480bb (diff)
downloadnative-b288e591b5546b00c17dc78634c87aeee6af4746.tar.gz
Snap for 7803083 from 38afbfd13622e10b8e74b9c114fa05f30ba480bb to mainline-tzdata2-release
Change-Id: Ic05c46aa04f9072b3dc93e023a17408956f14474
Diffstat (limited to 'libs/nativewindow/include/apex/window.h')
-rw-r--r--libs/nativewindow/include/apex/window.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/libs/nativewindow/include/apex/window.h b/libs/nativewindow/include/apex/window.h
index 2d1354cdf1..0923438eec 100644
--- a/libs/nativewindow/include/apex/window.h
+++ b/libs/nativewindow/include/apex/window.h
@@ -39,6 +39,19 @@ enum ANativeWindowPerform {
// clang-format on
};
+/*
+ * Internal extension of compatibility value for ANativeWindow_setFrameRate. */
+enum ANativeWindow_FrameRateCompatibilityInternal {
+ /**
+ * This surface belongs to an app on the High Refresh Rate Deny list, and needs the display
+ * to operate at the exact frame rate.
+ *
+ * This is used internally by the platform and should not be used by apps.
+ * @hide
+ */
+ ANATIVEWINDOW_FRAME_RATE_EXACT = 100,
+};
+
/**
* Prototype of the function that an ANativeWindow implementation would call
* when ANativeWindow_cancelBuffer is called.