Commit Graph

63 Commits

Author SHA1 Message Date
Mis012
08998b0076 make Looper, Handler, and MessageQueue work properly
this for example makes Unity apps not steal the main thread,
hanging Gtk.
2023-07-25 14:27:21 +02:00
Mis012
c25342c8d9 api-impl/android/content/Context.java: implement getExternalCacheDir()
just alias to getCacheDir()
2023-06-22 15:20:37 +02:00
Mis012
0a9591c474 src/api-impl: fix up code style, mainly for code imported from AOSP
used the following (plus manual edits):
`clang-format --style="{BasedOnStyle: LLVM, IndentWidth: 8, UseTab: Always, AllowShortIfStatementsOnASingleLine: false, IndentCaseLabels: true, ColumnLimit: 0}`
2023-06-22 11:45:46 +02:00
Mis012
27f3d288dd misc stubbing for ctr2 2023-01-14 14:32:37 +01:00
Mis012
9a3b5b21b6 src/api-impl: misc stubbing 2023-01-05 19:00:27 +01:00
Mis012
2e4590c4d8 src/api-impl: misc stubbing 2022-12-31 17:17:10 +01:00
Mis012
52ba443401 misc stubbing 2022-12-01 14:44:16 +01:00
Mis012
75187b01d5 implement/stub some stuff to make SmashHit launch 2022-11-24 16:05:38 +01:00
Mis012
2865d34a32 src/api-impl: add misc stubs, fix indentation 2022-11-04 19:21:45 +01:00
Nikita Travkin
c7fcb0f84e Stub some stuff 2022-11-02 15:25:14 +01:00
Mis012
b801f0fb3c implement some stuff to make exaple SDL app run
NOTE: the main addition in this commit is WIP support for apps which
render on an EGL surface obtained using ANativeWindow_fromSurface

currently, this EGL surface is obtained by creating a 700x700 pixel
window with GLFW (the 700x700 size is hardcoded in several places)
and only Wayland is supported

ideally, we'd want to use a wayland subsurface to position the EGL
surface above the Surface widget it's associated with (and do
whatever for X11)
2022-10-26 18:39:04 +02:00
Mis012
49961186a2 get rid of launcher script requirement; fix app data dir being hardcoded; update documentation; remove prebuilt dalvik (NOTE - purged from history at this point, so is not part of the diff) 2022-10-12 17:30:07 +02:00
Mis012
449090143e refactor source tree organization, switch to meson 2022-10-09 22:59:16 +02:00