lkang2 / glmatrix

Automatically exported from code.google.com/p/glmatrix
0 stars 0 forks source link

webglFloatArray is going to get replaced by either FloatArray and DoubleArray or Float32Array and Float64Array #1

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago

webglFloatArray is going to get replaced by either FloatArray and DoubleArray 
or Float32Array and Float64Array

This should also make things even faster.

Original issue reported on code.google.com by jeroom832@gmail.com on 3 Jun 2010 at 6:40

GoogleCodeExporter commented 8 years ago
// Fallback for systems that don't support WebGL 
if (typeof DoubleArray != 'undefined') {
    glMatrixArrayType = DoubleArray;
} else if (typeof Float64Array != 'undefined') {
    glMatrixArrayType = Float64Array;
} else if (typeof FloatArray != 'undefined') {
    glMatrixArrayType = FloatArray
} else if(typeof WebGLFloatArray != 'undefined') {
    glMatrixArrayType = WebGLFloatArray;
} else {
    glMatrixArrayType = Array;
}

Original comment by jeroom832@gmail.com on 3 Jun 2010 at 7:09

GoogleCodeExporter commented 8 years ago
Is there any information on when this is going to happen and which it will be 
replaced 
with?

Original comment by Tojiro@gmail.com on 4 Jun 2010 at 2:20

GoogleCodeExporter commented 8 years ago
BTW, jeroom: I just noticed on your profile that you're the owner of the EWGL 
Matrices! 
As such, I can't thank you enough for your help on what is essentially your 
"competition!" :) I'm also not at all ashamed to admit that I took a great deal 
of 
inspiration from your library while building this one.

Thanks again! 

Original comment by Tojiro@gmail.com on 7 Jun 2010 at 3:22

GoogleCodeExporter commented 8 years ago
no problem 

It seems It still is going to take a while(2 months I guess) since they still 
haven't 
agreed on everything in that spec.

Also the WebGLFloatArray is goin to be replaced by either DoubleArray or 
Float64Array 
altough both chromium and minefield already have an implementation of the spec

Original comment by jeroom832@gmail.com on 7 Jun 2010 at 9:39

GoogleCodeExporter commented 8 years ago
I helped ewgl-matrices also a little bit by caching the object, that way the 
object overhead was minimized. But he did the great work! And you (Tojiro) did 
an amazing job by combining those libraries and introduce some new great ideas!

Original comment by danielhe...@gmail.com on 7 Jun 2010 at 9:39

GoogleCodeExporter commented 8 years ago
indeed but we still have long ways to go if you compare with C

Original comment by jeroom832@gmail.com on 9 Jun 2010 at 5:47

GoogleCodeExporter commented 8 years ago

Original comment by Tojiro@gmail.com on 13 Jun 2010 at 4:14

GoogleCodeExporter commented 8 years ago
It is goin to be Float32Array.
Both firefox and Chromium are been patched as we speak
chromium was on 9/06

Original comment by jeroom832@gmail.com on 14 Jun 2010 at 1:26

GoogleCodeExporter commented 8 years ago
That's good to know. Do you have a reference for that? For some reason the 
topic is very difficult to Google.

Original comment by Tojiro@gmail.com on 15 Jun 2010 at 3:16

GoogleCodeExporter commented 8 years ago

Original comment by Tojiro@gmail.com on 2 Jul 2010 at 10:03