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 upAllow to not depend on offscreen_gl_context #1009
Conversation
|
A priority became higher because of Bug 1349967[1] |
|
I would prefer it if instead of adding conditional compilation all over the code we would just contain that inside of WebGLContextWrapper (and have a WebGLContextWrapper with mostly empty functions if the webrender feature isn't enabled. |
| @@ -77,6 +78,19 @@ pub fn should_record_msg(msg: &ApiMsg) -> bool { | |||
| &ApiMsg::TickScrollingBounce | | |||
| &ApiMsg::WebGLCommand(..) => | |||
This comment has been minimized.
This comment has been minimized.
|
Updated a patch as to reduce cfg. |
|
@kvark, can you review the pull request again? |
|
I guess another alternative for this would be to depend on This would make it just use the |
|
Oh interesting, @emilio ! |
|
It was my first proposal, but now I prefer current pull request's approach since it could make crate dependency of gecko simpler. The current approach could remove several crates from /third_party/rust of gecko. |
|
I like the idea of avoiding unnecessary dependencies in gecko's repository. |
|
Sounds good, then this looks good to me, does anybody else have any concern with the current approach? If not, feel free to r=me. |
|
Sounds like a consensus to me :) |
|
|
Allow to not depend on offscreen_gl_context It is created based on #773. cc @emilio, @kvark, @glennw <!-- 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/1009) <!-- Reviewable:end -->
|
|
This is no longer needed after servo/webrender#1009 MozReview-Commit-ID: GEHGRK0TGXY
This is no longer needed after servo/webrender#1009 MozReview-Commit-ID: GEHGRK0TGXY
This is no longer needed after servo/webrender#1009 MozReview-Commit-ID: GEHGRK0TGXY UltraBlame original commit: a5222d76fff2c8a7bda16baca390b795424e2fd2
This is no longer needed after servo/webrender#1009 MozReview-Commit-ID: GEHGRK0TGXY UltraBlame original commit: a5222d76fff2c8a7bda16baca390b795424e2fd2
This is no longer needed after servo/webrender#1009 MozReview-Commit-ID: GEHGRK0TGXY UltraBlame original commit: a5222d76fff2c8a7bda16baca390b795424e2fd2
sotaroikeda commentedMar 24, 2017
•
edited by larsbergstrom
It is created based on #773.
cc @emilio, @kvark, @glennw
This change is