This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Why glCompressedTexSubImage2D fails with INVALID OPERATION on GLES3.0 emulator.

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.

Parents
  • 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

Reply
  • 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

Children