diff options
author | Juha-Pekka Heikkila <juha-pekka.heikkila@linux.intel.com> | 2013-06-14 13:49:00 +0300 |
---|---|---|
committer | Chad Versace <chad.versace@linux.intel.com> | 2013-07-01 09:41:19 -0700 |
commit | 3e2ff0475ec76a8099b1caa01db9cb4c4e4c3d00 (patch) | |
tree | af3fb9c36d953d38a49da1fb4fb861220bd33843 /include | |
parent | 0ea5f52d5e272619d138e575f3ac66226fd56fc4 (diff) |
api, android: Add window resize call and implementation for Android
Added waffle_window_resize(self, width, heigh) API call. Currently
implemented only on Android, other platforms return
WAFFLE_ERROR_UNSUPPORTED_ON_PLATFORM.
Signed-off-by: Juha-Pekka Heikkila <juha-pekka.heikkila@linux.intel.com>
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/waffle/waffle.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/waffle/waffle.h b/include/waffle/waffle.h index 00670fb..237b434 100644 --- a/include/waffle/waffle.h +++ b/include/waffle/waffle.h @@ -246,6 +246,12 @@ WAFFLE_API bool waffle_window_show(struct waffle_window *self); WAFFLE_API bool +waffle_window_resize( + struct waffle_window *self, + int32_t width, + int32_t height); + +WAFFLE_API bool waffle_window_swap_buffers(struct waffle_window *self); WAFFLE_API union waffle_native_window* |