Out of the box, OpenGL ES 2 lacks the ability to use index buffers to index into VBOs with more than 2^16 elements (see http://www.khronos.org/opengles/sdk/docs/man/xhtml/glDrawElements.xml). The extension OES_element_index_uint adds support for using unsigned integers, thereby supporting VBOs with 2^32 elements. This is an important extension and is supported on desktop-class hardware and was added to iOS 5. The WebGL spec is here: http://www.khronos.org/registry/webgl/extensions/OES_element_index_uint/ The specification has been upgraded to Draft status, and thus may now be implemented by browsers under vendor-specific names. The name for this extension in WebKit is WEBKIT_OES_element_index_uint.
Created attachment 168500 [details] Patch
Created attachment 168508 [details] Patch
Comment on attachment 168508 [details] Patch Attachment 168508 [details] did not pass mac-ews (mac): Output: http://queues.webkit.org/results/14288125 New failing tests: fast/canvas/webgl/oes-element-index-uint.html
Comment on attachment 168508 [details] Patch Attachment 168508 [details] did not pass chromium-ews (chromium-xvfb): Output: http://queues.webkit.org/results/14286171 New failing tests: platform/chromium/virtual/gpu/fast/canvas/webgl/oes-element-index-uint.html fast/canvas/webgl/oes-element-index-uint.html
Created attachment 168742 [details] Patch
Created attachment 168976 [details] Patch
Created attachment 169429 [details] Patch
Comment on attachment 169429 [details] Patch Looks good. Nice work on the tests in particular. We should consider refactoring them as was done for conformance/textures/tex-image-and-sub-image-2d-with-canvas.html and related tests in order to reduce duplication. r=me
Comment on attachment 169429 [details] Patch Clearing flags on attachment: 169429 Committed r131780: <http://trac.webkit.org/changeset/131780>
All reviewed patches have been landed. Closing bug.