Éric Lemoine
|
857a8ca2bb
|
Delete WebGL resources used at postcompose time
|
2014-11-21 16:35:05 +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 |
|
Guillaume Beraudo
|
fe74bd1b2c
|
Add missing call to flush in webgl map renderer
|
2014-11-21 13:36:09 +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 |
|
Éric Lemoine
|
23a24973eb
|
Merge pull request #30 from elemoine/webgl-point-delete
[webgl-point] Add ol.renderer.webgl.VectorLayer#disposeInternal
|
2014-11-10 17:18:28 +01:00 |
|
Éric Lemoine
|
d9a4482393
|
Add ol.renderer.webgl.VectorLayer#disposeInternal
Implement disposeInternal to free WebGL resources (deleteBuffer and deleteTexture).
|
2014-11-10 16:52:32 +01:00 |
|
Éric Lemoine
|
501e7456c0
|
Merge remote-tracking branch 'upstream/master' into webgl-point-merge
|
2014-11-10 15:40:03 +01:00 |
|
Éric Lemoine
|
87865be9f4
|
Add "color" support to WebGL image replay
This adds support for layer brightness, contrast, hue, saturation.
|
2014-11-10 15:00:35 +01:00 |
|
Éric Lemoine
|
240f425c46
|
Add global opacity support to WebGL image replay
vectorLayer.setOpacity() now works as expected.
|
2014-11-10 14:58:57 +01:00 |
|
Éric Lemoine
|
c79f3aa101
|
Delete WebGL buffers
|
2014-11-10 09:54:04 +01:00 |
|
Guillaume Beraudo
|
6abe3047ec
|
Add feature overlay support to webgl map renderer.
|
2014-11-07 14:17:31 +01:00 |
|
Guillaume Beraudo
|
f715e3186a
|
Readability rearangement in canvasmaprenderer.js
|
2014-11-07 11:15:02 +01:00 |
|
Éric Lemoine
|
28e51740c6
|
Address precision/jitter problems
Address precision/jitter problems by using coordinates relative to the Replay max extent rather that the world.
|
2014-11-03 17:45:50 +01:00 |
|
Éric Lemoine
|
46b03e79a4
|
Merge remote-tracking branch 'upstream/master' into webgl-point
|
2014-11-03 15:02:22 +01:00 |
|
Éric Lemoine
|
14d7f2a797
|
Delete ImageReplay textures
|
2014-11-03 14:16:32 +01:00 |
|
Éric Lemoine
|
4534bb8861
|
Make shaders closer to WebGL image replay
|
2014-11-03 13:46:34 +01:00 |
|
Andreas Hocevar
|
87a06c0086
|
Rename #getImageElement to #getImage
This adds consistency between ol.Image and ol.ImageTile. Now both have
an exportable getImage method.
|
2014-10-30 08:42:09 +01:00 |
|
Éric Lemoine
|
bbea205a9c
|
Use texture to draw points with WebGL
|
2014-10-27 09:18:19 +01:00 |
|
Éric Lemoine
|
c8225e49b1
|
Use triangles to draw points with WebGL
|
2014-10-27 09:18:19 +01:00 |
|
Éric Lemoine
|
33adcd3903
|
Add very basic webgl vector renderer
|
2014-10-27 09:18:19 +01:00 |
|
Tim Schaub
|
d712b2ba54
|
Allow source to be set after layer construction
|
2014-10-25 15:34:47 -06:00 |
|
Frédéric Junod
|
a6c3607897
|
Merge pull request #2855 from fredj/blur_preventDefault
Move touchstart preventDefault to ol.renderer.dom.Map
|
2014-10-23 17:38:44 +02:00 |
|
Andreas Hocevar
|
45967992fb
|
Merge pull request #2690 from ahocevar/layer-vectoroverlay
Vector rendering with the DOM renderer
|
2014-10-23 10:19:20 +02:00 |
|
Frederic Junod
|
c83caa9686
|
Add ol.renderer.dom.Map#disposeInternal
|
2014-10-23 08:53:55 +02:00 |
|
Frederic Junod
|
f440de2446
|
Move touchstart preventDefault to ol.renderer.dom.Map
`preventDefault` is called to prevent the img context menu on mobile devices.
|
2014-10-23 08:48:22 +02:00 |
|
Tim Schaub
|
e1ee3474bf
|
Unregister listener
|
2014-10-11 18:49:12 -06:00 |
|
Tim Schaub
|
7129a08e0b
|
Clear the canvas on layer extent changes
|
2014-10-11 18:22:18 -06:00 |
|
Andreas Hocevar
|
dd337f3526
|
Add a canvas for FeatureOverlay and pre-/postcompose rendering
|
2014-10-10 16:17:19 +02:00 |
|
Andreas Hocevar
|
4702aa496a
|
Add DOM vector layer renderer
|
2014-10-09 19:10:22 +02:00 |
|
Frederic Junod
|
d7ee71a811
|
Remove unnecessary type cast
|
2014-09-03 11:14:33 +02:00 |
|
Frederic Junod
|
009cd9f840
|
Remove unnecessary type cast
|
2014-09-03 11:14:33 +02:00 |
|
Frederic Junod
|
4a21ad566a
|
Remove unnecessary type cast
|
2014-09-02 15:17:32 +02:00 |
|
Frederic Junod
|
25093b371d
|
Improve ol.structs.LRUCache type annotation
|
2014-08-27 09:09:52 +02:00 |
|
Tim Schaub
|
b5a6ffc144
|
Merge pull request #2608 from tschaub/more-stable
Mark ol.RendererType enum as stable.
|
2014-08-25 07:39:38 -06:00 |
|
Éric Lemoine
|
cd4063b0d8
|
Merge pull request #2602 from elemoine/layer-extent
Fix Uncaught RangeError in canvas tile renderer
|
2014-08-25 09:13:01 +02:00 |
|
Tim Schaub
|
38b2a46b59
|
Mark ol.RendererType enum as stable
|
2014-08-24 18:22:19 -06:00 |
|
Éric Lemoine
|
73df93969a
|
No composeFrame if layer and view don't intersect
ol.renderer.canvas.TileLayer#prepareFrame immediately returns false if the layer extent and the view extent do not intersect.
|
2014-08-24 14:55:13 +02:00 |
|
Éric Lemoine
|
def1af4492
|
No composeFrame if prepareFrame returns false
|
2014-08-24 14:55:13 +02:00 |
|
Peter Robins
|
18a1c1c0d7
|
Rename ol.dom.browserfeature back to BrowserFeature
|
2014-08-22 15:32:01 +00:00 |
|
Frédéric Junod
|
fa512f1ed0
|
Merge pull request #2545 from fredj/cleanup
Miscellaneous coding style fixes
|
2014-08-21 07:44:07 +02:00 |
|
Antoine Abt
|
b034e114d6
|
Restore opacity after drawing vector layers
|
2014-08-20 15:34:48 +02:00 |
|
Frederic Junod
|
1439ceafa1
|
Simplify goog.object.forEach call
|
2014-08-19 11:58:50 +02:00 |
|
Frederic Junod
|
35e4134047
|
Don't create unnecessary closure
|
2014-08-19 11:39:44 +02:00 |
|
Éric Lemoine
|
e53213d730
|
Merge pull request #2537 from probins/browserfeature
Rename BrowserFeature to browserfeature
|
2014-08-18 16:23:28 +02:00 |
|
Éric Lemoine
|
9072fb1f2f
|
Merge pull request #2543 from elemoine/foreachfeature
Do not hit-detect the same feature multiple times
|
2014-08-18 10:38:38 +02:00 |
|
Éric Lemoine
|
c81dfdc69b
|
Do not hit-detect the same feature multiple times
In other words forEachFeatureAtPixel should not call the user-provided callback more than once for a given feature.
|
2014-08-18 10:24:12 +02:00 |
|
Éric Lemoine
|
ba035abb1f
|
Change ol.TileCoord to an Array
|
2014-08-18 09:33:24 +02:00 |
|
Peter Robins
|
e35531e7c6
|
Rename BrowserFeature to browserfeature
|
2014-08-15 13:53:20 +00:00 |
|
Frederic Junod
|
f2638ddfbf
|
Reuse tileRange in ol.renderer.Layer#manageTilePyramid
This avoids a lot of garbage.
|
2014-08-12 14:37:46 +02:00 |
|
Frederic Junod
|
ae98ee8b4a
|
Restore context opacity after drawing layers
Closes #2455
|
2014-08-05 16:05:23 +02:00 |
|