-
-
Notifications
You must be signed in to change notification settings - Fork 589
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
New backend rounded corner, part 1 #716
Conversation
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
xcb_render_triangle is slow because (at least for Glamor) it's rasterizing the triangles on CPU. Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
Codecov Report
@@ Coverage Diff @@
## next #716 +/- ##
==========================================
- Coverage 39.31% 39.28% -0.03%
==========================================
Files 46 46
Lines 9584 9644 +60
==========================================
+ Hits 3768 3789 +21
- Misses 5816 5855 +39
|
@tryone144 Hi, does this look reasonable to you? I want to bring the new backends to feature parity quickly (instead of a complete implementation) in terms of rounded corners, and make a new release. That's why I made a new PR alongside #658 After this PR, I would implement rounded border for glx. |
I'll try to find some time over the weekend to take a look at this. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Look good to me. 👍
I just think the ref-counting got shuffled up while adding the cached mask image to the xrender backend.
Thanks, @tryone144 Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
da909b7
to
8eb5bb0
Compare
@tryone144 thanks for the review! looks like this is good to be merged. |
This pull request add basic rounded corner for the new glx and xrender backends.