[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Public WebGL] ETC texture compression.
- To: Steve Baker <steve@sjbaker.org>
- Subject: Re: [Public WebGL] ETC texture compression.
- From: Cedric Vivier <cedricv@neonux.com>
- Date: Wed, 25 Aug 2010 10:56:54 +0800
- Cc: Vladimir Vukicevic <vladimir@mozilla.com>, Chris Marrin <cmarrin@apple.com>, public webgl <public_webgl@khronos.org>, "Gregg Tavares (wrk)" <gman@google.com>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:sender:received :in-reply-to:references:from:date:x-google-sender-auth:message-id :subject:to:cc:content-type; bh=TH/8mV7Wl8ABuuTB3+aY9Gy3+gPx7F3FZquRx+3DK94=; b=M2JXXdB1d4puLYBywHQlTEoFYfTQe8rnqV5X+4mmZ9mS9XZh1qaqg7Ktqm9i0I4eFB tDKJBtPdc+U4O5O+V2haxEeFXt2JcCr46iSRJvuB4TWkyflOsBDbpGb8nySVA09tNxYR uVyifQQzvPSyt4iUky2q3zjdpA4AhHET14/C8=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; b=YtGCUYRyVXlc7SZkJvxcgRR0dn8KQeGORsG3A9By7g9OAYSzHlZViaOILea/srJrlL PUT90lGOpjT9h4KWL4iy68b2M7B1ObzGL3+/gBz6BVDfcepwAxg4gLi9IXK0gwsbf2vN BZEyPIaho6ZlZRKhd1HijfFOD/X7tzGe0HHmw=
- In-reply-to: <4C746ADE.5080308@sjbaker.org>
- References: <1892571691.368690.1282678756224.JavaMail.root@cm-mail03.mozilla.org> <4C746ADE.5080308@sjbaker.org>
- Sender: owner-public_webgl@khronos.org
On Wed, Aug 25, 2010 at 08:59, Steve Baker
<steve@sjbaker.org> wrote:
The trouble is that if the extension is "nearly" universal - and useful
enough to matter, many application authors are going to be tempted to
use it - and not bother to write fallbacks for it because the additional
revenue from (say) 5% of the market would not pay for the additional
development cost.
I agree, counter-intuitively I'd think an extension with available on only 50% systems to be better supported for everyone (ie. have fallbacks) than an extension that runs for almost everyone (90%+) thus the developer might be less interested to do the effort.
In the end there might well be 10% people left out of an app using 90%-available extension, whereas there would be 0% people left out for a 50%-available extension.
Also the specific case of compression extensions is the easiest kind of extension do fallback for, eg. :
var format;
if (format = gl.getExtension("ETC2")) {
loadETC2Texture(format, name);
} else if (format = gl.getExtension("ETC1")) {
loadETC1Texture(format, name);
} else if (format = gl.getExtension("PVRTC")) {
loadPVRTCTexture(format, name);
} else { //fallback
loadPNGTexture(name);
}
That said, I like the concept of a lowest-common denominator WebGL that guarantees WebGL code to run anywhere, especially for 1.0, on the other hand for the future of WebGL I'm wary of privileging policy decisions over technical decisions when it comes to give more power to advanced developers (indeed - more power means more responsibilities, there's always ways to make an app fail on some platforms)
Regards,