Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Pixel format API design

オープン
#98 コメント 33 件 リアクション 0 件 担当者 0 名 GitHub で見る

@madsmtm がすでに取り組んでいます。

2026年1月20日 から。

  • #317 @madsmtm による — オープン

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
rust

調査の方向性

まず、この issue のピクセル形式の要件を、issues 17 と 44、および pull request 95 と併せて確認します。Web バックエンドの BGRX-to-RGBA 変換と、Wayland の wl_shm における形式の制約を調査します。サポート対象および最適な形式、alpha の処理、汎用的な fallback の動作、ならびにそれらを一覧表示して選択するための API について合意できれば完了です。

索引モデルが issue の本文から書いたものです。

説明

We need an API to list available pixel formats, and select one. Some considerations:

So some questions here:

  • What formats should be supported?
    • We want to offer a format for each platform that can be used efficiently without conversion, at least, and there doesn't seem to be one that can be assumed everywhere, unfortunately.
    • There are many formats that could be supported on at least some platforms.
  • Do we want to support formats that are not 4 byte per pixel? This will impact the API, which currently uses u32 values for pixels.
  • How to we communicate what formats are supported, and what formats are optimal?
  • We still want at least one format to work on all platforms, even if it requires conversion on some, right? What formats should be universally supported, then?
主要言語
Rust
スター
507
フォーク
85
PR マージ指標
30日以内にマージされた PR はありません

環境構築

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

rust-windowing/softbuffer のほかの issue

rust-windowing/softbuffer の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。