Dear Sirs,
I am currently trying to understand why I'm not able to load certain bitmaps into an Android ImageView. The current test target is a Huawei M2-A01W that has a Mali T-628 MP4 chip on board. When checking the maximum texture size through a simple OpenGL call, I can see that the result is 8192. But if I try to load a 1920x2764 image it doesn't work but a 1920x2726 does work, so I suppose that I cannot just check the max texture size value, there must be something else.
Maybe you can help me figure out the correct approach.
Cheers!
Valerio
When you say "it doesn't work" what error are you getting returned by glGetError?
What texture format are you trying to upload? Some, such as ETC require a multiple of a certain block size.
I'm not using OpenGL calls to load those images. I'm using the BitmapFactory class available in Android, no native calls. I have no clue how the Android ImageView actually manages the bitmap I'm passing it, but what happens is what I wrote in the original post.
I would have thought that if I ask the OpenGL driver what's the maximum texture size, that would be the correct answer, but it actually isn't.