Closed
Bug 1073964
Opened 11 years ago
Closed 11 years ago
Pass a const DrawTarget* through to nsSVGPaintServerFrame::GetPaintServerPattern so that it can create a pattern of the appropriate type
Categories
(Core :: Graphics, defect)
Core
Graphics
Tracking
()
RESOLVED
FIXED
mozilla35
People
(Reporter: jwatt, Assigned: jwatt)
References
(Depends on 1 open bug)
Details
(Keywords: perf)
Attachments
(1 file, 1 obsolete file)
40.55 KB,
patch
|
bas.schouten
:
review+
jwatt
:
checkin+
|
Details | Diff | Splinter Review |
No description provided.
![]() |
Assignee | |
Comment 1•11 years ago
|
||
Attachment #8496565 -
Flags: review?(matt.woodrow)
![]() |
Assignee | |
Updated•11 years ago
|
![]() |
Assignee | |
Comment 2•11 years ago
|
||
Comment on attachment 8496565 [details] [diff] [review]
patch
Drat, this isn't going to give me what I need longer term. I'll want to be able to do things like call DrawTarget::CreateGradientStops() without having to construct a new DrawTarget, so it would be better to pass through a |const DrawTarget*| instead.
Attachment #8496565 -
Attachment is obsolete: true
Attachment #8496565 -
Flags: review?(matt.woodrow)
![]() |
Assignee | |
Updated•11 years ago
|
Summary: Pass the backend type and format through to nsSVGPaintServerFrame::GetPaintServerPattern so that it can create a pattern of the appropriate type → Pass a const DrawTarget* through to nsSVGPaintServerFrame::GetPaintServerPattern so that it can create a pattern of the appropriate type
![]() |
Assignee | |
Comment 3•11 years ago
|
||
Attachment #8496623 -
Flags: review?(matt.woodrow)
Comment 4•11 years ago
|
||
Comment on attachment 8496623 [details] [diff] [review]
patch
Review of attachment 8496623 [details] [diff] [review]:
-----------------------------------------------------------------
::: layout/svg/nsSVGPatternFrame.cpp
@@ +373,5 @@
> patternHeight / surfaceSize.height);
> }
>
> RefPtr<DrawTarget> dt =
> + Factory::CreateDrawTarget(aDrawTarget->GetBackendType(), surfaceSize,
This should use CreateSimilar
Attachment #8496623 -
Flags: review?(matt.woodrow) → review+
![]() |
Assignee | |
Comment 5•11 years ago
|
||
Comment on attachment 8496623 [details] [diff] [review]
patch
https://hg.mozilla.org/integration/mozilla-inbound/rev/ece627b5e46a
Attachment #8496623 -
Flags: checkin+
Comment 6•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla35
You need to log in
before you can comment on or make changes to this bug.
Description
•