1 page.title=OpenGL ES Versions 2 @jd:body 3 4 <style type="text/css"> 5 6 div.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 } 31 div.dashboard-panel p { 32 clear:left; 33 } 34 div.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 40 version of OpenGL ES. Note that support for one particular version of OpenGL ES also implies 41 support for any lower version (for example, support for version 2.0 also implies support for 42 1.1).</p> 43 44 <p>To declare which version of OpenGL ES your application requires, you should use the {@code 45 android:glEsVersion} attribute of the <a 46 href="{@docRoot}guide/topics/manifest/uses-feature-element.html">{@code <uses-feature>}</a> 47 element. You can also use the <a 48 href="{@docRoot}guide/topics/manifest/supports-gl-texture-element.html">{@code 49 <supports-gl-texture>}</a> element to declare the GL compression formats that your application 50 uses.</p> 51 52 <p class="note"><strong>Note:</strong> This data is based on the number 53 of Android devices that have accessed Android Market within a 7-day period 54 ending on the data collection date noted below.</p> 55 56 57 <div class="dashboard-panel"> 58 59 <img alt="" width="400" height="250" 60 src="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.2,90.8" /> 61 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> 69 <td>9.2%</td> 70 </tr> 71 <tr> 72 <td>2.0</th> 73 <td>90.8%</td> 74 </tr> 75 </table> 76 77 <p><em>Data collected during a 7-day period ending on October 3, 2011</em></p> 78 </div> 79 80