Emil Ernerfeldt
1b1be3cd6c
Pass out pixels_per_point in output for use in tesselation
2023-11-15 11:14:13 +01:00
Emil Ernerfeldt
aad7ed23d2
"Final" touch-ups on wgpu integration
2023-11-14 07:58:04 +01:00
Konkitoman
f174467d42
Remove viewport_id from tessellate and added tessellate_for
2023-11-08 07:36:36 +02:00
Konkitoman
12f3782721
Introduce ViewportInfo
2023-11-08 07:29:00 +02:00
Emil Ernerfeldt
a52d38312c
MAIN -> ROOT
2023-11-06 19:19:37 +01:00
Konkitoman
d6c2f3e8f3
Fix pixels per point for multiples viewports
...
Fix ./scripts/check.sh errors
2023-10-22 17:15:21 +03:00
Konkitoman
e453d667e5
egui and eframe now uses more ViewportIdPair
2023-09-26 00:05:04 +03:00
Konkitoman
86ef11c521
Now viewport_id always will be in a ViewportId you cannot create a ViewportId you can only get the main one everywere or get the current viewport id with Context::get_viewport_id
2023-08-09 18:33:59 +03:00
Konkitoman
34fea8a0e5
Some more work on making possible to render viewport_sync in glutin
...
Context::current_rendering_viewport was replaced by Context::get_viewport_id
Added Context::get_parent_viewport_id
Changed Context::run to need parent_viewport_id
Changed Context::beagin to need parent_viewport_id
Added ImplContext::frame_stack
Some work on making posibile to render multiples frames at the same time
A lot of more things in glutin backend is not Arc<RwLock<T>>
2023-08-02 17:14:31 +03:00
Konkitoman
fd1c01cf1f
Removed Context::set_current_rendering_viewport
...
Now we always need to say what viewport we rendering in Context::beagin or Context::run
2023-07-30 20:03:56 +03:00
Emil Ernerfeldt
8ce0e1c520
Avoid deadlocks by using lambdas for context lock ( #2625 )
...
ctx.input().key_pressed(Key::A) -> ctx.input(|i| i.key_pressed(Key::A))
2023-01-25 10:24:23 +01:00
Emil Ernerfeldt
041f2e64ba
Move all crates into a crates directory ( #1940 )
2022-08-20 10:41:49 +02:00