-
-
Notifications
You must be signed in to change notification settings - Fork 10
[Android.GL] DrawRangeElementsBaseVertex() fails with 'called unimplemented OpenGL ES API' #2181
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
Comments
More information (which I forgot): Last year 6.11.2024 I tried KNI (desktop and web worked then and now) but on Android it shows texture when using only 1 image. When using 2 images, 2 black boxes. And when I tested
both textures works. But that is so wrong (very unoptimized way to do). Maybe (hopefully) this helps to find this Android spritebatch draw problem. |
I've tested it on my phone it's working fine. So, in one case it shows the textures black, and in the other case it shows the first texture of the batch but not the second? Have you tried on other phones?, |
"I can't tell what 6.11.2024 is. Yeah I meant sixth of the november. Cant remember which version of KNI. But today I tested with different devices (using newest kni nugets like yesterday). Android emulator which starts under VS2022 shows only one black box. Bluestacks shows 2 black boxes. And then I tested 2 phones: Phones (both uses Android 10) |
1 visible black box is only on that emulator which starts under VS2022 (I just tested and changed coordinates and it only renders 1 black box, other was not out of screen). But all other shows 2 black boxes so there is some little thing wrong. Under VS2022 debug output shows something maybe important?
and that called unimplemented goes and goes on. |
This uses GLES3? On godot 3.6, if I use gles3 and even checked in options fallback to gles2, it does not work because of lowprice phones' graphic drivers. GLES3 works right if using godot 4.x (maybe fallback works then). But That does not solve the issue, that little test does not work even with emulators. |
I just tested Samsung Galaxy A05s (Android 14) and test works right with both images. |
Maybe that unimplemented message is a good clue. |
It uses gles3 and fallback to gles2. |
@bosoni, I had the same issue with the emulator. Thanks for reporting, that was a serious bug. |
Sorry, I dont know how to copy development branchs android library where test uses.
But I just downloaded newest .exe and installed it, and created new project with newest nugets and works with desktop,
but not on android.
I included a little test, 2 images, both moving. Desktop shows them, android not.
If using only 1 image (test has other commented out) it shows just black box.
And when using 2 images, it renders only one black box, there isnt that other black box.
[tested that again using that .zip file below, and edited ^ texts because there were some errors]
KNI_Test_2.zip
What operating system are you using:
What KNI platform are you using:
Android
The text was updated successfully, but these errors were encountered: