OLD | NEW |
| (Empty) |
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" | |
2 "http://www.w3.org/TR/html4/strict.dtd"> | |
3 <html lang="en"> | |
4 <head> | |
5 <meta http-equiv="content-type" content="text/html; charset=utf-8"> | |
6 <title>WebGL Extension Registry</title> | |
7 <link rel="stylesheet" type="text/css" href="../resources/Khronos-WD.css" /> | |
8 <link rel="stylesheet" type="text/css" href="../resources/default.css" /> | |
9 <script src="../resources/jquery-1.3.2.min.js" type="text/javascript"></scri
pt> | |
10 <script src="../resources/generateTOC.js" type="text/javascript"></script> | |
11 </head> | |
12 <body onload="generateTOC(document.getElementById('toc'))"> | |
13 <!--begin-logo--> | |
14 <div class=head> | |
15 <p> | |
16 <a href="http://khronos.org/"> | |
17 <img alt=Khronos height=60 src="../resources/KhronosGroup-3D.png
" width=220> | |
18 </a> | |
19 </p> | |
20 </div> | |
21 <div class=head> | |
22 <p> | |
23 <a href="http://webgl.org/"> | |
24 <img alt=WebGL height=72 src="../resources/WebGL-Logo.png" width
=156> | |
25 </a> | |
26 </p> | |
27 </div> | |
28 <!--end-logo--> | |
29 | |
30 <h1>WebGL Extension Registry</h1> | |
31 | |
32 <h2 class="no-toc">Overview</h2> | |
33 <p> | |
34 The WebGL extension registry contains specifications for extensions to t
he | |
35 core <a href="../specs/latest/">WebGL API</a>. Most of these extensions
are incorporated | |
36 directly from the <a href="http://www.khronos.org/registry/gles/">OpenGL
ES</a> | |
37 or <a href="http://www.opengl.org/registry/">OpenGL</a> extension regist
ries, and refer to | |
38 those extensions for their behavioral definition. Because WebGL extensio
ns are specified as | |
39 Web IDL interfaces, each specification also includes the IDL to which ea
ch implementation | |
40 will comply. | |
41 </p> | |
42 <p> | |
43 An <a href="template/">extension template</a> is available for the submi
ssion of | |
44 new proposed extensions. New extension proposals should be emailed to th
e | |
45 <a href="https://www.khronos.org/webgl/public-mailing-list/">public WebG
L mailing list</a>. | |
46 When writing a new extension specification, it may be helpful to check o
ut the entire public | |
47 WebGL repository: | |
48 <pre> | |
49 svn checkout https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl | |
50 </pre> | |
51 The extension registry files are located under <code>extensions/</code>. | |
52 </p> | |
53 <p> | |
54 Each extension object is fetched from | |
55 the <a href="../specs/latest/index.html#WEBGLRENDERINGCONTEXT">WebGLRend
eringContext</a> by passing | |
56 the name of the extension to the <code>getExtension</code> method, | |
57 i.e.: <code>context.getExtension("OES_texture_float")</code>. | |
58 </p> | |
59 | |
60 <h2 class="no-toc">Naming conventions</h2> | |
61 | |
62 <p> | |
63 WebGL API extensions may derive from many sources, and the naming of eac
h extension reflects | |
64 its origin and intent. | |
65 | |
66 <ul> | |
67 | |
68 <li><code>ARB</code>, <code>OES</code> and <code>KHR</code> tags should
be used for | |
69 mirroring functionality from OpenGL ES or OpenGL API extensions approved
by the respective | |
70 architecture review boards. <code>EXT_</code> and GPU vendor tags should
be used for | |
71 mirroring other OpenGL ES or OpenGL API extensions. If only small differ
ences in behavior | |
72 compared to OpenGL ES or OpenGL are specified for a given extension, the
original tag should | |
73 be maintained. | |
74 | |
75 <li>The <code>WEBGL</code> tag should be used for WebGL-specific extensi
ons which are | |
76 intended to be compatible with multiple web browsers. It should also be
used for extensions | |
77 which originated with the OpenGL ES or OpenGL APIs, but whose behavior h
as been | |
78 significantly altered. | |
79 | |
80 <li>Browser vendor specific tags should be used for WebGL-specific exten
sions that are | |
81 intended to run only on a particular browser. It is recommended to avoid
such extensions, | |
82 and instead specify them with the <code>WEBGL</code> tag. | |
83 | |
84 </ul> | |
85 | |
86 </p> | |
87 | |
88 <h2 class="no-toc">WebGL Extensions By Number</h2> | |
89 | |
90 <!-- | |
91 Planned extensions from a recent F2F: | |
92 | |
93 OES_texture_float | |
94 OES_texture_half_float | |
95 OES_depth24 | |
96 | |
97 # require shader validator changes | |
98 OES_standard_derivatives | |
99 EXT_shader_texture_lod | |
100 | |
101 # desktop only | |
102 OES_texture_float_linear | |
103 OES_texture_half_float_linear | |
104 | |
105 # future core | |
106 OES_vertex_array_object -- same as IMG_vertex_array_object? | |
107 | |
108 OES_rgb8_rgba8 | |
109 OES_depth_texture - problematic, ARB/EXT have slightly different semantics; migh
t need to define WEBGL versions | |
110 --> | |
111 | |
112 <ol> | |
113 <li> <a href="OES_texture_float/">OES_texture_float</a> | |
114 <li> <a href="OES_texture_half_float/">OES_texture_half_float</a> | |
115 <li> <a href="WEBKIT_lose_context/">WEBKIT_lose_context</a> | |
116 <li> <a href="OES_standard_derivatives/">OES_standard_derivatives</a> | |
117 <li> <a href="OES_vertex_array_object/">OES_vertex_array_object</a> | |
118 </ol> | |
119 | |
120 </body> | |
121 </html> | |
OLD | NEW |