Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit d631753

Browse files
authored
[Impeller] Add a note about Graphite to the FAQ. (#54623)
Action item from go/impeller-faq-followups.
1 parent 673b993 commit d631753

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

impeller/docs/faq.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,3 +275,21 @@ the name seemed apt. It's also an internal component and perhaps 30 seconds were
275275
spent thinking of a name.
276276

277277
Why Flutter's compositor is called "flow" is left as an exercise to the reader.
278+
279+
### How does Graphite (a new GPU backend for Skia) relate to Impeller?
280+
281+
Graphite is a new backend the Skia team is building to replace its legacy
282+
renderer (called Ganesh).
283+
284+
Similar to Impeller, Graphite is designed to be optimized for modern GPU APIs
285+
(e.g Metal, Vulkan, Dawn). It aims to reduce the CPU cost of recording commands
286+
while taking advantage of newer GPU features.
287+
288+
One of the goals of Graphite is to allow for easier pre-compilation of shaders
289+
at startup time. But it still aims to support Skia’s general 2D API and has the
290+
same spec. requirements. The design decisions made to support those requirements
291+
make offline shader compilation impossible.
292+
293+
As of August 2024, Flutter has no plans to use Graphite. However, we, the
294+
Flutter team, are in constant communication with the Skia team and freely share
295+
insights and ideas across Impeller and Graphite.

0 commit comments

Comments
 (0)