Closed
Bug 1230413
Opened 9 years ago
Closed 9 years ago
More gfxContext-to-DrawTarget conversion clean-ups
Categories
(Core :: Graphics, defect)
Core
Graphics
Tracking
()
RESOLVED
FIXED
mozilla45
Tracking | Status | |
---|---|---|
firefox45 | --- | fixed |
People
(Reporter: n.nethercote, Assigned: n.nethercote)
Details
Attachments
(5 files, 1 obsolete file)
10.41 KB,
patch
|
mattwoodrow
:
review+
|
Details | Diff | Splinter Review |
5.85 KB,
patch
|
jfkthame
:
review+
|
Details | Diff | Splinter Review |
4.89 KB,
patch
|
jfkthame
:
review+
|
Details | Diff | Splinter Review |
15.97 KB,
patch
|
mattwoodrow
:
review+
|
Details | Diff | Splinter Review |
16.93 KB,
patch
|
mattwoodrow
:
review+
|
Details | Diff | Splinter Review |
Some more clean-ups.
Assignee | ||
Comment 1•9 years ago
|
||
Instead of an nsRenderingContext.
Attachment #8695657 -
Flags: review?(matt.woodrow)
Assignee | ||
Comment 2•9 years ago
|
||
Attachment #8695658 -
Flags: review?(jfkthame)
Assignee | ||
Comment 3•9 years ago
|
||
Attachment #8695662 -
Flags: review?(jfkthame)
Assignee | ||
Comment 4•9 years ago
|
||
(Fixed log message.)
Attachment #8695663 -
Flags: review?(jfkthame)
Assignee | ||
Updated•9 years ago
|
Attachment #8695662 -
Attachment is obsolete: true
Attachment #8695662 -
Flags: review?(jfkthame)
Assignee | ||
Comment 5•9 years ago
|
||
Attachment #8695729 -
Flags: review?(matt.woodrow)
Assignee | ||
Comment 6•9 years ago
|
||
Instead of an nsRenderingContext.
Attachment #8695733 -
Flags: review?(matt.woodrow)
Comment 7•9 years ago
|
||
Comment on attachment 8695658 [details] [diff] [review] (part 2) - Change CallbackData::mContext to a DrawTarget Review of attachment 8695658 [details] [diff] [review]: ----------------------------------------------------------------- ::: gfx/thebes/gfxGraphiteShaper.h @@ +45,5 @@ > > struct CallbackData { > + gfxFont* mFont; > + gfxGraphiteShaper* mShaper; > + mozilla::gfx::DrawTarget* mDrawTarget; For bonus points, you can remove the mShaper field from this struct while you're in the area; AFAICS it's set by the gfxGraphiteShaper constructor, but then never actually used.
Attachment #8695658 -
Flags: review?(jfkthame) → review+
Comment 8•9 years ago
|
||
Comment on attachment 8695663 [details] [diff] [review] (part 3) - Remove unused gfxContext argument from SetSpaceGlyphIfSimple() Review of attachment 8695663 [details] [diff] [review]: ----------------------------------------------------------------- Duh!
Attachment #8695663 -
Flags: review?(jfkthame) → review+
Updated•9 years ago
|
Attachment #8695657 -
Flags: review?(matt.woodrow) → review+
Updated•9 years ago
|
Attachment #8695729 -
Flags: review?(matt.woodrow) → review+
Updated•9 years ago
|
Attachment #8695733 -
Flags: review?(matt.woodrow) → review+
Assignee | ||
Comment 9•9 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/b73d6323bf42587b42fcf7f2de928397940c2053 Bug 1230413 (part 1) - Pass a DrawTarget to several PaintFocus functions(). r=mattwoodrow. https://hg.mozilla.org/integration/mozilla-inbound/rev/a47d95507944043c839f2ee6bfedf7c515afbe5f Bug 1230413 (part 2) - Change CallbackData::mContext to a DrawTarget. r=jfkthame. https://hg.mozilla.org/integration/mozilla-inbound/rev/e7f8a69c7bf3f3ff2ff61cf24a4eba3585e2669c Bug 1230413 (part 3) - Remove unused gfxContext argument from SetSpaceGlyphIfSimple(). r=jfkthame. https://hg.mozilla.org/integration/mozilla-inbound/rev/e1cf548298482c22ce9b51002a84e998bcff61a4 Bug 1230413 (part 4) - Remove unused nsRenderingContext argument from ForceBreak() and OptionallyBreak(). r=mattwoodrow. https://hg.mozilla.org/integration/mozilla-inbound/rev/503dbfc06901e4117b4054194dfc82b778fc56b4 Bug 1230413 (part 5) - Pass a DrawTarget to Draw{Dashed,SolidBorder}Segment(). r=mattwoodrow.
Comment 10•9 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/b73d6323bf42 https://hg.mozilla.org/mozilla-central/rev/a47d95507944 https://hg.mozilla.org/mozilla-central/rev/e7f8a69c7bf3 https://hg.mozilla.org/mozilla-central/rev/e1cf54829848 https://hg.mozilla.org/mozilla-central/rev/503dbfc06901
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox45:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla45
You need to log in
before you can comment on or make changes to this bug.
Description
•