aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webidls/WebGL2RenderingContext.webidl
Commit message (Collapse)AuthorAgeFilesLines
* script: Move code generation and webidl files to new script_bindings crate. ↵Josh Matthews2025-01-241-588/+0
| | | | | (#35157) Signed-off-by: Josh Matthews <josh@joshmatthews.net>
* Add initial support for WebGL 2 BlitFramebuffer (#26389)Josh Matthews2025-01-061-2/+2
| | | | | | Add initial support for the WebGL2 BlitFramebuffer call. Signed-off-by: Martin Robinson <mrobinson@igalia.com> Co-authored-by: Istvan <istvan.miklos@h-lab.eu>
* Convert Web IDL void to undefinedKagami Sascha Rosylight2022-01-051-86/+86
| | | | Fixes #27660
* Add support for WebGL2 TexImage2DIstvan Miklos2020-06-181-3/+3
| | | | Adds initial support for one of the WebGL2 `TexImage2D` call.
* Add support for WebGL2 TexImage2DIstvan Miklos2020-05-261-4/+4
| | | | Adds initial support for one of the WebGL2 `TexImage2D` call.
* Add support for WebGL2 TexImage2DIstvan Miklos2020-05-211-4/+4
| | | | Adds initial support for one of the WebGL2 `TexImage2D` call.
* Add support for WebGL2 TexStorage2DMátyás Mustoha2020-04-301-4/+4
| | | | | | | | Adds initial support for the WebGL2 `TexStorage2D` call, adds support for the related texture enums and enables some of the texture tests. See: https://www.khronos.org/registry/webgl/specs/latest/2.0/#3.7.6
* webgl: Update IDL from upstream to avoid overloading issues.Josh Matthews2020-04-231-112/+150
|
* Automatically enable WebGL 2 for specific domains.Josh Matthews2020-04-151-1/+1
|
* Add initial support for VertexAttribI4*, VertexAttribIPointerIstvan2020-04-071-5/+5
| | | | Adds initial support for the WebGL2 `VertexAttribI4i`, `VertexAttribI4iv`, `VertexAttribI4ui`, `VertexAttribI4uiv` and `VertexAttribIPointer` calls.
* Add support for DrawRangeElements in WebGL2Istvan2020-03-301-1/+1
| | | | Adds initial support for the WebGL2 `DrawRangeElements` call.
* Add support for WebGL2 read and draw buffer settingsMátyás Mustoha2020-03-161-2/+2
| | | | | | | | | | | Adds support for the `ReadBuffer` and `DrawBuffers` WebGL2 calls and the related parameter getters. See: - https://www.khronos.org/registry/webgl/specs/latest/2.0/#3.7.2 - https://www.khronos.org/registry/webgl/specs/latest/2.0/#3.7.4 - https://www.khronos.org/registry/webgl/specs/latest/2.0/#3.7.11
* Add support for some more WebGL2 renderbuffer functionsMátyás Mustoha2020-03-131-3/+3
| | | | | | | | | Adds support for the following WebGL2 calls: - `RenderbufferStorageMultisample` - `GetInternalFormativ` See: https://www.khronos.org/registry/webgl/specs/latest/2.0/#3.7.5
* Add VertexArrayObject support for WebGL2Istvan Miklos2020-03-131-6/+2
| | | | | | The implementation was already in place for OpenGL ES. My approach with this patch is to add support for WebGL2 by sharing the implementation between the WebGL2 and GLES.
* Add support for WebGL2 GetIndexedParameterMátyás Mustoha2020-03-101-1/+1
| | | | | | Adds support for the `GetIndexedParameter` WebGL2 call. See: https://www.khronos.org/registry/webgl/specs/latest/2.0/#3.7.2
* Add support for WebGL2 GetFragDataLocationMátyás Mustoha2020-03-091-1/+1
| | | | | | Adds support for the `GetFragDataLocation` WebGL2 call. See: https://www.khronos.org/registry/webgl/specs/latest/2.0/#3.7.7
* Add support for WebGL2 FramebufferTextureLayerMátyás Mustoha2020-03-041-2/+2
| | | | | | Adds support for `FramebufferTextureLayer` WebGL2 call. See: https://www.khronos.org/registry/webgl/specs/latest/2.0/#3.7.4
* Add support for WebGL2 framebuffer invalidationMátyás Mustoha2020-03-031-3/+3
| | | | | | | Adds support for the `invalidateFramebuffer` and `invalideSubFramebuffer` WebGL2 calls. See: https://www.khronos.org/registry/webgl/specs/latest/2.0/#3.7.4
* Add support for WebGL2 clear buffer operationsMátyás Mustoha2020-02-241-8/+8
| | | | | | | | | | | Adds support for the following WebGL2 methods: - `clearBufferfv` - `clearBufferiv` - `clearBufferuiv` - `clearBufferfi` See: https://www.khronos.org/registry/webgl/specs/latest/2.0/#3.7.11
* Add support for WebGL2 uniform matrix operationsMátyás Mustoha2020-01-171-20/+14
| | | | | | Adds support for the `uniformMatrix[234]x[234]fv` WebGL2 functions. See: https://www.khronos.org/registry/webgl/specs/latest/2.0/#3.7.8
* Add support for WebGL2 uniform array operationsMátyás Mustoha2020-01-161-18/+0
| | | | Adds support for the WebGL2 overloads of `uniform[1234][if]v`.
* Add support for WebGL2 unsigned uniform operationsMátyás Mustoha2020-01-151-13/+13
| | | | | | | This adds support for the WebGL2 `uniform[1234]ui` and `uniform[1234]uiv` operations. See: https://www.khronos.org/registry/webgl/specs/latest/2.0/#3.7.8
* Add initial support for WebGL2 uniform buffer functionsMátyás Mustoha2020-01-091-8/+8
| | | | | | | | | | | | | | | Adds initial support for the following WebGL2 calls: - bindBufferBase - bindBufferRange - getUniformIndices - getUniformBlockIndex - getActiveUniforms - getActiveUniformBlockParameter - getActiveUniformBlockName - uniformBlockBinding See: https://www.khronos.org/registry/webgl/specs/latest/2.0/#3.7.16
* Add support for WebGL2 ReadPixels functionsMátyás Mustoha2019-11-261-4/+4
| | | | | | | Adds support for the new ReadPixels functions introduced with WebGL2 and the relevant PixelStorei parameters. Reference: https://www.khronos.org/registry/webgl/specs/latest/2.0/#3.7.10
* Add Support for WebGL TransormfeedbackIstvan Miklos2019-11-081-5/+2
| | | | 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/+8
| | | | | | | Adds support for `bufferData`, `bufferSubData`, `copyBufferSubData` and `getBufferSubData`. Reference: https://www.khronos.org/registry/webgl/specs/latest/2.0/#3.7.3
* Delete superfluous commentTamas Keri2019-10-281-3/+0
| | | | | Deleted unnecessary commit, because the 'WebGLSampler' was implemented.
* Auto merge of #24333 - mmatyas:webgl_fns_samplers, r=jdmbors-servo2019-10-081-2/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add WebGLSampler support Reference: https://www.khronos.org/registry/webgl/specs/latest/2.0/#3.7.13 <!-- Please describe your changes on the following line: --> cc @jdm @zakorgy --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [ ] These changes fix #___ (GitHub issue number if applicable) <!-- Either: --> - [x] There are tests for these changes OR - [ ] These changes do not require tests because ___ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/24333) <!-- Reviewable:end -->
| * Add WebGLSampler supportMátyás Mustoha2019-10-081-2/+2
| | | | | | | | Reference: https://www.khronos.org/registry/webgl/specs/latest/2.0/#3.7.13
* | Remove [PrimaryGlobal]Kagami Sascha Rosylight2019-10-031-1/+1
|/
* Initial implementation of WebGLSyncIstvan Miklos2019-10-021-5/+2
| | | | | | | 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`.
* Auto merge of #24332 - saschanaz:mixin, r=jdmbors-servo2019-10-011-4/+3
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Migrate to IDL mixin syntax <!-- Please describe your changes on the following line: --> --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [ ] `./mach build -d` does not report any errors - [ ] `./mach test-tidy` does not report any errors - [x] These changes fix #22539 <!-- Either: --> - [x] There are tests for these changes <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/24332) <!-- Reviewable:end -->
| * Migrate to IDL mixin syntaxKagami Sascha Rosylight2019-10-011-4/+3
| |
* | Initial implementation of WebGLQueriesMátyás Mustoha2019-10-011-6/+3
|/ | | | | | | | 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
* Update MPL license to https (part 2)Jan Andre Ikenmeyer2018-11-191-1/+1
|
* Support unions of objects in overloadsAnthony Ramine2018-08-301-4/+1
| | | | Part of #20513, implementing the parts useful for WebGL.
* Implement instanced WebGL drawing calls (part of #20791)Anthony Ramine2018-07-081-3/+3
|
* Move some methods out of the WebGLRenderingContextBase mixinAnthony Ramine2018-04-041-16/+28
| | | | | Those methods are to be overloaded in WebGL2, but this can't be done with their current definitions, thanks to https://github.com/KhronosGroup/WebGL/issues/2216.
* Properly implement the WebGL2 mixinAnthony Ramine2018-04-031-1/+1
| | | | It should not extend the WebGL1 mixin.
* Kick off WebGL 2.0 implementationImanol Fernandez2017-10-271-0/+582