Skip to content

Check for libEGL.dll - #846

Merged
tomaka merged 1 commit into
rust-windowing:masterfrom
kvark:angle
Jan 20, 2017
Merged

tomaka merged 1 commit into
rust-windowing:masterfrom
kvark:angle

Conversation

@kvark

@kvark kvark commented Jan 19, 2017

Copy link
Copy Markdown
Contributor

This is effectively all we need to support Angle.

Comment thread src/platform/windows/mod.rs Outdated
if dll.is_null() {
continue;
}
info!("Loading EGL symbols from {}", dll_name);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Glutin hasn't been using logging stuff so far, so it doesn't make sense to add it here in particular.

@kvark

kvark commented Jan 19, 2017

Copy link
Copy Markdown
Contributor Author

@tomaka I strongly suggest to use logging. There is nearly not enough variety of error messages, and even if you extend that - would be great to have some extra information on what glutin is doing. This PR's logic is a good example of why logging would be helpful.
Anyhow, I just removed the info! usage.

@tomaka

tomaka commented Jan 19, 2017

Copy link
Copy Markdown
Contributor

Usually I think that using log reveals that the design of the library is wrong.
But glutin and other similar libraries try to "just work" by being a big magic instead of having a very precise behavior and exposing every single possible situation, so I guess it makes sense to use logging for them.

bors-servo pushed a commit to servo/glutin that referenced this pull request Jan 19, 2017
Check for libEGL.dll

This would allow rendering through Angle, then capturing and analyzing the WR results on Windows using powerful tools (like RenderDoc, GPU PerfStudio, PIX, NSight, etc).

Upstream PR: rust-windowing#846

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/glutin/112)
<!-- Reviewable:end -->
@tomaka

tomaka commented Jan 20, 2017

Copy link
Copy Markdown
Contributor

Looks like winit broke even though it passed CI recently.

@tomaka
tomaka merged commit b76ae50 into rust-windowing:master Jan 20, 2017
@kvark
kvark deleted the angle branch January 23, 2017 22:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants