Skip to content
This repository was 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
prashantgupta24 wants to merge 30 commits intoservo:masterfrom
R00ney:refactor_gle3
Closed

First steps to allowing Linux to use EGL and OpenGLES#220
prashantgupta24 wants to merge 30 commits intoservo:masterfrom
R00ney:refactor_gle3

Conversation

@prashantgupta24
Copy link
Copy Markdown

Review on Reviewable

@glennw
Copy link
Copy Markdown
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
Copy Markdown
Member

glennw commented Dec 7, 2015

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

@glennw
Copy link
Copy Markdown
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.

Copy link
Copy Markdown
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
Copy Markdown
Member

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

@jdm
Copy link
Copy Markdown
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 -->
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants