Commit bfaff66
Add UWP support to BabylonReactNative (#137)
* setup react windows project
* start on cmake definition for babylon react native for uwp
* cache some helper logic
* change setup to x64 for local testing
* add source files
* add some needed files
* working winrt plugin initialization
* more windows work
* failing during linker
* add options to vcxproj to try and unblock debug builds
* move to use jsi
* fix modules
* add react-native-windows dependency
* working compilation
* current state
* current proto changes
* working native input compilation
* fix playground solution
* close to working
* working windows logic
* hacked app setup to support working windows logic
* working vr
* move BabylonNative dll definition and add arm64 support
* fix babylonnative to build in module folder
* fix submodule declarations
* remove unneeded build scripts
* add clean solution
* working build
* working build
* typescript content needs cleaned up
* things need cleaned up but we will try a clean repo
* fix package.json definition
* remove debug logic
* get metro to play nice with new exclusion list
* add x86, arm build support
* revert files
* packages working
* add reset function and allow babylonnative to build from modules folder
* fix package path resolution for react native windows
* prepare for draft review
* comment out slider, needs work to fix
* move to newest babylonnative and fix gitmodule repo
* remove unneeded package-lock
* remove untrue comments
* remove unneeded comments
* fix namespace comment names
* avoid checking in bin log
* revert unneeded metro.config.js changes
* get npm install working vs using yarn
* get project to work with npm install
* add readme tips
* fix permissions and slider initialization issues
* add step value to fix windows slider usage
* rename babylon native component to avoid lib collisions
* rename to BabylonReactNative
* ready for review
* update build steps
* cleanup some unneeded changes
* avoid moving to new commit
* add event revokers
* add uwp build logic
* revert settings file
* remove files and update documentation
* address review comments
* address more review comments
* Update Modules/@babylonjs/react-native/EngineHook.ts
Co-authored-by: Ryan Tremblay <[email protected]>
* address review comments
* move hmd render behaviors to enginehook
* remove unneeded dev dependencies
* move engine logic into engineview
* Update Modules/@babylonjs/react-native/EngineHook.ts
Co-authored-by: Ryan Tremblay <[email protected]>
* address review comments
* remove unneeded reference
* Update Apps/Playground/App.tsx
Co-authored-by: Ryan Tremblay <[email protected]>
Co-authored-by: Ryan Tremblay <[email protected]>1 parent 30c248f commit bfaff66
File tree
72 files changed
+10963
-3138
lines changed- Apps/Playground
- windows
- Playground
- Assets
- Modules/@babylonjs/react-native
- windows
- BabylonReactNative
- scripts
- Package
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
72 files changed
+10963
-3138
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
133 | | - | |
| 133 | + | |
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | 7 | | |
9 | 8 | | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
72 | 72 | | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
73 | 83 | | |
74 | 84 | | |
75 | 85 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
8 | 10 | | |
9 | 11 | | |
10 | 12 | | |
| |||
13 | 15 | | |
14 | 16 | | |
15 | 17 | | |
16 | | - | |
| 18 | + | |
17 | 19 | | |
18 | | - | |
19 | | - | |
20 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
21 | 24 | | |
22 | 25 | | |
23 | 26 | | |
24 | 27 | | |
25 | 28 | | |
26 | 29 | | |
27 | 30 | | |
28 | | - | |
| 31 | + | |
| 32 | + | |
29 | 33 | | |
30 | 34 | | |
31 | 35 | | |
32 | 36 | | |
33 | | - | |
| 37 | + | |
34 | 38 | | |
35 | 39 | | |
36 | 40 | | |
37 | | - | |
| 41 | + | |
38 | 42 | | |
39 | 43 | | |
40 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
0 commit comments