[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Public WebGL] Specify more reasonable minimum values for MAX_TEXTURE_SIZE and friends




Hi list,

The WebGL 1.0 specification does not change the minimum values specified in the OpenGL ES 2.0 spec for system-dependent MAX_xxx constants, and some of them have really absurdly low minimum values, while even the least powerful current mobile hardware supports much higher values. Specifically, these ones:

GL_MAX_TEXTURE_SIZE minimum value is 64
GL_MAX_CUBE_MAP_TEXTURE_SIZE minimum value is 16
GL_MAX_RENDERBUFFER_SIZE minimum value is 1

Would you agree to have the WebGL 1.0.1 spec explicitly override them as follows:

MAX_TEXTURE_SIZE minimum value is 1024
MAX_CUBE_MAP_TEXTURE_SIZE minimum value is 512
MAX_RENDERBUFFER_SIZE minimum value is 1024

Some background:
* Firefox is implementing a minimum-capabilities mode to help developers ensure their pages will work everywhere:
https://bugzilla.mozilla.org/show_bug.cgi?id=686732
* The Intel 945 from 10 years ago support 2D textures of size 2048 and cube map textures of size 1024, see: http://software.intel.com/en-us/articles/intel-gma-3000-and-x3000-developers-guide/
* Likewise the mobile GPUs I've seen, like the Tegra and PowerVR, support 2D textures of size 2048.


Maybe the thing I'm the least sure about is the MAX_RENDERBUFFER_SIZE. Do you think that 1024 might be too optimistic?

Cheers,
Benoit

-----------------------------------------------------------
You are currently subscribed to public_webgl@khronos.org.
To unsubscribe, send an email to majordomo@khronos.org with
the following command in the body of your email:
unsubscribe public_webgl
-----------------------------------------------------------