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 upStop using `glBlitFramebuffer()` for scaling tasks. #3098
Conversation
|
Looks good to me, we should do a try run for safety though. |
|
CI warnings error:
|
|
@gw3583 OK, I fixed that issue. I still can't push to try yet because my hg access was disabled for inactivity, though. |
|
Code looks good, minus a few nits. The try push is all red.
webrender/res/cs_scale.glsl, line 49 at r1 (raw file):
nit: could just do webrender/src/renderer.rs, line 2864 at r1 (raw file):
nit: let shader = match source {...}; then |
|
I don't understand what's going on on try. |
webrender/res/cs_scale.glsl, line 49 at r1 (raw file): Previously, kvark (Dzmitry Malyshau) wrote…
This code was copied from |
webrender/src/renderer.rs, line 2864 at r1 (raw file): Previously, kvark (Dzmitry Malyshau) wrote…
It won't borrow check that way because of the lack of NLL ( |
webrender/src/renderer.rs, line 2864 at r1 (raw file): Previously, pcwalton (Patrick Walton) wrote…
I see, nvm then :) we'll clean this up later |
|
Kicked off a try build: https://treeherder.mozilla.org/#/jobs?repo=try&revision=2ef0e6a9b321a1197d5eeee9aac514b4ab960f85 I verified that the browser works, so I'm not sure why the previous build failed. |
|
Doh, I didn't realize new shaders have to be explicitly deinitialized now. I added a comment so that others won't be as confused as I was in the future and kicked off a new try build: https://treeherder.mozilla.org/#/jobs?repo=try&revision=7c4bc7e1093d447d091c8531d398df7f66b616cb |
fa93f6a
to
a559a71
|
Looks like a lot of orange on that last try build - is that the correct try run? |
|
@bors-servo r+ |
|
|
Stop using `glBlitFramebuffer()` for scaling tasks. The driver is allowed to read outside of the source rect, and this can cause incorrect results. This patch makes `preserve-3d.png` test have some minor rounding differences in its colors from the previous implementation, so I regenerated the reference image. Closes #3088. r? @gw3583 <!-- 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/3098) <!-- Reviewable:end -->
|
|
|
CI failures:
|
5950e9f
to
183f40d
|
The test failures look like imperceptible differences. |
|
@bors-servo: r=gw3583 |
|
|
Stop using `glBlitFramebuffer()` for scaling tasks. The driver is allowed to read outside of the source rect, and this can cause incorrect results. This patch makes `preserve-3d.png` test have some minor rounding differences in its colors from the previous implementation, so I regenerated the reference image. Closes #3088. r? @gw3583 <!-- 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/3098) <!-- Reviewable:end -->
|
|
pcwalton commentedSep 21, 2018
•
edited by larsbergstrom
The driver is allowed to read outside of the source rect, and this can cause
incorrect results.
This patch makes
preserve-3d.pngtest have some minor rounding differences inits colors from the previous implementation, so I regenerated the reference
image.
Closes #3088.
r? @gw3583
This change is