Closed Bug 828795 Opened 11 years ago Closed 1 year ago

Add identical paint flashing

Categories

(Core :: Graphics, defect)

x86
macOS
defect

Tracking

()

RESOLVED WONTFIX

People

(Reporter: BenWa, Unassigned)

Details

Attachments

(1 file, 1 obsolete file)

Similar to paint flashing but draw in a 'magic color' (default to say red) any pixel we draw that is identical to the previous.

We draw to an empty surface), compare the result, draw the surface to dest and flash red identical pixels.
I like it :)

I'd also like to see the bounding invalidation rect flashed with a 1px red border when the before/after contents are 100% identical.
Attached patch WIP (obsolete) — Splinter Review
There's a striding issue that needs to be fixed.
Attached patch WIP v2Splinter Review
I made more progress on this but found a big problem. Sometimes we compare against an un-initialized surface which causes garbage identical flashing. I need to find an easy way to differentiate between un-initialized memory and a previous paint but I don't know ATM.
Attachment #700634 - Attachment is obsolete: true
Can someone explain how this would be useful compared to the current paint flashing mechanism?
It's make it easier to see when we spend time painting the exact same pixel instead of showing where we paint. QuartzDebug had a similar tool that was very useful but with our changes in platform it no longer works.
Severity: normal → S3

Paint flashing is gone
this patch is too old to salvage

Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: