Closed
Bug 754364
Opened 11 years ago
Closed 11 years ago
optimize scaled/repeated path (when CreateSamplingRestrictedDrawable is not in use)
Categories
(Core :: Graphics, defect)
Tracking
()
RESOLVED
FIXED
mozilla15
People
(Reporter: vlad, Assigned: jrmuizel)
References
Details
Attachments
(2 files)
25.39 KB,
patch
|
joe
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
9.52 KB,
patch
|
joe
:
review+
joe
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
Bug 749426 will disable CSRD on mobile, because we tend to render entire pages when we snapshot which causes us to do crazy things like allocate 500MB. So we don't do that any more. But the resulting path is slower in cases where it did work before, so Jeff wants to optimize it.
Comment 1•11 years ago
|
||
Our tests show that disabling CreateSamplingRestrictedDrawable can make drawing a tiled background slower in some cases. Specifically,: NEON bilinear: faster nearest: 2x slower No neon bilinear: 1.4x slower nearest: 4x slower Thus the nom for blocking. We think we can make this a lot better.
Updated•11 years ago
|
blocking-fennec1.0: ? → +
Assignee | ||
Comment 2•11 years ago
|
||
This is a patch from Siarhei that fixes these.
Attachment #623255 -
Flags: review?
Assignee | ||
Updated•11 years ago
|
Attachment #623255 -
Flags: review?
Assignee | ||
Comment 3•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/d61928d439b4
Comment 4•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/d61928d439b4
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla15
Reporter | ||
Comment 6•11 years ago
|
||
What's with the #if 1 / #else bits? Second part looks to be from Skia, do we not want to use it (just kill it off if we don't?)..
Updated•11 years ago
|
Attachment #623687 -
Flags: review?(joe) → review+
Assignee | ||
Comment 8•11 years ago
|
||
(In reply to Vladimir Vukicevic (:vlad) from comment #6) > What's with the #if 1 / #else bits? Second part looks to be from Skia, do > we not want to use it (just kill it off if we don't?).. We want to use it, I just want to do that as a second pass. It's faster but produces different results.
Assignee | ||
Comment 9•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/df38ed62a24a
Comment 10•11 years ago
|
||
http://mozillamemes.tumblr.com/post/21637966463/yes-i-have-a-condition-that-forces-me-to-insert Backed out due to Windows build bustage. https://hg.mozilla.org/integration/mozilla-inbound/rev/5cc2cbb8c43b https://tbpl.mozilla.org/php/getParsedLog.php?id=11782268&tree=Mozilla-Inbound pixman-fast-path.c e:/builds/moz2_slave/m-in-w32/build/gfx/cairo/libpixman/src/pixman-fast-path.c(1247) : warning C4101: 'result' : unreferenced local variable e:/builds/moz2_slave/m-in-w32/build/gfx/cairo/libpixman/src/pixman-fast-path.c(1318) : error C2143: syntax error : missing ';' before 'type' e:/builds/moz2_slave/m-in-w32/build/gfx/cairo/libpixman/src/pixman-fast-path.c(1319) : error C2065: 'xy' : undeclared identifier e:/builds/moz2_slave/m-in-w32/build/gfx/cairo/libpixman/src/pixman-fast-path.c(1320) : error C2065: 'xy' : undeclared identifier e:/builds/moz2_slave/m-in-w32/build/gfx/cairo/libpixman/src/pixman-fast-path.c(1321) : error C2065: 'xy' : undeclared identifier e:/builds/moz2_slave/m-in-w32/build/gfx/cairo/libpixman/src/pixman-fast-path.c(1322) : error C2065: 'xy' : undeclared identifier
Assignee | ||
Comment 11•11 years ago
|
||
Relanded: https://hg.mozilla.org/integration/mozilla-inbound/rev/4a3efede4904
Comment 12•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/bf4213797281 And a bustage fix: https://hg.mozilla.org/mozilla-central/rev/4a3efede4904
Status: REOPENED → RESOLVED
Closed: 11 years ago → 11 years ago
Flags: in-testsuite-
Resolution: --- → FIXED
Comment 13•11 years ago
|
||
This patch caused a dramatic improvement in Tcheckerboard, not so much on Tcheckerboard2.
Assignee | ||
Comment 14•11 years ago
|
||
Comment on attachment 623687 [details] [diff] [review] Add bilinear non-repeat and repeat fast paths [Approval Request Comment] Bug caused by (feature/regressing bug #): 750598 User impact if declined: Slower paints (more checkerboarding on Tegra) Testing completed (on m-c, etc.): Has been on mozilla-central a couple of days Risk to taking this patch (and alternatives if risky): Mobile only, the functions added are all pretty simple and don't have any conditional paths.
Attachment #623687 -
Flags: approval-mozilla-aurora?
Assignee | ||
Comment 15•11 years ago
|
||
Comment on attachment 623255 [details] [diff] [review] Add nearest repeat fast paths [Approval Request Comment] Bug caused by (feature/regressing bug #): 750598, 749426 User impact if declined: Slower paints on Tegra and not Tegra Testing completed (on m-c, etc.): Has been on mozilla-central a couple of days Risk to taking this patch (and alternatives if risky): Mobile only, the functions added are all pretty simple and don't have any conditional paths.
Attachment #623255 -
Flags: approval-mozilla-aurora?
Updated•11 years ago
|
status-firefox14:
--- → affected
Updated•11 years ago
|
Attachment #623255 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Updated•11 years ago
|
Attachment #623687 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Assignee | ||
Comment 16•11 years ago
|
||
https://hg.mozilla.org/releases/mozilla-aurora/rev/0fc9cddcb19a https://hg.mozilla.org/releases/mozilla-aurora/rev/63727a5fa570
You need to log in
before you can comment on or make changes to this bug.
Description
•