This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<table><thead><tr><th>upload</th><th>resolution</th><th>frame time (ms)</th><th>frame/s</th><th>upload time (ms)</th><th>mtexels/s</th></tr></thead><tbody><tr><td>texImage2D</td><td>427x240</td><td class="">16.67</td><td class="">59.98</td><td class="">1.03</td><td>94.65</td></tr><tr><td>texImage2D</td><td>480p</td><td class="">16.65</td><td class="">60.08</td><td class="">1.56</td><td>250.83</td></tr><tr><td>texImage2D</td><td>720p</td><td class="">16.65</td><td class="">60.05</td><td class="warn">3.56</td><td>246.99</td></tr><tr><td>texImage2D</td><td>1080p</td><td class="">16.69</td><td class="">59.90</td><td class="error">11.43</td><td>173.01</td></tr><tr><td>texSubImage2D</td><td>427x240</td><td class="">16.66</td><td class="">60.02</td><td class="">1.01</td><td>96.53</td></tr><tr><td>texSubImage2D</td><td>480p</td><td class="">16.67</td><td class="">59.99</td><td class="">1.55</td><td>252.04</td></tr><tr><td>texSubImage2D</td><td>720p</td><td class="">16.66</td><td class="">60.03</td><td class="warn">3. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<table><thead><tr><th>upload</th><th>resolution</th><th>frame time (ms)</th><th>frame/s</th><th>upload time (ms)</th><th>mtexels/s</th></tr></thead><tbody><tr><td>texImage2D</td><td>427x240</td><td class="">16.67</td><td class="">59.98</td><td class="">1.03</td><td>94.65</td></tr><tr><td>texImage2D</td><td>480p</td><td class="">16.65</td><td class="">60.08</td><td class="">1.56</td><td>250.83</td></tr><tr><td>texImage2D</td><td>720p</td><td class="">16.65</td><td class="">60.05</td><td class="warn">3.56</td><td>246.99</td></tr><tr><td>texImage2D</td><td>1080p</td><td class="">16.69</td><td class="">59.90</td><td class="error">11.43</td><td>173.01</td></tr><tr><td>texSubImage2D</td><td>427x240</td><td class="">16.66</td><td class="">60.02</td><td class="">1.01</td><td>96.53</td></tr><tr><td>texSubImage2D</td><td>480p</td><td class="">16.67</td><td class="">59.99</td><td class="">1.55</td><td>252.04</td></tr><tr><td>texSubImage2D</td><td>720p</td><td class="">16.66</td><td class="">60.03</td><td class="warn">3. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<table><thead><tr><th>upload</th><th>resolution</th><th>frame/s</th><th>upload time (ms)</th><th>frame/s</th><th>upload time (ms)</th><th>frame/s</th><th>upload time (ms)</th></tr><tr><th colspan="2"></th><th colspan="2">H.264</th><th colspan="2">VP8</th><th colspan="2">Theora</th></tr></thead><tbody><tr><td>texImage2D</td><td>240p</td><td>60.03</td><td>0.01</td><td>N/A</td><td>N/A</td><td>N/A</td><td>N/A</td></tr><tr><td>texImage2D</td><td>480p</td><td>60.03</td><td>0.01</td><td>N/A</td><td>N/A</td><td>N/A</td><td>N/A</td></tr><tr><td>texImage2D</td><td>720p</td><td>60.03</td><td>0.01</td><td>N/A</td><td>N/A</td><td>N/A</td><td>N/A</td></tr><tr><td>texImage2D</td><td>1080p</td><td>59.83</td><td>0.01</td><td>N/A</td><td>N/A</td><td>N/A</td><td>N/A</td></tr><tr><td>texSubImage2D</td><td>240p</td><td>60.03</td><td>0.01</td><td>N/A</td><td>N/A</td><td>N/A</td><td>N/A</td></tr><tr><td>texSubImage2D</td><td>480p</td><td>60.06</td><td>0.01</td><td>N/A</td><td>N/A</td><td>N/A</td><td>N/A</td></tr><tr><td>texSubImage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<table><thead><tr><th>upload</th><th>resolution</th><th>frame/s</th><th>upload time (ms)</th><th>frame/s</th><th>upload time (ms)</th><th>frame/s</th><th>upload time (ms)</th></tr><tr><th colspan="2"></th><th colspan="2">H.264</th><th colspan="2">VP8</th><th colspan="2">Theora</th></tr></thead><tbody><tr><td>texImage2D</td><td>240p</td><td class="">59.56</td><td class="">0.00</td><td class="">60.07</td><td class="warn">1.01</td><td class="">60.03</td><td class="warn">1.01</td></tr><tr><td>texImage2D</td><td>480p</td><td class="">60.04</td><td class="">0.00</td><td class="">60.10</td><td class="warn">1.49</td><td class="">60.00</td><td class="warn">1.59</td></tr><tr><td>texImage2D</td><td>720p</td><td class="">60.10</td><td class="">0.00</td><td class="">60.05</td><td class="warn">3.68</td><td class="">60.08</td><td class="error">4.40</td></tr><tr><td>texImage2D</td><td>1080p</td><td class="">60.01</td><td class="">0.00</td><td class="warn">58.73</td><td class="error">12.47</td><td class="">59.99</td><td class |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<table><thead><tr><th>upload</th><th>resolution</th><th>frame/s</th><th>upload time (ms)</th><th>frame/s</th><th>upload time (ms)</th><th>frame/s</th><th>upload time (ms)</th></tr><tr><th colspan="2"></th><th colspan="2">H.264</th><th colspan="2">VP8</th><th colspan="2">Theora</th></tr></thead><tbody><tr><td>texImage2D</td><td>240p</td><td class="">60.05</td><td class="warn">1.39</td><td class="">60.08</td><td class="">0.42</td><td class="">60.07</td><td class="">0.41</td></tr><tr><td>texImage2D</td><td>480p</td><td class="">59.92</td><td class="error">8.68</td><td class="">60.09</td><td class="warn">1.95</td><td class="">60.06</td><td class="warn">1.94</td></tr><tr><td>texImage2D</td><td>720p</td><td class="error">36.76</td><td class="error">18.55</td><td class="">60.00</td><td class="error">4.47</td><td class="">60.02</td><td class="error">4.38</td></tr><tr><td>texImage2D</td><td>1080p</td><td class="error">17.32</td><td class="error">46.88</td><td class="error">48.13</td><td class="error">11.75</td><td cla |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am benaadams on github. | |
* I am ben_a_adams (https://keybase.io/ben_a_adams) on keybase. | |
* I have a public key whose fingerprint is 743B 478D 1638 A9FA C832 F7DA 1076 F46C 69A5 69E8 | |
To claim this, I am signing this object: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (!String.prototype.startsWith) { | |
String.prototype.startsWith = function (searchString, position) { | |
position = position || 0; | |
return this.lastIndexOf(searchString, position) === position; | |
}; | |
} | |
(function (global, undefined) { | |
"use strict"; | |
if (global.setImmediate) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// needs these polyfills included: https://gist.github.com/benaadams/bdd53bc4c65a3cee0ae8 | |
// is doing console.log rather than calling application insights | |
function ClearResourceTimings() { | |
try{ | |
if (window.performance) { | |
if (performance.clearResourceTimings) { | |
performance.clearResourceTimings(); | |
} else if (performance.webkitClearResourceTimings) { | |
performance.webkitClearResourceTimings(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var material = new THREE.RawShaderMaterial( { | |
uniforms: { | |
texDiffuse: diffTexture, | |
texNormal: normalTexture, | |
texSpecular: specTexture, | |
tick: tickUniform | |
}, | |
vertexShader: VertexShaderTextString, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function addBOM() { | |
// Creating a stream through which each file will pass | |
return through.obj( function ( file, enc, cb ) { | |
if ( file.isNull() ) { | |
// return empty file | |
cb( null, file ); | |
} | |
var buf = file.contents; | |
var decoder = new StringDecoder( 'utf8' ); | |
var contents = decoder.write( file.contents ); |
OlderNewer