I am trying to replay GLES 3.0 traces. Following are the order of APIs
glGenTextures(n = 1, textures = &10)
glBindTexture(target = GL_TEXTURE_2D, texture = 10)
glTexStorage2D(target = GL_TEXTURE_2D, levels = 12, internalformat = GL_COMPRESSED_RGB8_ETC2, width = 2048, height = 2048)
glGenBuffers(n = 1, buffer = &74)
glBindBuffer(target = GL_PIXEL_UNPACK_BUFFER, buffer = 74)
glBufferData(target = GL_PIXEL_UNPACK_BUFFER, size = 2796216, data = blob(2796216), usage = GL_STATIC_DRAW)
glCompressedTexSubImage2D(target = GL_TEXTURE_2D, level = 0, xoffset = 0, yoffset = 0, width = 2048, height = 2048, format = GL_COMPRESSED_RGB8_ETC2, imageSize = 2097152, data = NULL)
All APIs except glCompressedTexSubImage2D works fine.Please confirm if ARM GLES 3.0 emulator supports GL_COMPRESSED_RGB8_ETC2 format and this API.
Hi Sunil,
the problem is not really related with mipmaps, rather with how compressed textures with combination with buffers bound to GL_PIXEL_UNPACK_BUFFER are handled on the emulator side.
The issue should be fixed on the very next emulator patch release. Should be around mid September.
Cheers
Adam
Any update on emulator patch release date??
We still plan to release patch soon, Some additional patches are planned to be included into 1.4.1. release.
Close to end of this month is more likely.
I'm happy to announce that new version of OpenGL ES 3.0 Emulator has been released and it contains the fix for the problem you have reported.
You can download it from OpenGL ES 3.0 Emulator - Mali Developer Center Mali Developer Center
Cheers,
Jacek
I still face the issue..glCompressedTexSubImage2D still returns GL_INVALID_OPERATION
Hi,
can you check the GL_RENDERER string to make sure your application is picking up the latest emulator library?
Thanks,
Lorenzo