Éric Lemoine
ec01aa45b9
Make createTileCoordTransform return identity func
...
This makes ol.tilegrid.TileGrid#createTileCoordTransform return the identity function. This makes it possible to use ol.source.TileVector with an ol.tilegrid.TileGrid (as opposed to an ol.tilegrid.XYZ).
2014-11-24 15:19:24 +01:00
Éric Lemoine
8ba830f91f
Make loadFeaturesFromUrl accept an error callback
2014-11-24 15:13:17 +01:00
tsauerwein
d6841e6d9d
Fix tests for when not run with WebGL support
2014-11-24 13:26:45 +01:00
tsauerwein
b8b48afc82
Use WEBGL_MAX_TEXTURE_SIZE as default
2014-11-24 09:57:09 +01:00
tsauerwein
e307579d49
Move constants from ol.has to ol
2014-11-24 09:42:10 +01:00
Éric Lemoine
3ed46c50cc
Merge pull request #46 from elemoine/webgl-point-delete-resources
...
[webgl-point] Delete WebGL resources
2014-11-21 18:02:38 +01:00
Éric Lemoine
c0bbb6c4fa
Disable vertex attrib array after replay
2014-11-21 17:48:58 +01:00
Éric Lemoine
fe2f83e878
Merge pull request #43 from elemoine/webgl-point-examples
...
[webgl-point] Revert changes to examples
2014-11-21 16:45:51 +01:00
Éric Lemoine
b3369cd516
Delete WebGL resources used by immediate API
2014-11-21 16:35:05 +01:00
Éric Lemoine
857a8ca2bb
Delete WebGL resources used at postcompose time
2014-11-21 16:35:05 +01:00
Éric Lemoine
37f91690f1
Merge pull request #45 from elemoine/webgl-point-buffer
...
[webgl-point] Rename ol.structs.Buffer to ol.webgl.Buffer
2014-11-21 16:14:01 +01:00
Éric Lemoine
b904427087
Merge pull request #44 from elemoine/webgl-point-delete
...
[webgl-point] Add a comment to WebGL ImageReplay
2014-11-21 15:49:41 +01:00
Éric Lemoine
57db47ac18
Rename ol.structs.Buffer to ol.webgl.Buffer
...
The Buffer class is WebGL specific, and it's not really a "data structure", in the pure sense of the term.
2014-11-21 15:48:31 +01:00
Éric Lemoine
6360e4497d
Add a comment to WebGL ImageReplay
...
A comment explaining why we don't need to call deleteProgram and deleteShader in the function returned by getDeleteResourcesFunction.
2014-11-21 15:39:23 +01:00
Éric Lemoine
2e873d3e6d
Revert changes to the synthetic-points example
...
These changes were made for testing WebGL. We now have specific examples for WebGL point.
2014-11-21 15:15:06 +01:00
Éric Lemoine
336de4b1b1
Revert changes to the icon example
...
The changes were made for testing WebGL, and we now have specific examples for WebGL point.
2014-11-21 15:13:51 +01:00
Éric Lemoine
34953e8266
No need to mention WebGL in draw-feature example
2014-11-21 15:12:26 +01:00
Éric Lemoine
dae5bd53b7
Merge pull request #41 from elemoine/webgl-point-cleanup
...
[webgl-point] Use ol WebGL infrastructure in WebGL replay
2014-11-21 14:56:19 +01:00
gberaudo
a324f9805f
Merge pull request #42 from gberaudo/webgl_immediate_fixes
...
[webgl-point] Webgl Immediate fixes
2014-11-21 14:43:12 +01:00
Antoine Abt
32d5300682
Merge pull request #2965 from tonio/pan_selectinteraction
...
Fix pan with select interaction in mousemove mode.
2014-11-21 14:01:51 +01:00
Guillaume Beraudo
fe74bd1b2c
Add missing call to flush in webgl map renderer
2014-11-21 13:36:09 +01:00
Guillaume Beraudo
235f7c5bd1
Fix lack of @api doc in webgl Immediate
2014-11-21 13:35:20 +01:00
Éric Lemoine
fd9db053c0
Use ol WebGL infrastructure in WebGL replay
2014-11-21 11:39:47 +01:00
Tobias Sauerwein
ac24b615c3
Merge pull request #39 from tsauerwein/webgl-point-hit-detection-atlas
...
[webgl-point] Add hit-detection images of symbols to separate atlas
2014-11-21 11:37:48 +01:00
Éric Lemoine
44782c59a5
Merge pull request #40 from elemoine/webgl-point-cleanup
...
[webgl-point] Remove unused WebGL related code
2014-11-21 11:37:21 +01:00
Antoine Abt
374f02c725
Fix pan with select interaction in mousemove mode.
2014-11-21 11:23:06 +01:00
Éric Lemoine
1e12e7ca90
Remove unused WebGL related code
2014-11-21 10:51:00 +01:00
tsauerwein
fb8af71f25
Use goog.isNull and goog.isDef
2014-11-21 10:42:06 +01:00
Tobias Sauerwein
283d878177
Merge pull request #36 from tsauerwein/webgl-point-has-stable
...
Mark ol.has.WEBGL_MAX_TEXTURE_SIZE as API
2014-11-21 10:33:18 +01:00
Éric Lemoine
a665b76f8f
Merge pull request #38 from elemoine/webgl-point-uint
...
Fix assert in WebGL replay
2014-11-21 10:20:44 +01:00
tsauerwein
8fcde092c7
Set the default of WEBGL_MAX_TEXTURE_SIZE to undefined
...
By doing so the examples will also work if WebGL is not supported.
2014-11-21 09:54:55 +01:00
tsauerwein
40c33a21eb
Mark ol.has.WEBGL_MAX_TEXTURE_SIZE as API
2014-11-21 09:52:09 +01:00
tsauerwein
ab42965aa2
Add hit-detection image to atlas (RegularShape)
2014-11-21 09:41:38 +01:00
tsauerwein
4132505313
Add hit-detection image to atlas (Circle)
2014-11-21 09:41:10 +01:00
tsauerwein
97f8e4ac8d
Keep separate atlas for hit-detection images
2014-11-21 09:40:22 +01:00
tsauerwein
82ef80cf60
Add imageSize and origin for hit-detection image
2014-11-21 09:39:38 +01:00
Éric Lemoine
05f71383f9
Fix assert in WebGL replay
2014-11-21 09:33:45 +01:00
Éric Lemoine
ee54d21b89
Merge pull request #37 from elemoine/webgl-point-uint
...
[webgl-point] Use OES_element_index_uint when available
2014-11-20 17:08:16 +01:00
Éric Lemoine
7c88329354
Use 50000 features in the WebGL vector examples
2014-11-20 16:39:25 +01:00
Éric Lemoine
2f7c97f25a
Use OES_element_index_uint when available
2014-11-20 16:39:25 +01:00
gberaudo
3af2257345
Merge pull request #22 from gberaudo/webgl_immediate_point
...
[webgl-point] Webgl immediate implementation using a replay group
2014-11-20 14:01:08 +01:00
Guillaume Beraudo
7d01946fef
Removing webgl Immediate delegation code for drawing text
2014-11-20 13:53:00 +01:00
Guillaume Beraudo
257784e277
More lenient webgl Immediate drawing of a feature.
...
Remove assert to handle drawing features with supported geometries.
2014-11-20 13:53:00 +01:00
Guillaume Beraudo
f1402522b5
More lenient Immediate geometry collection rendering
...
Render geometry collection elements with a valid renderer inspite of
throwing an assertion error. Allows support of hierarchies of points.
2014-11-20 13:53:00 +01:00
Guillaume Beraudo
20ceae2655
Webgl immediate implementation for points
...
Internally uses a replay group to share code.
Modifies the dynamic data example to use PointGeometry
and Feature in addition to MultiPoint.
2014-11-20 13:53:00 +01:00
Tobias Sauerwein
9681ec3e10
Merge pull request #35 from tsauerwein/webgl-point-fix-examples
...
Fix examples (minor)
2014-11-20 12:01:22 +01:00
Tobias Sauerwein
d5ffd8abac
Merge pull request #34 from camptocamp/webgl-point-texture-per-image
...
Make sure only one texture is created per image
2014-11-20 12:01:11 +01:00
tsauerwein
d73e183c89
Fix examples
...
The very last style was not used.
2014-11-20 11:50:46 +01:00
tsauerwein
d12db0419c
Make sure only one texture is created per image
2014-11-20 11:39:25 +01:00
Tobias Sauerwein
c564a0963c
Merge pull request #33 from tsauerwein/webgl-point-symbol-atlas
...
[webgl-point] Use the atlas manager for symbols [WIP]
2014-11-20 09:50:03 +01:00