Closed
Bug 776001
Opened 13 years ago
Closed 13 years ago
Unprefix the EXT_texture_filter_anisotropic extension
Categories
(Core :: Graphics: CanvasWebGL, defect)
Core
Graphics: CanvasWebGL
Tracking
()
RESOLVED
FIXED
mozilla17
People
(Reporter: bjacob, Assigned: bjacob)
References
Details
Attachments
(1 file, 1 obsolete file)
2.52 KB,
patch
|
jgilbert
:
review+
|
Details | Diff | Splinter Review |
EXT_texture_filter_anisotropic has just received "community approved" status.
This means that browsers may now implement it unprefixed.
We should unprefix it as soon as possible to be good Web citizens. Not even keeping the prefixed name around --- users of prefixed WebGL extension can be required to adapt to prefix removal.
Assignee | ||
Comment 1•13 years ago
|
||
Attachment #644364 -
Flags: review?(jgilbert)
Comment on attachment 644364 [details] [diff] [review]
remove MOZ_EXT_texture_filter_anisotropic prefix
We shipped it with the MOZ prefix, right? I wonder if we should have one release cycle where both are around, but the MOZ-prefixed one warns that it's going away?
Updated•13 years ago
|
Attachment #644364 -
Flags: review?(jgilbert) → review+
Assignee | ||
Comment 3•13 years ago
|
||
I really don't think we should start making this kind of stability commitments for vendor prefixes. I feel much more comfortable about keeping hammering to webdevs the notion that if they're going to use vendor-prefixed extensions, they should be ready for them to go away at any time (probably by testing their apps in beta versions of browsers at least).
That's very different from the general case of web APIs, where prefixes carry forward almost forever. It's not a great situation, but neither is making an app that works great and uses a vendor extension for some nice feature... then that extension happens to take a year to get finalized and unprefixed, and now the app that's been working fine for over a year no longer works/supports the feature? That seems like a pretty crappy situation. It's also the reason why GL keeps supporting all the prefixes of an extension even after they're in core or moved to ARB.
Actually, thinking about it that way, I'd say we just shouldn't drop support for the MOZ prefix at all...
Assignee | ||
Comment 5•13 years ago
|
||
One can't compare WebGL vendor prefixes to OpenGL vendor prefixes because of this fundamental difference: WebGL vendor prefixes are vendor monopolies, contrary to OpenGL vendor prefixes which other vendors are allowed to implement.
So it will suck if removing a vendor prefix breaks a real-world app, but that is still a hypothetical case: it really isn't hard for app developers to remove these 4 characters, MOZ_, from their source code, and so it isn't clear to me that real problems will happen.
On the other hand, the problems with Web APIs vendor prefixes are so real, that a few months ago with CSS we went very close to stopping honoring the "don't implement other vendors' prefixes" rule:
http://hsivonen.iki.fi/vendor-prefixes/
And indeed, we are still struggling to get a foothold on the Mobile Web due to sites targeting WebKit and CSS vendor prefixes are still a big part of that (not _all_ of that. But a big part, and one that we can't solve at all ourselves besides evangelizing, because we are not even allowed to implement other vendors' prefixes.)
To summarize:
- the Web way to vendor prefixes is locking the browser engine market
- the OpenGL way to vendor prefixes is just fine
- unfortunately WebGL uses the Web way, not the OpenGL way
- therefore, I'd much rather get rid of WebGL vendor prefixes as early as possible during an extension's lifecycle.
Assignee | ||
Comment 6•13 years ago
|
||
Summarizing a conversation with Vlad+Jeff+others:
- as a short-term compromise we can do what Vlad suggested in comment 2
- another approach is to say, since in this case there were no difference between the different vendor-prefixed versions and the unprefixed version is still exactly the same, we could (discuss with the WG) allow to implement each other's vendor prefix.
- conversely, since this extension was never going to be contentious anyway, we could have done it unprefixed or using a multi-vendor prefix since the beginning.
- a more radical idea would be to switch to the OpenGL model wholesale.
Assignee | ||
Comment 7•13 years ago
|
||
Attachment #644364 -
Attachment is obsolete: true
Attachment #644400 -
Flags: review?(jgilbert)
Updated•13 years ago
|
Attachment #644400 -
Flags: review?(jgilbert) → review+
Assignee | ||
Comment 8•13 years ago
|
||
Assignee: nobody → bjacob
Target Milestone: --- → mozilla17
Comment 9•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•