elyctech / web-gill

Gill is a WebGL-based rendering utility.
MIT License
0 stars 0 forks source link

Consider Caching WebGL Programs #17

Open dawsonc623 opened 7 years ago

dawsonc623 commented 7 years ago

The provided GillWebglService generates WebGLProgram objects based on a WebGLRenderingContext and source code for vertex and fragment shaders. It may be worth caching these, but a review of how a WebGLProgram is used throughout the project is necessary to determine if reusing WebGLProgram objects could cause issues.