The bitmap is too large to be loaded into the texture

When I try to make a bitmap in imageview

mImageView.setImageBitmap(mBitmap);

I would see that the bitmap is too large to be loaded into the texture in the log.

Well, I know that on OpenGl there is a limit that would throw this warning.
But can I know if the image turned out to be successful or not?

+2
source share
2 answers

You should check the maximum texture size by getting a value GL_MAX_TEXTURE_SIZE.

You can view this value for various Android devices on the GLBEnchmark website: http://www.glbenchmark.com/phonedetails.jsp?benchmark=glpro25&D=Google+Nexus+S&testgroup=gl

, ETC1. OpenGL ES 2.0, (ETC1 GL ES 2.0), OpenGL 1.1, ETC1, GL.

+1

, , : " ?" . , . , , RAM. , Android , .

0

All Articles