Skip to content

Support for multiple GL windows with context sharing #312

Closed
@processing-bot

Description

@processing-bot

Created by: codeanticode

Currently, multiple windows can be created from a Processing sketch, but when using the GL renderer, they do not share the GL context. This means, in particular, that GL resources cannot be shared among the windows, which would the default assumption when creating multiple windows in the first place.

JOGL has introduced some new APIs to enable context sharing between multiple GLWindows:

https://jogamp.org/deployment/jogamp-next/javadoc/jogl/javadoc/com/jogamp/opengl/GLSharedContextSetter.html

GL object synchronization seems to be an issue, specially on Mac:

https://jogamp.org/deployment/jogamp-next/javadoc/jogl/javadoc/com/jogamp/opengl/GLSharedContextSetter.html#synchronization

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions