Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | Make reflect_dom_object take a &GlobalScope | Anthony Ramine | 2016-10-06 | 1 | -5/+5 |
| | |||||
* | Fix WebGL tests & Implement WebGLRenderingContext::{validateProgram, ↵ | Imanol Fernandez | 2016-10-03 | 1 | -4/+66 |
| | | | | getProgramInfoLog, disableVertexAttribArray}, r=emilio | ||||
* | webgl: Add isProgram() support. | Eric Anholt | 2016-08-28 | 1 | -0/+4 |
| | | | | | | | There's one failure still, where a deleted program should still be considered to be a program until it's unbound. However, I recently made it so that we unbind at delete time, and we may need to partially back that change out. | ||||
* | Use wrappers for GL IDs | Anthony Ramine | 2016-06-28 | 1 | -7/+15 |
| | | | | See https://github.com/servo/webrender_traits/pull/62. | ||||
* | Move DOMString back to script | Anthony Ramine | 2016-05-24 | 1 | -1/+1 |
| | | | | This entirely removes the 'non-geckolib' feature of the util crate. | ||||
* | Implement IsShader fn and IsTexture fn for WebGLRenderingContext | Daniel | 2016-05-09 | 1 | -0/+10 |
| | |||||
* | Auto merge of #10443 - emilio:webgl-teximage2d-overload, r=jdm | bors-servo | 2016-04-22 | 1 | -6/+16 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | webgl: Implement the pending texImage2D overload, and add more validation This is a large-ish refactor of the Texture2D code, but it should be easier to read and of course more correct. I tried to annotate every error condition with a spec paragraph. I made just a reftest to ensure this works as intended, since I expect #10373 to land pretty soon. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10443) <!-- Reviewable:end --> | ||||
| * | webgl: Refactor WebGLProgram::link | Emilio Cobos Álvarez | 2016-04-19 | 1 | -6/+16 |
| | | | | | | | | | | This makes it more correct, since we don't blindly send the Link command. It's not observable though. | ||||
* | | Prevent use of reserved names in BindAttribLocation | David Zbarsky | 2016-04-17 | 1 | -1/+5 |
|/ | |||||
* | Implement GetActiveAttrib | David Zbarsky | 2016-04-11 | 1 | -0/+11 |
| | |||||
* | Implement WebGLRenderingContext.getActiveUniform() | Saurav Sachidanand | 2016-04-06 | 1 | -1/+12 |
| | |||||
* | webgl: finish, flush, detachShader, generateMipmap, Uniform1i | Connor Brewster | 2016-04-02 | 1 | -1/+30 |
| | |||||
* | #10211: Stop re-exporting webrender_traits WebGL types from canvas_traits | Jan-Fabian Humann | 2016-03-30 | 1 | -10/+11 |
| |