Crates.io | piet-hardware |
lib.rs | piet-hardware |
version | 0.5.1 |
source | src |
created_at | 2023-03-06 17:43:01.653726 |
updated_at | 2024-02-11 06:08:49.821655 |
description | Toolkit for creating GPU accelerated 2D graphics applications |
homepage | https://codeberg.org/notgull/piet-hardware |
repository | https://codeberg.org/notgull/piet-hardware |
max_upload_size | |
id | 802851 |
size | 266,491 |
piet-hardware
is a strategy for implementing the piet
drawing interface
using GPU primitives. The goal is to break down the drawing operations to
rendering textured triangles. The resulting buffers are than passed to the GPU
backend for rendering.
As piet-hardware
simply implements the high-level strategy, it has no unsafe
code. The actual GPU calls are forwarded to an object that implements
GpuContext
. This object is intended to be an interface to OpenGL, Vulkan,
Metal, or other GPU APIs.
The canonical code for this repository is kept on Codeberg. For convenience, a mirror is kept on GitHub.
piet-hardware
is free software: you can redistribute it and/or modify it under
the terms of either:
piet-hardware
is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License or the
Mozilla Public License for more details.
You should have received a copy of the GNU Lesser General Public License and the
Mozilla Public License along with piet-hardware
. If not, see
https://www.gnu.org/licenses/ or https://www.mozilla.org/en-US/MPL/2.0/.