Commit Graph

430 Commits

Author SHA1 Message Date
Bartosz Taudul
e227cfe100
Process pointer events. 2022-11-07 21:46:17 +01:00
Bartosz Taudul
4f7fba1fed
Hook seat. 2022-11-07 01:20:48 +01:00
Bartosz Taudul
9645998a97
Set app id. 2022-11-06 01:33:15 +01:00
Bartosz Taudul
1ccc0c39ea
Delay toplevel creation until after OpenGL initialization. 2022-11-06 01:14:56 +01:00
Bartosz Taudul
4d74968515
Wait for xdg_surface to be configured.
Some compositors require configuration event to happen before getting
toplevel.
2022-11-06 01:01:07 +01:00
Bartosz Taudul
a2f774dc20
Downgrade wl_compositor protocol to version 4.
Some compositors do not implement protocol in version 5.
2022-11-06 00:43:09 +01:00
Bartosz Taudul
ce797d82d5
Add minimal wayland backend. 2022-11-05 22:41:54 +01:00
Bartosz Taudul
a9be9d65de
Add xdg-shell protocol. 2022-11-05 22:41:26 +01:00
Bartosz Taudul
a6a265b548
Display notification if there's a problem with file selector. 2022-10-30 00:42:45 +02:00
Bartosz Taudul
d523c728ea
Do not display unknown PIDs. 2022-10-26 23:23:07 +02:00
Bartosz Taudul
86f88714ae
Add compatibility with previous broadcast versions. 2022-10-26 23:23:07 +02:00
Bartosz Taudul
f6cfbe935d
Resize canvas to fit window on page load. 2022-10-18 21:01:46 +02:00
Bartosz Taudul
b9fee59ac8
Do not hide progress bar, leaving the preload element. 2022-10-18 21:01:01 +02:00
Bartosz Taudul
9bc8580f99
Do not crash on resize when application has not started yet. 2022-10-18 21:00:20 +02:00
Bartosz Taudul
fdb130651d
Detect if hardware supports S3TC. 2022-10-15 12:56:19 +02:00
Bartosz Taudul
5b1c1119c5
Create icon texture while waiting for icon to load. 2022-10-15 12:16:18 +02:00
Bartosz Taudul
4892c32b40
Fix blur caused by fractional DPI scaling. 2022-10-15 11:57:17 +02:00
Bartosz Taudul
55f2da581a
Check if glfwRequestWindowAttention() is available. 2022-10-15 01:15:22 +02:00
Bartosz Taudul
d0968844d8
Only request attention if window has no focus. 2022-10-13 20:44:31 +02:00
Bartosz Taudul
c89c4f46ea
Hook up attention callback. 2022-10-13 19:31:47 +02:00
Bartosz Taudul
4a1e93841d
Add attention request function to windowing backend. 2022-10-13 19:22:21 +02:00
Bartosz Taudul
de3190657e
Make sure window redraw is active on refresh callback. 2022-10-13 19:08:37 +02:00
Bartosz Taudul
05f4efa2f4
Display PID in available client tooltip. 2022-10-09 22:01:09 +02:00
Bartosz Taudul
76213331f4
Store PID in broadcasting clients data. 2022-10-09 21:59:18 +02:00
Bartosz Taudul
f2f36876e1
Remove unnecessary check. 2022-10-09 21:59:10 +02:00
Bartosz Taudul
17d3ac0141
Disable assertions in release builds. 2022-10-08 14:54:54 +02:00
Bartosz Taudul
63743f2760
Don't listen for broadcasts on emscripten. 2022-10-08 14:51:21 +02:00
Bartosz Taudul
fadd103169
Disable update check on emscripten. 2022-10-08 14:44:53 +02:00
Bartosz Taudul
2b6c53a73e
Set initial memory size to 384 MB to prevent growth at start. 2022-10-08 14:43:12 +02:00
Bartosz Taudul
a9afe18c26
Limit running environment support to web. 2022-10-08 14:34:44 +02:00
Bartosz Taudul
6c507a123a
Enable growing of wasm heap. 2022-10-08 14:33:49 +02:00
Bartosz Taudul
94ccc37979
Bump available heap to 2GB. 2022-10-06 18:12:51 +02:00
Bartosz Taudul
9f60b53729
Enable file selector on emscripten. 2022-10-06 18:12:51 +02:00
Bartosz Taudul
b369c784a6
Disable closure compiler. 2022-10-06 18:12:50 +02:00
Bartosz Taudul
ec0757c03a
Change file selector to work with callbacks. 2022-10-06 18:12:50 +02:00
Bartosz Taudul
a4e39f3d5f
Enable redraw after screen resize. 2022-10-06 17:32:25 +02:00
Bartosz Taudul
754f7a5167
Add makefile target for starting httpd. 2022-10-05 23:44:39 +02:00
Bartosz Taudul
3ca61ad227
Extract file selector functionality. 2022-10-05 22:50:17 +02:00
Bartosz Taudul
e530103f43
Cosmetic fixes. 2022-10-02 18:08:27 +02:00
Bartosz Taudul
cf61fbf7ba
Support hidpi. 2022-10-02 13:51:28 +02:00
Bartosz Taudul
4b5a823d39
Adapt render size to fit browser window. 2022-10-02 13:40:14 +02:00
Bartosz Taudul
73f6e73c51
Add basic html wrapper page. 2022-10-02 12:59:44 +02:00
Bartosz Taudul
6dd434a2d6
Run closure compiler on javascript. 2022-10-02 01:02:27 +02:00
Bartosz Taudul
75b95233ea
Preload embedded trace on emscripten. 2022-10-02 00:41:08 +02:00
Bartosz Taudul
ffa48be2d9
Add emscripten build files. 2022-09-30 01:06:34 +02:00
Bartosz Taudul
78169326b3
Setup main emscripten loop. 2022-09-30 00:57:07 +02:00
Bartosz Taudul
863b36d04b
Emscripten expects GLES2 (WebGL 1). 2022-09-30 00:39:42 +02:00
Bartosz Taudul
1d482a417d
Use std::move(), not move(). 2022-09-29 21:02:05 +02:00
Bartosz Taudul
8b17522dff
Use proper glfw version checks. 2022-09-29 00:45:48 +02:00
Bartosz Taudul
05a3ab8a33
Mark activity when ImGui windowing navigation target is on. 2022-09-28 17:57:29 +02:00