Closed
Bug 754364
Opened 13 years ago
Closed 13 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•13 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•13 years ago
|
blocking-fennec1.0: ? → +
Assignee | ||
Comment 2•13 years ago
|
||
This is a patch from Siarhei that fixes these.
Attachment #623255 -
Flags: review?
Assignee | ||
Updated•13 years ago
|
Attachment #623255 -
Flags: review?
Assignee | ||
Comment 3•13 years ago
|
||
Comment 4•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla15
Reporter | ||
Comment 6•13 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•13 years ago
|
Attachment #623687 -
Flags: review?(joe) → review+
Assignee | ||
Comment 8•13 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•13 years ago
|
||
Comment 10•13 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•13 years ago
|
||
Comment 12•13 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: 13 years ago → 13 years ago
Flags: in-testsuite-
Resolution: --- → FIXED
Comment 13•13 years ago
|
||
This patch caused a dramatic improvement in Tcheckerboard, not so much on Tcheckerboard2.
Assignee | ||
Comment 14•13 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•13 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•13 years ago
|
status-firefox14:
--- → affected
Updated•13 years ago
|
Attachment #623255 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Updated•13 years ago
|
Attachment #623687 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Assignee | ||
Comment 16•13 years ago
|
||
You need to log in
before you can comment on or make changes to this bug.
Description
•