Commit Graph

65 Commits

Author SHA1 Message Date
Tim Schaub fd394151fd Replace goog.object.clear() with ol.object.clear() 2016-02-04 06:54:44 -07:00
Tim Schaub 554887ae14 Remove use of goog.object.forEach() 2016-02-04 06:54:44 -07:00
Tim Schaub 80df1f5ae8 Move opt_useCapture arg to the end of the list 2016-02-03 11:19:38 +01:00
Andreas Hocevar 3f2d79b7fe Replace goog.events.Event/EventTarget system with our own
This also removes goog.events.listen, goog.events.unlisten,
goog.events.unlistenByKey and goog.events.BrowserEvent.
2016-02-03 11:19:38 +01:00
Tim Schaub 13a981c94b Fewer blank lines 2016-01-11 22:03:23 -08:00
Tim Schaub e6f6dcc230 Partial valid-jsdoc corrections 2016-01-11 18:56:08 -08:00
Tim Schaub 29a723166d No empty blocks 2016-01-11 18:56:07 -08:00
Éric Lemoine d5ec75a643 Merge pull request #4186 from elemoine/webgl-context
Do not export ol.webgl.Context
2015-10-09 17:59:07 +02:00
Marc Jansen 7ceb7a439e Remove goog.isNull in webgl classes 2015-10-01 09:18:53 +02:00
Frederic Junod 88c3891bef Replace goog.array.contains with ol.array.includes 2015-09-29 10:42:07 +02:00
Éric Lemoine 5c274adddb Do not export ol.webgl.Context
We don't need to export the `ol.export.Context` constructor as users won't create `ol.webgl.Context` instances themselves.
2015-09-28 20:21:40 +02:00
Éric Lemoine 4c32ec4d67 Remove @api on getHitDetectionFramebuffer
This removes the `@api` marker on `getHitDetectionFramebuffer`. I think this was added by mistake in 7404204.
2015-09-28 16:11:55 +02:00
Tim Schaub e3951fa3c6 Inline simple goog.isDef() calls 2015-09-27 10:34:44 -06:00
Tim Schaub 7659e47e07 Inline simple goog.isDef() checks 2015-09-27 10:18:44 -06:00
Frederic Junod 49b8f90e66 Add missing goog.provide
The new version of the closure-compiler (version 20150729) wants that all the classes
tagged with `@constructor` to be provided (with `goog.provide`).
2015-08-25 09:26:10 +02:00
Frederic Junod 0a6745f1e4 Remove unused goog.require
Found by the latest version of closure-compiler (v20150729)
2015-08-04 10:01:11 +02:00
Tim Schaub c31ae25892 Replace non-breaking space (U+00A0) with regular space (U+0020) 2015-04-22 10:41:10 -06:00
Tim Schaub e2b37a74a5 WebGL context docs 2015-04-04 17:38:02 +02:00
Marc Jansen fb9ba22c30 Add message to assertions. 2015-03-30 22:53:03 +02:00
tsauerwein 974823dbd4 Refactor createTexture 2015-01-08 15:40:03 +01:00
tsauerwein cf6dd38866 Use hit-detection images 2015-01-08 15:38:00 +01:00
tsauerwein 740420468e Add hit-detection framebuffer to context 2015-01-08 15:38:00 +01:00
tsauerwein d6841e6d9d Fix tests for when not run with WebGL support 2014-11-24 13:26:45 +01:00
tsauerwein e307579d49 Move constants from ol.has to ol 2014-11-24 09:42:10 +01:00
Éric Lemoine 57db47ac18 Rename ol.structs.Buffer to ol.webgl.Buffer
The Buffer class is WebGL specific, and it's not really a "data structure", in the pure sense of the term.
2014-11-21 15:48:31 +01:00
Éric Lemoine fd9db053c0 Use ol WebGL infrastructure in WebGL replay 2014-11-21 11:39:47 +01:00
Éric Lemoine 1e12e7ca90 Remove unused WebGL related code 2014-11-21 10:51:00 +01:00
Éric Lemoine 2f7c97f25a Use OES_element_index_uint when available 2014-11-20 16:39:25 +01:00
Paul Spencer 570a0c23a7 Merge pull request #2183 from pagameba/classdesc
Use @classdesc notation
2014-07-07 08:30:33 -04:00
Tim Schaub 4cf5ab4620 Use @api annotation instead of @todo api 2014-07-05 15:41:14 -04:00
Paul Spencer abe953e4e5 Use @classdesc notation (continuing #2178) 2014-07-03 08:09:25 -04:00
Andreas Hocevar fbdbbfb7a7 Get rid of stability annotations and document stability with api
This change adds a stability value to the api annotation, with
'experimental' as default value.

enum, typedef and event annotations are never exportable, but
api annotations are needed there to make them appear in the
docs.

Nested typedefs are no longer inlined recursively, because the
resulting tables get too wide with the current template.
2014-04-29 09:53:07 -06:00
Andreas Hocevar c17ac0cae3 Greatly simplify and document the usage of JSDoc
This commit simplifies the exports.js plugin so it only relies
on the stability notes to generate the documentation, which
completely decouples it from the exportable API.

As a rule of thumb, whenever something has an 'api' annotation,
it should also have a 'stability' annotation. A more verbose
documentation of ol3 specific annotation usage is available in
the new 'apidoc/readme.md' file.

This commit also modifies all source files to implement these
usage suggestions.
2014-04-29 09:53:06 -06:00
Tim Schaub fb497f5288 Annotations for exports 2014-04-29 09:53:05 -06:00
Tom Payne 7cadb6824e Merge remote-tracking branch 'openlayers/master' into vector-api 2013-12-18 17:09:19 +01:00
Éric Lemoine 79718151b7 Add ol.BrowserFeature.HAS_WEBGL 2013-12-18 11:20:13 +01:00
Tom Payne fbc23499e4 Add @struct annotation for simple classes 2013-12-13 18:59:26 +01:00
Tom Payne 1dd5f7f7c8 Merge remote-tracking branch 'openlayers/master' into vector-api 2013-12-05 16:53:04 +01:00
Tom Payne 600cb3a0ff Add @struct annotation where possible 2013-12-04 16:07:39 +01:00
Tom Payne 0d3583bd8d Improve type checking in WebGL support test 2013-12-04 11:59:29 +01:00
Tom Payne d6dc1a2c6f Don't use WebGL if there is a major performance caveat 2013-12-04 11:58:05 +01:00
Éric Lemoine ff66a60e5e Export ol.webgl.Context
It's used in the layer-clipping-webgl example
2013-11-21 23:04:37 +01:00
Tom Payne 26fa8d9d53 Track current program in context, rather than renderers 2013-11-20 11:31:20 +01:00
Tom Payne 10c41cd064 Factor out ol.webgl.Context 2013-11-20 11:31:19 +01:00
Frederic Junod ca5960666d Be more strict with {Element} types 2013-11-12 13:53:37 +01:00
Éric Lemoine 5c5fcb7e06 Use @exportSymbol for exporting ol.webgl.SUPPORTED
For consistency with the way we export ol.DeviceOrientation.SUPPORTED and ol.Geolocation.SUPPORTED.
2013-09-28 22:47:25 +02:00
Frederic Junod d061994842 Remove webgl-experimental from ol.webgl.CONTEXT_IDS_ 2013-09-23 14:18:30 +02:00
Frederic Junod c7b5bd0b6d Add 'experimental-webgl' to ol.webgl.CONTEXT_IDS_ (IE11 support)
see: http://msdn.microsoft.com/en-us/library/ie/ff975238(v=vs.85).aspx
2013-09-23 09:38:45 +02:00
Tim Schaub 54738e29eb Export ol.webgl.SUPPORTED and provide ol.webgl 2013-09-15 15:51:17 -06:00
Frederic Junod 393566155d Export ol.*.SUPPORTED symbols 2013-09-06 22:34:32 +02:00