Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Replaced failible boolean with an enum | Tobias Tschinkowitz | 2020-04-23 | 1 | -7/+6 |
| | |||||
* | webgl: Fix active uniform block length check. | Josh Matthews | 2020-04-07 | 1 | -1/+1 |
| | |||||
* | Add support for DrawRangeElements in WebGL2 | Istvan | 2020-03-30 | 1 | -0/+5 |
| | | | | Adds initial support for the WebGL2 `DrawRangeElements` call. | ||||
* | Add trait DomObjectWrap to provide WRAP function | YUAN LYU | 2020-03-20 | 1 | -2/+0 |
| | |||||
* | Add support for WebGL2 GetFragDataLocation | Mátyás Mustoha | 2020-03-09 | 1 | -0/+24 |
| | | | | | | Adds support for the `GetFragDataLocation` WebGL2 call. See: https://www.khronos.org/registry/webgl/specs/latest/2.0/#3.7.7 | ||||
* | Add initial support for WebGL2 uniform buffer functions | Mátyás Mustoha | 2020-01-09 | 1 | -1/+148 |
| | | | | | | | | | | | | | | | 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 accountable-refcell as optional build time feature | Kunal Mohan | 2020-01-08 | 1 | -2/+2 |
| | |||||
* | Add Support for WebGL Transormfeedback | Istvan Miklos | 2019-11-08 | 1 | -0/+16 |
| | | | | Reference: https://www.khronos.org/registry/webgl/specs/latest/2.0/#3.7.15 | ||||
* | Use surfman for managing GL surfaces | Patrick Walton | 2019-11-01 | 1 | -0/+2 |
| | | | | | | 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> | ||||
* | Don't panic if WebGL thread can't be reached during finalization. | Josh Matthews | 2019-07-29 | 1 | -5/+9 |
| | |||||
* | update link_called when link function called. | Christopher Burgos | 2019-07-23 | 1 | -0/+1 |
| | |||||
* | Rustfmt has changed its default style :/ | Simon Sapin | 2018-12-28 | 1 | -3/+3 |
| | |||||
* | Update MPL license to https (part 3) | Jan Andre Ikenmeyer | 2018-11-19 | 1 | -1/+1 |
| | |||||
* | Reorder imports | Pyfisch | 2018-11-06 | 1 | -2/+2 |
| | |||||
* | `cargo fix --edition` | Simon Sapin | 2018-11-06 | 1 | -12/+12 |
| | |||||
* | Validate GLSL names (fixes #21287) | Anthony Ramine | 2018-09-20 | 1 | -22/+67 |
| | |||||
* | Fix the error when calling getProgramInfoLog on a deleted program (#20561) | Anthony Ramine | 2018-09-20 | 1 | -1/+1 |
| | |||||
* | Format script component | chansuke | 2018-09-19 | 1 | -28/+53 |
| | |||||
* | Fix program and shader lifetime cycle | Anthony Ramine | 2018-07-31 | 1 | -28/+51 |
| | |||||
* | Remove an obsolete todo in gl.attachShader() | Anthony Ramine | 2018-07-31 | 1 | -2/+0 |
| | | | | Attaching the same shader twice should indeed emit an InvalidOperation error. | ||||
* | Store a reference to the WebGLRenderingContext in WebGLObject | Anthony Ramine | 2018-07-24 | 1 | -33/+38 |
| | |||||
* | Invalidate all WebGLUniformLocation values on program relink | Anthony Ramine | 2018-07-19 | 1 | -5/+17 |
| | |||||
* | Correctly reset active uniforms on link | Anthony Ramine | 2018-07-19 | 1 | -1/+2 |
| | |||||
* | Use active uniforms data to implement gl.uniform* checks | Anthony Ramine | 2018-07-17 | 1 | -6/+42 |
| | |||||
* | Move ANGLE name shenanigans to WebGL thread | Anthony Ramine | 2018-07-16 | 1 | -8/+4 |
| | |||||
* | Store active uniforms on the DOM side | Anthony Ramine | 2018-07-16 | 1 | -25/+40 |
| | |||||
* | Implement attribute aliasing check (fixes #21136) | Anthony Ramine | 2018-07-09 | 1 | -0/+21 |
| | |||||
* | Make gl.useProgram(null) do the right thing | Anthony Ramine | 2018-07-05 | 1 | -13/+0 |
| | |||||
* | Store active attribs in DOM and optimise active attributes APIs | Anthony Ramine | 2018-07-05 | 1 | -65/+34 |
| | |||||
* | Update to gleam 0.5 | Anthony Ramine | 2018-05-05 | 1 | -8/+1 |
| | |||||
* | Do not emit a WebGL error for "gl_" prefixed names in gl.getAttribLocation | Anthony Ramine | 2018-04-09 | 1 | -1/+1 |
| | |||||
* | Fix filtering of reserved WebGL names in gl.getAttribLocation | Anthony Ramine | 2018-04-09 | 1 | -1/+2 |
| | |||||
* | Implement WebGLRenderingContextBase.getAttachedShaders | Anthony Ramine | 2018-03-24 | 1 | -0/+13 |
| | |||||
* | Switch from servo/angle to the mozangle crate | Simon Sapin | 2018-03-12 | 1 | -7/+57 |
| | | | | https://github.com/servo/mozangle | ||||
* | Replace all uses of the `heapsize` crate with `malloc_size_of`. | Nicholas Nethercote | 2017-10-18 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Servo currently uses `heapsize`, but Stylo/Gecko use `malloc_size_of`. `malloc_size_of` is better -- it handles various cases that `heapsize` does not -- so this patch changes Servo to use `malloc_size_of`. This patch makes the following changes to the `malloc_size_of` crate. - Adds `MallocSizeOf` trait implementations for numerous types, some built-in (e.g. `VecDeque`), some external and Servo-only (e.g. `string_cache`). - Makes `enclosing_size_of_op` optional, because vanilla jemalloc doesn't support that operation. - For `HashSet`/`HashMap`, falls back to a computed estimate when `enclosing_size_of_op` isn't available. - Adds an extern "C" `malloc_size_of` function that does the actual heap measurement; this is based on the same functions from the `heapsize` crate. This patch makes the following changes elsewhere. - Converts all the uses of `heapsize` to instead use `malloc_size_of`. - Disables the "heapsize"/"heap_size" feature for the external crates that provide it. - Removes the `HeapSizeOf` implementation from `hashglobe`. - Adds `ignore` annotations to a few `Rc`/`Arc`, because `malloc_size_of` doesn't derive those types, unlike `heapsize`. | ||||
* | Remove use of unstable box syntax. | Simon Sapin | 2017-10-16 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | http://www.robohornet.org gives a score of 101.36 on master, and 102.68 with this PR. The latter is slightly better, but probably within noise level. So it looks like this PR does not affect DOM performance. This is expected since `Box::new` is defined as: ```rust impl<T> Box<T> { #[inline(always)] pub fn new(x: T) -> Box<T> { box x } } ``` With inlining, it should compile to the same as box syntax. | ||||
* | Rename Root<T> to DomRoot<T> | Anthony Ramine | 2017-09-26 | 1 | -5/+5 |
| | | | | | | | In a later PR, DomRoot<T> will become a type alias of Root<Dom<T>>, where Root<T> will be able to handle all the things that need to be rooted that have a stable traceable address that doesn't move for the whole lifetime of the root. Stay tuned. | ||||
* | Rename MutNullableJS<T> to MutNullableDom<T> | Anthony Ramine | 2017-09-26 | 1 | -3/+3 |
| | |||||
* | Rename dom::bindings::js to dom::bindings::root | Anthony Ramine | 2017-09-26 | 1 | -1/+1 |
| | |||||
* | Revert "Auto merge of #18114 - emilio:revert-webgl-refactor, r=nox" | Anthony Ramine | 2017-08-16 | 1 | -29/+27 |
| | | | | | This reverts commit 4d10d39e8fe841c5fe2ac58da2daaa13c10c140e, reversing changes made to ee94e2b7c0bd327abe8f9545b2a1f792f67a2bdd. | ||||
* | Revert "Auto merge of #17891 - MortimerGoro:webgl_move, r=glennw,emilio" | Emilio Cobos Álvarez | 2017-08-16 | 1 | -27/+29 |
| | | | | | This reverts commit 90f55ea4580e2a15f7d70d0491444f18b972d450, reversing changes made to 2e60b27a2186a8cba4b952960155dfcf3f47d7db. | ||||
* | Improve WebGL architecture. | Imanol Fernandez | 2017-08-15 | 1 | -29/+27 |
| | |||||
* | Upgrade to the latest version of WebRender | Martin Robinson | 2017-07-13 | 1 | -10/+9 |
| | |||||
* | Make #[dom_struct] a proc_macro attribute | Anthony Ramine | 2017-02-24 | 1 | -0/+1 |
| | |||||
* | Remove HeapGCValue | Anthony Ramine | 2016-12-12 | 1 | -3/+3 |
| | | | | | | It could be used to have mutable JSVal fields without GC barriers. With the removal of that trait, MutHeap and MutNullableHeap can respectively be replaced by MutJS and MutNullableJS. | ||||
* | Rename `Reflectable` to `DomObject`. | Corey Farwell | 2016-12-08 | 1 | -1/+1 |
| | | | | Fixes https://github.com/servo/servo/issues/8473. | ||||
* | Expose WebGL-related interfaces only in Window | Anthony Ramine | 2016-11-30 | 1 | -7/+7 |
| | |||||
* | update deps | Gregory | 2016-11-22 | 1 | -8/+9 |
| | | | | | | | | | | switch to using webrender_traits::ImageData update use of webrender_traits::StackingContext in layout use webrender_traits::channel::msg_channel in webgl ipc fix use of resource_override_path in components/servo/lib | ||||
* | Rename Reflectable::global_scope to global | Anthony Ramine | 2016-10-06 | 1 | -2/+2 |
| | |||||
* | Introduce Reflectable::global_scope | Anthony Ramine | 2016-10-06 | 1 | -2/+2 |
| |