Commit Graph

64 Commits

Author SHA1 Message Date
Tom Payne
cbafc0795d Add another FIXME 2012-07-22 11:40:48 +02:00
Tom Payne
511ca18b23 Tidy up fragment shader 2012-07-22 11:40:47 +02:00
Tom Payne
ec2ab8265c Add brightness and contrast controls, thanks @evanw 2012-07-22 11:40:47 +02:00
Tom Payne
f280faff67 Add hue and saturation controls, thanks @evanw 2012-07-22 11:40:47 +02:00
Tom Payne
21e3f2fe83 Promote opacity/visibility changes into base class 2012-07-22 11:40:47 +02:00
Tom Payne
abc1b4ff04 Rename redraw to render 2012-07-22 03:10:33 +02:00
Tom Payne
33449e657a Add various FIXMEs 2012-07-22 03:10:32 +02:00
Tom Payne
4906bdced5 Add working WebGL renderer 2012-07-22 03:10:32 +02:00
Éric Lemoine
014c5e8905 refactoring, and renamings in tilegrid.js (related to continous zooming) 2012-07-21 23:52:56 +02:00
Tom Payne
89efc96dd5 Don't bother making forEachTileCoord abortable 2012-07-21 01:08:44 +02:00
Tom Payne
0602942cf8 Add ol.Color 2012-07-21 01:05:55 +02:00
Tom Payne
513d8e7268 Create ol.Size around goog.math.Size 2012-07-19 10:46:43 +02:00
Tom Payne
c547404615 Create ol.Coordinate around goog.math.Coordinate 2012-07-19 10:34:12 +02:00
Tom Payne
5ace389ccb Redraw map when WebGL context is restored 2012-07-19 09:12:22 +02:00
Tom Payne
da941562cc Handle background color in ol.webgl.Map 2012-07-19 00:29:24 +02:00
Tom Payne
52ce0b3fd0 Assure redraw is called when layer becomes invisible 2012-07-19 00:29:24 +02:00
Tom Payne
e85ca98179 Refactor build system and layout 2012-07-18 02:26:41 +02:00
Tom Payne
0abc4219b3 Document various FIXMEs 2012-07-18 00:35:44 +02:00
Tom Payne
659ef30802 Lift common composite rendering code into ol.Map 2012-07-18 00:21:20 +02:00
Tom Payne
a421943eb1 Clear framebuffer before writing tiles 2012-07-18 00:10:43 +02:00
Tom Payne
4ca1fd00c7 Suppress compiler warning 2012-07-18 00:10:43 +02:00
Tom Payne
854280eb11 Snapshot ol.webgl.Map 2012-07-18 00:10:43 +02:00
Tom Payne
7febc1c8b3 Add ol.webgl.TileLayerRenderer.getMatrix 2012-07-18 00:10:43 +02:00
Tom Payne
b6db84a54c Add ol.webgl.LayerRenderer.getMatrix 2012-07-18 00:10:43 +02:00
Tom Payne
29f149976f Add missing require 2012-07-18 00:10:43 +02:00
Tom Payne
db59dfd5a2 Rename textureCache to tileTextureCache 2012-07-18 00:10:42 +02:00
Tom Payne
7dc2884498 Fix tile edge artefacts 2012-07-18 00:10:42 +02:00
Tom Payne
6abcc56789 Suppress compiler warnings 2012-07-18 00:10:42 +02:00
Éric Lemoine
5b5b89819e alphabetize goog.require classes for gjslint 2012-07-17 22:13:15 +02:00
Tom Payne
f77ad158f0 Initial working WebGL TileLayerRenderer 2012-07-17 18:56:10 +02:00
Tom Payne
40e83b9258 Don't redraw if center or resolution is not defined 2012-07-17 18:55:33 +02:00
Tom Payne
be94eafae6 Override getLayer in ol.webgl.TileLayerRenderer 2012-07-17 17:39:47 +02:00
Tom Payne
d8a5126265 Snapshot WebGL renderer 2012-07-17 14:07:29 +02:00
Tom Payne
51e1d364c4 Remove unnecessary texture parameters 2012-07-17 14:07:16 +02:00
Tom Payne
7c290e9e30 Add skeleton ol.webgl.TileLayerRenderer shaders 2012-07-17 14:06:45 +02:00
Tom Payne
117321ea43 Name event handlers more consistently 2012-07-17 14:06:01 +02:00
Tom Payne
ac80a6e0b6 Merge shaders into single file 2012-07-17 13:41:38 +02:00
Tom Payne
7e2816ecd8 Implement shaders as singletons 2012-07-17 13:17:40 +02:00
Tom Payne
3ba0525495 Snapshot WebGL renderer 2012-07-17 12:15:33 +02:00
Tom Payne
0db1b0c0d6 Override getMap in ol.webgl.LayerRenderer 2012-07-17 12:13:51 +02:00
Tom Payne
e0f840dd27 Override method rather than adding a new one 2012-07-17 12:13:15 +02:00
Tom Payne
253d62763f Refactor context lost handling 2012-07-17 12:01:32 +02:00
Tom Payne
495630355a Add texture cache 2012-07-17 12:01:32 +02:00
Tom Payne
1aaa59a110 Move ol.webgl.WebGLContextEventType into ol.webgl 2012-07-17 11:56:44 +02:00
Tom Payne
8df2404e77 Return null tiles when out of range 2012-07-15 22:22:25 +02:00
Tom Payne
e23e19c074 Snapshot ol.webgl.TileLayerRenderer 2012-07-15 20:50:21 +02:00
Tom Payne
ddbe0dccaf Correct target 2012-07-15 20:50:21 +02:00
Tom Payne
249449df3b Listen for changes in layer renderers 2012-07-15 20:50:21 +02:00
Tom Payne
bcf6e7d7b1 Add ol.DEBUG_WEBGL @define 2012-07-15 20:50:21 +02:00
Tom Payne
ae7572aa7a Port ol.webgl.TileLayerRenderer to ol.Rectangle 2012-07-15 18:56:57 +02:00