diff options
author | Mathias Agopian <mathias@google.com> | 2011-07-13 18:40:38 -0700 |
---|---|---|
committer | Mathias Agopian <mathias@google.com> | 2011-07-13 18:40:38 -0700 |
commit | ae3736a3d1418eb1a1e57895ce410256d7106aa3 (patch) | |
tree | 6b02ce89db59b74ec5a1b42a9332ee75bb2385c4 /include/system/window.h | |
parent | 42cc1edfe7edf613e17bff97f30ff124ada05136 (diff) | |
download | system_core-ae3736a3d1418eb1a1e57895ce410256d7106aa3.zip system_core-ae3736a3d1418eb1a1e57895ce410256d7106aa3.tar.gz system_core-ae3736a3d1418eb1a1e57895ce410256d7106aa3.tar.bz2 |
Add lock/unlock perform codes
these will be used to implement lock/unlock on
surfacetexture.
Change-Id: I75f8d8dd136433bd5d61610caeb763d836f8b4e7
Diffstat (limited to 'include/system/window.h')
-rw-r--r-- | include/system/window.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/system/window.h b/include/system/window.h index 2de8bc8..edb3002 100644 --- a/include/system/window.h +++ b/include/system/window.h @@ -167,7 +167,9 @@ enum { NATIVE_WINDOW_SET_BUFFERS_TIMESTAMP = 7, NATIVE_WINDOW_SET_BUFFERS_DIMENSIONS = 8, NATIVE_WINDOW_SET_BUFFERS_FORMAT = 9, - NATIVE_WINDOW_SET_SCALING_MODE = 10 + NATIVE_WINDOW_SET_SCALING_MODE = 10, + NATIVE_WINDOW_LOCK = 11, /* private */ + NATIVE_WINDOW_UNLOCK_AND_POST = 12, /* private */ }; /* parameter for NATIVE_WINDOW_[DIS]CONNECT */ @@ -338,6 +340,8 @@ struct ANativeWindow * NATIVE_WINDOW_SET_BUFFERS_DIMENSIONS * NATIVE_WINDOW_SET_BUFFERS_FORMAT * NATIVE_WINDOW_SET_SCALING_MODE + * NATIVE_WINDOW_LOCK (private) + * NATIVE_WINDOW_UNLOCK_AND_POST (private) * */ |