Frederic Junod
427c73ddf9
Remove unnecessary type cast
...
`npx tsc` output is the same before and after the changes.
2019-02-05 11:46:12 +01:00
Frederic Junod
0b53a3229b
Remove unneeded type cast
2019-02-04 09:58:49 +01:00
ahocevar
4f487c4df1
Update comment
2019-01-25 16:49:35 +01:00
ahocevar
6e58796f66
Do not keep potentially unused tiles in the render queue
2019-01-25 16:49:34 +01:00
ahocevar
09a1c1ef1b
Avoid clipping when rendering to tiles that don't exceed the clip extent
2019-01-24 09:09:22 +01:00
ahocevar
592b6cf362
Keep track of used labels
2019-01-23 21:52:22 +01:00
Frederic Junod
8dbe8bc34e
Parse the opacity from style as float
2019-01-22 12:48:14 +01:00
ahocevar
a5d93117ed
Also consider lower resolution tiles as used tiles
2019-01-21 22:34:01 +01:00
ahocevar
cd6d195e3f
Render whole image queue in hifi mode to avoid extra render cycles
2019-01-20 23:44:28 +01:00
ahocevar
90c8fc7888
Properly unregister prepareTile listeners
2019-01-13 23:09:24 +01:00
ahocevar
0f3c0d1af4
Rename VectorImageTile to VectorRenderTile
2019-01-09 13:45:01 +01:00
ahocevar
32696638d2
Simplify vector tile code
2019-01-09 13:45:01 +01:00
Frédéric Junod
cf6b1ca1cc
Merge pull request #9072 from fredj/rm_layerStates
...
Remove 'layerStates' property from the FrameState
2019-01-07 10:11:52 +01:00
Olivier Guyot
62c7a49943
Webgl points / added a texture option & improved doc
2018-12-28 15:53:07 +01:00
Olivier Guyot
0acfd7ab59
WebGL points / Added a color attribute
2018-12-28 15:53:07 +01:00
Frederic Junod
a0f15e1eb6
Only schedule the unused layers renderer removal when it's needed
2018-12-21 10:37:03 +01:00
Frederic Junod
3193de0906
Only schedule the icon cache expire when it's needed
2018-12-19 14:34:22 +01:00
Frederic Junod
a4fe067aad
Create a layer state map instead of an array of uids
2018-12-19 12:45:39 +01:00
Frederic Junod
016d738269
Move frameState test on top in removeUnusedLayerRenderers_
2018-12-18 13:34:19 +01:00
Frederic Junod
5d1c27d05d
Don't create an array of managed layers
2018-12-18 13:17:00 +01:00
Frederic Junod
1750ff43e0
Always schedule unused layers removal function
2018-12-18 09:49:47 +01:00
Frederic Junod
5195adea85
Remove 'layerStates' property from the FrameState
2018-12-18 09:49:38 +01:00
Andreas Hocevar
0cda18f58a
Merge pull request #9008 from ahocevar/decouple-group-creation
...
Decouple render instruction creation from rendering
2018-12-07 14:33:54 +01:00
Olivier Guyot
27b0cf18e7
Update default shaders in documentation of webgl classes
2018-12-07 09:32:52 +01:00
Olivier Guyot
f177a2bcd5
Simple handling of layer opacity in webgl points layer
...
Now the layer opacity is simply handled by a CSS property on the layer DOM element. As such it does not have to be
taken into account in shaders.
2018-12-07 09:02:02 +01:00
Olivier Guyot
a6989af00a
Webgl points layer / added callbacks for attributes
...
Now opacity, rotateWithView and tex coords can be set with callbacks per feature.
2018-12-07 08:57:12 +01:00
Andreas Hocevar
4ce5379a4b
Merge pull request #9039 from OSHistory/tsFunctionReturnVoid
...
Add ': void' to non returning functions (error TS7014)
2018-12-07 07:58:40 +01:00
Andreas Hocevar
1c4cfc9559
Merge pull request #9024 from ahocevar/imagelayer-events
...
Add prerender and postrender events for Image layer
2018-12-07 07:46:39 +01:00
Niklas Alt
4bc9216e41
Add ': void' to non returning functions (error TS7014)
2018-12-06 19:57:45 +01:00
ahocevar
6202a0cf05
Bring back interim tiles, but don't block user interaction
2018-12-04 11:09:51 +01:00
Niklas Alt
3ef6e39c26
Use camel-cased inheritDoc for consistency
2018-12-03 20:42:03 +01:00
ahocevar
976863c376
Add prerender and postrender events for Image layer
2018-12-02 21:05:20 +01:00
jahow
8bb7d77f68
Update PointsLayer documentation
2018-12-01 00:11:27 +01:00
jahow
78028893e2
Added missing attributes in PointsLayer
...
Attributes were used in the shader but not bound to a buffer, which made the
rendering failed in some implementations.
2018-12-01 00:01:55 +01:00
ahocevar
1d243a7f37
Add comments and TODOs
2018-11-29 22:35:46 +01:00
ahocevar
fbf98a44ea
Streamline tile preparation and remove unused code
2018-11-29 22:35:46 +01:00
ahocevar
2ce8fa6f10
Render only when we have time, and not during interaction/animation
2018-11-28 14:42:41 +01:00
ahocevar
82e2a84862
Remove interim tile handling for now
2018-11-28 14:42:41 +01:00
ahocevar
43759fd846
Decouple executor group creation from rendering
2018-11-28 14:42:40 +01:00
ahocevar
f4aec3fd01
Remove unused Builder/Executor functions and members
2018-11-25 20:06:37 +01:00
Andreas Hocevar
66ec9983b2
Fix module path
2018-11-25 14:19:56 +01:00
Frederic Junod
e66a84c897
Add imageRatio option for VectorImage layers
2018-11-22 09:38:08 +01:00
Frédéric Junod
5951e147c0
Merge pull request #8995 from fredj/vec_render_mode
...
Remove leftover comments and code for 'vector' render mode
2018-11-22 08:44:37 +01:00
Tim Schaub
e9a30c5cb7
Use standard tile coords
2018-11-21 11:14:17 -07:00
Frederic Junod
cb44775306
Remove leftover comments and code for 'vector' render mode
2018-11-21 16:58:27 +01:00
Tim Schaub
c6be2c7ff5
Merge pull request #8977 from jahow/add-webgl-rendering-tests
...
Add WebGL rendering tests & improve the WebGLHelper API
2018-11-20 03:59:06 -08:00
Tim Schaub
7036064ffc
Add tiles to avoid 404s in rendering tests
2018-11-19 13:50:52 -07:00
Tim Schaub
898c349fbf
Stacking contexts for layers, overlays, and controls
2018-11-19 11:00:33 -07:00
Olivier Guyot
0b23e94a2a
Fixed internal var name on WebGLPoints renderer.
2018-11-19 13:11:23 +01:00
jahow
6b82cf0b84
Simplified the API of WebGLHelper
...
Now the shader and program caches are simply arrays of native WebGL created objects.
The WebGLHelper simply takes the sources of the frag and vert shader and produces a program.
This removes 2 classes & reduces the general verbosity of the API.
Also a `getShaderCompilationErrors` was added on `WebGLHelper` to help debug GLSL errors.
2018-11-19 13:11:23 +01:00