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
tsauerwein
d12db0419c
Make sure only one texture is created per image
2014-11-20 11:39:25 +01:00
tsauerwein
41887e660b
Fix call to drawElements
...
The offset must be given in bytes.
2014-11-12 16:29:46 +01:00
Éric Lemoine
46e436b599
Minor refactoring to WebGL image replay func
2014-11-10 17:19:31 +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
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
1de46c68d7
Use "discard" in image shader
...
This leads to better looking Timeline profiles in Chrome's developer tools!
2014-11-10 14:58:56 +01:00
Éric Lemoine
fb816b7ab5
Fix texture coordinates in WebGL image replay
2014-11-10 12:30:59 +01:00
Éric Lemoine
a2cf5b0889
Add unit tests for WebGL image replay
2014-11-10 11:02:32 +01:00
Éric Lemoine
c79f3aa101
Delete WebGL buffers
2014-11-10 09:54:04 +01:00
Éric Lemoine
0a364b32ed
Use LINEAR for icon textures
2014-11-07 10:49:58 +01:00
Éric Lemoine
c0acc8d825
Add comment describing the vertices sent to GPU
2014-11-07 09:59:56 +01:00
Éric Lemoine
0c6a40f5b5
Support image rotateWithView
2014-11-06 17:16:58 +01:00
Éric Lemoine
fb24c68b9c
Support image rotation
2014-11-06 15:27:25 +01:00
Éric Lemoine
43756a2d59
Support image scale
2014-11-06 09:47:24 +01:00
Éric Lemoine
64a7cdf372
Implement getImageSize in ol.style.Circle and RegularShape
2014-11-06 09:35:47 +01:00
Éric Lemoine
9029c0fdad
Use replay maxExtent center as the coord system origin
2014-11-06 09:24:47 +01:00
Éric Lemoine
8415a0c8ba
Fix type for image replay origin
2014-11-04 08:48:43 +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
209d39a460
Support image opacity
2014-11-03 16:50:33 +01:00
Éric Lemoine
05bbfd58a8
Support image anchor
2014-11-03 15:40:00 +01:00
Éric Lemoine
2c92d9a709
Fix drawElement call
2014-11-03 14:54:41 +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
Éric Lemoine
495a7c95a1
Clearer comment
2014-10-31 15:42:52 +01:00
Éric Lemoine
64bc8f74be
Better typing, fewer arrays
2014-10-31 15:41:25 +01:00
Éric Lemoine
8bff6a1abe
Flatten the WebGL replay class hierarchy
2014-10-31 15:23:50 +01:00
Éric Lemoine
9201312737
Add support for icon sprites
2014-10-31 11:16:51 +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
947b049799
Rename ol.browserfeature to ol.has
2014-08-22 07:34:35 -06:00
Frederic Junod
0f4e56978b
Remove unnecessary newlines
2014-08-19 11:58:25 +02:00
Peter Robins
e35531e7c6
Rename BrowserFeature to browserfeature
2014-08-15 13:53:20 +00:00
Éric Lemoine
d57a35ffcb
Fix stride related bug in Canvas immediate API
2014-07-10 14:21:56 +02:00
Paul Spencer
570a0c23a7
Merge pull request #2183 from pagameba/classdesc
...
Use @classdesc notation
2014-07-07 08:30:33 -04:00
Tim Schaub
4cf5ab4620
Use @api annotation instead of @todo api
2014-07-05 15:41:14 -04:00
Paul Spencer
abe953e4e5
Use @classdesc notation (continuing #2178 )
2014-07-03 08:09:25 -04:00
Paul Spencer
a93f7b8190
Fix spelling of GEOMETRY_RENDERERS_
2014-07-02 21:54:53 -04:00
Andreas Hocevar
efc3e3244a
Merge pull request #2254 from elemoine/replaygroup
...
Use replay groups for feature overlays
2014-06-27 12:59:06 +02:00
Andreas Hocevar
f67767aaf0
Add ol.renderer.vector.getSquaredTolerance and ol.SIMPLIFY_TOLERANCE
2014-06-27 12:10:46 +02:00
Éric Lemoine
b25e577865
Do not "export" ol.render.Event#replayGroup
2014-06-26 14:11:43 +02:00
Frederic Junod
2c6b22f55c
Use the right coordinates when drawing circles
2014-06-24 12:25:21 +02:00
Andreas Hocevar
85ddd2446e
Add endGeometry after hit detection stroke and fill
2014-06-24 12:23:47 +02:00
Frederic Junod
52b1ba30fa
Don't scale the text stroke width by pixel ratio
2014-06-16 15:34:54 +02:00
Éric Lemoine
49a1215f75
Pass a replay group to ol.render.Event
2014-06-14 14:21:34 +02:00
Tim Schaub
097909516a
Account for null or undefined geometry
...
The change in #2098 made it so a feature's geometry could be undefined. This is consistent with the return type for the getGeometry method. Where calling code needs to ensure that it has a geometry instance, it can use instanceof, goog.isDefAndNotNull(), or test for a truthy value.
2014-05-23 10:00:15 -06:00