Comments (6)
piet-gpu currently has working android support without winit (see android.rs in piet-gpu/piet-gpu) and can be made to work with winit
but since winit's android backend will change soon, I think I'll wait for the next version before adding support
from vello.
The Pixel 4 also does not have descriptor indexing. Again, this should be queried at runtime. This issue is considerably more complex, as it requires multiple compilations of k4, and also CPU-side code to deal with the non descriptor indexing case. The local branch just disables images.
In case you haven't seen the option, there's a header define to disable use of descriptor indexing. I use that for Gio.
from vello.
Yes, I've definitely seen the option, and basically what I'm proposing is to compile k4.comp to produce two different .spv's, one with it on and one with it off. The reason I just disabled it in my local branch is simply don't yet have Rust code yet to supply the image in the non descriptor indexing case. The existence of that define is a large step towards making it more compatible, thanks for it!
from vello.
any progress on this? the ndk-glue pipe was inspired by the android_native_app_glue
distributed with android. the android looper has a blocking api and the pipe can be registered with it. if a channel or atomics where used we'd still have to wake the looper. however it's been a while since I wrote it and my memory is a bit fuzzy.
from vello.
For reference on the android backend changing, see rust-windowing/winit#2444
And the big pile of discussion in rust-windowing/winit#2293
It looks like 0.28 isn't coming anytime soon, so this is still blocked.
from vello.
note that it's just a change to the example, I haven't tried the rewrite but both 0.27 and git were working just fine with piet-gpu, I can give you a 0.27 example if anybody cares, you can also just pin a git version with the new backend if you don't want to change the boilerplate after a month
from vello.
Related Issues (20)
- rustfmt settings (linebender-wide?) HOT 2
- Switch from `dialoguer` to `inquire` HOT 5
- Introduce a changelog HOT 1
- Appending an `Encoding` to a `Scene` HOT 5
- Simple example doesn't work on web. HOT 2
- Trouble drawing emojis HOT 8
- Improving bump estimation accuracy and performance
- API Issue for `Renderer`
- Full system hang on Apple M1 8GB HOT 13
- Rendering to a surface and transparency HOT 2
- Minor issue: example 'simple' - when compiled standalone - the render context needs to be unwrapped HOT 2
- Winit example slow on wsl HOT 4
- Lots of wgpu error messages HOT 5
- `vello_shaders` causes recompilation HOT 1
- How to figure out the correspondence of window size and image size HOT 4
- wgpu: Use `write_buffer_with` rather than `write_buffer` HOT 2
- Update ARCHITECTURE.md HOT 2
- Issue with flattening of a stroked cubic around a near-cusp
- Can we re-export `wgpu` with the feature?
- Vello anti-aliasing rendering seems not fine enough, how to improve it? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vello.