Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

removed rounding of values in composeSMaskLuminosity #5523

Merged

Conversation

CodingFabian
Copy link
Contributor

maskData comes out of maskCtx.getImageData, so is 0..255 clamped, and
the used multiplications will not create fractions needing rounding,
neither would addition.

Not a big deal, but composeSMaskLuminosity pops up in profiles, so at
least its somewhat relevant, even when the operator itself disappears in
noise when trying to profile it with the limited tools we have in js.

@CodingFabian CodingFabian force-pushed the remove-canvas-rounding-luminosity branch from 5914153 to d5136c1 Compare December 2, 2014 21:16
maskData comes out of maskCtx.getImageData, so is 0..255 clamped, and
the used multiplications will not create fractions needing rounding,
neither would addition.
@CodingFabian CodingFabian force-pushed the remove-canvas-rounding-luminosity branch from d5136c1 to b049119 Compare December 2, 2014 21:26
@Snuffleupagus
Copy link
Collaborator

/botio test

@pdfjsbot
Copy link

pdfjsbot commented Dec 3, 2014

From: Bot.io (Windows)


Received

Command cmd_test from @Snuffleupagus received. Current queue size: 1

Live output at: http://107.22.172.223:8877/5baf5db87fb1c8d/output.txt

@pdfjsbot
Copy link

pdfjsbot commented Dec 3, 2014

From: Bot.io (Linux)


Received

Command cmd_test from @Snuffleupagus received. Current queue size: 1

Live output at: http://107.21.233.14:8877/9a3fe6ffaf8b5ea/output.txt

@pdfjsbot
Copy link

pdfjsbot commented Dec 3, 2014

From: Bot.io (Windows)


Failed

Full output at http://107.22.172.223:8877/5baf5db87fb1c8d/output.txt

Total script time: 2.86 mins

  • Font tests: FAILED
  • Unit tests: Passed
  • Regression tests: FAILED

Image differences available at: http://107.22.172.223:8877/5baf5db87fb1c8d/reftest-analyzer.html#web=eq.log

@pdfjsbot
Copy link

pdfjsbot commented Dec 3, 2014

From: Bot.io (Linux)


Success

Full output at http://107.21.233.14:8877/9a3fe6ffaf8b5ea/output.txt

Total script time: 23.69 mins

  • Font tests: Passed
  • Unit tests: Passed
  • Regression tests: Passed

@yurydelendik
Copy link
Contributor

Okay, we can take it :) Thanks!

yurydelendik added a commit that referenced this pull request Dec 5, 2014
…inosity

removed rounding of values in composeSMaskLuminosity
@yurydelendik yurydelendik merged commit cddb870 into mozilla:master Dec 5, 2014
@CodingFabian CodingFabian deleted the remove-canvas-rounding-luminosity branch December 5, 2014 18:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants