Comment #5 on issue 17860 by [email protected]: TileImageInt appears  
to have rounding issues.
http://code.google.com/p/chromium/issues/detail?id=17860

The story so far:

This seems to be an artifact introduced by the fixed point interpolation in
RepeatX_RepeatY_nofilter_scale (SCALE_NOFILTER_NAME in  
SkBitmapProcState_matrix.h).
For example, when drawing the tab background, size 180...@15, 0, with the  
theme
center, size 972x209, the coordinates generated by mproc are
20, 21, 22, ..., 98, 99, 99, 100, with the repeated 99 causing a stretch in  
the
rendering.

It might be possible to nudge the int -> float -> fixed conversions somehow  
to avoid
the inaccuracy.  However, I'm not certain why the proc chooser thinks it  
needs to do
a scale at all, since painting should be 1:1 in this case.  The best fix  
would be to
detect this case and avoid the interpolation altogether.

To be continued..

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs
-~----------~----~----~----~------~----~------~--~---

Reply via email to