[Web GPU] Add demos to webkit.org
authorjustin_fan@apple.com <justin_fan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 7 May 2019 00:04:38 +0000 (00:04 +0000)
committerjustin_fan@apple.com <justin_fan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 7 May 2019 00:04:38 +0000 (00:04 +0000)
commitd6efdc81cfeb8c2baad559fbaddb8e66b9d1a2a0
tree77cdbc03f2d3a49547c55cd0617418352697cff0
parent51257096bcf41795479c02e338f27a5d6d1fd154
[Web GPU] Add demos to webkit.org
https://bugs.webkit.org/show_bug.cgi?id=196951

Reviewed by Dean Jackson.

Add simple triangle and spinning textured cube demos to the website.
Add Web GPU to experimental-features.html.

* demos/webgpu/css/style.css: Added.
(body):
(canvas):
(body.error canvas):
(h1):
(#container):
(select):
(div#log):
(body.error):
(body.error #contents):
(#error):
(@media (max-width: 480px)):
(body.error #error):
(#error h2):
(#error p):
* demos/webgpu/hello-cube.html: Added.
* demos/webgpu/hello-triangle.html: Added.
* demos/webgpu/index.html: Added.
* demos/webgpu/resources/circle.svg: Added.
* demos/webgpu/resources/hello-cube.png: Added.
* demos/webgpu/resources/hello-triangle.png: Added.
* demos/webgpu/resources/safari-alpha.png: Added.
* demos/webgpu/scripts/gl-matrix-min.js: Added.
(return.n):
(return.n.d):
(return.):
(return.get n.n):
(return.n.o):
* demos/webgpu/scripts/hello-triangle.js: Added.
(async.helloTriangle):
* experimental-features.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@244992 268f45cc-cd09-0410-ab3c-d52691b4dbfc
12 files changed:
Websites/webkit.org/ChangeLog
Websites/webkit.org/demos/webgpu/css/style.css [new file with mode: 0644]
Websites/webkit.org/demos/webgpu/hello-cube.html [new file with mode: 0644]
Websites/webkit.org/demos/webgpu/hello-triangle.html [new file with mode: 0644]
Websites/webkit.org/demos/webgpu/index.html [new file with mode: 0644]
Websites/webkit.org/demos/webgpu/resources/circle.svg [new file with mode: 0644]
Websites/webkit.org/demos/webgpu/resources/hello-cube.png [new file with mode: 0644]
Websites/webkit.org/demos/webgpu/resources/hello-triangle.png [new file with mode: 0644]
Websites/webkit.org/demos/webgpu/resources/safari-alpha.png [new file with mode: 0644]
Websites/webkit.org/demos/webgpu/scripts/gl-matrix-min.js [new file with mode: 0644]
Websites/webkit.org/demos/webgpu/scripts/hello-triangle.js [new file with mode: 0644]
Websites/webkit.org/experimental-features.html