StripReplayProfile class
Cheap, geometry-free estimate of how a command transcript fragments when replayed through the sparse-strip device.
Every non-empty strip batch needs its own alpha-atlas upload. PDFs that wrap each tiny shape in a clip can therefore be much slower through strips than through the ordinary canvas even when their total command count is high. This profile follows the strip device's exact painter-order routing and flush state without flattening paths, generating coverage, or touching a platform image codec.
Constructors
- StripReplayProfile({required int estimatedBatchCount, required int flushPointCount, required int delegatedPaintCount, required int routedPaintCount})
-
const
-
StripReplayProfile.of(List<
PdfRenderCommand> commands) -
factory
Properties
- delegatedPaintCount → int
-
Paint commands that must use the ordinary device fallback.
final
- estimatedBatchCount → int
-
Flush intervals containing at least one strip-routed paint command.
final
- flushPointCount → int
-
Every painter-order flush point, including empty ones.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- routedPaintCount → int
-
Fill, stroke, and outline-text commands eligible for strip routing.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited