Skip to content

Commit d6d9204

Browse files
committed
Adds a minimal na-winit-glutin example
This example shows how to draw a triangle with GL[ES via the Glutin crate (the app works on desktop and Android) and on Android it demonstrates how to re-create the applications surface state when it is paused and resumed. The Renderer code and some utilities are from the upstream Glutin example.
1 parent 43b6d09 commit d6d9204

38 files changed

+2703
-0
lines changed

na-winit-glutin/.gitignore

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
*.iml
2+
.gradle
3+
/local.properties
4+
/.idea/caches
5+
/.idea/libraries
6+
/.idea/modules.xml
7+
/.idea/workspace.xml
8+
/.idea/navEditor.xml
9+
/.idea/assetWizardSettings.xml
10+
.DS_Store
11+
/build
12+
/captures
13+
.externalNativeBuild
14+
.cxx
15+
local.properties
16+
*.so
17+
18+
19+
# Added by cargo
20+
21+
/target

na-winit-glutin/.idea/.gitignore

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

na-winit-glutin/.idea/compiler.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

na-winit-glutin/.idea/gradle.xml

Lines changed: 19 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

na-winit-glutin/.idea/misc.xml

Lines changed: 16 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

na-winit-glutin/.idea/vcs.xml

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)