aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webgl2renderingcontext.rs
Commit message (Collapse)AuthorAgeFilesLines
* Add Support for WebGL TransormfeedbackIstvan Miklos2019-11-081-2/+232
| | | | Reference: https://www.khronos.org/registry/webgl/specs/latest/2.0/#3.7.15
* Implement the basic WebGL2 buffer data operationsMátyás Mustoha2019-11-051-8/+309
| | | | | | | Adds support for `bufferData`, `bufferSubData`, `copyBufferSubData` and `getBufferSubData`. Reference: https://www.khronos.org/registry/webgl/specs/latest/2.0/#3.7.3
* Use surfman for managing GL surfacesPatrick Walton2019-11-011-1/+1
| | | | | | Co-authored-by: Alan Jeffrey <ajeffrey@mozilla.com> Co-authored-by: Zakor Gyula <gyula.zakor@h-lab.eu> Co-authored-by: Josh Matthews <josh@joshmatthews.net>
* Add WebGLSampler supportMátyás Mustoha2019-10-081-1/+100
| | | | Reference: https://www.khronos.org/registry/webgl/specs/latest/2.0/#3.7.13
* Initial implementation of WebGLSyncIstvan Miklos2019-10-021-4/+128
| | | | | | | This patch adds initial support for WebGLSync. Note: There is no test for the isSync, deleteSync and waitSync functions in the `conformance2/sync/sync-webgl-specific.html`.
* Initial implementation of WebGLQueriesMátyás Mustoha2019-10-011-2/+155
| | | | | | | | This patch adds initial support for WeGLQueries. Most related WebGL functions and objects are implemented [1]. What's still missing is the `EXT_disjoint_timer_query_webgl2` support. [1]: https://www.khronos.org/registry/webgl/specs/latest/2.0/#3.7.12
* Convert CGTraitInterface to use safe JSContext instead of raw JSContextmarmeladema2019-07-241-42/+15
|
* Update euclid.Emilio Cobos Álvarez2019-07-231-1/+1
| | | | | | | | There are a few canvas2d-related dependencies that haven't updated, but they only use euclid internally so that's not blocking landing the rest of the changes. Given the size of this patch, I think it's useful to get this landed as-is.
* Remove offscreen_gl_context dependency from canvas_traits and script.Josh Matthews2019-03-071-2/+1
|
* Rustfmt has changed its default style :/Simon Sapin2018-12-281-2/+2
|
* Update MPL license to https (part 3)Jan Andre Ikenmeyer2018-11-191-1/+1
|
* Reorder importsPyfisch2018-11-061-1/+3
|
* `cargo fix --edition`Simon Sapin2018-11-061-25/+25
|
* Make HTMLCanvasElement::get_size return a Size2D<u32>Anthony Ramine2018-10-021-3/+3
| | | | The changes keep trickling down.
* Format script componentchansuke2018-09-191-145/+228
|
* Use WebGLResult for returns of instanced draw methodsAnthony Ramine2018-09-061-2/+8
|
* Support unions of objects in overloadsAnthony Ramine2018-08-301-4/+8
| | | | Part of #20513, implementing the parts useful for WebGL.
* Implement gl.getUniform()Anthony Ramine2018-07-181-0/+11
|
* Implement instanced WebGL drawing calls (part of #20791)Anthony Ramine2018-07-081-0/+28
|
* Fix gl.linkProgram() signatureAnthony Ramine2018-07-051-1/+1
|
* Implement WebGL GetRenderbufferParameterFausto Núñez Alberro2018-04-241-0/+11
| | | | This needed a bump of gleam to version 0.4.33
* Fix the signature of WebGLRenderingContext::BufferSubDataAnthony Ramine2018-04-041-1/+1
|
* Properly use Float32List and Int32List for WebGL uniform methodsAnthony Ramine2018-04-031-124/+68
|
* Remove obsolete BufferDataSourceAnthony Ramine2018-04-031-2/+2
|
* Implement WebGLRenderingContextBase.getAttachedShadersAnthony Ramine2018-03-241-0/+8
|
* Appease test-tidyIgor Matuszewski2018-03-231-1/+2
|
* Adapt uniform[fv] and similar to accept typed array argsIgor Matuszewski2018-03-231-95/+147
|
* Change WebGL function signatures accepting typed arraysIgor Matuszewski2018-03-231-42/+38
|
* Fix some more WebGL methodsAnthony Ramine2018-03-231-4/+3
|
* Make some WebGL parameters non-optional (fixes #8753)Anthony Ramine2018-03-221-31/+36
| | | | | | | Those parameters aren't optional in the current spec. The test element-array-buffer-delete-recreate.html now fails because we don't actually implement gl.getParameter(gl.CURRENT_PROGRAM).
* Implement WebGL getFramebufferAttachmentParameter APIIgor Gutorov2018-03-221-0/+12
|
* Add WebGL function glGetTexParameterMartina Kollarova2018-03-061-0/+6
| | | | | | | Set the expected result of the test `tex-input-validation.html` to CRASH, since that is caused by unrelated problems. The test was previously not executing completely, because it stopped when it didn't find the implementation of getTexParameter.
* Replace NonNullJSObjectPtr with std::ptr::NonNull<JSObject>Simon Sapin2018-01-221-2/+2
|
* Add configuration for webgl2 tests and update test expectationsImanol Fernandez2017-11-021-1/+2
|
* Kick off WebGL 2.0 implementationImanol Fernandez2017-10-271-0/+914