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

Glup #159

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Glup #159

wants to merge 3 commits into from

Conversation

zmike
Copy link
Contributor

@zmike zmike commented May 14, 2015

@pcwalton
Copy link
Contributor

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

@metajack
Copy link
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
Copy link
Contributor

metajack commented Nov 3, 2015

@zmike Are you going to address the performance concerns?

@zmike
Copy link
Contributor Author

zmike commented Nov 4, 2015

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

@metajack
Copy link
Contributor

metajack commented Nov 4, 2015

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
Copy link
Contributor Author

zmike commented Nov 4, 2015

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

@metajack
Copy link
Contributor

metajack commented Nov 4, 2015

@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
Copy link
Contributor Author

zmike commented Nov 4, 2015

No prob, sorry for the (extended) delay.

@metajack
Copy link
Contributor

metajack commented Nov 4, 2015

@bors-servo r+

Homu was desynced so doing this again.

@bors-servo
Copy link

📌 Commit 2dff76f has been approved by metajack

@bors-servo
Copy link

⌛ 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

💔 Test failed - travis

@metajack
Copy link
Contributor

metajack commented Nov 4, 2015

Looks like duplicate depedency is getting pulled in.

@zmike
Copy link
Contributor Author

zmike commented Nov 5, 2015

I'm not entirely sure what this means.

@larsbergstrom
Copy link
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
Copy link
Contributor

mbrubeck commented Nov 5, 2015

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
Contributor

@bors-servo r+

@bors-servo
Copy link

📌 Commit bd84b41 has been approved by larsbergstrom

@bors-servo
Copy link

⌛ 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

💔 Test failed - travis

@larsbergstrom
Copy link
Contributor

Yup, looks like we need skiaup first

@mrobinson
Copy link
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

⌛ 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

💔 Test failed - travis

@jdm
Copy link
Member

jdm commented Nov 6, 2015

Now failing in skia proper.

@mrobinson
Copy link
Member

@bors-servo retry

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

@bors-servo
Copy link

⌛ 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

💔 Test failed - travis

@jdm
Copy link
Member

jdm commented Nov 6, 2015

Now failing in rust-layers proper!

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

jdm commented Nov 6, 2015

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

@bors-servo
Copy link

🔒 Merge conflict

@KiChjang
Copy link

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

@bors-servo
Copy link

🔒 Merge conflict

@jdm
Copy link
Member

jdm commented Nov 9, 2018

@bors-servo r-

# 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.

9 participants