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
As was pointed out here, AWTGLCanvas can use a shared GL context so that GL resources can be shared among Canvases.
Due to a misconception (and poor research) on my part the FBOCanvas features an id that is accessible during render which is used by CharacterAtlas to return the correct atlas for a context.
This should be ditched and instead all FBOCanvases should share the same context.
This also allows for the shaders to be created only once.
The text was updated successfully, but these errors were encountered:
As was pointed out here,
AWTGLCanvas
can use a shared GL context so that GL resources can be shared among Canvases.Due to a misconception (and poor research) on my part the FBOCanvas features an id that is accessible during render which is used by
CharacterAtlas
to return the correct atlas for a context.This should be ditched and instead all FBOCanvases should share the same context.
This also allows for the shaders to be created only once.
The text was updated successfully, but these errors were encountered: