-
Notifications
You must be signed in to change notification settings - Fork 82
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
GL 3 + 4 support #13
Comments
Yo - no core profile support yet. 3rd-party forks include https://github.com/insidMWM/Syphon-OpenGL-3.2-core/ Obviously support is on our todo list... |
Gotcha, thanks a bunch for the links! |
What needs to be done:
|
👍 !@!@# We should also think heavily about we pass textures in / out. We might want to offer an FBO BLIT possibility for both Legacy and 3&4, so you can bind an already existing FBO that the app has, and blit it to Syphon (this is a faster mem copy and doesnt involve the actual rendering /rasterization pipeline to my knowledge), and possibly offer an FBO Blit for the client as well. In theory those passes could improve performance as well as offer GL 2 Legacy and GL 3/4 Core Profile support in a single API. Of course we leave the legacy API intact. |
Ya sure FBO blit, given it its own issue #14 |
Hi guys! Any news on this? I finally took courage to delve into GL3. |
IOSurface only supports texture rectangle last I checked so internally rect support need - :) ://:; mbl.dev.
|
|
work in progress in core-profile branch |
I cannot measure a performance penalty using a shared context and switching to it. I very much favour this as an approach as we needn't interfere with caller state. I would propose that all our GL work is done in the shared context with the exception of Unless @vade or anyone has objections I will go with this and perhaps feedback from testers will affect the final decision on this. |
Closing this as it's merged to master - alpha release is available, will move to final release soon unless any issues pop up. |
I'm using GLFW on Mavericks with an OpenGL core 4.1 context with forward compatibility turned on.
After my first call to bindToDrawFrameOfSize:, glGetError() returns GL_INVALID_OPERATION. Subsequent calls produce no error.
Everything still works as expected, however, and I can see my published frames in the Simple Client.
My guess is that something in setupIOSurfaceForSize: is causing problems, perhaps glPushAttrib, which is deprecated.
I would prefer to use publishFrameTexture:, but it doesn't work at all, I suspect because it makes much more extensive use of deprecated functions. Is there a branch lurking out there that fixes this, or a suggested workaround?
The text was updated successfully, but these errors were encountered: