Skip to content
/ rfcs Public

Somewhere to start to discuss how a 2d drawing library would work in rust, whether it is necessary, and what it should look like.

License

Notifications You must be signed in to change notification settings

draw2d/rfcs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

rfcs

Somewhere to start to discuss how a 2d drawing library would work in rust, whether it is necessary, and what it should look like.

The idea is that we replace these questions with statements over time (& expand on them) until we have a plan.

Requirements

What problem is this library trying to solve? Who would benefit from it?

  • 2d games?
  • desktop UI?
  • webrender?
  • ...?

What exactly is the problem in each of these area that needs solving?

Prior art

Do any of these solve the above problems today? Could they solve them after improvement? If not, can we learn from them?

Rust

Non-rust with wrapper

  • gtk
  • qt
  • cairo
  • pango
  • what does webrender do?
  • ...?

Interaction with other functionality

Unix philosophy - solve one problem well and be composable.

  • Windowing
  • Surface creation
    • We probably have to wrap this functionality rather than be composable?
  • Event processing
  • scene graphs
  • fonts
  • what other functionality do we interact/overlap?

Dependencies

I would think we could write something on top of gfx-ll and then be able to run on all the backends it supports. Do we need anything else? How can we be as fast (& low power) as possible?

About

Somewhere to start to discuss how a 2d drawing library would work in rust, whether it is necessary, and what it should look like.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published