Platform/GFX/Moz2D: Difference between revisions
Jump to navigation
Jump to search
m (→Current status) |
(Initial skeleton of combined Moz2D page) |
||
| Line 8: | Line 8: | ||
== Current status == | == Current status == | ||
Further resources: | |||
* [http://www.basschouten.com/blog1.php/progress-on-moz2d Progress on Moz2D] - July 2013 update | * [http://www.basschouten.com/blog1.php/progress-on-moz2d Progress on Moz2D] - July 2013 update | ||
== Stateless vs stateful == | |||
== | |||
== Learning Moz2D: Introducing the API == | == Learning Moz2D: Introducing the API == | ||
=== Source surfaces === | === Source surfaces === | ||
=== Draw targets === | === Draw targets === | ||
== Developing Moz2D == | == Developing Moz2D == | ||
| Line 142: | Line 23: | ||
=== Building Moz2D === | === Building Moz2D === | ||
=== Testing Moz2D: Player2D === | |||
=== | |||
=== Implementing a new backend === | === Implementing a new backend === | ||
== Further reading == | == Further reading == | ||
Revision as of 01:55, 14 August 2013
The Moz2D graphics API, part of the Azure project, is a cross-platform interface onto the various graphics backends that Gecko uses for rendering such as Direct2D (1.0 and 1.1), Skia, Quartz, and NV Path. Adding a new graphics platform to Gecko is accomplished by adding a backend to Moz2D (see #Implementing a new backend).
Some of the notable features of the API are:
- Mostly stateless—better suited to CSS rendering and eliminates overhead
- Floating-point—better suits platform APIs
- API methods line up with HTML canvas
Current status
Further resources:
- Progress on Moz2D - July 2013 update
Stateless vs stateful
Learning Moz2D: Introducing the API
Source surfaces
Draw targets
Developing Moz2D
Building Moz2D
Testing Moz2D: Player2D
Implementing a new backend
Further reading
The following resources describe the motivation for and goals of this API: