Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flickering when window is resized when using the new 0.30 api #3996

Open
Natr1x opened this issue Nov 13, 2024 · 0 comments
Open

Flickering when window is resized when using the new 0.30 api #3996

Natr1x opened this issue Nov 13, 2024 · 0 comments
Labels
B - bug Dang, that shouldn't have happened DS - web

Comments

@Natr1x
Copy link

Natr1x commented Nov 13, 2024

Description

For some reason I cannot get the new api to handle resizing without flickering when using wgpu and wasm.

This flickering does not happen with the wininit 0.29 api.

I set up an example project to showcase the issue:
https://github.com/Natr1x/wininit-api-comparison

Tested browsers

Firefox

Tested devices

 ❯ neofetch
                   -`                    natrix@hemma 
                  .o+`                   ------------ 
                 `ooo/                   OS: Arch Linux x86_64 
                `+oooo:                  Host: MS-7D70 1.0 
               `+oooooo:                 Kernel: 6.11.6-arch1-1 
               -+oooooo+:                Uptime: 13 hours, 47 mins 
             `/:-:++oooo+:               Packages: 900 (pacman), 20 (flatpak) 
            `/++++/+++++++:              Shell: bash 5.2.37 
           `/++++++++++++++:             Resolution: 1920x1080 
          `/+++ooooooooooooo/`           DE: Hyprland 
         ./ooosssso++osssssso+`          Theme: Arc-Dark [GTK2/3] 
        .oossssso-````/ossssss+`         Icons: Adwaita [GTK2/3] 
       -osssssso.      :ssssssso.        Terminal: kitty 
      :osssssss/        osssso+++.       CPU: AMD Ryzen 9 7950X (32) @ 5.881GHz 
     /ossssssss/        +ssssooo/-       GPU: AMD ATI 17:00.0 Raphael 
   `/ossssso+/:-        -:/+osssso+-     GPU: AMD ATI Radeon RX 6700/6700 XT/6750 XT / 6800M/6850M XT 
  `+sso+:-`                 `.-/+oso:    Memory: 3725MiB / 63441MiB 
 `++:.                           `-/+/
 .`                                 `/                           
                                                                 

Winit version

0.30.5

@Natr1x Natr1x added B - bug Dang, that shouldn't have happened DS - web labels Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
B - bug Dang, that shouldn't have happened DS - web
Development

No branches or pull requests

1 participant