You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
We've been able to build linux target in OS X for a while now. This target uses GLFW for rendering, and thus I feel having glfw target would be less confusing.
I actually got tripped up by make linux when looking into OpenSWR/OSMesa software rendering in #4498. IMHO make glfw could be useful to differentiate the interactive GUI linuxapp build from the various headless Linux builds that do not need GLFW.
@jfirebaugh there are two different things here, which are confusingly both named "linux": The platform-linux backend, and the linux debug app, which isn't actually Linux specific anyway. This is only about renaming the debug app.
We can't have an individual make target for every combination of platform and build product -- the combinatorial complexity is too great.
We should limit the scope of what we try to support across platform -- is it really worth it to maintain support for running the linux debug app on OS X, for example?
is it really worth it to maintain support for running the linux debug app on OS X
My take would be yes, since the OS X app adds a lot of complexity and weird UI and is more of an end user facing application, rather than a means to debug the renderer. I'm typically using the GLFW app to prototype new features and debug existing issues. There's nothing in GLFW that is Linux-specific; it's just the only app (until Qt lands) that runs on Linux.
osxapp is intended to be as much an analogue to iosapp as possible, so it depends on the Mapbox OS X SDK just as iosapp depends on the iOS SDK. It isn't so much of an end user application, but its focus is definitely on SDK features like annotations and gesture recognition rather than renderer output.
Heads up that #4498 will introduce an alternate headless rendering pipeline for make node, using OSMesa for software rendering rather than GLX for rendering on a hardware GPU.
Activity
jfirebaugh commentedon Apr 2, 2016
I think I'm 👎 on this. "linux" is the platform. The use of GLFW is an implementation detail of the test app for that platform.
mikemorris commentedon Apr 4, 2016
I actually got tripped up by
make linuxwhen looking into OpenSWR/OSMesa software rendering in #4498. IMHOmake glfwcould be useful to differentiate the interactive GUIlinuxappbuild from the various headless Linux builds that do not need GLFW.kkaefer commentedon Apr 4, 2016
@jfirebaugh there are two different things here, which are confusingly both named "linux": The
platform-linuxbackend, and thelinuxdebug app, which isn't actually Linux specific anyway. This is only about renaming the debug app.jfirebaugh commentedon Apr 4, 2016
Yeah -- I think we need to enforce some simplifications and abstractions to control the complexity of our build matrix and build system.
PLATFORM=<platform> make test, a test app that can be run withPLATFORM=<platform> make test-app, etc.kkaefer commentedon Apr 4, 2016
My take would be yes, since the OS X app adds a lot of complexity and weird UI and is more of an end user facing application, rather than a means to debug the renderer. I'm typically using the GLFW app to prototype new features and debug existing issues. There's nothing in GLFW that is Linux-specific; it's just the only app (until Qt lands) that runs on Linux.
1ec5 commentedon Apr 4, 2016
osxapp is intended to be as much an analogue to iosapp as possible, so it depends on the Mapbox OS X SDK just as iosapp depends on the iOS SDK. It isn't so much of an end user application, but its focus is definitely on SDK features like annotations and gesture recognition rather than renderer output.
kkaefer commentedon Apr 4, 2016
Fair enough; I'm 👍 on keeping both GLFW and the OSX app as supported targets on Mac OS.
mikemorris commentedon Apr 4, 2016
Heads up that #4498 will introduce an alternate headless rendering pipeline for
make node, using OSMesa for software rendering rather than GLX for rendering on a hardware GPU.jfirebaugh commentedon Apr 4, 2016
Okay, we should move
platform/linux/main.cpptobin/glfw.cppand build it likeoffline/renderare built.