8 Commits

Author SHA1 Message Date
Gaëtan Renaudeau
93086151ef fixes https://github.com/gre/gl-react/issues/85 2017-03-03 16:50:05 +01:00
Gaëtan Renaudeau
4d4b567726 fundamentally refactor the way width/height works
in gl-react: the context no longer have {width,height} but have {glSizable} which is an object with a getGLSize function. the size is dynamically calculated in the graph & using gl.drawingBufferWidth / gl.drawingBufferHeight which allows more flexible implementations.
in gl-react-dom: nothing fundamentally changes
in gl-react-native/exponent: Surface no longer takes width/height props! instead, it is just the style object, like any usual React Native view. e.g. you can use flexbox!
2017-03-02 14:42:21 +01:00
Gaëtan Renaudeau
fc48897bba polish , fixes 2017-01-17 12:32:40 +01:00
Gaëtan Renaudeau
21e4d483df fix code to make ndarray & linear filtering work 2017-01-16 12:06:19 +01:00
Gaëtan Renaudeau
d9766a6ae2 wip 2017-01-12 18:37:46 +01:00
Gaëtan Renaudeau
511e78a0cf wip on refactoring without using gl-fbo & gl-texture2d
some tests still don't pass, got to fix all cases.
however, it's a first step toward better controls of gl calls (and less complexity of that)
the RN impl is a bit more supported to match Exponent implemented subset
2016-12-27 20:37:33 +01:00
Gaëtan Renaudeau
4889688d14 fix flow 2016-12-03 11:24:38 +01:00
Gaëtan Renaudeau
4600bcedd0 initial release 2016-12-02 10:55:17 +01:00