This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Repository navigation
render to a single static context in HeadlessView - #6278
Closed
mikemorris wants to merge 2 commits into
Closed
mikemorris wants to merge 2 commits into
mikemorris wants to merge 2 commits into
Conversation
|
@mikemorris, thanks for your PR! By analyzing this pull request, we identified @jfirebaugh and @tmpsantos to be potential reviewers. |
mikemorris
force-pushed
the
single-context
branch
from
September 7, 2016 17:37
5cc42fa to
6b4c01d
Compare
mikemorris
force-pushed
the
single-context
branch
from
September 7, 2016 17:57
6b4c01d to
c989b96
Compare
Contributor
Author
|
Does this |
Contributor
Author
|
This looks like a bit more complex issue, directly related to this pull request. The Node.js and QT builds are actually passing, seeing this segfault on all the GLFW builds however. |
| GLXFBConfig *fbConfigs = nullptr; | ||
| GLXContext glContext = nullptr; | ||
| GLXPbuffer glxPbuffer = 0; | ||
| static Display *xDisplay; |
Contributor
There was a problem hiding this comment.
Capturing from our chat, these static are probable why it is crashing on GLFW.
Contributor
|
Closing; sharing contexts between maps should be handled by sharing a single |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #6212
This is a first draft. It would be worth investigating whether
needsResizecan be refactored intoHeadlessView::resize, eliminating the need forHeadlessView::activate- if possible we could completely remove that method andHeadlessView::deactivate, which is just a no-op for now.Is it necessary to deactivate and destroy the
glContextanywhere now that it'sstaticand shared across all instances ofHeadlessView?/cc @tmpsantos