Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upRecycle Core Graphics contexts when rasterizing glyphs. #3071
Conversation
|
Looks like some compile errors on CI:
@lsalzman would probably be the best person to look over this. |
|
lgtm |
|
Annoying unused variable/method warnings=errors:
|
|
Now blocked on servo/core-foundation-rs#255. |
|
Unblocked now. |
| @@ -73,5 +73,5 @@ dwrote = "0.4.1" | |||
|
|
|||
| [target.'cfg(target_os = "macos")'.dependencies] | |||
| core-foundation = "0.6" | |||
| core-graphics = "0.16" | |||
| core-text = { version = "11", default-features = false } | |||
| core-graphics = "^0.17.1" | |||
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
pcwalton
Sep 19, 2018
Author
Collaborator
I wasn't sure what the default was when all subversions are specified, but I see that it's ^ by default, so I'll remove it.
|
@bors-servo: r=kvark |
|
|
Recycle Core Graphics contexts when rasterizing glyphs. This should avoid locks and save some memory allocation time. Closes #2406. r? @gw3583 (or whoever wants to) <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/webrender/3071) <!-- Reviewable:end -->
|
|
|
|
So the problem here is that we had two versions of I'd like to get review on this change to make sure everyone is OK with it, so: r? @gw3583 |
|
Want to make a new try push to be safe? |
|
I can't imagine this would affect anything on try, because only the Pathfinder code changed. |
|
@bors-servo: r=kvark |
|
|
Recycle Core Graphics contexts when rasterizing glyphs. This should avoid locks and save some memory allocation time. Closes #2406. r? @gw3583 (or whoever wants to) <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/webrender/3071) <!-- Reviewable:end -->
|
|
|
Well, the core-graphics dependency changed, that's what I was concerned about. |
pcwalton commentedSep 17, 2018
•
edited by larsbergstrom
This should avoid locks and save some memory allocation time.
Closes #2406.
r? @gw3583 (or whoever wants to)
This change is