11 Commits

Author SHA1 Message Date
Gaëtan Renaudeau
18af63aac8 add an example using Three.js 2017-03-14 12:14:42 +01:00
Gaëtan Renaudeau
436e468b6f gl-react-native: experimental support of texture. support local/distant images 2017-03-13 15:50:21 +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
cf49cf717f first impl of gl-react-native (wip)
it works but remain some bugs and image texture is not yet supported
2017-02-28 22:11:40 +01:00
Gaëtan Renaudeau
309a02b4be gl-react-native->gl-react-exponent. gl-react-native will be the standalone impl 2017-01-30 12:31:57 +01:00
Gaëtan Renaudeau
fc48897bba polish , fixes 2017-01-17 12:32:40 +01:00
Gaëtan Renaudeau
80254abed0 remove dead code 2017-01-16 12:10:02 +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
18537428f1 rm dead code 2016-12-26 17:18:22 +01:00
Gaëtan Renaudeau
dc4ac09fe0 port some examples into cookbook-rn 2016-12-26 16:50:51 +01:00
Gaëtan Renaudeau
4600bcedd0 initial release 2016-12-02 10:55:17 +01:00