]> git.parisson.com Git - pdf.js.git/commit
Fix a bug and speed up graycs_getRgbBuffer.
authorKalervo Kujala <kkujala@>
Mon, 5 Sep 2011 21:11:24 +0000 (00:11 +0300)
committerKalervo Kujala <kkujala@>
Mon, 5 Sep 2011 21:11:24 +0000 (00:11 +0300)
commitd4b8326496bdc65af50892df0cebe5ac897e7737
tree5b8f320615b943c05892f102110801eef851e957
parent80304b69761910a43a1281b042a424b237ee7681
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 fifteen-fold in the firebug profile.
pdf.js