Skip to content

Conversation

@hecrj
Copy link
Member

@hecrj hecrj commented Jun 26, 2023

This PR introduces a new Custom generic type and variant to Primitive in iced_graphics.

Graphical backends can now define their custom primitive type. As a result, we can properly decouple the tiny-skia dependency from iced_graphics.

This should also lay the foundations for choosing a completely custom, unofficial renderer at runtime.

@hecrj hecrj added feature New feature or request rendering labels Jun 26, 2023
@hecrj hecrj added this to the 0.10.0 milestone Jun 26, 2023
@hecrj hecrj force-pushed the generic-graphics-primitive branch from c415a46 to 2128472 Compare June 29, 2023 05:18
@hecrj
Copy link
Member Author

hecrj commented Jun 29, 2023

Alright! I have decoupled the Mesh primitives in fa5650c and wrote the missing docs in 6921564.

I think this is ready to sail! 🚢

@hecrj hecrj enabled auto-merge June 29, 2023 06:00
@hecrj hecrj merged commit c6b5831 into master Jun 29, 2023
@hecrj hecrj deleted the generic-graphics-primitive branch June 29, 2023 06:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature or request rendering

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants