Graphics: ISurfaceHost abstraction with a GLFW implementation

クローズ
#245 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
38/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
csharp
領域
desktop

調査の方向性

Read Device.Creation.cs lines 60–75 and Device.cs lines 147–158 to trace surface creation and instance extensions, then inspect how VulkanPlayer uses window.Render. Find the WindowManager and Studio viewport entry points to map the GLFW dependencies. Done means the abstraction and GLFW implementation replace those dependencies while Linux player and Studio behavior remain unchanged and validation-clean.

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

説明

c:graphics p:high size:M t:refactor

Current State

The vulkan brick's WindowManager is Silk.NET.Windowing.Glfw only, and GLFW has no Android port. Device creates its surface once from window.VkSurface (Device.Creation.cs:60-75, Device.cs:147-158) and takes instance extensions from GLFW; VulkanPlayer drives frames through window.Render.

Tasks

  • Define ISurfaceHost in the vulkan brick: required instance extensions, create/destroy surface, framebuffer size, events (resized, surface lost, surface restored, closing), frame pump, input source factory
  • Implement GlfwSurfaceHost
  • Move Device, Renderer, VulkanPlayer and the Studio viewport onto it
  • No Android code in this issue

Acceptance Criteria

  • Player and Studio viewport unchanged on Linux; validation-clean

Related

  • Android plan task A9 · seniority Sr · mergeable now (.NET 10)
  • Platform roadmap: #100
主要言語
C#
スター
1
フォーク
1
平均マージ
2時間 10分
マージ済み PR(30日)
37

環境構築

はじめの一歩

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

MASS4ORG/Turian のほかの issue

MASS4ORG/Turian の issue をすべて見る

似ている issue

C# の issue をもっと見る

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

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