-
-
Notifications
You must be signed in to change notification settings - Fork 22
Rendering System Design
Zou Wei edited this page Feb 11, 2018
·
3 revisions
Threre is four levels of rendering layers from top to base:
-
Layer 1: control
-
Layer 2: render tree Each control corresponds with a sub-tree in the render tree. Each node on the render tree corresponds to a primitive.
-
Layer 3: primitive The minimal abstract rendering unit: line-segments, rectangles, triangles, circles, polygon, ployline, arcs, bezier-curves, quadratic-curves and so on.
-
Layer 4: basic rendering API (interface) Possible implementations:
- [built-in] Path-based rendering API on top of OpenGL
- cairo
- other platform specific rendering API like Direct2D and Quartz