| OLD | NEW |
| (Empty) | |
| 1 define([ ], function () { |
| 2 return { |
| 3 performance: { |
| 4 sprites: { |
| 5 $title: 'Source type', |
| 6 image: 'Static <img>', |
| 7 //spriteSheet: 'Animated sprite sheet', |
| 8 |
| 9 $children: { |
| 10 $title: 'Technique', |
| 11 css2dImg: 'CSS3 2D transforms with <img>', |
| 12 css3dImg: 'CSS3 3D transforms with <img>', |
| 13 css2dBackground: 'CSS3 2D transforms with CSS backgrounds', |
| 14 css3dBackground: 'CSS3 3D transforms with CSS backgrounds', |
| 15 //cssMatrixImg: 'CSSMatrix transforms with <img>', |
| 16 canvasDrawImageFullClear: 'Canvas drawImage, full clear', |
| 17 canvasDrawImageFullClearAlign: 'Canvas drawImage, full clear
, pixel aligned', |
| 18 canvasDrawImagePartialClear: 'Canvas drawImage, partial clea
r', |
| 19 canvasDrawImagePartialClearAlign: 'Canvas drawImage, partial
clear, pixel aligned', |
| 20 |
| 21 $children: { |
| 22 $title: 'Test type', |
| 23 $errors: true, |
| 24 scale: 'Scale', |
| 25 translate: 'Translate', |
| 26 rotate: 'Rotate', |
| 27 |
| 28 $children: { |
| 29 $mode: 'horizontal', |
| 30 js: 'JS time (ms)', |
| 31 objectCount: 'Objects at 30FPS' |
| 32 } |
| 33 } |
| 34 } |
| 35 } |
| 36 |
| 37 /* |
| 38 text: { |
| 39 $title: 'Font family', |
| 40 sans: 'sans-serif', |
| 41 serif: 'serif', |
| 42 monospace: 'monospace', |
| 43 |
| 44 $children: { |
| 45 $title: 'Font size', |
| 46 '8': '8pt', |
| 47 '10': '10pt', |
| 48 '12': '12pt', |
| 49 '14': '14pt', |
| 50 '16': '16pt', |
| 51 '24': '24pt', |
| 52 |
| 53 $children: { |
| 54 $title: 'Style', |
| 55 outline: 'Solid outline', |
| 56 fill: 'Solid fill', |
| 57 fillOutline: 'Solid fill + outline', |
| 58 |
| 59 $children: { |
| 60 $mode: 'horizontal', |
| 61 score: 'Score' |
| 62 } |
| 63 } |
| 64 } |
| 65 }, |
| 66 |
| 67 audioLatency: { |
| 68 $title: 'Type', |
| 69 coldLatency: 'Cold latency (ms)', |
| 70 warmLatency: 'Warm latency (ms)' |
| 71 } |
| 72 */ |
| 73 } |
| 74 }; |
| 75 }); |
| OLD | NEW |