{"id":13648699,"url":"https://github.com/servo/webrender","last_synced_at":"2025-05-14T21:02:23.770Z","repository":{"id":37677635,"uuid":"42894575","full_name":"servo/webrender","owner":"servo","description":"A GPU-based renderer for the web","archived":false,"fork":false,"pushed_at":"2025-05-01T10:23:16.000Z","size":83838,"stargazers_count":3210,"open_issues_count":197,"forks_count":288,"subscribers_count":75,"default_branch":"main","last_synced_at":"2025-05-01T10:37:22.002Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://doc.servo.org/webrender/","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","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":"2015-09-21T21:27:30.000Z","updated_at":"2025-04-30T14:10:17.000Z","dependencies_parsed_at":"2024-03-15T10:38:32.345Z","dependency_job_id":"b561b807-cd5b-4e92-9012-9e8786475831","html_url":"https://github.com/servo/webrender","commit_stats":{"total_commits":7524,"total_committers":233,"mean_commits":"32.291845493562235","dds":0.8688197767145136,"last_synced_commit":"bd7704a7091c51593cef9a3fe2ba86eb7e26359e"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/servo%2Fwebrender","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/servo%2Fwebrender/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/servo%2Fwebrender/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/servo%2Fwebrender/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/servo","download_url":"https://codeload.github.com/servo/webrender/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251864036,"owners_count":21656288,"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":"2024-08-02T01:04:27.947Z","updated_at":"2025-05-07T07:41:25.031Z","avatar_url":"https://github.com/servo.png","language":"Rust","readme":"# WebRender\n\n[![Version](https://img.shields.io/crates/v/webrender.svg)](https://crates.io/crates/webrender)\n\nWebRender is a GPU-based 2D rendering engine written in\n[Rust](https://www.rust-lang.org/). [Firefox](https://www.mozilla.org/firefox),\nthe research web browser [Servo](https://github.com/servo/servo), and other GUI\nframeworks draw with it. It currently uses the OpenGL API internally.\n\n**Note that the upstream home for this code is in gfx/wr folder of the\nmozilla-central repository at https://hg.mozilla.org/mozilla-central.** The\nGitHub repository at https://github.com/servo/webrender should be considered\na downstream mirror, although it contains additional metadata (such as Github\nwiki pages) that do not exist in mozilla-central.\n\nGenerally speaking, improvements to WebRender should be submitted upstream\nin Gecko, but those relevant to the Servo project or those unsuitable for\nupstream may be accepted here.\n\nIf you are familiar with the mozilla-central contribution workflow, filing bugs\nin [Bugzilla](https://bugzilla.mozilla.org/enter_bug.cgi?product=Core\u0026component=Graphics%3A%20WebRender)\nand submitting patches there would be preferred.\n\n## Update as a Dependency\nAfter updating shaders in WebRender, go to servo and:\n\n  * Go to the servo directory and do ./mach update-cargo -p webrender\n  * Create a pull request to servo\n\n\n## Use WebRender with Servo\nTo use a local copy of WebRender with servo, go to your servo build directory and:\n\n  * Edit Cargo.toml\n  * Add at the end of the file:\n\n```\n[patch.\"https://github.com/servo/webrender\"]\n\"webrender\" = { path = \"\u003cpath\u003e/webrender\" }\n\"webrender_api\" = { path = \"\u003cpath\u003e/webrender_api\" }\n```\n\nwhere `\u003cpath\u003e` is the path to your local copy of WebRender.\n\n  * Build as normal\n\n## Documentation\n\nThe Wiki has a [few pages](https://github.com/servo/webrender/wiki/) describing the internals and conventions of WebRender.\n\n## Testing\n\nTests run using OSMesa to get consistent rendering across platforms.\n\nStill there may be differences depending on font libraries on your system, for\nexample.\n\nSee [this gist](https://gist.github.com/finalfantasia/129cae811e02bf4551ac) for\nhow to make the text tests useful in Fedora, for example.\n","funding_links":[],"categories":["Rust"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fservo%2Fwebrender","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fservo%2Fwebrender","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fservo%2Fwebrender/lists"}