Closed
Bug 552142
Opened 15 years ago
Closed 15 years ago
Pixman fast-scale branch performance improvements
Categories
(Core :: Graphics, defect)
Core
Graphics
Tracking
()
RESOLVED
DUPLICATE
of bug 562087
People
(Reporter: dougt, Unassigned)
Details
Attachments
(5 files, 1 obsolete file)
(deleted),
patch
|
Details | Diff | Splinter Review | |
(deleted),
patch
|
Details | Diff | Splinter Review | |
(deleted),
patch
|
Details | Diff | Splinter Review | |
(deleted),
patch
|
Details | Diff | Splinter Review | |
(deleted),
patch
|
Details | Diff | Splinter Review |
see http://lists.freedesktop.org/archives/pixman/2010-March/000086.html
I think we will want this for fennec as soon as possible.
Comment 1•15 years ago
|
||
Comment 2•15 years ago
|
||
Attachment #432303 -
Attachment is obsolete: true
Attachment #432304 -
Flags: review?(jmuizelaar)
Comment 3•15 years ago
|
||
Comment 4•15 years ago
|
||
Comment 5•15 years ago
|
||
Comment 6•15 years ago
|
||
Comment 7•15 years ago
|
||
Tested with fennec zoom animation patch
According to oprofile results with this patch we are ~2.5x faster.
Also we should set
ctx.mozImageSmoothingEnabled = false;
to avoid bilinear scaling and use nearest scaling.
Comment 8•15 years ago
|
||
In 16bpp path with fennec animated zooming we are using
fast_composite_scale_nearest_src_0565_0565
function.
And yep, now it looks like animated zooming (before it was just too slow that animation was not visible)
Comment 9•15 years ago
|
||
I'd rather take this from upstream. Any good reason we can't do that?
Comment 10•15 years ago
|
||
> I'd rather take this from upstream.
Me too.
> Any good reason we can't do that?
We can, but it just may take a bit longer when it comes through upstream. Fortunately in this particular case, Alexander Larsson is also from redhat, so I guess this issue got a nice priority boost :)
Comment 11•15 years ago
|
||
Fast nearest scaling optimizations have been released in pixman 0.18.0
By the way, could anybody have a look what's wrong with firefox and why it does not want to use normal repeat for tiling in that forum template?
http://lists.cairographics.org/archives/cairo/2010-April/019650.html
Comment 12•15 years ago
|
||
(In reply to comment #11)
> By the way, could anybody have a look what's wrong with firefox and why it does
> not want to use normal repeat for tiling in that forum template?
> http://lists.cairographics.org/archives/cairo/2010-April/019650.html
My guess is that midori doesn't blend between tiles, where as firefox does. Are the tiles zoomed?
Comment 13•15 years ago
|
||
Yes, the tiles are zoomed. I just remember that firefox also used repeat in this case earlier and was a bit surprised. Is the blending really necessary? How does it affect performance?
Comment 14•15 years ago
|
||
I think we should update pximan to latest upstream with zoom fixes.
Comment 15•15 years ago
|
||
(In reply to comment #13)
> Yes, the tiles are zoomed. I just remember that firefox also used repeat in
> this case earlier and was a bit surprised. Is the blending really necessary?
The blended results are what designers likely expect. It's certainly more elegant.
> How does it affect performance?
It can have a very negative impact on performance, and we are consider removing it...
Comment 16•15 years ago
|
||
This should be taken care of by the next pixman update.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
Updated•15 years ago
|
Attachment #432304 -
Flags: review?(jmuizelaar)
You need to log in
before you can comment on or make changes to this bug.
Description
•