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

Glup#159

Open
zmike wants to merge 3 commits into
servo:masterfrom
zmike:glup
Open

Glup#159
zmike wants to merge 3 commits into
servo:masterfrom
zmike:glup

Conversation

@zmike

@zmike zmike commented May 14, 2015

Copy link
Copy Markdown
Contributor

@pcwalton

Copy link
Copy Markdown
Contributor

Yeah, only in debug builds please. glGetError() can force a FIFO flush.

@metajack

Copy link
Copy Markdown
Contributor

Skia only does this when specifically enabled. Ie, debug builds don't even do it. Because it makes it unusably slow, so you only turn it on when you suspect some GL API issue. Maybe this should be a Cargo feature?

@metajack

metajack commented Nov 3, 2015

Copy link
Copy Markdown
Contributor

@zmike Are you going to address the performance concerns?

@zmike

zmike commented Nov 4, 2015

Copy link
Copy Markdown
Contributor Author

Sorry, this got away from me. What exactly are we looking to do here, make it a cargo-based enable?

@metajack

metajack commented Nov 4, 2015

Copy link
Copy Markdown
Contributor

I think we want it to be opt in through cargo features if that is possible so that people can turn this on at compile time and no one else has to suffer the performance penalty.

@zmike

zmike commented Nov 4, 2015

Copy link
Copy Markdown
Contributor Author

I think this is what you meant; I added a "gldebug" cargo feature which gates the error checking.

@metajack

metajack commented Nov 4, 2015

Copy link
Copy Markdown
Contributor

@bors-servo r+

Awesome! Thanks.


Reviewed 4 of 4 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.


Comments from the review on Reviewable.io

@zmike

zmike commented Nov 4, 2015

Copy link
Copy Markdown
Contributor Author

No prob, sorry for the (extended) delay.

@metajack

metajack commented Nov 4, 2015

Copy link
Copy Markdown
Contributor

@bors-servo r+

Homu was desynced so doing this again.

@bors-servo

Copy link
Copy Markdown

📌 Commit 2dff76f has been approved by metajack

@bors-servo

Copy link
Copy Markdown

⌛ Testing commit 2dff76f with merge 0dd3ff0...

bors-servo pushed a commit that referenced this pull request Nov 4, 2015
Glup

@pcwalton @larsbergstrom

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/rust-layers/159)
<!-- Reviewable:end -->
@bors-servo

Copy link
Copy Markdown

💔 Test failed - travis

@metajack

metajack commented Nov 4, 2015

Copy link
Copy Markdown
Contributor

Looks like duplicate depedency is getting pulled in.

@zmike

zmike commented Nov 5, 2015

Copy link
Copy Markdown
Contributor Author

I'm not entirely sure what this means.

@larsbergstrom

Copy link
Copy Markdown
Contributor

Oh, it means you're getting broken by some dependencies that have a dependency libc = "*" but are trying to share types with ones that have libc = "0.1", as the former are getting libc 0.2, whose types are not compatible.

@mbrubeck How have you been fixing these? Are we switching everything to explicitly ask for 0.2 or 0.1?

@mbrubeck

mbrubeck commented Nov 5, 2015

Copy link
Copy Markdown
Contributor

The graphics crates like glutin are trying to move things from * to 0.1 first. Also in cases where not all dependencies are updated at once, you can fix some type mismatches like this: rust-windowing/glutin#651

@larsbergstrom

Copy link
Copy Markdown
Contributor

@bors-servo r+

@bors-servo

Copy link
Copy Markdown

📌 Commit bd84b41 has been approved by larsbergstrom

@bors-servo

Copy link
Copy Markdown

⌛ Testing commit bd84b41 with merge 600677b...

bors-servo pushed a commit that referenced this pull request Nov 5, 2015
Glup

@pcwalton @larsbergstrom

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/rust-layers/159)
<!-- Reviewable:end -->
@bors-servo

Copy link
Copy Markdown

💔 Test failed - travis

@larsbergstrom

Copy link
Copy Markdown
Contributor

Yup, looks like we need skiaup first

@mrobinson

Copy link
Copy Markdown
Member

@bors-servo retry

After servo/io-surface-rs#42 this should build properly or at least fail at a later point.

@bors-servo

Copy link
Copy Markdown

⌛ Testing commit bd84b41 with merge 85fd404...

bors-servo pushed a commit that referenced this pull request Nov 6, 2015
Glup

@pcwalton @larsbergstrom

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/rust-layers/159)
<!-- Reviewable:end -->
@bors-servo

Copy link
Copy Markdown

💔 Test failed - travis

@jdm

jdm commented Nov 6, 2015

Copy link
Copy Markdown
Member

Now failing in skia proper.

@mrobinson

Copy link
Copy Markdown
Member

@bors-servo retry

Trying one more time now that @mbrubeck has updated cgl-rs.

@bors-servo

Copy link
Copy Markdown

⌛ Testing commit bd84b41 with merge fc5a1ee...

bors-servo pushed a commit that referenced this pull request Nov 6, 2015
Glup

@pcwalton @larsbergstrom

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/rust-layers/159)
<!-- Reviewable:end -->
@bors-servo

Copy link
Copy Markdown

💔 Test failed - travis

@jdm

jdm commented Nov 6, 2015

Copy link
Copy Markdown
Member

Now failing in rust-layers proper!

@mrobinson

Copy link
Copy Markdown
Member

Looks like the issue might be in https://github.com/Daggerbot/x11-rs this time, which is unfortunately not part of the servo family of repositories.

@jdm

jdm commented Nov 6, 2015

Copy link
Copy Markdown
Member

Filed AltF02/x11-rs#30 and AltF02/x11-rs#31.

@bors-servo

Copy link
Copy Markdown

🔒 Merge conflict

@KiChjang

Copy link
Copy Markdown

@bors-servo Talk about a delayed response...

@bors-servo

Copy link
Copy Markdown

🔒 Merge conflict

@jdm

jdm commented Nov 9, 2018

Copy link
Copy Markdown
Member

@bors-servo r-

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.

9 participants