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

Re: [Public WebGL] WebGL benchmarking

On 23 May 2010 17:26, Chris Marrin <cmarrin@apple.com> wrote:

On May 21, 2010, at 8:28 PM, Thatcher Ulrich wrote:

FYI I have made a test page to probe the limits of WebGL gpu performance: http://tulrich.com/webgl/bench/

It focuses only on unlit diffuse textured trimesh performance but should perhaps be extended to test other things.

Comments welcome.

Fails in WebKit TOT:

Error compiling shader: ERROR: 0:5: 'texture2D' : no matching overloaded function found 
ERROR: 0:5: 'assign' :  cannot convert from 'const float' to 'FragColor 4-component vector of float'
webgl/bench/glmath.js:163TypeError: Result of _expression_ 'glm' [undefined] is not an object.

Sounds like a great idea, but I've not managed to get it to work either.  Latest Chrome gives this:

Uncaught TypeError: Cannot set property '0' of undefined

(at /webgl/bench/glmath.js:163)

And the Minefield head gives

Error: console is not defined
Source File: http://tulrich.com/webgl/bench/
Line: 447


Giles Thomas