2727namespace flutter {
2828
2929// ------------------------------------------------------------------------------
30- // / The rasterizer is a component owned by the shell that resides on the GPU
30+ // / The rasterizer is a component owned by the shell that resides on the raster
3131// / task runner. Each shell owns exactly one instance of a rasterizer. The
32- // / rasterizer may only be created, used and collected on the GPU task runner.
32+ // / rasterizer may only be created, used and collected on the raster task
33+ // / runner.
3334// /
3435// / The rasterizer owns the instance of the currently active on-screen render
3536// / surface. On this surface, it renders the contents of layer trees submitted
@@ -48,8 +49,8 @@ class Rasterizer final : public SnapshotDelegate {
4849 // / It can then forward these events to the engine.
4950 // /
5051 // / Like all rasterizer operation, the rasterizer delegate call
51- // / are made on the GPU task runner. Any delegate must ensure that
52- // / they can handle the threading implications.
52+ // / are made on the raster task runner. Any delegate must ensure
53+ // / that they can handle the threading implications.
5354 // /
5455 class Delegate {
5556 public:
@@ -92,9 +93,9 @@ class Rasterizer final : public SnapshotDelegate {
9293
9394 // ----------------------------------------------------------------------------
9495 // / @brief Creates a new instance of a rasterizer. Rasterizers may only
95- // / be created on the GPU task runner. Rasterizers are currently
96- // / only created by the shell (which also sets itself up as the
97- // / rasterizer delegate).
96+ // / be created on the raster task runner. Rasterizers are
97+ // / currently only created by the shell (which also sets itself up
98+ // / as the rasterizer delegate).
9899 // /
99100 // / @param[in] delegate The rasterizer delegate.
100101 // /
@@ -103,9 +104,9 @@ class Rasterizer final : public SnapshotDelegate {
103104#if defined(LEGACY_FUCHSIA_EMBEDDER)
104105 // ----------------------------------------------------------------------------
105106 // / @brief Creates a new instance of a rasterizer. Rasterizers may only
106- // / be created on the GPU task runner. Rasterizers are currently
107- // / only created by the shell (which also sets itself up as the
108- // / rasterizer delegate).
107+ // / be created on the raster task runner. Rasterizers are
108+ // / currently only created by the shell (which also sets itself up
109+ // / as the rasterizer delegate).
109110 // /
110111 // / @param[in] delegate The rasterizer delegate.
111112 // / @param[in] compositor_context The compositor context used to hold all
@@ -116,7 +117,7 @@ class Rasterizer final : public SnapshotDelegate {
116117#endif
117118
118119 // ----------------------------------------------------------------------------
119- // / @brief Destroys the rasterizer. This must happen on the GPU task
120+ // / @brief Destroys the rasterizer. This must happen on the raster task
120121 // / runner. All GPU resources are collected before this call
121122 // / returns. Any context setup by the embedder to hold these
122123 // / resources can be immediately collected as well.
@@ -158,7 +159,7 @@ class Rasterizer final : public SnapshotDelegate {
158159
159160 // ----------------------------------------------------------------------------
160161 // / @brief Gets a weak pointer to the rasterizer. The rasterizer may only
161- // / be accessed on the GPU task runner.
162+ // / be accessed on the raster task runner.
162163 // /
163164 // / @return The weak pointer to the rasterizer.
164165 // /
0 commit comments