webgl.diff
new/src/com/goldencode/p2j/ui/client/driver/web/index.html 2020-11-05 11:40:53 +0000 | ||
---|---|---|
113 | 113 |
<script type="text/javascript" src="${webRoot}/common/p2j.logger.js"></script> |
114 | 114 |
<script type="text/javascript" src="${webRoot}/common/p2j.sound.js"></script> |
115 | 115 |
<script type="text/javascript" src="${webRoot}/client/p2j.strokes.js"></script> |
116 |
<script type="text/javascript" src="${webRoot}/client/p2j.strokes.webgl.js"></script> |
|
116 | 117 |
<script type="text/javascript" src="${webRoot}/client/p2j.canvas_renderer.js"></script> |
118 |
<script type="text/javascript" src="${webRoot}/client/p2j.canvas_renderer_webgl.js"></script> |
|
117 | 119 |
<script type="text/javascript" src="${webRoot}/client/p2j.virtual_desktop.js"></script> |
118 | 120 |
<script type="text/javascript" src="${webRoot}/client/p2j.mouse.js"></script> |
119 | 121 |
<script type="text/javascript" src="${webRoot}/client/p2j.screen.js"></script> |
new/src/com/goldencode/p2j/ui/client/gui/driver/web/GuiWebSocket.java 2020-11-05 11:40:53 +0000 | ||
---|---|---|
324 | 324 |
|
325 | 325 |
// window ID = 0 means the global cache |
326 | 326 |
this.perWidgetCache.addCacheExpiryListener(new DrawCacheExpiryListener(0)); |
327 |
this.graphicsCached = graphicsCached; |
|
327 |
this.graphicsCached = false;//graphicsCached;
|
|
328 | 328 |
} |
329 | 329 |
|
330 | 330 |
/** |
new/src/com/goldencode/p2j/ui/client/gui/driver/web/res/p2j.screen.js 2020-11-05 11:47:00 +0000 | ||
---|---|---|
1352 | 1352 |
this.iconHeight = 0; |
1353 | 1353 |
|
1354 | 1354 |
/** Creates canvas renderer. */ |
1355 |
this.canvasRenderer = new CanvasRenderer(this.offscreenCanvas, this.offscreenContext, |
|
1356 |
this.canvas, strokesManager, p2j.fonts, p2j.logger); |
|
1355 |
this.canvasRenderer = new WebGLCanvasRenderer(this.offscreenCanvas, this.offscreenContext,
|
|
1356 |
this.canvas, strokesManager, p2j.fonts, p2j.logger);
|
|
1357 | 1357 |
|
1358 | 1358 |
/** |
1359 | 1359 |
* Flag indicating if the window should send OS events to the client-side. The default value |