{"id":18823593,"url":"https://github.com/yvt/swsurface-rs","last_synced_at":"2025-04-14T01:26:17.522Z","repository":{"id":57669079,"uuid":"201466992","full_name":"yvt/swsurface-rs","owner":"yvt","description":"Software-rendered surface for winit (WIP)","archived":false,"fork":false,"pushed_at":"2020-01-24T03:26:11.000Z","size":228,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-11T16:16:12.514Z","etag":null,"topics":["graphics","rust","winit"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yvt.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-08-09T12:52:49.000Z","updated_at":"2024-10-30T20:30:15.000Z","dependencies_parsed_at":"2022-08-27T03:51:37.620Z","dependency_job_id":null,"html_url":"https://github.com/yvt/swsurface-rs","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yvt%2Fswsurface-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yvt%2Fswsurface-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yvt%2Fswsurface-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yvt%2Fswsurface-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yvt","download_url":"https://codeload.github.com/yvt/swsurface-rs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248806101,"owners_count":21164451,"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":["graphics","rust","winit"],"created_at":"2024-11-08T00:54:06.972Z","updated_at":"2025-04-14T01:26:17.485Z","avatar_url":"https://github.com/yvt.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# swsurface\n\n[\u003cimg src=\"https://docs.rs/swsurface/badge.svg\" alt=\"docs.rs\"\u003e](https://docs.rs/swsurface/)\n\nThis crate provides a software-rendered surface for `winit`.\n\nThe goal of this crate is to provide a minimal drawing functionality\nfor every platform supported by `winit` even if the drawing APIs that we\nusually assume are available, such as OpenGL¹, aren't available in the\ntarget environment. This crate is also useful as a fallback when they are\navailable, but failed due to an unrecoverable error.\n\n¹ [“Servo on Windows in VirtualBox gets 'NoAvailablePixelFormat'” servo/servo #9468](https://github.com/servo/servo/issues/9468)\n\nTo this end, this crate is designed to panic only when preconditions are not\nmet or under very pathologic circumstances that would cause winit to panic.\n\n## Unimplemented features\n\n - Partial update - The application can redraw a portion, but `swsurface`\n   always sends entire the windowfor now\n - Support for platforms other than: macOS, Windows, X11, Wayland\n - X11: Support for color depths other than 24\n - X11: Transparency\n - Multi-threaded rendering (`Send`-able `Surface`)\n - Color management - we'll try to stick to sRGB for now\n\n\nLicense: MIT/Apache-2.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyvt%2Fswsurface-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyvt%2Fswsurface-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyvt%2Fswsurface-rs/lists"}