A wrapper for ANativeWindow https://developer.android.com/ndk/reference/group/a-native-window. More...
#include <native_window.h>
Public Member Functions | |
| NativeWindow (ANativeWindow *window) | |
| ~NativeWindow () | |
| NativeWindow (const NativeWindow &)=delete | |
| NativeWindow & | operator= (const NativeWindow &)=delete |
| bool | IsValid () const |
| ISize | GetSize () const |
| ANativeWindow * | GetHandle () const |
A wrapper for ANativeWindow https://developer.android.com/ndk/reference/group/a-native-window.
This wrapper is only available on Android.
Definition at line 20 of file native_window.h.
|
explicit |
Definition at line 9 of file native_window.cc.
References fml::UniqueObject< T, Traits >::get(), and impeller::android::GetProcTable().
|
default |
|
delete |
| ANativeWindow * impeller::android::NativeWindow::GetHandle | ( | ) | const |
Definition at line 30 of file native_window.cc.
References fml::UniqueObject< T, Traits >::get().
| ISize impeller::android::NativeWindow::GetSize | ( | ) | const |
Definition at line 21 of file native_window.cc.
References fml::UniqueObject< T, Traits >::get(), height, IsValid(), impeller::TSize< T >::MakeWH(), and width.
| bool impeller::android::NativeWindow::IsValid | ( | ) | const |
Definition at line 17 of file native_window.cc.
References fml::UniqueObject< T, Traits >::is_valid().
Referenced by GetSize().
|
delete |