Is there any Android device with screen size greater than GL_MAX_TEXTURE_SIZE?

五迷三道 提交于 2019-12-01 02:45:23

问题


I've been searching through glbenchmark.com for a device with screen size (width or height) greater than GL_MAX_TEXTURE_SIZE. I've found over a hundred devices with GL_MAX_VIEWPORT_WIDTH and GL_MAX_VIEWPORT_HEIGHT greater than GL_MAX_TEXTURE_SIZE (for example Acer A110), but no device with screen size greater than GL_MAX_TEXTURE_SIZE. So I assume there is no such device.

Is there any specification that guarantees that every device (or Android device) has screen size less or equal to GL_MAX_TEXTURE_SIZE? If not, is there any device that breaks my assumption?


回答1:


You can be sure that GL_MAX_TEXTURE_SIZE will be always bigger or equal to the screen size (SurfaceFlinger requires this)




回答2:


Maybe with newest devices with screen sizes over 2k pixels wide you may find that, but hardware vendors would not put a mobile GPU that is not capable of doing offscreen rendering to a texture target because the max texture size is smaller than the device screen. For old devices with smaller GL_MAX_TEXTURE_SIZE, the screen were also smaller than 1024x1024.



来源:https://stackoverflow.com/questions/14057154/is-there-any-android-device-with-screen-size-greater-than-gl-max-texture-size

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!