Marc Jansen
|
2077211e67
|
Reorder assertions and variable declarations.
|
2015-03-31 10:19:04 +02:00 |
|
Marc Jansen
|
fb9ba22c30
|
Add message to assertions.
|
2015-03-30 22:53:03 +02:00 |
|
Frederic Junod
|
f6b47f086b
|
Use ol.extent.createOrUpdateFromCoordinate
Instead of ol.extent.boundingExtent
|
2015-02-04 14:14:50 +01:00 |
|
Frederic Junod
|
f9723aa310
|
Add missing goog.require
|
2015-02-03 15:52:19 +01:00 |
|
tsauerwein
|
f4500c8f89
|
Rename *AtPixel to *AtCoordinate if coordinate
|
2015-01-30 10:00:37 +01:00 |
|
tsauerwein
|
054227fd26
|
Make signature for *AtPixel methods more consistent
pixel/coordinate is the first argument.
|
2015-01-30 10:00:36 +01:00 |
|
tsauerwein
|
a39544cce0
|
Implement skipping features for hasFeatureAtPixel
|
2015-01-22 10:24:59 +01:00 |
|
tsauerwein
|
cf9619f378
|
Implement skipping features for 1by1 hit detection
|
2015-01-22 10:24:59 +01:00 |
|
tsauerwein
|
c4ee074274
|
Implement skipping features for drawReplay
|
2015-01-22 10:24:59 +01:00 |
|
tsauerwein
|
c85982bbe5
|
Remove unused variables
|
2015-01-09 09:21:40 +01:00 |
|
tsauerwein
|
25612f1af2
|
Unify return statement
Only return the callback result if it is truthy,
otherwise return undefined.
|
2015-01-08 16:12:52 +01:00 |
|
tsauerwein
|
bc71a36292
|
Implement hasFeatureAtPixel for webgl
|
2015-01-08 16:12:52 +01:00 |
|
tsauerwein
|
974823dbd4
|
Refactor createTexture
|
2015-01-08 15:40:03 +01:00 |
|
tsauerwein
|
38322d615b
|
Use renderBuffer for hit-detection
|
2015-01-08 15:38:00 +01:00 |
|
tsauerwein
|
060c9f3bc6
|
Reduce number of arrays created
|
2015-01-08 15:38:00 +01:00 |
|
tsauerwein
|
cf6dd38866
|
Use hit-detection images
|
2015-01-08 15:38:00 +01:00 |
|
tsauerwein
|
3ef61fa1c5
|
Add hit-detection support for webgl
|
2015-01-08 15:38:00 +01:00 |
|
Tim Schaub
|
1ff43686f5
|
Use bracket notation instead of goog.object.get
|
2015-01-07 22:31:01 -07:00 |
|
Tim Schaub
|
f9a92c422c
|
Use bracket notation instead of goog.object.set
|
2015-01-07 21:08:24 -07:00 |
|
Éric Lemoine
|
ddc51ee267
|
Unconditionally draw Replay's
|
2014-12-18 13:04:29 +01:00 |
|
Andreas Hocevar
|
af30b88413
|
Allow geometryFunction to return undefined
|
2014-12-16 01:12:08 +01:00 |
|
Andreas Hocevar
|
6478454a93
|
Use getGeometryFunction() in immediate API
|
2014-12-15 23:22:26 +01:00 |
|
Éric Lemoine
|
fdf52c1865
|
Simplify hit detection code
|
2014-12-05 15:42:54 +01:00 |
|
Éric Lemoine
|
6d1d47a918
|
Remove @api for ol.render.webgl.Immediate#flush
|
2014-12-04 11:22:15 +01:00 |
|
Éric Lemoine
|
c0bbb6c4fa
|
Disable vertex attrib array after replay
|
2014-11-21 17:48:58 +01:00 |
|
Éric Lemoine
|
b3369cd516
|
Delete WebGL resources used by immediate API
|
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
|
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
|
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 |
|
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 |
|
É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 |
|
É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
|
2f7c97f25a
|
Use OES_element_index_uint when available
|
2014-11-20 16:39:25 +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 |
|
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 |
|