Patrick Walton
431dcf3d2e
Rename `pathfinder_geometry::basic` to simply `pathfinder_geometry`, and move
...
the remaining code in that crate to a new crate, `pathfinder_content`
The old hierarchy was confusing.
2019-06-21 10:06:19 -07:00
Patrick Walton
010bc66073
Upgrade `resvg` to 0.7
2019-06-20 17:13:15 -07:00
Patrick Walton
487577a11b
Add Metal support.
...
This commit substantially reworks the `pathfinder_gpu` API to better support
modern APIs like Metal. It should open the door to `gfx-rs`, `wgpu`, Vulkan,
and D3D12 backends relatively straightforwardly.
A new example, `canvas_metal_minimal`, has been added.
Note that the new Metal shaders require a patched version of `spirv-cross` to
build properly. An upstream patch is forthcoming.
2019-06-20 11:47:22 -07:00
Alan Jeffrey
3c91c1cc97
Better error handling of magicleap demo args
2019-06-07 10:15:34 -05:00
Alan Jeffrey
d877ca1d3a
Fix the magicleap app to work in LuminOS 0.96
2019-06-06 12:36:32 -05:00
Alan Jeffrey
9c641f6ce3
Renamed Point2D to Vector2
2019-06-03 17:58:34 -05:00
Alan Jeffrey
c71a20805f
Removed some unused imports
2019-06-03 17:52:18 -05:00
Alan Jeffrey
848234ef61
Updated magicleap demo for new pathfinder API
2019-06-03 17:52:18 -05:00
Alan Jeffrey
3d81bf170f
Updated to latest pf3 API
2019-04-22 11:57:24 -05:00
Alan Jeffrey
c549bdec7a
Explicitly set the linker flavor for the magicleap demo
2019-04-22 11:54:42 -05:00
Josh Matthews
214ad9de72
Replace readme directions with makefile targets.
2019-04-15 14:16:40 -04:00
Josh Matthews
8b3bf7d064
Use linker directly to to avoid linker errors.
2019-04-15 14:16:40 -04:00
Josh Matthews
bf55026a71
Add basic travis CI for native and magicleap demos.
2019-04-15 14:16:40 -04:00
Alan Jeffrey
7cd8452ffc
Update magicleap README for SDK 0.20.0
2019-04-15 13:29:32 -04:00
Alan Jeffrey
f20a023ba7
Rearranged magicleap demo svgs
2019-04-15 13:29:32 -04:00
Alan Jeffrey
6b19234a44
Removed stats from magicleap demo
2019-04-15 13:29:32 -04:00
Alan Jeffrey
24a7801820
The magicleap demo library is a shared library
2019-04-15 13:29:32 -04:00
Alan Jeffrey
3603324437
Added copyright statement to magicleap demo files
2019-04-15 13:29:32 -04:00
Alan Jeffrey
1605a47956
Updated to new PF3 API
2019-04-15 13:29:32 -04:00
Alan Jeffrey
8d5b44140b
Magicleap demo is less chatty
2019-04-15 12:43:41 -04:00
Alan Jeffrey
bc89d88222
Dead code elimination
2019-04-15 12:43:41 -04:00
Alan Jeffrey
06b5e3330d
Get the pathfinder magicleap demo to compile with v0.20.0 of the SDK
2019-04-15 12:43:41 -04:00
Alan Jeffrey
0f0062351d
Make pathfinder_immersive_demo a shared library.
2019-04-15 12:43:41 -04:00
Alan Jeffrey
41dc655967
Update for current Window interface
2019-04-15 12:43:41 -04:00
Alan Jeffrey
bd70cb0135
Changed some of the magicleap demo SVGs
2019-04-15 12:43:41 -04:00
Alan Jeffrey
1c1eaf20d1
Get the magicleap immersive demo to respond to new file name arguments
2019-04-15 12:43:41 -04:00
Alan Jeffrey
3bd825196e
Get the magicleap immersive mode demo to take a filename argument
2019-04-15 12:43:41 -04:00
Alan Jeffrey
6f5a72229c
Add focusing to the magicleap demo cube
2019-04-15 12:43:41 -04:00
Alan Jeffrey
9fd479d604
Expose a C API for getting pathfinder to render to an EGL surface
2019-04-15 12:43:41 -04:00
Alan Jeffrey
29ef8b57e0
Use pathfinder directly for magicleap demo cube faces rather than using pathfinder_demo
2019-04-15 12:43:41 -04:00
Alan Jeffrey
685651c119
Wire up magicleap landscape demo cube faces to pathfinder demo
2019-04-15 12:43:41 -04:00
Alan Jeffrey
1aedbec4d7
Get landscape app to respond to clicks
2019-04-15 12:43:41 -04:00
Alan Jeffrey
37c7457929
Add magicleap landscape demo
2019-04-15 12:43:41 -04:00
Alan Jeffrey
8ba56e5597
Pin the scene threads to CPUs
2019-04-15 12:43:41 -04:00
Alan Jeffrey
6642a2ce1e
Lerp the initial cameras to get the initial transform
2019-04-15 12:43:41 -04:00
Alan Jeffrey
463ea6519b
Move a magic number into a constant declaration
2019-04-15 12:43:41 -04:00
Alan Jeffrey
cf6032416c
Predict next frame pose
2019-04-15 12:43:41 -04:00
Alan Jeffrey
8de4b952be
Change initial camera transform
2019-04-15 12:43:41 -04:00
Alan Jeffrey
daeee1305c
Set rayon thread pool size to be 2 in magicleap demo
2019-04-15 12:43:41 -04:00
Alan Jeffrey
dd0283d848
Reenable jemallocator
2019-04-15 12:43:41 -04:00
Alan Jeffrey
838bf684fb
Add magicleap demo
2019-04-15 12:43:41 -04:00