28 Commits

Author SHA1 Message Date
Tarek Sherif
e76d240b9f
Allow size and offset to be set when constructing buffer (#1354) 2020-02-07 16:46:07 -05:00
1chandu
566f762a4b
[Chore]: Skip draw when when rendering 0 primitives (#1340)
* [Chore]: Skip draw when when rendering 0 primitives
2020-01-24 12:16:41 -08:00
Tarek Sherif
9384106f18
VAO polyfill (#1334) 2020-01-16 06:25:34 -05:00
Xiaoji Chen
5e2632ac71
Bump math.gl and probe.gl to the latest production versions (#1320) 2019-12-16 11:28:35 -08:00
Xiaoji Chen
1310e16211
Upgrade probe.gl (#1310) 2019-12-06 16:39:41 -08:00
Tarek Sherif
f622105e30
Move context creation/query functions to gltools (#1299) 2019-11-27 13:13:43 -05:00
Tarek Sherif
9946d2cd66
Context cleanup (#1298) 2019-11-26 15:34:55 -05:00
1chandu
0e923a8480
DevicePixelRatio: Handle invalid client sizes and remove custom width/height support. (#1290)
* DevicePixelRatio: Handle the case when clientWidth/Height not available
* Use cached size when calculating ratio
2019-11-18 11:01:54 -08:00
Tarek Sherif
6f9f74afe2
Module refactor (#1288) 2019-11-01 08:01:30 -04:00
Tarek Sherif
9baad74bf3
Optimizations (#1283) 2019-10-17 17:45:26 -04:00
Tarek Sherif
f9a25256cf
Remove core/multipass, main, wip folder (#1278) 2019-10-14 15:44:48 -04:00
1chandu
75ab19e5b4
WebGL Features: add caching (#1270)
* Cache features
2019-10-04 11:05:44 -07:00
1chandu
7a2d90c448
DevicePixelRatio: Cache canvas size to avoid expensive setting on each frame (#1269)
* DevicePixelRatio: cache size to avoid resetting canvas size on every frame.
2019-10-02 18:28:15 -07:00
Tarek Sherif
fc03cd89e8 Don't set VertexArrayObject.isDefaultArray (#1247) 2019-09-17 16:51:14 -07:00
Tarek Sherif
396b37c1b8
Cleanup VAO fix and test (#1243) 2019-09-17 09:34:44 -04:00
1chandu
f7a200db76
Handle cases when canvas is not defined (#1236) 2019-09-12 17:38:49 -07:00
1chandu
305fa30416
Add support for specifying custom device pixel ratio. (#1155)
* Add support for custom device pixel ratio
* Move window access to single place, `getDevicePixelRatio`
* Handle getting `drawingBufferWidth/height` down, properly so aspect ratio is maintained.
* Add utility methods for CSS to Device conversion
* Add docs and unit tests.
* Add developer guide for understanding CSS to Device conversion.
2019-09-11 17:18:23 -07:00
1chandu
f32d106b78
Add EXT_float_blend to feature table (#1210) 2019-08-23 11:21:42 -07:00
Xiaoji Chen
abf9ac95e1
Debug module tests & bug fixes (#1169) 2019-07-19 11:06:31 -07:00
1chandu
067f706c0d
Add unit tests for all Scenegraph classes (#1166)
* Add unit tests for all Scenegraph classes, fixed for issues found.
2019-07-18 13:41:14 -07:00
Jian Huang
aa7e1d7cb9
support uniform texture and matrix array (#1162) 2019-07-12 13:28:33 -07:00
Taylor Baldwin
9a4606cf15
fix texture2D type/dataFormat inference (#1159) 2019-07-11 15:35:45 -04:00
Xintong Xia
53026ec42d
Fix mipmap generation (#1148) 2019-06-24 10:09:13 -07:00
Tarek Sherif
7291127dc6
Fix accessor size for constant multi-column attributes (#1090) 2019-04-30 14:34:51 -04:00
1chandu
557d7b4628
Fix isWebGL2 methods. (#1053)
* Fix isWebGL2 methods.
2019-04-11 14:23:47 -07:00
Georgios Karnas
f1ebdf7471
Add CubeTexture LOD support (#987) 2019-03-25 00:35:39 -07:00
Tarek Sherif
e22e5415e1
Remove unused/unfinished classes (#1000) 2019-03-22 19:49:53 -04:00
Ib Green
2fe6b90ec2
Break out @luma.gl/webgl module (#983) 2019-03-21 15:33:26 -07:00