Disable view source for Developer Tools.
[chromium-blink-merge.git] / chrome / test / data / third_party / spaceport / js / sprites / renderers.js
blobc718e8f6e8981b7d0be13cb294efcae046d0aaf6
1 (function () {
2     var names = [
3         'css2dImg',
4         'css3dImg',
5         'css2dBackground',
6         'css3dBackground',
7         //'cssMatrixImg',
9         'canvasDrawImageFullClear',
10         'canvasDrawImageFullClearAlign',
11         'canvasDrawImagePartialClear',
12         'canvasDrawImagePartialClearAlign',
14         'webGLDrawWithUniform',
15         'webGLBatchDraw'
16     ];
18     var filenames = [ ];
19     names.forEach(function (name) {
20         filenames.push('sprites/renderers/' + name);
21     });
23     define(filenames, function (/* ... */) {
24         var renderers = { };
25         var values = arguments;
26         names.forEach(function (name, i) {
27             renderers[name] = values[i];
28         });
30         return renderers;
31     });
32 }());