Closed Bug 1255961 Opened 4 years ago Closed 4 years ago

Avoid zeroing out shmems

Categories

(Core :: Graphics: Layers, defect)

defect
Not set

Tracking

()

RESOLVED FIXED
mozilla48
Tracking Status
firefox48 --- fixed

People

(Reporter: billm, Assigned: billm)

Details

Attachments

(1 file)

Attached patch patchSplinter Review
I was looking at some profiles of tab switching and we spend a decent amount of time zeroing out shmems when we're using the basic compositor. The OS guarantees that shmems will contain zeros, so this is totally unnecessary.
Attachment #8729780 - Flags: review?(dvander)
Comment on attachment 8729780 [details] [diff] [review]
patch

Review of attachment 8729780 [details] [diff] [review]:
-----------------------------------------------------------------

Hah. Nice.
Attachment #8729780 - Flags: review?(dvander) → review+
Flags: needinfo?(wmccloskey)
https://hg.mozilla.org/mozilla-central/rev/6bd212fe9859
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla48
You need to log in before you can comment on or make changes to this bug.