virtualx-engine/platform/android
Pedro J. Estébanez e745088f1f Switch to input buffering on Android
Key, touch and joystick events will be passed directly from the UI thread to Godot, so they can benefit from agile input flushing.

As another consequence of this new way of passing events, less Java object are created at runtime (`Runnable`), which is good since the garbage collector needs to run less.

`AndroidInputHandler` is introduced to have a smaller cross-thread surface. `main_loop_request_go_back()` is removed in favor just inline calling `send_window_event()` at the most caller's convenience (i.e., leveraging the new `p_deferred`` parameter as appropriate).

Lastly, `get_mouse_position()` and `get_mouse_button_state()` now just call through `Input` to avoid the need of sync of mouse data tracked on the UI thread.
2021-08-13 11:45:50 +02:00
..
api Implement the ability to disable classes 2021-07-13 09:25:14 -03:00
export Add support for prompting the user to retain app data on uninstall. 2021-08-12 22:16:14 -07:00
java Switch to input buffering on Android 2021-08-13 11:45:50 +02:00
plugin Split android platform export template into multiple files 2021-08-12 17:15:02 +03:00
vulkan Upgrade Vulkan memory allocator 2021-08-13 00:05:41 +02:00
android_input_handler.cpp Switch to input buffering on Android 2021-08-13 11:45:50 +02:00
android_input_handler.h Switch to input buffering on Android 2021-08-13 11:45:50 +02:00
android_keys_utils.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
android_keys_utils.h Rename "Control" key to "Ctrl" and add "_pressed" suffix to all InputEventWithModifiers properties/methods 2021-05-07 14:00:50 -06:00
audio_driver_opensl.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
audio_driver_opensl.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
detect.py Android: Use volk instead of NDK Vulkan headers 2021-08-12 23:39:30 +02:00
dir_access_jandroid.cpp Make all file access 64-bit (uint64_t) 2021-05-17 15:06:19 +02:00
dir_access_jandroid.h Core: Move DirAccess and FileAccess to core/io 2021-06-11 14:52:39 +02:00
display_server_android.cpp Switch to input buffering on Android 2021-08-13 11:45:50 +02:00
display_server_android.h Switch to input buffering on Android 2021-08-13 11:45:50 +02:00
file_access_android.cpp Rename File::get_len() get_length() 2021-05-25 11:54:28 +01:00
file_access_android.h Core: Move DirAccess and FileAccess to core/io 2021-06-11 14:52:39 +02:00
java_class_wrapper.cpp Use C++ iterators for Lists in many situations 2021-07-23 17:38:28 -04:00
java_godot_io_wrapper.cpp Add OS.get_external_data_dir() to get Android external directory 2021-06-10 16:48:17 +01:00
java_godot_io_wrapper.h Add OS.get_external_data_dir() to get Android external directory 2021-06-10 16:48:17 +01:00
java_godot_lib_jni.cpp Switch to input buffering on Android 2021-08-13 11:45:50 +02:00
java_godot_lib_jni.h Remove unused AudioDriverAndroid from Android 2021-06-10 08:32:56 +01:00
java_godot_view_wrapper.cpp Android: Add support for cursor icons 2021-05-19 22:01:51 +03:00
java_godot_view_wrapper.h Android: Add support for cursor icons 2021-05-19 22:01:51 +03:00
java_godot_wrapper.cpp Fixes on android: 2021-03-18 10:41:54 +11:00
java_godot_wrapper.h Leverage java annotations to simplify the logic used to register the Godot plugin methods. 2021-03-16 01:16:08 -07:00
jni_utils.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
jni_utils.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
logo.png platform: Update metadata for export platforms 2020-08-01 23:43:14 -07:00
net_socket_android.cpp Rename IP_Unix, IP_Address and TCP_Server to remove underscores 2021-05-06 02:52:01 +02:00
net_socket_android.h Rename IP_Unix, IP_Address and TCP_Server to remove underscores 2021-05-06 02:52:01 +02:00
os_android.cpp Switch to input buffering on Android 2021-08-13 11:45:50 +02:00
os_android.h Switch to input buffering on Android 2021-08-13 11:45:50 +02:00
platform_config.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
run_icon.png Optimize images losslessly using oxipng -o6 --strip all --zopfli 2018-06-28 19:17:41 +02:00
SCsub Switch to input buffering on Android 2021-08-13 11:45:50 +02:00
string_android.h Modernize Thread 2021-01-29 12:02:13 +01:00
thread_jandroid.cpp Fixes on android: 2021-03-18 10:41:54 +11:00
thread_jandroid.h Modernize Thread 2021-01-29 12:02:13 +01:00