Implements WebGL support

This commit is contained in:
Yury Delendik 2014-02-13 08:44:58 -06:00
parent 944219ad8a
commit f57c6935d7
12 changed files with 517 additions and 34 deletions

View file

@ -1711,6 +1711,10 @@ function webViewerLoad(evt) {
PDFJS.disableHistory = (hashParams['disableHistory'] === 'true');
}
if ('webgl' in hashParams) {
PDFJS.disableWebGL = (hashParams['webgl'] !== 'true');
}
if ('useOnlyCssZoom' in hashParams) {
USE_ONLY_CSS_ZOOM = (hashParams['useOnlyCssZoom'] === 'true');
}