[Webkit-unassigned] [Bug 232527] New: Factor out didDraw / didDrawEntireCanvas calls in canvas drawing functions
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sat Oct 30 00:08:57 PDT 2021
https://bugs.webkit.org/show_bug.cgi?id=232527
Bug ID: 232527
Summary: Factor out didDraw / didDrawEntireCanvas calls in
canvas drawing functions
Product: WebKit
Version: WebKit Local Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Canvas
Assignee: webkit-unassigned at lists.webkit.org
Reporter: heycam at apple.com
CC: dino at apple.com
There are various canvas drawing functions in CanvasRenderingContext2DBase that end similarly:
```
if (isEntireBackingStoreDirty())
didDraw(std::nullopt);
else if (repaintEntireCanvas)
didDrawEntireCanvas();
else
didDraw(... some rect calculation ...);
```
We can factor out the commonality.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20211030/befa95a9/attachment.htm>
More information about the webkit-unassigned
mailing list