Closed
Bug 1318201
Opened 8 years ago
Closed 8 years ago
Remove link to EGL on linux
Categories
(Core :: Graphics: WebRender, defect)
Core
Graphics: WebRender
Tracking
()
RESOLVED
FIXED
mozilla54
People
(Reporter: sotaro, Assigned: kats)
References
Details
On linux, we just use GLX. We do not need to link to EGL. With https://github.com/jrmuizel/gecko-dev/pull/31, source of offscreen_gl_context is in third_party/rust/offscreen_gl_context/. By modifying the source, we could remove the dependency to EGL.
Reporter | ||
Updated•8 years ago
|
Assignee: nobody → sotaro.ikeda.g
Assignee | ||
Comment 1•8 years ago
|
||
Agreed, I did a try push to verify that we can remove the EGL dependency. I'll submit a PR to the offscreen_gl_context repo tomorrow if you don't get to it first. I used the patch at [1] to verify, full try push is at [2]. [1] https://hg.mozilla.org/try/rev/25fb3bea2001897e8400c502eb00e169dfdcd1d8 [2] https://treeherder.mozilla.org/#/jobs?repo=try&revision=1925c585b7f38a7cdc0e06391c4fa826f55fc943
Reporter | ||
Comment 2•8 years ago
|
||
Assign to :kats since he already has patch to do it. I was tying to find a way to update .cargo-checksum.json. :kats how do you update the .cargo-checksum.json?
Assignee: sotaro.ikeda.g → bugmail
Reporter | ||
Comment 3•8 years ago
|
||
(In reply to Kartikaya Gupta (email:kats@mozilla.com) from comment #1) > Agreed, I did a try push to verify that we can remove the EGL dependency. > I'll submit a PR to the offscreen_gl_context repo tomorrow if you don't get > to it first. offscreen_gl_context also do egl testing on linux. It seems to expect to use also EGL on some situations. https://github.com/jrmuizel/gecko-dev/blob/Gecko-WebRenderer/third_party/rust/offscreen_gl_context/src/tests.rs#L6
Flags: needinfo?
Reporter | ||
Updated•8 years ago
|
Flags: needinfo?
Version: 38 Branch → unspecified
Reporter | ||
Comment 4•8 years ago
|
||
(In reply to Sotaro Ikeda [:sotaro] from comment #2) > :kats how do you update the.cargo-checksum.json?
Flags: needinfo?(bugmail)
Assignee | ||
Comment 5•8 years ago
|
||
(In reply to Sotaro Ikeda [:sotaro] from comment #4) > (In reply to Sotaro Ikeda [:sotaro] from comment #2) > > :kats how do you update the.cargo-checksum.json? I did it by hand. I just ran sha256sum on the modified file and copied the hash into the .cargo-checksum.json file. That's ok for testing locally and try pushes, but we can't push that because the next time somebody runs |mach vendor rust| it will overwrite those changes. In this case we need to change offscreen_gl_context upstream, or fork it and put it into the gecko tree somewhere. I submitted a PR upstream to get the change landed: https://github.com/emilio/rust-offscreen-rendering-context/pull/74
Flags: needinfo?(bugmail)
Assignee | ||
Comment 6•8 years ago
|
||
^ PR was merged. Waiting to get a new crate published on crates.io with the change before I close this bug.
Assignee | ||
Comment 7•8 years ago
|
||
https://hg.mozilla.org/projects/graphics/rev/e2d01c06c77c26019d01e88b58e11f2ad48c7001 https://hg.mozilla.org/projects/graphics/rev/7d7fb34055316d6a93de8aeecfba1264db9b88d3
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 8•8 years ago
|
||
(In reply to Kartikaya Gupta (email:kats@mozilla.com) from comment #5) > (In reply to Sotaro Ikeda [:sotaro] from comment #4) > > (In reply to Sotaro Ikeda [:sotaro] from comment #2) > > > :kats how do you update the.cargo-checksum.json? > > I did it by hand. I just ran sha256sum on the modified file and copied the > hash into the .cargo-checksum.json file. That's ok for testing locally and > try pushes, but we can't push that because the next time somebody runs |mach > vendor rust| it will overwrite those changes. In this case we need to change > offscreen_gl_context upstream, or fork it and put it into the gecko tree > somewhere. I submitted a PR upstream to get the change landed: > > https://github.com/emilio/rust-offscreen-rendering-context/pull/74 Thanks for the info!
Assignee | ||
Updated•7 years ago
|
Target Milestone: --- → mozilla54
You need to log in
before you can comment on or make changes to this bug.
Description
•