Closed Bug 1449641 Opened 6 years ago Closed 6 years ago

Small tweaks for BasicCompositor

Categories

(Core :: Graphics: Layers, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
mozilla61
Tracking Status
firefox61 --- fixed

People

(Reporter: mstange, Assigned: mstange)

References

Details

(Whiteboard: [gfx-noted])

Attachments

(3 files)

      No description provided.
Summary: Two small tweaks for BasicCompositor → Small tweaks for BasicCompositor
Priority: -- → P3
Whiteboard: [gfx-noted]
Blocks: 1444447
Assignee: nobody → mstange
Status: NEW → ASSIGNED
Comment on attachment 8963251 [details]
Bug 1449641 - Use the correct parameter when computing the clear rect.

https://reviewboard.mozilla.org/r/232132/#review237782
Attachment #8963251 - Flags: review?(sotaro.ikeda.g) → review+
Comment on attachment 8963252 [details]
Bug 1449641 - Remove extraneous "if (mRenderTarget->mDrawTarget != mDrawTarget)".

https://reviewboard.mozilla.org/r/232134/#review237784
Attachment #8963252 - Flags: review?(sotaro.ikeda.g) → review+
Comment on attachment 8963256 [details]
Bug 1449641 - Always use mDrawTarget when merging the buffered region into the window DrawTarget.

https://reviewboard.mozilla.org/r/232144/#review237786
Attachment #8963256 - Flags: review?(sotaro.ikeda.g) → review+
Pushed by mstange@themasta.com:
https://hg.mozilla.org/integration/autoland/rev/cfc4cc67701f
Use the correct parameter when computing the clear rect. r=sotaro
https://hg.mozilla.org/integration/autoland/rev/ac980a443965
Remove extraneous "if (mRenderTarget->mDrawTarget != mDrawTarget)". r=sotaro
https://hg.mozilla.org/integration/autoland/rev/67fabb2e4990
Always use mDrawTarget when merging the buffered region into the window DrawTarget. r=sotaro
Perf wins!

== Change summary for alert #12632 (as of Tue, 10 Apr 2018 00:32:16 GMT) ==

Improvements:

  2%  tart linux64 pgo e10s stylo     2.01 -> 1.96
  2%  tart linux64 opt e10s stylo     2.15 -> 2.11

For up to date results, see: https://treeherder.mozilla.org/perf.html#/alerts?id=12632
Cool! Probably from the first patch, which made an existing botched optimization actually take effect.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: