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 sunilrpandey,
Thanks for your report.
I was able to get hold of one of the OpenGL ES 3.0 Emulator developers and he confirmed it is a problem on our side.This issue has already been reported internally and should be fixed in the upcoming OpenGL ES 3.0 Emulator release.
Cheers,
Jacek
Thanks veryt much Chris/Jacek,
I trust, I will be communicated on this thread or over email once GLES 3.0 emulator sort out this issue.
Many Thanks,
Sunil
Hi Sunil,
we have just released a new version of the GLES 3.0 emulator, with many bug fixes and a lot of code refactoring on our side. Unfortunaly this still does not solve the issue you were having, but we are working on it.
We will update this thread again once this is solved.
Thanks,
Lorenzo
Hi Jacek,
Could you please tell what is the exact issue? Some issue with CompressedTexSubImage2D call or the way for creating mipmap. Is there any ETA for the fix?
Thanks
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
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?