The Easel Javascript library provides a full, hierarchical display list, a core interaction model, and helper classes to make working with the HTML5 Canvas element much easier.
On WebGL Filter Example (.../examples/WebGL/Filters_GL-GL.html) and any other page that uses stageGl with filters throw an error and the app stops working. All other example are working fine.
Error:
easeljs-NEXT.js:10287 Uncaught TypeError: Cannot read property '_frameBuffer' of undefined
at StageGL.p.cacheDraw (easeljs-NEXT.js:10287)
at BitmapCache.p._drawToCache (easeljs-NEXT.js:15736)
at BitmapCache.p.update (easeljs-NEXT.js:15570)
at BitmapCache.p.define (easeljs-NEXT.js:15520)
at Bitmap.p.cache (easeljs-NEXT.js:6784)
at Image.handleImageLoad (Filters_GL-GL.html:64)
The batchTextures[i] on the stage are undefined, if a filter is used.
OS & Browser version (Please be specific) (Ex; Windows 10 Home, Chrome 62.0.3202.94):
We found that error on Ubuntu 18.04, 18.10 and latest Arch on different and same machines. In Windows there is no error on the same machine. It is Browser (latest Firefox, Chromium, Chrome) independent, so may be a driver problem.
The machines have standard Hardware with Intel GPU (HD 5500 etc.)
Do you know of any workarounds?
The only thing at the moment is not to use ColorMatrixFilter, ColorFilter and BlurFilter or not no use stageGL.
On other pages with filters like http://evanw.github.io/webgl-filter/ everything works.
Issue Details
Version used (Ex; 1.0): latest
Describe whats happening :
On WebGL Filter Example (.../examples/WebGL/Filters_GL-GL.html) and any other page that uses stageGl with filters throw an error and the app stops working. All other example are working fine. Error: easeljs-NEXT.js:10287 Uncaught TypeError: Cannot read property '_frameBuffer' of undefined at StageGL.p.cacheDraw (easeljs-NEXT.js:10287) at BitmapCache.p._drawToCache (easeljs-NEXT.js:15736) at BitmapCache.p.update (easeljs-NEXT.js:15570) at BitmapCache.p.define (easeljs-NEXT.js:15520) at Bitmap.p.cache (easeljs-NEXT.js:6784) at Image.handleImageLoad (Filters_GL-GL.html:64)
The batchTextures[i] on the stage are undefined, if a filter is used.
OS & Browser version (Please be specific) (Ex; Windows 10 Home, Chrome 62.0.3202.94): We found that error on Ubuntu 18.04, 18.10 and latest Arch on different and same machines. In Windows there is no error on the same machine. It is Browser (latest Firefox, Chromium, Chrome) independent, so may be a driver problem. The machines have standard Hardware with Intel GPU (HD 5500 etc.)
Do you know of any workarounds? The only thing at the moment is not to use ColorMatrixFilter, ColorFilter and BlurFilter or not no use stageGL. On other pages with filters like http://evanw.github.io/webgl-filter/ everything works.