Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 67ee3dc9e4
Fetching contributors…

Cannot retrieve contributors at this time

224 lines (212 sloc) 7.139 kB
<!DOCTYPE HTML>
<!--
Copyright (c) 2011-2012 Contributors.
The MIT License
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
-->
<html>
<head>
<title>WebGL Report</title>
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<link rel="stylesheet" type="text/css" href="black.css">
<script type="text/javascript" src="http://cdnjs.cloudflare.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script type="text/javascript" src="http://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.3.1/underscore-min.js"></script>
<script type="text/javascript" src="webglreport.js"></script>
<script src="http://cdn.webglstats.com/stat.js" defer="defer" async="async"></script>
</head>
<body>
<script type="text/template" id="reportTemplate">
<table class="report">
<col width="35%" />
<col />
<tr>
<th>Platform:</th>
<td><%= report.platform %></td>
</tr>
<tr>
<th>Browser User Agent:</th>
<td><%= report.userAgent %></td>
</tr>
<% if (typeof report.contextName !== 'undefined') { %>
<tr>
<th>Context Name:</th>
<td><%= report.contextName %></td>
</tr>
<tr>
<th>GL Version:</th>
<td><%= report.glVersion %></td>
</tr>
<tr>
<th>Shading Language Version:</th>
<td><%= report.shadingLanguageVersion %></td>
</tr>
<tr>
<th>Vendor:</th>
<td><%= report.vendor %></td>
</tr>
<tr>
<th>Renderer:</th>
<td><%= report.renderer %></td>
</tr>
<tr>
<th>ANGLE:</th>
<td><%= report.angle %></td>
</tr>
<tr>
<td colspan="2">
<div class="pipeline">
<canvas class="background"></canvas>
<div class="vertexShader">
<h1>Vertex Shader</h1>
<table>
<tr title="Minimum: 8">
<th>Max Vertex Attributes:</th>
<td><%= report.maxVertexAttributes %></td>
</tr>
<tr title="Minimum: 128">
<th>Max Vertex Uniform Vectors:</th>
<td><%= report.maxVertexUniformVectors %></td>
</tr>
<tr title="Minimum: 0">
<th>Max Vertex Texture Image Units:</th>
<td><%= report.maxVertexTextureImageUnits %></td>
</tr>
<tr title="Minimum: 8">
<th>Max Varying Vectors:</th>
<td><%= report.maxVaryingVectors %></td>
</tr>
</table>
</div>
<div class="rasterizer">
<h1>Rasterizer</h1>
<table>
<tr title="Minimum: [1, 1]">
<th>Aliased Line Width Range:</th>
<td><%= report.aliasedLineWidthRange %></td>
</tr>
<tr title="Minimum: [1, 1]">
<th>Aliased Point Size Range:</th>
<td><%= report.aliasedPointSizeRange %></td>
</tr>
</table>
</div>
<div class="fragmentShader">
<h1>Fragment Shader</h1>
<table>
<tr title="Minimum: 16">
<th>Max Fragment Uniform Vectors:</th>
<td><%= report.maxFragmentUniformVectors %></td>
</tr>
<tr title="Minimum: 8">
<th>Max Texture Image Units:</th>
<td><%= report.maxTextureImageUnits %></td>
</tr>
</table>
</div>
<div class="framebuffer">
<h1>Framebuffer</h1>
<table>
<tr>
<th>RGBA Bits:</th>
<td>[<%= report.redBits %>, <%= report.greenBits %>, <%= report.blueBits %>, <%= report.alphaBits %>]</td>
</tr>
<tr>
<th>Depth / Stencil Bits:</th>
<td>[<%= report.depthBits %>, <%= report.stencilBits %>]</td>
</tr>
<tr>
<th>Max Render Buffer Size:</th>
<td><%= report.maxRenderBufferSize %></td>
</tr>
<tr>
<th>Max Viewport Dimensions:</th>
<td><%= report.maxViewportDimensions %></td>
</tr>
</table>
</div>
<div class="textures">
<h1>Textures</h1>
<table>
<tr title="Minimum: 64">
<th>Max Texture Size:</th>
<td><%= report.maxTextureSize %></td>
</tr>
<tr title="Minimum: 16">
<th>Max Cube Map Texture Size:</th>
<td><%= report.maxCubeMapTextureSize %></td>
</tr>
<tr title="Minimum: 8">
<th>Max Combined Texture Image Units:</th>
<td><%= report.maxCombinedTextureImageUnits %></td>
</tr>
<% if (report.maxAnisotropy) { %>
<tr title="Minimum: 2">
<th>Max Anisotropy:</th>
<td><%= report.maxAnisotropy %></td>
</tr>
<% } %>
</table>
</div>
</div>
</td>
</tr>
<tr>
<th colspan="2">Supported Extensions:</th>
</tr>
<% _.each(report.extensions, function(e) { %>
<tr>
<td></td>
<td>
<a href="<%= getExtensionUrl(e) %>"><%= e %></a>
</td>
</tr>
<% }) %>
<% } %>
</table>
</script>
<script type="text/template" id="webglSupportedTemplate">
<p>This browser supports WebGL.</p>
</script>
<script type="text/template" id="webglSupportedChromeFrameTemplate">
<p>This browser supports WebGL with Chrome Frame.</p>
</script>
<script type="text/template" id="webglNotSupportedTemplate">
<p>This browser does not support WebGL.</p>
<p>
Check out <a href="http://get.webgl.org/">Get WebGL</a>,
or try installing the latest version of
<a href="http://www.google.com/chrome">Chrome</a>, or
<a href="http://www.mozilla.org/en-US/firefox/">Firefox</a>.
</p>
</script>
<a href="https://github.com/AnalyticalGraphicsInc/webglreport"><img style="position: absolute; top: 0; left: 0; border: 0;" src="images/ForkMe_Ribbons/ForkMe_Blk.png" alt="Fork me on GitHub"></a>
<h1>WebGL Report</h1>
<div class="align-center" id="output">
</div>
<!-- Google Analytics -->
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-30040272-2']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</body>
</html>
Jump to Line
Something went wrong with that request. Please try again.