Skip to content
This repository has been archived by the owner on Jul 10, 2023. It is now read-only.

First steps to allowing Linux to use EGL and OpenGLES #220

Closed
wants to merge 30 commits into from

Conversation

prashantgupta24
Copy link

Review on Reviewable

@glennw
Copy link
Member

glennw commented Dec 7, 2015

Reviewed 2 of 4 files at r1, 3 of 3 files at r4.
Review status: all files reviewed at latest revision, 2 unresolved discussions, some commit checks failed.


src/platform/egl/surface.rs, line 71 [r4] (raw file):
BGRA constant only exists on Linux - we'll need to apply the same trick I have done here (https://github.com/glennw/webrender/blob/master/src/device.rs#L16) to support BGRA on Linux and BGRA_EXT on Android.


src/platform/egl/surface.rs, line 85 [r4] (raw file):
Tabs -> spaces


Comments from the review on Reviewable.io

@glennw
Copy link
Member

glennw commented Dec 7, 2015

Just a few minor changes left - nearly there! :)

@glennw
Copy link
Member

glennw commented Dec 10, 2015

This looks good to me (well, it will still need a rebase + squash) - but I'd like to get @mrobinson to check over it too.

display: self.display,
visual_info: self.visual_info,
match *self {
NativeDisplay::Glx(info) => {
Copy link
Member

Choose a reason for hiding this comment

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

This should still be called GLX instead of Glx.

@mrobinson
Copy link
Member

Looks good to me, apart from a few minor style and naming issues.

@jdm
Copy link
Member

jdm commented Feb 27, 2016

Rebased, squashed and comments addressed in #232.

@jdm jdm closed this Feb 27, 2016
bors-servo pushed a commit that referenced this pull request Feb 28, 2016
Support EGL on non-Android Linux.

Rebase and squash of #220.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/rust-layers/232)
<!-- Reviewable:end -->
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants