Platform/GFX/WebGL/Resources: Difference between revisions

From MozillaWiki
< Platform‎ | GFX‎ | WebGL
Jump to navigation Jump to search
mNo edit summary
(New decade, new content. (prune old content, add some modern benchmarks, remove obsolete bug tracking info))
 
Line 6: Line 6:
*[https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/sdk/tests/webgl-conformance-tests.html Conformance Tests]
*[https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/sdk/tests/webgl-conformance-tests.html Conformance Tests]
*[http://www.khronos.org/registry/gles/specs/2.0/es_full_spec_2.0.25.pdf GL ES 2.0 Spec]
*[http://www.khronos.org/registry/gles/specs/2.0/es_full_spec_2.0.25.pdf GL ES 2.0 Spec]
==Bug tracking==
We use the following Status Whiteboard keywords to track various WebGL-related bugs:
{| border="1"
! Status Whiteboard
! Description
! colspan="2"|Bugzilla queries
|-
| webgl-conformance
| Conformance bugs
| [https://bugzilla.mozilla.org/buglist.cgi?classification=Components;status_whiteboard_type=allwordssubstr;query_format=advanced;status_whiteboard=webgl-conformance;bug_status=UNCONFIRMED;bug_status=NEW;bug_status=ASSIGNED;bug_status=REOPENED;product=Core Open bugs only]
| [https://bugzilla.mozilla.org/buglist.cgi?classification=Components;status_whiteboard_type=allwordssubstr;query_format=advanced;status_whiteboard=webgl-conformance;product=Core All bugs]
|-
| webgl-test-needed
| Missing conformance tests
| colspan="2"|[https://bugzilla.mozilla.org/buglist.cgi?classification=Components;status_whiteboard_type=allwordssubstr;query_format=advanced;status_whiteboard=webgl-test-needed;product=Core All bugs] <!-- For webgl-test-needed, searching for open bugs only isn't very useful, and can be misleading -->
|-
| webgl-extension
| Extension implementation bugs
| [https://bugzilla.mozilla.org/buglist.cgi?classification=Components;status_whiteboard_type=allwordssubstr;query_format=advanced;status_whiteboard=webgl-extension;bug_status=UNCONFIRMED;bug_status=NEW;bug_status=ASSIGNED;bug_status=REOPENED;product=Core Open bugs only]
| [https://bugzilla.mozilla.org/buglist.cgi?classification=Components;status_whiteboard_type=allwordssubstr;query_format=advanced;status_whiteboard=webgl-extension;product=Core All bugs]
|-
| webgl-next
| Important items that don't fall in above categories
| [https://bugzilla.mozilla.org/buglist.cgi?classification=Components;status_whiteboard_type=allwordssubstr;query_format=advanced;status_whiteboard=webgl-next;bug_status=UNCONFIRMED;bug_status=NEW;bug_status=ASSIGNED;bug_status=REOPENED;product=Core Open bugs only]
| [https://bugzilla.mozilla.org/buglist.cgi?classification=Components;status_whiteboard_type=allwordssubstr;query_format=advanced;status_whiteboard=webgl-next;product=Core All bugs]
|}


==2D Acceleration==
==2D Acceleration==
Line 41: Line 14:


===Drawing transparent quads===
===Drawing transparent quads===
Comparing [http://www.scirra.com/labs/perftest-2d Canvas] with [http://www.scirra.com/labs/perftest-webgl WebGL]
Scirra tests:
 
* http://www.scirra.com/labs/perftest-2d (canvas2d)
===FishIE===
* http://www.scirra.com/labs/perftest-webgl  
jmuizelaar's FishIE work: http://muizelaar.blogspot.com/2011/02/drawing-sprites-canvas-2d-vs-webgl.html
* https://www.scirra.com/labs/renderperf3


*[http://people.mozilla.org/%7Ejmuizelaar/fishie/fishie.html Canvas with extra fish]
https://files.unity3d.com/marcot/benchmarks2018.2.5f1/
*[http://people.mozilla.org/~jmuizelaar/fishie/fishie-gl.html Original WebGL]
*[http://people.mozilla.org/~jmuizelaar/fishie/fishie-fast.html Fast WebGL]


==Finite Benchmarks==
==Finite Benchmarks==
Benchmarks which present a score upon completion.
Benchmarks which present a score upon completion.
* ''(Are there any yet? -jgilbert)''
* https://browserbench.org/MotionMark/developer.html
* ''(https://github.com/facebook/jsgamebench looks like it might have some under webglbench/, though in 5 mins of trying, i haven't yet gotten them to work. -dmose)''
*   Our Talos motionmark_webgl test config: https://browserbench.org/MotionMark/developer.html?test-interval=10&display=minimal&tiles=big&controller=fixed&frame-rate=50&kalman-process-error=1&kalman-measurement-error=4&time-measurement=performance&suite-name=3DGraphics&test-name=WebGL&complexity=30000


==Demos==
==Demos==
Line 67: Line 38:
*[https://github.com/cjcliffe/CubicVR.js/wiki/Examples-and-Demos CubicVR Demos]
*[https://github.com/cjcliffe/CubicVR.js/wiki/Examples-and-Demos CubicVR Demos]
*[http://www.khronos.org/webgl/wiki/Demo_Repository Khronos WebGL Demo Repository]
*[http://www.khronos.org/webgl/wiki/Demo_Repository Khronos WebGL Demo Repository]
*[http://webglstats.com/canuse.html WebGL Stats]
*[[Angle Debugging Tips]]
*[[Angle Debugging Tips]]

Latest revision as of 00:48, 3 March 2020