Skip to content

Update Glutin to pick up borderless window performance fixes on Mac. - #11940

Closed
pcwalton wants to merge 1 commit into
servo:masterfrom
pcwalton:glutinupupup
Closed

pcwalton wants to merge 1 commit into
servo:masterfrom
pcwalton:glutinupupup

Conversation

@pcwalton

@pcwalton pcwalton commented Jun 30, 2016 •

Copy link
Copy Markdown
Contributor

Large framerate improvement in browser.html.

This takes the Glutin upgrade intended for #11130 but does not address
the underlying issue. A FIXME has been added.


This change is Reviewable

@highfive highfive added the S-awaiting-review There is new code that needs to be reviewed. label Jun 30, 2016
@mbrubeck

Copy link
Copy Markdown
Contributor

@bors-servo r+

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit 631d3e0 has been approved by mbrubeck

@highfive highfive assigned mbrubeck and unassigned SimonSapin Jun 30, 2016
@highfive highfive added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-awaiting-review There is new code that needs to be reviewed. labels Jun 30, 2016
@larsbergstrom

Copy link
Copy Markdown
Contributor

@bors-servo r+

@bors-servo

Copy link
Copy Markdown
Contributor

💡 This pull request was already approved, no need to approve it again.

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit 631d3e0 has been approved by larsbergstrom

@highfive highfive assigned larsbergstrom and unassigned mbrubeck Jun 30, 2016
@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit 631d3e0 with merge 04424cb...

bors-servo pushed a commit that referenced this pull request Jun 30, 2016
Update Glutin to pick up borderless window performance fixes on Mac.

Large framerate improvement in browser.html.

This takes the Glutin upgrade intended for #11130 but does not address
the underlying issue. A FIXME has been added.

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

Copy link
Copy Markdown
Contributor

💔 Test failed - windows

@highfive highfive added S-tests-failed The changes caused existing tests to fail. and removed S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. labels Jun 30, 2016
@cbrewster

Copy link
Copy Markdown
Contributor
C:/msys64/home/Administrator/.cargo\registry\src\github.com-1ecc6299db9ec823\servo-glutin-0.4.24\src\api\win32\callback.rs:221:32: 221:73 error: this function takes 3 parameters but 2 parameters were supplied [E0061]
C:/msys64/home/Administrator/.cargo\registry\src\github.com-1ecc6299db9ec823\servo-glutin-0.4.24\src\api\win32\callback.rs:221             send_event(window, MouseInput(Pressed, Other(xbutton as u8)));
                                                                                                                                                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:/msys64/home/Administrator/.cargo\registry\src\github.com-1ecc6299db9ec823\servo-glutin-0.4.24\src\api\win32\callback.rs:221:32: 221:73 help: run `rustc --explain E0061` to see a detailed explanation
C:/msys64/home/Administrator/.cargo\registry\src\github.com-1ecc6299db9ec823\servo-glutin-0.4.24\src\api\win32\callback.rs:221:32: 221:73 note: the following parameter types were expected: events::ElementState, events::MouseButton, std::option::Option<(i32, i32)>

@highfive highfive added S-awaiting-review There is new code that needs to be reviewed. and removed S-tests-failed The changes caused existing tests to fail. labels Jun 30, 2016
@pcwalton

Copy link
Copy Markdown
Contributor Author

@bors-servo: r=mbrubeck

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit 10d9345 has been approved by mbrubeck

@highfive highfive assigned mbrubeck and unassigned larsbergstrom Jun 30, 2016
@highfive highfive added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-awaiting-review There is new code that needs to be reviewed. labels Jun 30, 2016
Large framerate improvement in browser.html.

This takes the Glutin upgrade intended for servo#11130 but does not address
the underlying issue. A FIXME has been added.
@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit 10d9345 with merge 697e01a...

bors-servo pushed a commit that referenced this pull request Jun 30, 2016
Update Glutin to pick up borderless window performance fixes on Mac.

Large framerate improvement in browser.html.

This takes the Glutin upgrade intended for #11130 but does not address
the underlying issue. A FIXME has been added.

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

Copy link
Copy Markdown
Contributor

💔 Test failed - mac-dev-unit

@highfive highfive added S-tests-failed The changes caused existing tests to fail. and removed S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. labels Jun 30, 2016
@cbrewster

Copy link
Copy Markdown
Contributor
/Users/servo/buildbot/slave/mac-dev-unit/build/ports/glutin/window.rs:263:13: 263:62 error: this pattern has 3 fields, but the corresponding variant has 2 fields [E0023]
/Users/servo/buildbot/slave/mac-dev-unit/build/ports/glutin/window.rs:263             Event::MouseInput(element_state, mouse_button, _) => {
                                                                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/servo/buildbot/slave/mac-dev-unit/build/ports/glutin/window.rs:263:13: 263:62 help: run `rustc --explain E0023` to see a detailed explanation

@jdm

jdm commented Jul 1, 2016

Copy link
Copy Markdown
Member

That error can be avoided by adding a _ to that match arm, if someone wants to make this merge.

@cbrewster

Copy link
Copy Markdown
Contributor

Closing, compilation issues fixed in #11979.

@cbrewster cbrewster closed this Jul 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-tests-failed The changes caused existing tests to fail.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants