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

Issue tracker #15

Open
1 of 3 tasks
emilk opened this issue Mar 23, 2021 · 5 comments
Open
1 of 3 tasks

Issue tracker #15

emilk opened this issue Mar 23, 2021 · 5 comments

Comments

@emilk
Copy link
Sponsor Collaborator

emilk commented Mar 23, 2021

This is a tracking issue for some things still lacking

  • Copy/paste in browser
  • Cursor changes on MacOS (not implemented in microquad yet)
  • Only redraw on changes/events (reactive mode) to save CPU
@not-fl3
Copy link
Owner

not-fl3 commented Mar 23, 2021

Copy/paste in browser

Just tried in some of @optozorax's demos and it works, not quite sure is it something made by @optozorax's in emigui-macroquad or is it available out of the box with egui-miniquad

@emilk
Copy link
Sponsor Collaborator Author

emilk commented Mar 24, 2021

Does it work for you in https://not-fl3.github.io/egui-miniquad/ ? For me it doesn't work (Firefox+Mac)

@not-fl3
Copy link
Owner

not-fl3 commented Mar 24, 2021

It does not, but I got plenty of errors in the console like "Version mismatch: gl.js version is: 0.1.22, rust sapp-wasm crate version is: 0.1.23"
So maybe updating gl.js will do the job?

@not-fl3
Copy link
Owner

not-fl3 commented Mar 24, 2021

Small side note: https://github.com/not-fl3/egui-miniquad/blob/master/build_web.sh#L12

wasm-strip call on the rust's output wasm will reduce .wasm file size from 4mb to 2mb :)

@akhilman
Copy link

I'm interested in "Only redraw on changes/events (reactive mode) to save CPU".
My current idea is to render egui to offscreen buffer and reuse the same image when there is no input or no redraw required.
I also think to use the value of the alpha channel of the buffer for the input event routing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants