Commit Graph

7481 Commits

Author SHA1 Message Date
Tom Payne b12711fa9d Fix non-view-related typecasts in ol.renderer.Map 2013-01-07 13:19:00 +01:00
Tom Payne ddee13d6eb Fix non-view-related typecasts in ol.renderer.dom.TileLayer 2013-01-07 13:19:00 +01:00
Tom Payne 80e4c46805 Fix non-view-related typecasts in ol.Map 2013-01-07 13:19:00 +01:00
Tom Payne e52ec0f7a2 Fix non-view-related typecasts in interactions 2013-01-07 13:18:59 +01:00
Tom Payne 0653546e44 Fix non-view-related typecasts in ol.control.Attribution 2013-01-07 13:18:59 +01:00
Tom Payne 6b7a3bb3bf Fix typecast in ol.Tile 2013-01-07 13:18:59 +01:00
Tom Payne 06bb56eff2 Fix typecasts in ol.layer.TileLayer 2013-01-07 13:18:59 +01:00
Tom Payne 3ef85a3651 Fix typecasts in ol.layer.Layer 2013-01-07 13:18:59 +01:00
Tom Payne e05591f6ab Fix typecast in ol.renderer.webgl.Layer 2013-01-07 13:18:59 +01:00
Tom Payne cadeb209cd Fix typecast in ol.renderer.dom.Layer 2013-01-07 13:18:59 +01:00
Tom Payne 5cfae7b3bc Fix typecast in ol.Proj4jsProjection 2013-01-07 13:18:59 +01:00
Tom Payne 3f08995cfb Fix typecast in ol.Collection 2013-01-07 13:18:59 +01:00
Tom Payne 0e93217396 Correctly dispose of layer renderers when layers property changes 2013-01-07 13:18:59 +01:00
Tom Payne 196c3ca15e Merge pull request #95 from marcjansen/ignore-pyc
Ignore *.pyc files in root directory.
2013-01-07 03:09:34 -08:00
Frederic Junod 4de5adf32d make replaced with build.py 2013-01-07 09:16:25 +01:00
Marc Jansen 1670972a9e Ignore all *.pyc files. 2013-01-07 09:08:14 +01:00
Marc Jansen dd566ba595 Ignore pake.pyc file. 2013-01-06 16:08:21 +01:00
Tom Payne 7ad273082a Correct Stamen source options 2013-01-05 18:35:14 +01:00
Tom Payne cd6c5ee6ed Disable document generation in precommit target, refs #94
Revert this commit when issue #94 is fixed.
2013-01-05 18:34:35 +01:00
Tom Payne d1615db925 Merge pull request #93 from twpayne/webgl-renderer-cleanups
WebGL renderer cleanups
2013-01-05 03:46:43 -08: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 30ee23d69d Merge pull request #92 from twpayne/request-render-frame
Request render frame
2013-01-04 05:02:25 -08:00
Tom Payne b2bb08eb81 Clarify comment 2013-01-03 18:16:16 +01:00
Tom Payne 7a36793776 Port DOM renderer to request render frame architecture 2013-01-03 14:51:15 +01:00
Éric Lemoine b386c38111 Demonstrating user-controlled animation
Inspired from 840ffb6
2013-01-03 12:23:50 +01:00
Éric Lemoine 51636ea0d1 Only appending tiles to the dom after load
A port of f46cdb4 and 4242ef40 from animation-frame branch.
2013-01-03 12:23:50 +01:00
Tom Payne 934c75bc8c Use requestRenderFrame API in interactions 2013-01-03 12:23:50 +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
Tom Payne 12099bab56 Implement @elemoine's requestRenderFrame architecture 2013-01-03 12:23:49 +01:00
Tom Payne 18fdb66437 Update jsdoc template to be compatible with latest version of jsdoc3 2013-01-03 12:15:30 +01:00
Tom Payne ad983a5e68 Add missing semicolon from exampleparser output 2013-01-03 11:52:26 +01:00
Tom Payne 7f63e3b8e7 Propagate query string to example links 2013-01-03 11:50:44 +01:00
Tom Payne 874a311de2 Fix bug where all examples were assumed to be under version control 2013-01-03 11:31:31 +01:00
Éric Lemoine 7b24c5b54a Merge pull request #90 from elemoine/webglcolorfilter
WebGL color filter
2012-12-12 07:33:17 -08:00
Éric Lemoine 21f3f90ca6 Adjust hue, sat, and constrast in webgl renderer 2012-12-12 15:53:56 +01:00
tschaub 9622395c86 Use radians for hue rotation
This commit is a cherry-pick from 7f578f0.

Conflicts:

	src/ol/renderer/dom/domlayerrenderer.js
2012-12-12 15:22:01 +01:00
tschaub 4d97b583c6 Match the current Filter Effects spec
This commit is a cherry-pick of 19f7778.

The current draft of the [filter spec](https://dvcs.w3.org/hg/FXTF/raw-file/tip/filters/index.html)
describes brightness, contrast, hue-rotate, and saturate functions that
roughly match our layer's setBrightness, setContrast, setHue, and
setSaturation methods.  These changes make the range of our methods match
the corresponding functions in the spec.  The one exception is the
brightness function.  The spec says it has a range of 0 to positive infinity.
The WebKit implementation accepts a range of -1 to 1 (as of
https://github.com/WebKit/webkit/commit/8f4765e569).  There's an open
(ticket)[https://www.w3.org/Bugs/Public/show_bug.cgi?id=15647] recommending
that the spec be changed to match.

I'm not stuck on having our methods match those of the filter spec, but the
parity would be nice.

These changes leave the WebGL map renderer "broken" (whacky colors).  It would
be straightforward to update the current fragment shader to handle the new
range of hue, but the brightness, contrast, and saturation handling will
need to be reworked.

For inspiration, here are the color transformation
matrix calculations the WebKit filters:
https://github.com/WebKit/webkit/blob/8f4765e5698c9171c2b3f984d0d9d65188185de3/Source/WebCore/platform/graphics/chromium/cc/CCRenderSurfaceFilters.cpp#L64-80

Conflicts:

	src/ol/renderer/dom/domlayerrenderer.js
2012-12-12 15:18:34 +01:00
Éric Lemoine 570defe940 Merge pull request #86 from geops/api-docs-comments
Some comments (no changes to code)
2012-12-03 14:02:20 -08:00
Augustus Kling a73c15c988 Discard documentation for attributioncontrol.js and map.js to make refactoring easier due to @elemoine's request 2012-12-03 22:47:33 +01:00
Frederic Junod 14f7b9a41e git-update-ghpages removed, bin/readme.md no longer necessary 2012-11-14 12:50:13 +01:00
Frédéric Junod 12d5626288 make replaced with build.py 2012-11-14 12:45:07 +01:00
Éric Lemoine bccfccbf9d Merge pull request #84 from elemoine/84
DOM renderer tile artifacts on FF
2012-11-13 13:47:00 -08:00
Tom Payne 72b7a136c1 Update to latest version of pake, fixes #87, thanks @cedricmoullet and @AugustusKling 2012-11-12 00:01:29 +01:00
Éric Lemoine 7b88f44a41 Keep track of tiles we're already listening on 2012-11-11 21:31:12 +01:00
augustus f253c1bcf8 Some comments (no changes to code) 2012-11-09 16:26:59 +01:00