Commit Graph

46 Commits

Author SHA1 Message Date
Tom Payne
3e4b132446 Replace getTileTexture with bindImageTexture 2012-08-05 01:13:30 +02:00
Tom Payne
d7623356fc More explict key variable names 2012-08-05 00:38:27 +02:00
Tom Payne
d03586d8e9 Use goog.dom functions 2012-08-03 11:13:01 +02:00
Tom Payne
1b8132ecfd Use add/remove events 2012-08-02 16:47:08 +02:00
Tom Payne
34f9e35ba9 Remove trailing zeros 2012-07-30 11:56:34 +02:00
Tom Payne
8179cf0b69 Add rotation to WebGL tile layer renderer 2012-07-29 17:09:33 +02:00
Tom Payne
7144e7ad0b Use Closure logging infrastructure for WebGL errors 2012-07-28 16:01:38 +02:00
Tom Payne
c4f9e3656b Don't use webgl-debug.js 2012-07-28 15:57:53 +02:00
Tom Payne
ade0d17541 Only iterate over ready, visible layers 2012-07-28 01:15:32 +02:00
Tom Payne
228547d0fe Add ol.Map.isDef 2012-07-24 20:47:34 +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
abc1b4ff04 Rename redraw to render 2012-07-22 03:10:33 +02:00
Tom Payne
4906bdced5 Add working WebGL renderer 2012-07-22 03:10:32 +02:00
Tom Payne
0602942cf8 Add ol.Color 2012-07-21 01:05:55 +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
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
854280eb11 Snapshot ol.webgl.Map 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
40e83b9258 Don't redraw if center or resolution is not defined 2012-07-17 18:55:33 +02:00
Tom Payne
d8a5126265 Snapshot WebGL renderer 2012-07-17 14:07:29 +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
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
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
582a9e93e0 Snapshot WebGL renderer 2012-07-15 16:32:00 +02:00
Tom Payne
61ab5c8f49 Refactor shader and program management 2012-07-15 14:11:32 +02:00
Tom Payne
26aa704a4d Refresh layer renderer management 2012-07-15 12:31:33 +02:00
Tom Payne
adfdedb12b Add ol.Map.freeze/thaw 2012-07-14 22:41:04 +02:00
Tom Payne
75ab503473 Correct WebGL context handling 2012-07-14 22:18:57 +02:00
Tom Payne
d258db6204 Snapshot ol.webgl.TileLayerRenderer 2012-07-14 22:00:43 +02:00
Tom Payne
ba9a62120b Only redraw if visible layers are added or removed 2012-07-14 19:23:25 +02:00
Tom Payne
f66016af2e Handle resizing 2012-07-14 19:23:08 +02:00
Tom Payne
fcf552ea40 Merge Camera into Map 2012-07-14 18:34:02 +02:00
Tom Payne
461552a72e Correct camera property change handling 2012-07-14 16:12:56 +02:00
Tom Payne
d1e5906e2c Merge Map and MapRenderer 2012-07-14 13:36:24 +02:00