-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
87 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: Docs | ||
|
||
on: [push] | ||
|
||
jobs: | ||
docs: | ||
runs-on: ubuntu-latest | ||
if: github.ref == 'refs/heads/main' | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Install x11 dependencies for Kludgine | ||
run: | | ||
sudo apt-get update -y -qq | ||
sudo add-apt-repository ppa:oibaf/graphics-drivers -y | ||
sudo apt-get update | ||
sudo apt-get install -y \ | ||
libegl1-mesa libgl1-mesa-dri libxcb-xfixes0-dev mesa-vulkan-drivers | ||
- uses: dtolnay/rust-toolchain@stable | ||
|
||
- name: Generate Docs | ||
run: | | ||
cargo doc --no-deps --all-features | ||
- name: Deploy Docs | ||
uses: JamesIves/github-pages-deploy-action@releases/v4 | ||
with: | ||
branch: gh-pages | ||
folder: target/doc/ | ||
git-config-name: kl-botsu | ||
git-config-email: [email protected] | ||
target-folder: /main/ | ||
clean: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Tests | ||
|
||
on: [push] | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Install x11 dependencies for Kludgine | ||
run: | | ||
sudo apt-get update -y -qq | ||
sudo add-apt-repository ppa:oibaf/graphics-drivers -y | ||
sudo apt-get update | ||
sudo apt-get install -y \ | ||
libegl1-mesa libgl1-mesa-dri libxcb-xfixes0-dev mesa-vulkan-drivers | ||
- uses: dtolnay/rust-toolchain@stable | ||
|
||
- name: Run clippy | ||
run: | | ||
cargo clippy | ||
- name: Run default features unit tests | ||
run: | | ||
cargo test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,26 @@ | ||
# Kludgine (Redux) | ||
|
||
This branch is a rewrite of Kludgine, aiming to be a lightweight, efficient 2d | ||
rendering option for `wgpu`-based applications. | ||
This branch is a rewrite of Kludgine. See the [v0.5.0 tag][v0.5] for the | ||
currently released source. | ||
|
||
Kludgine aims to be a lightweight, efficient 2d rendering framework powered by | ||
[wgpu][wgpu]. Its name Kludgine is named in a way to hopefully be ironic in | ||
nature, but it's being designed and written by a developer that is fairly new to | ||
modern graphics programming and rust. Thus, it is probably a [kludge][kludge]. | ||
|
||
Without the `app` feature enabled, Kludgine provides an API inspired by wgpu's | ||
[Encapsulating Graphics Work][encapsulating] article. | ||
|
||
TODO create an embedded wgpu example | ||
|
||
With the `app` feature enabled, Kludgine provides an easy-to-use API for running | ||
multi-window applications. | ||
|
||
The API is still a work in progress. The [`examples`][examples] folder contains many | ||
examples that highlight a specific feature. | ||
|
||
[v0.5]: https://github.com/khonsulabs/kludgine/tree/v0.5.0 | ||
[wgpu]: https://github.com/gfx-rs/wgpu | ||
[kludge]: https://en.wikipedia.org/wiki/Kludge | ||
[encapsulating]: https://github.com/gfx-rs/wgpu/wiki/Encapsulating-Graphics-Work | ||
[examples]: https://github.com/khonsulabs/kludgine/tree/main/examples |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters