Closed
Bug 1583998
Opened 5 years ago
Closed 5 years ago
Prototype a pref to obscure images
Categories
(Core :: Graphics: WebRender, defect)
Core
Graphics: WebRender
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.
Assignee | ||
Comment 1•5 years ago
|
||
The current code doesn't permit fully opaque debug rects.
Assignee | ||
Comment 2•5 years ago
|
||
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
Comment 4•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/90162306864c
https://hg.mozilla.org/mozilla-central/rev/f59ec3966f5f
Status: NEW → RESOLVED
Closed: 5 years ago
status-firefox71:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
You need to log in
before you can comment on or make changes to this bug.
Description
•