aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webgl_extensions
Commit message (Collapse)AuthorAgeFilesLines
...
* Implement EXT_blend_minmaxAnthony Ramine2018-06-223-1/+66
|
* Properly enable EXT_shader_texture_lodAnthony Ramine2018-06-222-1/+6
|
* Implement checks for vertex attribs enabled as arrays without a bound bufferAnthony Ramine2018-06-201-12/+12
|
* Don't check for GL_OES_element_index_unit with desktop GL (fixes #20921)Anthony Ramine2018-06-121-1/+5
|
* Implement EXT_texture_filter_anisotropicAnthony Ramine2018-06-063-7/+91
|
* Implement EXT_shader_texture_lodAnthony Ramine2018-06-042-0/+49
|
* Move WebGLVertexArrayObjectOES to script::domAnthony Ramine2018-05-242-86/+0
| | | | It's not a WebGL extension itself, it's just used by one.
* Add OESElementIndexUint to WebGLExtensions::register_all_extensionsAnthony Ramine2018-05-241-0/+1
|
* Implement OES_element_index_uint (fixes #20384)Anthony Ramine2018-03-233-4/+67
|
* Replace NonNullJSObjectPtr with std::ptr::NonNull<JSObject>Simon Sapin2018-01-222-6/+8
|
* Add support for filtering WebGL extensions based on WebGL versionImanol Fernandez2017-10-3111-23/+85
|
* Replace all uses of the `heapsize` crate with `malloc_size_of`.Nicholas Nethercote2017-10-182-14/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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`.
* Replace uses of libcore with libstd in components/scriptSimon Sapin2017-10-162-4/+3
|
* Replace NonZero<*mut JSObject> with a wrapper to enable local trait impls.Simon Sapin2017-10-162-8/+7
|
* Remove use of unstable box syntax.Simon Sapin2017-10-168-8/+8
| | | | | | | | | | | | | | | | | | | | 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 Ramine2017-09-2610-24/+24
| | | | | | | 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 DOMRefCell<T> to DomRefCell<T>Anthony Ramine2017-09-262-8/+8
| | | | | | | | I don't want to do such a gratuitous rename, but with all the other types now having "Dom" as part of their name, and especially with "DomOnceCell", I feel like the other cell type that we already have should also follow the convention. That argument loses weight though when we realise there is still DOMString and other things.
* Rename MutNullableJS<T> to MutNullableDom<T>Anthony Ramine2017-09-263-10/+10
|
* Rename JS<T> to Dom<T>Anthony Ramine2017-09-262-7/+7
|
* Rename dom::bindings::js to dom::bindings::rootAnthony Ramine2017-09-2610-11/+10
|
* Fix texture_float and texture_half_float detection on some GPUsImanol Fernandez2017-09-052-2/+4
|
* Use FnvHashMap in WebGL implementation.Imanol Fernandez2017-08-241-14/+15
|
* order derivable traits listsClément DAVID2017-08-232-4/+4
| | | | | | Ignoring : - **generated**.rs - python/tidy/servo_tidy_tests/rust_tidy.rs
* Implement WebGL OES_standard_derivatives extension.Imanol Fernandez2017-08-224-4/+101
|
* Revert "Auto merge of #18114 - emilio:revert-webgl-refactor, r=nox"Anthony Ramine2017-08-163-10/+9
| | | | | This reverts commit 4d10d39e8fe841c5fe2ac58da2daaa13c10c140e, reversing changes made to ee94e2b7c0bd327abe8f9545b2a1f792f67a2bdd.
* Revert "Auto merge of #17891 - MortimerGoro:webgl_move, r=glennw,emilio"Emilio Cobos Álvarez2017-08-163-9/+10
| | | | | This reverts commit 90f55ea4580e2a15f7d70d0491444f18b972d450, reversing changes made to 2e60b27a2186a8cba4b952960155dfcf3f47d7db.
* Improve WebGL architecture.Imanol Fernandez2017-08-153-10/+9
|
* Upgrade to rustc 1.21.0-nightly (599be0d18 2017-07-26)Simon Sapin2017-07-271-1/+1
|
* Upgrade to the latest version of WebRenderMartin Robinson2017-07-133-4/+4
|
* Implement WebGL extensions.Imanol Fernandez2017-05-1811-0/+804