You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the WebGL shaders (*.vert and *.frag files) are not minified when they are bundled into the minified bundles such as bokeh-gl.min.js. They should be minified to reduce bundle and download size.
Things to do:
Remove comments
Remove unnecessary whitespace
Rename temporary variables to have shorter names (optional)
Items 1 and 2 could be done by someone without any GLSL knowledge. Item 3 needs some knowledge of what are and aren't GLSL keywords which is why I have labelled it optional.
This could be done using a third-party JavaScript library, or we could roll our own alongside similar code in the bokehjs/make/tasks directory.
The text was updated successfully, but these errors were encountered:
Currently the WebGL shaders (
*.vert
and*.frag
files) are not minified when they are bundled into the minified bundles such asbokeh-gl.min.js
. They should be minified to reduce bundle and download size.Things to do:
Items 1 and 2 could be done by someone without any GLSL knowledge. Item 3 needs some knowledge of what are and aren't GLSL keywords which is why I have labelled it optional.
This could be done using a third-party JavaScript library, or we could roll our own alongside similar code in the
bokehjs/make/tasks
directory.The text was updated successfully, but these errors were encountered: