{"id":28407754,"url":"https://github.com/servo/mozangle","last_synced_at":"2025-06-29T15:30:58.892Z","repository":{"id":53972392,"uuid":"123681945","full_name":"servo/mozangle","owner":"servo","description":"Mozilla’s fork of Google ANGLE, repackaged as a Rust crate","archived":false,"fork":false,"pushed_at":"2025-06-27T09:24:26.000Z","size":5301,"stargazers_count":48,"open_issues_count":14,"forks_count":26,"subscribers_count":17,"default_branch":"main","last_synced_at":"2025-06-27T09:25:19.644Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/servo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2018-03-03T10:29:09.000Z","updated_at":"2025-03-26T15:17:42.000Z","dependencies_parsed_at":"2022-08-13T05:21:05.994Z","dependency_job_id":"a5dd5835-b3c3-4d92-90ad-9dbbdbe6d0c4","html_url":"https://github.com/servo/mozangle","commit_stats":{"total_commits":65,"total_committers":11,"mean_commits":5.909090909090909,"dds":0.6923076923076923,"last_synced_commit":"b261771a0eb5cd298451597ee4faa5747ac9e511"},"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"purl":"pkg:github/servo/mozangle","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/servo%2Fmozangle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/servo%2Fmozangle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/servo%2Fmozangle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/servo%2Fmozangle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/servo","download_url":"https://codeload.github.com/servo/mozangle/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/servo%2Fmozangle/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262233018,"owners_count":23279273,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-06-02T01:36:52.683Z","updated_at":"2025-06-29T15:30:58.884Z","avatar_url":"https://github.com/servo.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"mozangle\n========\n\nMozilla's fork of Google ANGLE, repackaged as a Rust crate.\n\n* [ANGLE] is an implementation of OpenGL ES. Its official build system is `gn`, from Chromium's\n  [depot_tools].\n\n* [mozilla/angle] on GitHub is a fork with some Gecko-specific patches.\n\n* [`gfx/angle`] in mozilla-central is generated from that. [`update-angle.py`] runs `gn desc` to\n  extract information from the official build system, copies relevant source files, and creates\n  `moz.build` files for Gecko's build system.\n\n* This repository imports a copy of the `gfx/angle` directory. The `generate_build_data.py` script\n  turns data from `moz.build` files into a Rust source file. (This script supports just enough of\n  the `moz.build` format for this specific purpose.) Finally, a Cargo build script drives the C++\n  compilation with the [cc] crate based on that data.\n\n[ANGLE]: https://chromium.googlesource.com/angle/angle\n[depot_tools]: https://commondatastorage.googleapis.com/chrome-infra-docs/flat/depot_tools/docs/html/depot_tools_tutorial.html\n[mozilla/angle]: https://github.com/mozilla/angle\n[`gfx/angle`]: https://hg.mozilla.org/mozilla-central/file/tip/gfx/angle\n[`update-angle.py`]: https://hg.mozilla.org/mozilla-central/file/tip/gfx/angle/update-angle.py\n[cc]: https://crates.io/crates/cc\n\n\nFeature flags\n-------------\n\nBy default, this crate only compiles the shader translator.\n\nIn Windows, the `egl` Cargo feature enables the EGL and OpenGL ES implementations. Although upstream\nANGLE supports more platforms, this crate only configures the Direct3D 11 rendering backend.\n\n```toml\n[dependencies]\nmozangle = { version = \"0.5\", features = [\"egl\"] }\n```\n\n\nUpdating ANGLE\n--------------\n\nTo update:\n\n* Remove `gfx/angle` entirely\n* Copy a new version of it from mozilla-central\n* Apply any patches present in the `patches` directory\n* Run `python3 generate_build_data.py`\n* In the commit message, include the mozilla-central commit hash","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fservo%2Fmozangle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fservo%2Fmozangle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fservo%2Fmozangle/lists"}