aboutsummaryrefslogtreecommitdiffstats
path: root/components/gfx
Commit message (Collapse)AuthorAgeFilesLines
* Further changes required by ServoOriol Brufau2023-10-026-81/+62
|
* Strict import formatting (grouping and granularity) (#30325)Samson2023-09-1123-199/+206
| | | | | * strict imports formatting * Reformat all imports
* remove `extern crate` (#30311)Samson2023-09-0816-13/+24
| | | | | | | | | | | * remove extern crate * Update components/script_plugins/lib.rs Co-authored-by: Martin Robinson <mrobinson@igalia.com> --------- Co-authored-by: Martin Robinson <mrobinson@igalia.com>
* build(deps): bump bitflags from 1.3.2 to 2.3.1 (#30273)Martin Robinson2023-09-011-5/+6
| | | | | | Bumps [bitflags](https://github.com/bitflags/bitflags) from 1.3.2 to 2.3.1. - [Release notes](https://github.com/bitflags/bitflags/releases) - [Changelog](https://github.com/bitflags/bitflags/blob/main/CHANGELOG.md) - [Commits](https://github.com/bitflags/bitflags/compare/1.3.2...2.3.1)
* Try to `use` WebRender types moreMartin Robinson2023-07-105-29/+18
| | | | | The newer versions of WebRender move types around between `webrender` and `webrender_api` and this will reduce the churn during the upgrade.
* Vendor the current version of WebRenderMartin Robinson2023-07-031-1/+1
| | | | | | | | This is a step toward upgrading WebRender, which will be upgraded and patched in the `third_party` directory. This change vendors the current private branch of WebRender that we use and adds a `patches` directory which tracks the changes on top of the upstream WebRender commit described by third_party/webrender/patches/head.
* Further changes required by ServoOriol Brufau2023-06-091-0/+1
|
* Further changes required by ServoOriol Brufau2023-05-241-0/+1
|
* Further changes required by ServoOriol Brufau2023-05-241-1/+3
|
* Start the transition to workspace dependenciesMartin Robinson2023-05-171-15/+15
| | | | | | | This will ultimately make it simpler to update crate dependencies and reduce duplicate when specifying requirements. Generally, this change does not touch dependencies that are only used by a single crate. We could consider moving them to workspace dependencies in the future.
* Bump euclid to 0.22Martin Robinson2023-01-261-1/+1
| | | | | | | | | | | | | - Also updates raqote to latest with an upgrade of font-kit to 0.11 applied on as a patch - Update lyon_geom to the latest version Major change: - All matrices are now stored in row major order. This means that parameters to rotation functions no longer should be negated. - `post_...()` functions are now named `then()`. `pre_transform()` is removed, so `then()` is used and the order of operations changed.
* Fix some build warningsMartin Robinson2023-01-112-7/+7
| | | | | | | | - Mark some instances of unused fields and variables as as allowed, when they are used for memory management. - Remove the use of some deprecated function.s Signed-off-by: Martin Robinson <mrobinson@igalia.com>
* Update truetypeIvan Ukhov2023-01-022-56/+21
|
* chore(deps): bump `smallvec` from 0.6 to 1.9 in all local packagesyvt2022-10-101-1/+1
| | | | | `smallvec ^0.6` no longer compiles after `nightly-2022-07-15` if the `union` feature is enabled.
* Format.Josh Matthews2022-04-021-3/+1
|
* Migrate to yeslogic's fontconfig bindings.Josh Matthews2022-04-012-7/+7
|
* Update font-kit.Josh Matthews2022-04-011-1/+1
|
* use SerializedFontTemplate and IpcBytesReceiver to send font template when ↵s-maurice2022-03-081-3/+54
| | | | | | responding to GetFontTemplate Signed-off-by: s-maurice <51819025+s-maurice@users.noreply.github.com>
* Fix warnings.Josh Matthews2022-01-031-2/+2
|
* feat: shorten thread namesyvt2021-07-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Linux kernel imposes a 15-byte limit on thread names[1]. This means information that does not fit in this limit, e.g., the pipeline ID of layout and script threads, is lost in a debugger and profiler (see the first column of the table below). This commit shortens the thread names used in Servo to maximize the amount of information conveyed. It also rectifies some inconsistencies in the names. | Before | After | |-------------------|-------------------| | `BluetoothThread` | `Bluetooth` | | `CanvasThread` | `Canvas` | | `display alert d` | `AlertDialog` | | `FontCacheThread` | `FontCache` | | `GLPlayerThread` | `GLPlayer` | | `HTML Parser` | `Parse:www.examp` | | `LayoutThread Pi` | `Layout(1,1)` | | `Memory profiler` | `MemoryProfiler` | | `Memory profiler` | `MemoryProfTimer` | | `OfflineAudioCon` | `OfflineACResolv` | | `PullTimelineMar` | `PullTimelineDat` | | `ScriptThread Pi` | `Script(1,1)` | | `WebWorker for h` | `WW:www.example.` | | `ServiceWorker f` | `SW:www.example.` | | `ServiceWorkerMa` | `SvcWorkerManage` | | `Time profiler t` | `TimeProfTimer` | | `Time profiler` | `TimeProfiler` | | `WebGL thread` | `WebGL` | | `Choose a device` | `DevicePicker` | | `Pick a file` | `FilePicker` | | `Pick files` | `FilePicker` | [1]: https://stackoverflow.com/questions/5026531/thread-name-longer-than-15-chars
* Bump `time` to latest `v0.1.x` version.teymour-aldridge2021-06-251-1/+1
|
* Add space between parametersdelosrogers2021-03-071-1/+1
| | | | Signed-off-by: Mattias de los Rios Rogers <delosrogers@gmail.com>
* Use swap() instead of load()/store() in ↵delosrogers2021-03-071-2/+1
| | | | | | get_and_reset_text_shaping_performance_counter() Signed-off-by: Mattias de los Rios Rogers <delosrogers@gmail.com>
* Update truetype dependency.Josh Matthews2021-02-251-1/+1
|
* Auto merge of #27558 - jdm:revert-revert-wrup, r=Manishearthbors-servo2020-08-102-8/+173
|\ | | | | | | | | | | | | | | | | | | | | | | Fix missing canvas text on UWP This addresses the missing fonts under UWP by updating font-kit and assorted dependencies that all depend on older incompatible versions of freetype. This also works around #27492 by using a fork of webrender that cherry-picks required dependency updates without bringing in the commit that exposes an ANGLE crash. --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #27515 - [x] These changes do not require tests because no UWP tests.
| * Update webrender.Josh Matthews2020-08-101-3/+3
| |
| * Revert "Revert "Update font-kit and freetype and unicode-script.""Josh Matthews2020-08-102-3/+168
| | | | | | | | This reverts commit 10ae3bfbbb2383d349de6150434cc47c6ad1c8e9.
| * Revert "Revert "Update harfbuzz, freetype, unicode-script.""Josh Matthews2020-08-101-3/+3
| | | | | | | | This reverts commit 6b520850f34d55e88678999ff85aa70ba949d10c.
| * Revert "Revert "Update raqote, font-kit, fontconfig.""Josh Matthews2020-08-101-1/+1
| | | | | | | | This reverts commit ecfaba930494ced9eb5a299e42ebcb794d7210ac.
* | When instantiating a CTFont, store the bytes that were used to create it.Josh Matthews2020-08-071-8/+25
|/
* Revert "Update raqote, font-kit, fontconfig."Josh Matthews2020-08-041-1/+1
| | | | This reverts commit a6ca582a556d19a82b1e9f71015b7e62277d32fa.
* Revert "Update harfbuzz, freetype, unicode-script."Josh Matthews2020-08-041-3/+3
| | | | This reverts commit 327fed6084a99cfeede4752dc7b71416b5d83032.
* Revert "Update font-kit and freetype and unicode-script."Josh Matthews2020-08-042-168/+3
| | | | This reverts commit 5c0d7998bd28ceb383f553cd7af5a60f472a47ba.
* Revert "Update webrender."Josh Matthews2020-08-041-3/+3
| | | | This reverts commit 2ca1b06e77f28cebeb886f50a6c21c438d4b2f46.
* Update webrender.Josh Matthews2020-07-311-3/+3
|
* Update font-kit and freetype and unicode-script.Josh Matthews2020-07-312-3/+168
|
* Update harfbuzz, freetype, unicode-script.Josh Matthews2020-07-311-3/+3
|
* Update raqote, font-kit, fontconfig.Josh Matthews2020-07-311-1/+1
|
* Make url for "client" referrer mandatoryMatthias Deiml2020-06-171-2/+5
|
* Update webrender.Josh Matthews2020-06-111-4/+7
|
* Proxy all WR interactions for layout/font/script/canvas threads to the ↵Josh Matthews2020-06-091-28/+14
| | | | | | | compositor thread. There is now a single RenderApi that is used, and all transactions are serialized through the compositor.
* More Cargo.toml cleanupsAlex Touchet2020-05-141-13/+13
|
* Convert all uses of UpdateResources api to use webrender transactions.Josh Matthews2020-05-111-2/+7
|
* Update webrender.Josh Matthews2020-05-111-3/+3
|
* Update dwrote to 0.11.Josh Matthews2020-03-262-3/+3
|
* Remove azure canvas backendDaniel Alley2020-02-251-1/+1
| | | | closes #25833
* Update ipc-channel and crossbeam-channel.Josh Matthews2020-02-201-1/+1
|
* Upgrade to rustc 1.43.0-nightly (5d04ce67f 2020-02-13)Simon Sapin2020-02-141-2/+2
|
* layout: Resolve word_spacing ahead of time.Emilio Cobos Álvarez2020-02-123-11/+7
| | | | | | | It's not possible anymore, in the presence of min() / max(), to split a <length-percentage> value into a <length> and a <percentage> component. Tweak word_spacing to do what Gecko does (resolving it in advance).
* Servo build fixes.Emilio Cobos Álvarez2019-12-162-2/+2
|