flutter_opengl
flutter_opengl copied to clipboard
A Flutter OpenGL ES plugin using a Texture() widget. Supports Android, Linux and Windows. Many shaders from ShaderToy.com can be copy/pasted
![image](https://user-images.githubusercontent.com/16694478/76387607-4b748280-63a2-11ea-99f9-b4f03a18d7a7.png) The other shader is stable at about 10 ms/frame.
```cpp TextureGL * texture_gl_new(VideoRenderer *renderer, guint32 width, guint32 height) { TextureGL *self = TEXTURE_GL(g_object_new(texture_gl_get_type(), NULL)); self->renderer = renderer; self->width = width; self->height = height; auto vertexShader = loadShader(GL_VERTEX_SHADER, vertShaderSource); auto...
Really cool library! I love that it supports runtime compilation. **I was curious, why did you use FFI & FFI gen?** It seems more complicated than platform channels + Java...
The ~800MB opencv library is a lot to require be default. Is it really needed? It adds a lot of complexity to the build process.
This project is really great. It allows independent implementation of OpenGL in Flutter, eliminating the need to use native Java/Objective-C to handle OpenGL logic. You are amazing! But when will...