Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace GLUT with GLFW #563

Merged
merged 5 commits into from Jul 10, 2013
Merged

Replace GLUT with GLFW #563

merged 5 commits into from Jul 10, 2013

Conversation

@metajack
Copy link
Contributor

metajack commented Jul 4, 2013

This code replaces glut with glfw. The motivation here is address the GPU driver bugs on Linux when using multiple Display * pointers with shared GL contexts instead of a single common one. GLFW has native access methods which provide access to its Display *, which appears to be unique among all the similar toolkits.

Details:

  • Adds glfw and glfw-rs to the build
  • Removes GLUT code and replaces it with GLFW versions
  • Fixes hard coded initial window values
  • Fixes clean targets
  • Event loop doesn't block on windowing events anymore
metajack added 3 commits Jul 4, 2013
Also fixes initial window size to get based on the windowing code instead of
being hardcoded everywhere. This code works on HiDPI displays, but does not
appropriately scale the output up yet.
@metajack
Copy link
Contributor Author

metajack commented Jul 4, 2013

@jeaye
Copy link

jeaye commented Jul 4, 2013

This is very cool.

@brendanzab
Copy link
Member

brendanzab commented Jul 5, 2013

Glad to be of service, let me know if you need any more assistance!

@jdm

This comment has been minimized.

Copy link

jdm commented on src/components/main/compositing/mod.rs in e0e5e1a Jul 8, 2013

Can we get rid of set_composite_callback now?

@metajack
Copy link
Contributor Author

metajack commented Jul 8, 2013

I'll do that.

@jdm

This comment has been minimized.

Copy link

jdm commented on e0e5e1a Jul 8, 2013

r+

@bors-servo

This comment has been minimized.

Copy link
Contributor

bors-servo commented on e0e5e1a Jul 8, 2013

saw approval from jdm
at metajack@e0e5e1a

This comment has been minimized.

Copy link
Contributor

bors-servo replied Jul 8, 2013

merging metajack/servo/glfw = e0e5e1a into auto

This comment has been minimized.

Copy link
Contributor

bors-servo replied Jul 8, 2013

metajack/servo/glfw = e0e5e1a merged ok, testing candidate = d2580a4

This comment has been minimized.

Copy link
Contributor

bors-servo replied Jul 8, 2013

bors-servo pushed a commit that referenced this pull request Jul 8, 2013
This code replaces glut with glfw. The motivation here is address the GPU driver bugs on Linux when using multiple `Display *` pointers with shared GL contexts instead of a single common one. GLFW has native access methods which provide access to its `Display *`, which appears to be unique among all the similar toolkits.

Details:
- Adds glfw and glfw-rs to the build
- Removes GLUT code and replaces it with GLFW versions
- Fixes hard coded initial window values
- Fixes clean targets
- Event loop doesn't block on windowing events anymore
@jdm

This comment has been minimized.

Copy link

jdm commented on 870db39 Jul 9, 2013

r+

@bors-servo

This comment has been minimized.

Copy link
Contributor

bors-servo commented on 870db39 Jul 9, 2013

saw approval from jdm
at metajack@870db39

This comment has been minimized.

Copy link
Contributor

bors-servo replied Jul 9, 2013

merging metajack/servo/glfw = 870db39 into auto

This comment has been minimized.

Copy link
Contributor

bors-servo replied Jul 9, 2013

metajack/servo/glfw = 870db39 merged ok, testing candidate = 15b6443

This comment has been minimized.

Copy link
Contributor

bors-servo replied Jul 9, 2013

bors-servo pushed a commit that referenced this pull request Jul 9, 2013
This code replaces glut with glfw. The motivation here is address the GPU driver bugs on Linux when using multiple `Display *` pointers with shared GL contexts instead of a single common one. GLFW has native access methods which provide access to its `Display *`, which appears to be unique among all the similar toolkits.

Details:
- Adds glfw and glfw-rs to the build
- Removes GLUT code and replaces it with GLFW versions
- Fixes hard coded initial window values
- Fixes clean targets
- Event loop doesn't block on windowing events anymore
@metajack

This comment has been minimized.

Copy link
Owner Author

metajack commented on cfc7491 Jul 9, 2013

r+

This comment has been minimized.

Copy link
Owner Author

metajack replied Jul 10, 2013

@bors: retry

This comment has been minimized.

Copy link
Owner Author

metajack replied Jul 10, 2013

@bors: retry

This comment has been minimized.

Copy link
Owner Author

metajack replied Jul 10, 2013

@bors: retry

This comment has been minimized.

Copy link
Owner Author

metajack replied Jul 10, 2013

@bors: retry

@bors-servo

This comment has been minimized.

Copy link
Contributor

bors-servo commented on cfc7491 Jul 9, 2013

