-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
iOS gl3 and some improvements #1473
Conversation
Resync fork
Update fork
… in the atlases instead of setting a predefined byte buffer on disposal that made all atlases in the backend use the same buffer and generated rendering issues.
Fork update
…d more images to the screens so it really uses more atlases
Update fork PR
Update fork
Created native methods in JmeIosGLES
…th v52 but when executing it failed to find methods of nio.*Buffer because of an implementation change after java 1.9
…ing any additional framebuffer (scene processors and filters)
jme3-core/src/main/java/com/jme3/renderer/opengl/GLRenderer.java
Outdated
Show resolved
Hide resolved
JmeIosGLES.glFramebufferTextureLayer(target, attachment, texture, level, layer); | ||
} | ||
|
||
// New methods from GL2 interface which are supported in GLES30 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Supported or unsupported? given that they are stubs atm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The comment is not too clear... Methods below are those defined in GL2 which we need to implement because gles30 supports some of them like GL{Read|Write}Buffer and also 3D textures. The reason to create the stubs is that glAlphaFunc, glPointSize and glPolygonMode have no gles equivalent but are defined in GL2 interface.
Going to merge this in the next 24H if there is no objection. |
This is the list of changes:
Topic at hub: https://hub.jmonkeyengine.org/t/ios-improvements-including-gles3-0/44332
** This PR needs the related SDK PR: jMonkeyEngine/sdk#295