Changeset 244992 in webkit


Ignore:
Timestamp:
May 6, 2019 5:04:38 PM (5 years ago)
Author:
Justin Fan
Message:

[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:
Location:
trunk/Websites/webkit.org
Files:
14 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Websites/webkit.org/ChangeLog

    r243623 r244992  
     12019-05-06  Justin Fan  <justin_fan@apple.com>
     2
     3        [Web GPU] Add demos to webkit.org
     4        https://bugs.webkit.org/show_bug.cgi?id=196951
     5
     6        Reviewed by Dean Jackson.
     7
     8        Add simple triangle and spinning textured cube demos to the website.
     9        Add Web GPU to experimental-features.html.
     10
     11        * demos/webgpu/css/style.css: Added.
     12        (body):
     13        (canvas):
     14        (body.error canvas):
     15        (h1):
     16        (#container):
     17        (select):
     18        (div#log):
     19        (body.error):
     20        (body.error #contents):
     21        (#error):
     22        (@media (max-width: 480px)):
     23        (body.error #error):
     24        (#error h2):
     25        (#error p):
     26        * demos/webgpu/hello-cube.html: Added.
     27        * demos/webgpu/hello-triangle.html: Added.
     28        * demos/webgpu/index.html: Added.
     29        * demos/webgpu/resources/circle.svg: Added.
     30        * demos/webgpu/resources/hello-cube.png: Added.
     31        * demos/webgpu/resources/hello-triangle.png: Added.
     32        * demos/webgpu/resources/safari-alpha.png: Added.
     33        * demos/webgpu/scripts/gl-matrix-min.js: Added.
     34        (return.n):
     35        (return.n.d):
     36        (return.):
     37        (return.get n.n):
     38        (return.n.o):
     39        * demos/webgpu/scripts/hello-triangle.js: Added.
     40        (async.helloTriangle):
     41        * experimental-features.html:
     42
    1432019-03-28  Jon Davis  <jond@apple.com>
    244
  • trunk/Websites/webkit.org/experimental-features.html

    r236954 r244992  
    104104}
    105105
     106function testWebGPU() {
     107    return window.gpu;
     108}
     109
    106110function testWebMetal() {
    107111    return window.WebMetalRenderingContext;
     
    153157        <div class="test" id="WebAnimationsCSSIntegration"><p>Web Animations and CSS Integration</p></div>
    154158        <div class="test" id="WebGL2"><p>WebGL 2.0</p></div>
     159        <div class="test" id="WebGPU"><p>Web GPU</p></div>
    155160        <div class="test" id="WebMetal"><p>WebMetal</p></div>
    156161        <div class="test" id="WebRTC"><p>WebRTC</p></div>
Note: See TracChangeset for help on using the changeset viewer.