Closed Bug 1583998 Opened 5 years ago Closed 5 years ago

Prototype a pref to obscure images

Categories

(Core :: Graphics: WebRender, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla71
Tracking Status
firefox71 --- fixed

People

(Reporter: bholley, Assigned: bholley)

Details

Attachments

(2 files)

It would occasionally be nice to be able to debug sites without looking at image/video content. I've got a patch.

The current code doesn't permit fully opaque debug rects.

This approach does have some stacking issues. The way to fix this would
be to instrument the brush_image shader rather than adding debug rects.

Something like: #ifdef WR_FEATURE_SFW frag.color = vec4(0,1,1,1); #endif

That's slightly more involved though, so I'm going to leave it for now.

Pushed by bholley@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/90162306864c Refactor debug rectangles to allow the outer and inner colors to be explicitly specified. r=gw https://hg.mozilla.org/integration/autoland/rev/f59ec3966f5f Implement a pref to obscure images. r=gw
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: