blob: 357c1ea4b797a63a5022ff282dfc0880b5b4271f [file] [log] [blame]
Scott Mainb6451222011-05-06 14:29:59 -07001page.title=OpenGL ES Versions
2@jd:body
3
4<style type="text/css">
5
6div.dashboard-panel {
7 max-width:1000px;
8 margin:0 0 2em 0;
9 padding:20px 20px 0 20px;
10 border:1px solid #d3ecf5;
11 border-radius:7px;
12 -moz-border-radius:7px;
13 -webkit-border-radius:7px;
14 background-color: #DAF3FC;
15 box-shadow:2px 3px 1px #eee;
16 -moz-box-shadow:2px 3px 1px #eee;
17 -webkit-box-shadow:2px 3px 1px #eee;
18 overflow:hidden;
19}
20#jd-content div.dashboard-panel img {
21 margin:0 20px 20px 0;
22 padding:0;
23 border:1px solid #ccc;
24 float:left;
25}
26#jd-content div.dashboard-panel table {
27 margin:0 0 20px 0;
28 float:left;
29 background-color:#fff;
30}
31div.dashboard-panel p {
32 clear:left;
33}
34div.dashboard-panel th {
35 white-space:nowrap;
36}
37</style>
38
39<p>This page provides data about the relative number of active devices that support a particular
40version of OpenGL ES. Note that support for one particular version of OpenGL ES also implies
41support for any lower version (for example, support for version 2.0 also implies support for
421.1).</p>
43
44<p>To declare which version of OpenGL ES your application requires, you should use the {@code
45android:glEsVersion} attribute of the <a
46href="{@docRoot}guide/topics/manifest/uses-feature-element.html">{@code &lt;uses-feature&gt;}</a>
47element. You can also use the <a
48href="{@docRoot}guide/topics/manifest/supports-gl-texture-element.html">{@code
49&lt;supports-gl-texture&gt;}</a> element to declare the GL compression formats that your application
50uses.</p>
51
52<p class="note"><strong>Note:</strong> This data is based on the number
53of Android devices that have accessed Android Market within a 7-day period
54ending on the data collection date noted below.</p>
55
56
57<div class="dashboard-panel">
58
59<img alt="" width="400" height="250"
Scott Main12d99542012-01-03 11:54:50 -080060src="http://chart.googleapis.com/chart?cht=p&chs=400x250&chco=c4df9b,6fad0c&chl=GL%201.1|GL%202.0%20%26%201.1&chd=t%3A9.5,90.5" />
Scott Mainb6451222011-05-06 14:29:59 -070061
62<table>
63<tr>
64<th scope="col">OpenGL ES Version</th>
65<th scope="col">Distribution</th>
66</tr>
67<tr>
68<td>1.1</th>
Scott Main12d99542012-01-03 11:54:50 -080069<td>9.5%</td>
Scott Mainb6451222011-05-06 14:29:59 -070070</tr>
71<tr>
72<td>2.0</th>
Scott Main12d99542012-01-03 11:54:50 -080073<td>90.5%</td>
Scott Mainb6451222011-05-06 14:29:59 -070074</tr>
75</table>
76
Scott Main12d99542012-01-03 11:54:50 -080077<p><em>Data collected during a 7-day period ending on January 3, 2012</em></p>
Scott Mainb6451222011-05-06 14:29:59 -070078</div>
79