Skip to content
Member Filters
Show Inherited
Show Protected
Show abstract
GR32_Rasterizers🞂TParallelRegularRasterizerClass

TParallelRegularRasterizer

Multi-threaded regular scanline rasterizer leveraging Delphi's Parallel Programming Library (TParallel.For).

Inheritance:TObject 🞂 TPersistent 🞂 TPlainInterfacedPersistent 🞂 TNotifiablePersistent 🞂 TThreadPersistent 🞂 TRasterizer 🞂 TParallelRegularRasterizer

Declaration ​

pascal
TParallelRegularRasterizer = class(TRasterizer)

Description ​

TParallelRegularRasterizer utilizes Delphi's Parallel Programming Library (PPL) TParallel.For loop to distribute scanlines evenly across the system thread pool.

By utilizing a persistent system thread pool, TParallelRegularRasterizer avoids thread creation overhead on repeated rendering calls.

Note

First invocation may incur a minor performance penalty as the runtime thread pool warms up.