-
cmarrin@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=31239 I am now tracking the size of the data in each CanvasBuffer object and keeping track of the buffer size of each active vertex attrib. In drawArrays and drawElements I make sure no attempt is made to access elements outside the valid buffer ranges. The test at: http://cs.helsinki.fi/u/ilmarihe/c3d/functions/drawArraysOutOfBounds.html no longer crashes. I also added all the WebGL enumerations to GraphicsContext3D to use them in the validation checks git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51327 268f45cc-cd09-0410-ab3c-d52691b4dbfc
31e95dba