]> git.parisson.com Git - pdf.js.git/commit
Fix a bug and speed up graycs_getRgbBuffer.
authorKalervo Kujala <kkujala@>
Mon, 5 Sep 2011 20:11:48 +0000 (23:11 +0300)
committerKalervo Kujala <kkujala@>
Mon, 5 Sep 2011 20:11:48 +0000 (23:11 +0300)
commit80304b69761910a43a1281b042a424b237ee7681
tree352148ecd89966602e7e88d250af89470eb27f47
parent8505591c59baf776ba25504ad68765cd4ead1a72
Fix a bug and speed up graycs_getRgbBuffer.

An rgbBuffer was created which was three times as big as intended. It also
caused that the function was very slow when rendering cable.pdf. Which led
to a slow script warning dialog.

With this fix the function speeds up ten-fold in the firebug profile.
pdf.js