saw approval from metajack
at metajack@cfc7491

This comment has been minimized.

Copy link
Contributor

bors-servo replied Jul 9, 2013

merging metajack/servo/glfw = cfc7491 into auto

This comment has been minimized.

Copy link
Contributor

bors-servo replied Jul 9, 2013

metajack/servo/glfw = cfc7491 merged ok, testing candidate = f0d0a30

This comment has been minimized.

Copy link
Contributor

bors-servo replied Jul 9, 2013

This comment has been minimized.

Copy link
Contributor

bors-servo replied Jul 10, 2013

saw approval from metajack
at metajack@cfc7491

This comment has been minimized.

Copy link
Contributor

bors-servo replied Jul 10, 2013

saw approval from metajack
at metajack@cfc7491

This comment has been minimized.

Copy link
Contributor

bors-servo replied Jul 10, 2013

merging metajack/servo/glfw = cfc7491 into auto

This comment has been minimized.

Copy link
Contributor

bors-servo replied Jul 10, 2013

metajack/servo/glfw = cfc7491 merged ok, testing candidate = 34a3505

This comment has been minimized.

Copy link
Contributor

bors-servo replied Jul 10, 2013

fast-forwarding master to auto = 34a3505

bors-servo pushed a commit that referenced this pull request Jul 9, 2013
This code replaces glut with glfw. The motivation here is address the GPU driver bugs on Linux when using multiple `Display *` pointers with shared GL contexts instead of a single common one. GLFW has native access methods which provide access to its `Display *`, which appears to be unique among all the similar toolkits.

Details:
- Adds glfw and glfw-rs to the build
- Removes GLUT code and replaces it with GLFW versions
- Fixes hard coded initial window values
- Fixes clean targets
- Event loop doesn't block on windowing events anymore
bors-servo pushed a commit that referenced this pull request Jul 10, 2013
This code replaces glut with glfw. The motivation here is address the GPU driver bugs on Linux when using multiple `Display *` pointers with shared GL contexts instead of a single common one. GLFW has native access methods which provide access to its `Display *`, which appears to be unique among all the similar toolkits.

Details:
- Adds glfw and glfw-rs to the build
- Removes GLUT code and replaces it with GLFW versions
- Fixes hard coded initial window values
- Fixes clean targets
- Event loop doesn't block on windowing events anymore
bors-servo pushed a commit that referenced this pull request Jul 10, 2013
This code replaces glut with glfw. The motivation here is address the GPU driver bugs on Linux when using multiple `Display *` pointers with shared GL contexts instead of a single common one. GLFW has native access methods which provide access to its `Display *`, which appears to be unique among all the similar toolkits.

Details:
- Adds glfw and glfw-rs to the build
- Removes GLUT code and replaces it with GLFW versions
- Fixes hard coded initial window values
- Fixes clean targets
- Event loop doesn't block on windowing events anymore
bors-servo pushed a commit that referenced this pull request Jul 10, 2013
This code replaces glut with glfw. The motivation here is address the GPU driver bugs on Linux when using multiple `Display *` pointers with shared GL contexts instead of a single common one. GLFW has native access methods which provide access to its `Display *`, which appears to be unique among all the similar toolkits.

Details:
- Adds glfw and glfw-rs to the build
- Removes GLUT code and replaces it with GLFW versions
- Fixes hard coded initial window values
- Fixes clean targets
- Event loop doesn't block on windowing events anymore
bors-servo pushed a commit that referenced this pull request Jul 10, 2013
This code replaces glut with glfw. The motivation here is address the GPU driver bugs on Linux when using multiple `Display *` pointers with shared GL contexts instead of a single common one. GLFW has native access methods which provide access to its `Display *`, which appears to be unique among all the similar toolkits.

Details:
- Adds glfw and glfw-rs to the build
- Removes GLUT code and replaces it with GLFW versions
- Fixes hard coded initial window values
- Fixes clean targets
- Event loop doesn't block on windowing events anymore
@bors-servo bors-servo merged commit cfc7491 into servo:master Jul 10, 2013
1 check passed
1 check passed
default all tests passed
@brendanzab
Copy link
Member

brendanzab commented Jul 10, 2013

Hurrah, at last! :D

@metajack metajack deleted the metajack:glfw branch Jul 10, 2013
ChrisParis pushed a commit to ChrisParis/servo that referenced this pull request Sep 7, 2014
FileAPI FileReader interface tests added; r=zcorpan
glennw pushed a commit to glennw/servo that referenced this pull request Jan 16, 2017
compile in shaders to webrender instead of requiring a res directory

Fixes issue servo#352.

res directory can be used to override.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/webrender/563)
<!-- Reviewable:end -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

5 participants
You can’t perform that action at this time.