Skip to content
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

Support sampling from the render task cache in brush images. #2619

Merged
merged 1 commit into from Apr 5, 2018

Conversation

@nical
Copy link
Collaborator

nical commented Apr 5, 2018

This PR adds support for sampling the render task cache in brush images, and test it out adds support for image sub rects in brush_image.

The sub rects implementation is duplicated between the brush and non-brush primitives, but I think it's fine to live with this temporarily because if things go well the non-brush code path will go away soon and the way I am planning to support pre-rendering tile spacing will make the two code paths diverge.


This change is Reviewable

@nical nical requested a review from glennw Apr 5, 2018
@nical
Copy link
Collaborator Author

nical commented Apr 5, 2018

This is related to the work in #2572 but since I am under the impression that the latter will take forever to land, I'm trying to separate whatever I can into independent pull requests.

@glennw
Copy link
Member

glennw commented Apr 5, 2018

@bors-servo
Copy link
Contributor

bors-servo commented Apr 5, 2018

📌 Commit 175bd9a has been approved by glennw

@glennw
glennw approved these changes Apr 5, 2018
@bors-servo
Copy link
Contributor

bors-servo commented Apr 5, 2018

Testing commit 175bd9a with merge 4d8451c...

bors-servo added a commit that referenced this pull request Apr 5, 2018
Support sampling from the render task cache in brush images.

This PR adds support for sampling the render task cache in brush images, and test it out adds support for image sub rects in brush_image.

The sub rects implementation is duplicated between the brush and non-brush primitives, but I think it's fine to live with this temporarily because if things go well the non-brush code path will go away soon and the way I am planning to support pre-rendering tile spacing will make the two code paths diverge.

<!-- 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/2619)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Apr 5, 2018

☀️ Test successful - status-appveyor, status-taskcluster
Approved by: glennw
Pushing 4d8451c to master...

@bors-servo bors-servo merged commit 175bd9a into servo:master Apr 5, 2018
3 checks passed
3 checks passed
Taskcluster (pull_request) TaskGroup: success
Details
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
homu Test successful
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.