Closed Bug 1806392 Opened 3 years ago Closed 3 years ago

Add a debug indicator for Accelerated Canvas2D

Categories

(Core :: Graphics: Canvas2D, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
110 Branch
Tracking Status
firefox110 --- fixed

People

(Reporter: lsalzman, Assigned: lsalzman)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

It would be nice if there was a simple way to detect when Accelerated Canvas2D is used or when it shuts off. This is useful for content authors and such.

This adds a debug indicator controlled by the pref gfx.canvas.accelerated.debug.
A green square is drawn in the upper right corner of the canvas to let us know if
acceleration is being used or not.

Pushed by lsalzman@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/feb9cb7f3ec6 Add a debug indicator for Accelerated Canvas2D. r=aosmond
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 110 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: