28 Commits

Author SHA1 Message Date
Gaëtan Renaudeau
6002ea969c
Update dependencies to latest libaries 2019-08-14 13:45:59 +08:00
Gaëtan Renaudeau
f8e462233d internal refactoring. fixes https://github.com/gre/gl-react/issues/134
the texture loader system was externalized into a set of libs webgltexture-loader*
2017-09-05 17:15:15 +02:00
Gaëtan Renaudeau
9ffa792e9d gl-react-native needs react-native-webgl dep, no longer native code
Fixes https://github.com/gre/gl-react/issues/131
Fixes https://github.com/gre/gl-react/issues/133
Fixes https://github.com/gre/gl-react/issues/146
2017-08-24 16:53:15 +02:00
Gaëtan Renaudeau
f70b7b6be0 fixes https://github.com/gre/gl-react/issues/119 2017-07-06 23:04:02 +02:00
Gaëtan Renaudeau
16d46c50cf wip 2017-07-05 14:53:52 +02:00
Gaëtan Renaudeau
b506c56061 prettier pass: don't use es5 trailing comma 2017-07-04 18:15:29 +02:00
Gaëtan Renaudeau
0f500100aa update flow & prettier 2017-07-04 16:05:11 +02:00
Gaëtan Renaudeau
c3a09a7f3f port EXGLView for RN 0.45 2017-07-04 12:48:27 +02:00
Gaëtan Renaudeau
0b502ce51b sync EXGLView code 2017-06-30 11:00:58 +02:00
Gaëtan Renaudeau
f189a0aebd add a standalone camera expo example 2017-05-15 11:56:02 +02:00
Gaëtan Renaudeau
034e766183 improve cookbook-rn & fixes RN impls to support position:"absolute" 2017-05-06 20:19:19 +02:00
Gaëtan Renaudeau
cff1bd7e4c update dev deps & drop eslint 2017-04-30 17:07:19 +02:00
Gaëtan Renaudeau
84b600a373 move raf into implementations https://github.com/gre/gl-react/issues/98 2017-04-30 16:25:22 +02:00
Gaëtan Renaudeau
c16cebc165 Unify cookbook-rn & cookbook-expo code! also prettier pass on the proj 2017-04-30 15:21:34 +02:00
Gaëtan Renaudeau
d4ea74d922 fixes https://github.com/gre/gl-react/issues/97
upgrade some projects.. next release will be 3.0.0 ! not that it's fully ready yet (will still be in @next, but in order to get semver on track.. & so the projects can properly dep on the right version)
there were currently an issue with gl-react@3.0.0-alpha1 being installed instead of gl-react@3.0.0-alpha.8 when not depending on exact version, 'cause it's just not very compliant with semver
2017-04-23 17:12:42 +02:00
Gaëtan Renaudeau
fb249dddd9 remove old comment 2017-04-21 10:25:17 +02:00
Gaëtan Renaudeau
8de5082d68 feat(gl-react-native): LRU on GLImages, only keep 50 latest images to not leak 2017-04-19 19:18:39 +02:00
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