by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jul 04 14:26

    kchibisov on master

    Bump gl_generator to 0.14.0 (compare)

  • Jul 04 14:26
    kchibisov closed #1312
  • Jul 02 21:01
    Osspial closed #1293
  • Jul 02 21:01
    Osspial closed #1292
  • Jul 02 21:01
    Osspial commented #1293
  • Jul 02 21:01
    Osspial synchronize #1293
  • Jun 30 01:57
    slmjkdbtl commented #1276
  • Jun 29 22:04
    returntrip edited #1312
  • Jun 29 22:02
    returntrip synchronize #1312
  • Jun 29 21:37
    returntrip opened #1312
  • Jun 29 21:07
    LukasKalbertodt commented #1175
  • Jun 29 19:34
    Boscop commented #1175
  • Jun 29 12:03
    LukasKalbertodt commented #1175
  • Jun 29 11:53
    Boscop commented #1175
  • Jun 28 18:28
    LukasKalbertodt commented #1175
  • Jun 25 16:27
    Araminos commented #1307
  • Jun 23 11:20
    kchibisov closed #1310
  • Jun 23 11:20
    kchibisov commented #1310
  • Jun 23 11:20

    kchibisov on master

    Add symlinks to license for pro… (compare)

  • Jun 23 11:20
    kchibisov closed #1311
Ivan Ivanov
@obiwanus
Thanks @Ralith!
matrixbot
@matrixbot
Ralith np
matrixbot
@matrixbot
@azymohliad:matrix.org was kicked by @appservice-irc:matrix.org ("Idle for 30+ days").
Viktor Zoutman
@VZout

Hey, We are running into a couple of issues on Mac OS. I created 2 issues and a PR that solves both but my fix is a bit of a workaround. Is there anyone with Mac OS experience that can have a look with me to find a better solution?

rust-windowing/winit#1581

Antonino Siena
@nifker
Can I build a glutin Context with only handing over a reference of a winit Window?
Antonino Siena
@nifker
I think it might be useful if glutin would support creating a Context from a handle: https://docs.rs/raw-window-handle/0.3.3/raw_window_handle/enum.RawWindowHandle.html
Antonino Siena
@nifker
I would create a PR for that, if theres interest.
Viktor Zoutman
@VZout
Hey @Osspial it appears I'm running into issues with this commit from may 4: https://github.com/rust-windowing/winit/commit/b4c6cdf9a33530a2116f37a21547341c34537be1#diff-ac05a391fe402680ca4371f947c74461
When I create a messagebox or a open file dialog in Windows it crashes with the following error:
panicked at 'either event handler is re-entrant (likely), or no event handler is registered (very unlikely)', C:\Users\viktor.zoutman\.cargo\git\checkouts\winit-6811b72f73e0b798\0d0159d\src\platform_impl\windows\event_loop\runner.rs:235:37
As the author do you have any ideas for fixes?
matrixbot
@matrixbot
kchibisov on Freenode not soure if osspial is around/active here, but I guess you can just open issue, so maybe it could get their attention.
Viktor Zoutman
@VZout
Ah okay, For completeness this happens with run_return haven't tested it with run
matrixbot
@matrixbot
dwbrite Using winit + wgpu (vulkan backend) on gnome+wayland, is window transparency possible? So far I have window.with_transparency(true) and the swapchain is partially transparent. Any ideas?
kchibisov on Freenode I'm not sure about wgpu/vulkan, but just OpenGL + transparency works without much issues.
dwbrite * Using winit + wgpu (vulkan backend) on gnome+wayland, is window transparency possible? So far I have window.with_transparency(true) and the swapchain framebuffer is definitely partially transparent. Any ideas?
kchibisov on Freenode and knowing that you create buffer yourself, in your case it's done by vulkan, it's up to you.
kchibisov on Freenode I'm not even sure that there's an option to control opacity on Wayland internally, it's just depends on what buffer you're using basically.
kchibisov on Freenode (EGL + transparency works in your setup for sure, since I did tested it)
kchibisov on Freenode I'd recomend to check whether you're doing everything correctly on wgpu/vulkan side.
matrixbot
@matrixbot
dwbrite I believe I'm doing everything correctly, as renderdoc shows transparency in the swapchain image upon presentation. I'll see if anyone in the wgpu-users room has anything to add. Thanks! I'll test vulkano+winit too.
kchibisov on Freenode I mean glutin/OpenGL 100% works.
kchibisov on Freenode Oh, can you test X11?
kchibisov on Freenode I'd assume you can just run WAYLAND_DISPLAY= cargo run
kchibisov on Freenode But yeah, Wayland doesn't even use transparent attribute from with_transparency(true)(it's with_transparent on winit side though, I'd assume you're using some old version).
dwbrite Oh yes, it is with_transparent - I was just typing from memory :^)
matrixbot
@matrixbot
dwbrite running with WAYLAND_DISPLAY= cargo run still has no transparency, but I feel like I might be missing some context on that.
kchibisov on Freenode this is X11 already.
kchibisov on Freenode so yeah, not Wayland specific in your case.
dwbrite Cool cool, thank you
kchibisov on Freenode You just don't have transparency in general.
dwbrite So it's most likely an issue on the wgpu side
dwbrite I'll test this on Windows w/ DX12 and Vulkan backends, too
matrixbot
@matrixbot
dwbrite will report back tomorrow o7
matrixbot
@matrixbot
dwbrite Yep, wgpu-rs has the composite alpha mode hard-coded to be opaque. gfx-rs/wgpu#687
matrixbot
@matrixbot
@nickeb96:matrix.org was kicked by @appservice-irc:matrix.org ("Idle for 30+ days").
@eragon:matrix.drycat.fr was kicked by @appservice-irc:matrix.org ("Idle for 30+ days").
@kiyan42:matrix.org was kicked by @appservice-irc:matrix.org ("Idle for 30+ days").
matrixbot
@matrixbot
@lachlansneff:matrix.org was kicked by @appservice-irc:matrix.org ("Idle for 30+ days").
matrixbot
@matrixbot
@jon:converser.eu was kicked by @appservice-irc:matrix.org ("Idle for 30+ days").
matrixbot
@matrixbot
@jnd:matrix.org was kicked by @appservice-irc:matrix.org ("Idle for 30+ days").
@scoopr:matrix.org was kicked by @appservice-irc:matrix.org ("Idle for 30+ days").
@fengalin:matrix.org was kicked by @appservice-irc:matrix.org ("Idle for 30+ days").
matrixbot
@matrixbot
@rosa:ggc-project.de was kicked by @appservice-irc:matrix.org ("Idle for 30+ days").
@demostenes:asra.gr was kicked by @appservice-irc:matrix.org ("Idle for 30+ days").
matrixbot
@matrixbot
letmein on Freenode Is glutin drop-in replacement for winit, or are there any significant differences between them ?
murarth on Freenode letmein: They have entirely different functions. winit opens a window and mediates input events. glutin establishes an OpenGL context for a window.
matrixbot
@matrixbot
kchibisov on Freenode but right now, glutin can be used as a replacement for winit, since it just wrappes + reexports winit.
kchibisov on Freenode so glutin is just winit + context creation things.
kchibisov on Freenode But glutin just reexports winit, so you're techinically using winit, while using glutin.
matrixbot
@matrixbot
letmein on Freenode kchibisov Thanks, that is what I wanted to know. I was kind of confused why both of them provide the same features.