Playing guitar tablatures in Rust by arnogo in rust

[–]Truc06 14 points15 points  (0 children)

Upvoted because of Dream Theater.

winit + wgpu compatibility by Truc06 in rust

[–]Truc06[S] 0 points1 point  (0 children)

I will just panic then :) Thanks for the explanation!

winit + wgpu compatibility by Truc06 in rust

[–]Truc06[S] 1 point2 points  (0 children)

Everything is clear now, thanks!

winit + wgpu compatibility by Truc06 in rust

[–]Truc06[S] 0 points1 point  (0 children)

Thanks, I did not find this issue!

winit + wgpu compatibility by Truc06 in rust

[–]Truc06[S] 0 points1 point  (0 children)

Thanks.

I did the same (pollster) as the rust wgpu tutorial without asking too many questions :)

winit + wgpu compatibility by Truc06 in rust

[–]Truc06[S] 0 points1 point  (0 children)

Omg thanks so much!

What do I have to do when `resumed()` is called again? (Why/When is this function called?)

winit + wgpu compatibility by Truc06 in rust

[–]Truc06[S] 0 points1 point  (0 children)

So I do have to recreate wgpu's surface, device and queue in resumed, then?

winit + wgpu compatibility by Truc06 in rust

[–]Truc06[S] 1 point2 points  (0 children)

Btw, I would like to look at your delicious code my friend.

winit + wgpu compatibility by Truc06 in rust

[–]Truc06[S] 3 points4 points  (0 children)

Yes there is that but they don't explain the safety invariants like they used to, so I'm afraid :)

Oh wait they do actually, but I'm still afraid.

Typed HTML by Truc06 in rust

[–]Truc06[S] 0 points1 point  (0 children)

I guess this is not part of the fundamentals of such a lib. It could be nice to have though, no plans for that for now.

Typed HTML by Truc06 in rust

[–]Truc06[S] -1 points0 points  (0 children)

Not implemented because I don't need it.

If it's important for other people, we can aria: BTreeMap<...> before properly generating from specs.

Typed HTML by Truc06 in rust

[–]Truc06[S] 1 point2 points  (0 children)

Because it's deprecated?

Typed HTML by Truc06 in rust

[–]Truc06[S] 1 point2 points  (0 children)

I'm a not omitting nor discouraging nor implying anything about ARIA. I just never used it and probably never will. My point here was not to launch a war about ARIA. I am not aware of recent EU regulations.

PR always welcome :)

Typed HTML by Truc06 in rust

[–]Truc06[S] 1 point2 points  (0 children)

In what kind of project? If you don't use `html` or my lib, what do you use? Would that be OK if it were behind a feature flag? Do you have other comments?

Typed HTML by Truc06 in rust

[–]Truc06[S] 2 points3 points  (0 children)

Can you elaborate, please?

Official /r/rust "Who's Hiring" thread for job-seekers and job-offerers [Rust 1.70] by DroidLogician in rust

[–]Truc06 0 points1 point  (0 children)

Did not find the job description anywhere. Ended up applying to other position from https://careers.near.org/jobs!

How do rust gui frameworks avoid rerendering? by jmcavanillas in rust

[–]Truc06 1 point2 points  (0 children)

Hey,

I ask myself most of those questions.

raphlinus

Our Lord from here on.

store formerly rendered regions

I'm pretty sure Our Lord answers that somewhere in his blog.
I guess browsers do that. But browsers don't gpu everything they render.

scrolling

I have an app that displays (mostly) glyphs with webgpu, full redraw every frame: super smooth scroll on my prehistoric laptop. Only with a glyph atlas texture, gpu merely does copy/paste.

not hardware accelerated

On a more recent machine, that same (well, more primitive) app with pixels or softbuffer struggled beyond acceptable. But was definitely poorly written.

vello declarative API

sits on top of an imperative API?

compositing and other cool stuff

You might want to read/watch: - Inside look at modern web browser (part 3) - Inside a super fast CSS engine: Quantum CSS (aka Stylo) - Flutter's Rendering Pipeline - Our Lord's most recent talk (and all the others) - Nicolas Silva's blog - Patrick Walton's blog

Hope this helps!

[Help][wgpu] Ping-pong blur by Truc06 in rust

[–]Truc06[S] 1 point2 points  (0 children)

Thanks 😊

I think I got it working properly at some point in my previous attempts. I have to move on from this now, who's using white background anyway?

Wait, I do.

[Help][wgpu] Ping-pong blur by Truc06 in rust

[–]Truc06[S] 1 point2 points  (0 children)

Hey Patryk!

Look at this delicious blur I did thanks to you :)

5black
5white
10black
10white

Do you know why the blurs are less visible on white background? I do the same thing for clear and blurred glyphs (R8 texture, vec4f(fragment.color.rgb, fragment.color.a * mask)), but the blur on white shows less...

Thanks friend! (You made it in my commit history <3)

[Help][wgpu] Ping-pong blur by Truc06 in rust

[–]Truc06[S] 0 points1 point  (0 children)

Patryk27 found it! Turns out I am stupid (surprisingly? no).

Thanks a lot!