cginternals / cginternals/gloperate
Refactor checkRedraw in Canvas
- Dominant language
- C++
- Stars
- 43
- Forks
- 24
- PR merge metrics
- No merged PRs in 30d
Description
Currently, checkRedraw iterates over *all* (actually, only some) outputs of the render stage and triggers a redraw upon first invalid output.
Instead of reiteration, the output invalid state can be set upon the firing of an invalidation signal of either render stage output.
However, when registering to output invalidation signals, adding and removing outputs over the lifetime of a render stage has to be handled, too.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating Canvas::checkRedraw and the render-stage output invalidation signal handling. Trace how render-stage outputs are added and removed, then ensure invalidation state is updated through those signals for the full output lifetime; done means redraw decisions no longer reiterate outputs and dynamic output changes remain handled.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- computer-graphics
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100