Tom Payne
a26deb62bf
Remove unused variable
2013-01-12 18:54:09 +01:00
Tom Payne
92d3d001c0
Merge pull request #108 from twpayne/texture-uploads
...
Prioritize and throttle texture uploads
2013-01-12 03:27:37 -08:00
Tom Payne
6d44736e2f
Prioritize and throttle texture uploads
2013-01-12 02:32:53 +01:00
Tom Payne
52df441cf8
Add tile queue
2013-01-11 16:18:07 +01:00
Tom Payne
f00e299039
Register post-render functions instead of using an event
2013-01-11 15:49:21 +01:00
Tom Payne
f3cace499c
Implement frame state and animation architecture
2013-01-11 15:48:24 +01:00
Tom Payne
97d83666a6
Factor out ImageTile and ImageTileSource
2013-01-11 01:18:57 +01:00
Tom Payne
0d1e6ea766
Move forEachReadyVisibleLayer into WebGL renderer
2013-01-10 16:43:42 +01:00
Éric Lemoine
927cffb2b7
Add view abstraction
2013-01-09 14:03:16 +01:00
Tom Payne
b40085ca41
Fix non-view-related typecasts in ol.renderer.webgl.TileLayer
2013-01-07 13:19:00 +01:00
Tom Payne
e05591f6ab
Fix typecast in ol.renderer.webgl.Layer
2013-01-07 13:18:59 +01:00
Tom Payne
cfaee15c9f
Factor out color matrix generation, move color matrix into layer renderer
2013-01-05 12:30:18 +01:00
Tom Payne
8404142cec
Avoid getting map twice
2013-01-05 12:18:42 +01:00
Tom Payne
d3a0f87438
Remove inadvertent double render
2013-01-05 12:18:35 +01:00
Tom Payne
118b233457
More strict matrix type
2013-01-05 12:17:37 +01:00
Tom Payne
8c44dcf83a
Add some WebGL renderer FIXMEs
2013-01-03 12:23:50 +01:00
Tom Payne
756792b8db
Pass time to render functions and rename them to renderFrame_
2013-01-03 12:23:50 +01:00
Tom Payne
783dfe0618
Port WebGL renderer to requestRenderFrame
2013-01-03 12:23:49 +01:00
Éric Lemoine
21f3f90ca6
Adjust hue, sat, and constrast in webgl renderer
2012-12-12 15:53:56 +01:00
Tom Payne
4dde0ac2b1
Remove tile change listeners when they have fired, thanks @fredj
2012-11-09 14:33:58 +01:00
Tom Payne
dfd495153d
Make ol.renderer.Map behave like a null renderer, fixes #82
...
With this patch, creating a new ol.renderer.Map will return a map
renderer that does nothing. Previously, it could cause assertion
failures.
2012-11-02 17:10:45 +01:00
Tom Payne
e5d39724c9
Give each source file a unique name
2012-10-26 11:25:26 +02:00
Tom Payne
8cb28a7217
Move WebGL support test into ol.webgl
2012-10-17 17:25:37 +02:00
Tom Payne
1d40b64db1
Move WebGL context creation into ol.webgl
2012-10-17 17:23:30 +02:00
Tom Payne
936584ceaa
Use goog.array.map for browser compatability, thanks @AugustusKling
2012-10-10 13:49:01 +02:00
Tom Payne
ac8dd5db98
Fix sort problem identified by @tschaub in f8462460bf
2012-10-10 10:27:42 +02:00
Tom Payne
d35df1d53b
More detailed texture upload logging
2012-10-04 11:38:21 +02:00
Tom Payne
71e42b2448
Refactor build system
...
This rather large commit refactors the build system to solve a number of
problems:
- Object literal types are now declared in just one place
- There are no more circular dependencies
- There is no need for concealed subclasses in build-standalone mode
When building in standalone mode, you need to include the source in
build/src/external. This declares object literal types as externs so
that their properties are not renamed.
When building with the application, you need to include the source in
build/src/internal. This declares object literal types as typedefs so
that their properties can be renamed and removed.
Note also that ol.MapOptions has been merged into ol.Map, with some
renaming.
2012-09-29 11:51:53 +02:00
Tom Payne
e36169c936
Ignore all errors in when testing for WebGL
2012-09-28 21:36:03 +02:00
Tom Payne
2713addb33
More accurate WebGL support test, see issue #31
2012-09-28 20:05:14 +02:00
ahocevar
3d62b67172
Introducing ol.overlay.Overlay and an overlayContainer
...
ol.overlay.Overlay can be used to bind DOM elements to a
coordinate on the map. It has positioning options to support
e.g. popups or image markers that have an anchor at the bottom
and an unknown size.
The overlayContainer stops propagation on mousedown and
touchstart events, so clicks and gestures on overlays don't
trigger any MapBrowserEvent. To make this work reliably, we now
only fire dblclick in mapbrowserevent.js when there was a
previous mousedown or touchstart. The default container for
controls is now the overlayContainer.
2012-09-28 13:01:56 +02:00
Tom Payne
e3c3c13ac2
Use goog.vec.Mat4.rotateZ
2012-09-27 18:21:33 +02:00
Tom Payne
7625607fd1
Only resize canvas when renderering
2012-09-27 14:05:19 +02:00
Tom Payne
ac0e02039c
s/POST_RENDER/POSTRENDER/
2012-09-27 14:05:19 +02:00
Tom Payne
d3b9af30d0
Don't modify return type of method
2012-09-27 09:36:55 +02:00
Tom Payne
50334b7971
s/ol.TileLayer/ol.layer.TileLayer/
2012-09-27 09:36:55 +02:00
Tom Payne
290d03e76f
s/store/source/
2012-09-26 19:43:23 +02:00
Tom Payne
8369924511
Remove debug code
2012-09-25 14:00:19 +02:00
Tom Payne
06ea619989
Avoid re-rendering framebuffer in simple cases
2012-09-25 13:54:15 +02:00
Tom Payne
c2e08861e5
Correct order of transformations
2012-09-25 12:23:11 +02:00
Tim Schaub
900eead7c6
Correct type for imagesToLoad. Add note about shorter path.
2012-09-25 12:08:02 +02:00
Tom Payne
8394147df1
Satisfy gjslint
2012-09-24 21:25:29 +02:00
ahocevar
002e23cb74
Satisfy latest Closure library/tools.
2012-09-24 17:59:34 +02:00
Tim Schaub
1f9e2aa3c4
Move Layer into ol.layer namespace.
2012-09-24 17:08:36 +02:00
Tom Payne
a416d1f601
s/TileBounds/TileRange/
2012-09-24 14:33:24 +02:00
Tom Payne
f8c31ba45c
s/ol3/ol/
2012-09-24 14:21:41 +02:00