-
-
Notifications
You must be signed in to change notification settings - Fork 621
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
Introduce geometry primitives #1862
Commits on Apr 25, 2024
-
These are based on Eigen and will basically get compiled away into ideal representations for each platform conky is compiled for. This means that many operations can be SIMD optimized with very little effort. Signed-off-by: Tin Švagelj <tin.svagelj@live.com>
Configuration menu - View commit details
-
Copy full SHA for 31da166 - Browse repository at this point
Copy the full SHA 31da166View commit details -
Add eigen dependency to workflows and nix flake
Signed-off-by: Tin Švagelj <tin.svagelj@live.com>
Configuration menu - View commit details
-
Copy full SHA for 0605d98 - Browse repository at this point
Copy the full SHA 0605d98View commit details -
Update wayland display to use geometry
Signed-off-by: Tin Švagelj <tin.svagelj@live.com>
Configuration menu - View commit details
-
Copy full SHA for e491612 - Browse repository at this point
Copy the full SHA e491612View commit details -
Signed-off-by: Tin Švagelj <tin.svagelj@live.com>
Configuration menu - View commit details
-
Copy full SHA for a7c6fd1 - Browse repository at this point
Copy the full SHA a7c6fd1View commit details -
Ensure component access always returns wanted type
This should help avoid bad pointer reinterpretation. Signed-off-by: Tin Švagelj <tin.svagelj@live.com>
Configuration menu - View commit details
-
Copy full SHA for edc6390 - Browse repository at this point
Copy the full SHA edc6390View commit details -
Also fixed bad previous substitutions. Will go through all of them at the end just in case, though this time I replaced them one component at a time. Signed-off-by: Tin Švagelj <tin.svagelj@live.com>
Configuration menu - View commit details
-
Copy full SHA for e0fa6c5 - Browse repository at this point
Copy the full SHA e0fa6c5View commit details -
Revert unrelated codeql.yml changes
Signed-off-by: Tin Švagelj <tin.svagelj@live.com>
Configuration menu - View commit details
-
Copy full SHA for ce684cf - Browse repository at this point
Copy the full SHA ce684cfView commit details -
Review all replaced variables and fix errors
Signed-off-by: Tin Švagelj <tin.svagelj@live.com>
Configuration menu - View commit details
-
Copy full SHA for cac4361 - Browse repository at this point
Copy the full SHA cac4361View commit details -
Added intermediate member access structures which map direct member access and mutation into indirect one as provided by eigen an most other representations. This should _almost_ always just work, but in some cases template specialization consuming these values might fail in which case dereferencing them should work. Sadly there's no way of providing `T&` access to values because actual data layout and representation can be wildly different between different architectures. Even if eigen wasn't being used, if we want to make use of SIMD we have to provide access through separate getters and setters. All this abstraction should be optimized away by the compiler, so it's just adding API ergonomics. Signed-off-by: Tin Švagelj <tin.svagelj@live.com>
Configuration menu - View commit details
-
Copy full SHA for ccf0cf6 - Browse repository at this point
Copy the full SHA ccf0cf6View commit details -
Signed-off-by: Tin Švagelj <tin.svagelj@live.com>
Configuration menu - View commit details
-
Copy full SHA for 381c828 - Browse repository at this point
Copy the full SHA 381c828View commit details
Commits on Apr 26, 2024
-
Removed screen_width/height as the functionality is covered by workarea. This deduplicates information as we don't care about actual screen size if workarea is set by xinerama. Also set workarea from wayland output geometry callback. It's used by conky.cc by both Wayland and X11, so this should be useful towards having that function update window position correctly on Wayland. Removed all X11 specific types from gui.h, as well as X11 imports. This only leaves X11 specific gui settings which is fine for now - though they should be moved to x11 headers once Wayland makes use of common ones that can be shared (i.e. we check which make sense to move). Signed-off-by: Tin Švagelj <tin.svagelj@live.com>
Configuration menu - View commit details
-
Copy full SHA for 01db84e - Browse repository at this point
Copy the full SHA 01db84eView commit details -
Merge remote-tracking branch 'origin/main' into fix/screen-geometry
Signed-off-by: Tin Švagelj <tin.svagelj@live.com>
Configuration menu - View commit details
-
Copy full SHA for 7d1ba74 - Browse repository at this point
Copy the full SHA 7d1ba74View commit details -
- Added imports that would be missing without Eigen. - Made point & rect work better if Eigen::Array was replaced by std::array. - Removed templates around getters and setters. - Replaced internal _member_access with direct invocation. Signed-off-by: Tin Švagelj <tin.svagelj@live.com>
Configuration menu - View commit details
-
Copy full SHA for a48e117 - Browse repository at this point
Copy the full SHA a48e117View commit details -
Replace exceptions with UNREACHABLE
Signed-off-by: Tin Švagelj <tin.svagelj@live.com>
Configuration menu - View commit details
-
Copy full SHA for d4138de - Browse repository at this point
Copy the full SHA d4138deView commit details -
Signed-off-by: Tin Švagelj <tin.svagelj@live.com>
Configuration menu - View commit details
-
Copy full SHA for e5f150e - Browse repository at this point
Copy the full SHA e5f150eView commit details -
Signed-off-by: Tin Švagelj <tin.svagelj@live.com>
Configuration menu - View commit details
-
Copy full SHA for e9ffdb5 - Browse repository at this point
Copy the full SHA e9ffdb5View commit details
Commits on Apr 28, 2024
-
Didn't use most eigen functionality anyway and it was only added for simple SIMD support. Decided to implement (WIP) SIMD instructions myself as we don't have any very advanced use cases. Signed-off-by: Tin Švagelj <tin.svagelj@live.com>
Configuration menu - View commit details
-
Copy full SHA for 3fb7e53 - Browse repository at this point
Copy the full SHA 3fb7e53View commit details -
Merge remote-tracking branch 'origin/main' into fix/screen-geometry
Signed-off-by: Tin Švagelj <tin.svagelj@live.com>
Configuration menu - View commit details
-
Copy full SHA for cad6fb7 - Browse repository at this point
Copy the full SHA cad6fb7View commit details
Commits on Apr 30, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 1ad1806 - Browse repository at this point
Copy the full SHA 1ad1806View commit details -
Signed-off-by: Tin Švagelj <tin.svagelj@live.com>
Configuration menu - View commit details
-
Copy full SHA for bb232b0 - Browse repository at this point
Copy the full SHA bb232b0View commit details -
Remove build.log from source tree
Signed-off-by: Tin Švagelj <tin.svagelj@live.com>
Configuration menu - View commit details
-
Copy full SHA for 4ce7a58 - Browse repository at this point
Copy the full SHA 4ce7a58View commit details
Commits on May 5, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 82aac1d - Browse repository at this point
Copy the full SHA 82aac1dView commit details -
Merge remote-tracking branch 'origin/main' into fix/screen-geometry
Signed-off-by: Tin Švagelj <tin.svagelj@live.com>
Configuration menu - View commit details
-
Copy full SHA for 963552c - Browse repository at this point
Copy the full SHA 963552cView commit details -
Signed-off-by: Tin Švagelj <tin.svagelj@live.com>
Configuration menu - View commit details
-
Copy full SHA for 0223375 - Browse repository at this point
Copy the full SHA 0223375View commit details -
Replace SFINAE with static assertions
Signed-off-by: Tin Švagelj <tin.svagelj@live.com>
Configuration menu - View commit details
-
Copy full SHA for c22dba9 - Browse repository at this point
Copy the full SHA c22dba9View commit details