You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 76c0e11
Browse filesBrowse the repository at this point in the historyBrowse files
Support 2D texture arrays on OpenGL ES 2.0 via extensions
The GLES array-texture path previously required GL/GLES 3.0 for the
glTexImage3D/glTexSubImage3D entry points. Split those procs into their own
group and resolve them below 3.0 when an extension provides them: desktop GL
2.x exposes the core-named entry points through GL_EXT_texture_array, and
OpenGL ES 2.0 exposes them through GL_NV_texture_array under *NV-suffixed
names, which share the core signatures and are resolved as aliases into the
core procs so call sites do not branch.
SupportsTextureArray() now gates on the resolved procs rather than the GL
version, so a context that advertises an extension without providing the
entry points is correctly treated as unsupported, and ES 2.0 devices that do
expose them are supported.
Adds CapabilitiesGLES tests for the ES 3.0, ES 2.0 (unsupported), NV, and EXT
paths.
0 commit comments