Commit Graph

11 Commits

Author SHA1 Message Date
Robert Bragg 69d0de4db1 agdk-egui: use upstream egui-winit + egui-wgpu crates
The functionality found in egui_winit_platform and egui_wgpu_backend is
now available in the upstream egui-winit and egui-wgpu crates
respectively.

This has simplified the example itself and also removed the dependency
on epi.

The example is now based on egui 0.18 (was previously 0.17)

Since the upstream egui-winit/wgpu crates were generally assuming that
the graphics context and surface can be initialized immediately this
currently builds against a branch that aims to upstream changes that
remove these assumptions:

https://github.com/rib/egui/tree/android-deferred-winit-wgpu
Ref: https://github.com/emilk/egui/pull/1634
2022-05-17 18:20:25 +01:00
Robert Bragg bfc0d091e6 Add a minimal Egui + Winit + WGPU based example 2022-05-13 20:13:30 +01:00
Robert Bragg c36efc7f6b GameActivity PATCH: support capturing historic pointer samples 2022-05-12 02:58:49 +01:00
Robert Bragg 74e8ff645a Remove unused src/shader.wgsl from agdk-mainloop example 2022-05-10 03:08:56 +01:00
Robert Bragg 915f7382e5 Add a minimal Winit and WGPU based example 2022-05-10 02:04:25 +01:00
Robert Bragg 02dda282d0 Add basic agdk-mainloop example 2022-05-10 02:00:47 +01:00
Robert Bragg 32843ac726 GameActivity PATCH: rename symbols to export via Rust 2022-05-08 22:40:35 +01:00
Robert Bragg 9267b60938 GameActivity PATCH: compilation fixes
Fixes some compilation bugs in the upstream AGDK glue code:
https://issuetracker.google.com/issues/229997306
2022-05-08 22:40:34 +01:00
Robert Bragg e27b6b5a44 GameActivity PATCH: capture KeyEvent scanCode 2022-05-08 22:40:33 +01:00
Robert Bragg b97adb91f9 GameActivity PATCH: enable tracing 2022-05-08 22:40:32 +01:00
Robert Bragg 6fb438de82 Initial GameActivity glue implementation
This is based on the 2022.0.0 agdk-libraries release
2022-05-08 22:40:25 +01:00