Results 1 to 3 of 3

Thread: Time to lose the compatibility cruft?

  1. #1
    Member
    Join Date
    Oct 2009
    Location
    London, UK
    Posts
    90

    Time to lose the compatibility cruft?

    A lot of current WebGL code has code to handle old compatibility problems between the browsers; in particular, I always check for the old context names (webkit-3d/moz-webgl), the CanvasFloatArray/WebGLFloatArray move, and the move from getShaderi to getShaderParameter.

    It looks like these checks might now be unnecessary; checking Firefox and the Chrome dev channel, it looks like both of them use the current spec for all three of these. In general, Safari seems to be ahead of the others when it comes to spec compliance, so it's *probably* sorted too...

    However, I've only checked on a PC, and it would be really interesting to hear what everyone else sees -- in particular people using Macs and Linux. I've put together a page that checks browsers for the three changes above; test results would be much appreciated!

    Here's the link: http://learningwebgl.com/tests/cruftcheck20100104.html


    Cheers,

    Giles

  2. #2
    Junior Member
    Join Date
    Dec 2009
    Location
    Milan, Italy
    Posts
    9

    Re: Time to lose the compatibility cruft?

    Test for 20100104 Minefield/3.7a1pre
    - Checking WebGL... array types vs Canvas... array types: OK (found WebGLFloatArray)
    - Checking context name: OK (got using experimental-webgl)
    - Checking parameter getter functions: OK

    Test for Chromium 4.0.290.0 (35456)
    - Checking WebGL... array types vs Canvas... array types: OK (found WebGLFloatArray)
    - Checking context name: OK (got using experimental-webgl)
    - Checking parameter getter functions: OK

  3. #3
    Member
    Join Date
    Oct 2009
    Location
    London, UK
    Posts
    90

    Re: Time to lose the compatibility cruft?

    Thanks, lordghost!

Similar Threads

  1. OpenMAX Compatibility
    By Rubinajosphine.b in forum OpenMAX DL
    Replies: 0
    Last Post: 11-23-2012, 04:03 AM
  2. Replies: 2
    Last Post: 10-14-2012, 08:41 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •