{"id":18787222,"url":"https://github.com/michaelforney/libblit","last_synced_at":"2025-04-13T13:12:22.216Z","repository":{"id":29851827,"uuid":"33396691","full_name":"michaelforney/libblit","owner":"michaelforney","description":null,"archived":false,"fork":false,"pushed_at":"2019-11-15T21:52:55.000Z","size":504,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-27T04:12:31.737Z","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":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/michaelforney.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}},"created_at":"2015-04-04T06:35:52.000Z","updated_at":"2024-04-14T13:40:18.000Z","dependencies_parsed_at":"2022-07-27T23:39:29.296Z","dependency_job_id":null,"html_url":"https://github.com/michaelforney/libblit","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaelforney%2Flibblit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaelforney%2Flibblit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaelforney%2Flibblit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaelforney%2Flibblit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/michaelforney","download_url":"https://codeload.github.com/michaelforney/libblit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248717236,"owners_count":21150389,"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-11-07T20:53:54.522Z","updated_at":"2025-04-13T13:12:22.194Z","avatar_url":"https://github.com/michaelforney.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# libblit\n\nlibblit is a small 2D graphics library. It aims to provide an API\nalong the lines of the [X11 render extension][x11-render], Plan\n9's [libdraw][plan9-libdraw], and Go's [image/draw][go-image/draw]\npackage. Another goal is to provide a common interface that can be used\nwith a variety of windowing systems and rendering systems.\n\nHere are some planned rendering and display mechanisms:\n\n- Rendering to X11 pixmap with X11 render extension, presented with X11\n  present extension.\n- Rendering and presenting with Vulkan to `VkSurfaceKHR` (X11 or Wayland).\n- Rendering to SHM buffer with pixman, exported to X11 pixmap with X11\n  SHM extension, presented with X11 present extension.\n- Rendering to SHM buffer with pixman, exported to `wl_buffer` with\n  `wl_shm`, attached to `wl_surface`.\n- Rendering to mmapped DRM dumb buffer with pixman, presented directly\n  to display with KMS.\n- Rendering to `VkImage` imported from `gbm_bo` created for scanout with\n  GBM, exported to DMA-BUF fd, presented directly to display with KMS.\n\n## Current status\n\nlibblit is currently in the design/experimentation phase, so none of\nthe API is final and may change dramatically without notice.\n\n### Things to figure out\n\n- Importing/exporting buffers (DMA-BUF, SHM).\n- Synchronization, both internally and DRM syncobj for imported/exported\n  buffers.\n- Format modifier for image creation.\n\n[x11-render]: https://gitlab.freedesktop.org/xorg/proto/xorgproto/raw/master/renderproto.txt\n[plan9-libdraw]: http://man.cat-v.org/plan_9/2/draw\n[go-image/draw]: https://golang.org/pkg/image/draw/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichaelforney%2Flibblit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmichaelforney%2Flibblit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichaelforney%2Flibblit/lists"}