Skip to content

perf(esp8266): fl::scratch arena headroom after drawPolygon 32/64 (follow-up #5306) #5325

Closed

Description

@zackees

Follow-up of #5306 / PR #5312. On ESP8266 the default FL_SCRATCH_STACK_BYTES=4608 side stack is almost entirely taken by drawPolygon's 32/64 scratch (4215 B including padding), leaving about 393 B. If other fl::scratch users hold more than that while drawPolygon runs, the draw is skipped, with a single warning.

To do: either raise the ESP8266 default (measure the RAM headroom on typical sketches) or document a budget for future fl::scratch users on ESP8266.

Metadata

Metadata

Assignees

No one assigned

    Labels

    sanitized

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions