Commit Graph

104 Commits

Author SHA1 Message Date
Tim Schaub d19dfa0775 Remove unused requires 2017-08-17 14:46:18 -04:00
Andreas Hocevar 5161a99925 Remove ol.ENABLE_WEBGL condition from webgl files 2017-08-17 13:21:53 -04:00
Marc Jansen 87e9c9ad46 Change indentation of shader mustache template 2017-06-20 11:45:48 +02:00
Marc Jansen d0ef05977b Autofix indentation issues (eslint --fix) 2017-06-19 11:58:00 +02:00
Tim Schaub 479d98212b Disable no-missing-requires rule in generated shader code 2017-05-02 15:04:20 -06:00
Frederic Junod 9d263629e6 Add missing goog.require 2017-02-03 12:47:13 +01:00
Frederic Junod 5763e1d145 Remove unused goog.require 2017-02-03 12:40:53 +01:00
Frederic Junod 546fc97cd4 Add abstract tag at class level 2017-01-30 17:16:01 +01:00
Tim Schaub fcb9dafc33 Use the ol.DEBUG_WEBGL flag to debug shader sources 2017-01-16 16:57:37 -07:00
Andreas Hocevar dcbf3a97e8 Wrap WebGL shader code in define condition 2017-01-02 22:01:58 +01:00
Andreas Hocevar 9c79564676 Wrap ol.webgl code in define condition 2017-01-02 21:52:31 +01:00
Tim Schaub 137cdc04c8 Remove ol.DEBUG 2017-01-01 20:37:52 -07:00
Tim Schaub d989d9b272 Make buffer usage enum private 2016-12-27 13:03:47 -07:00
Tim Schaub ef04f466cd Name modules more like their provide 2016-12-18 11:24:01 -07:00
Andreas Hocevar d1e4b33760 Rename goog.DEBUG to ol.DEBUG 2016-08-31 21:10:01 +02:00
Frederic Junod d4ad9ad616 Add missing goog.require('ol') 2016-08-17 09:57:21 +02:00
Tim Schaub 9cbbdc9242 Add Usage property to ol.webgl.Buffer 2016-08-12 10:53:50 -06:00
Tim Schaub 0b3c320540 Rename ol.webgl.WebGLContextEventType to ol.webgl.ContextEventType 2016-08-12 10:53:50 -06:00
Frederic Junod fbb585c5d8 Remove goog.addSingletonGetter function 2016-08-09 11:28:02 +02:00
Tim Schaub 907a65ab83 Remove unused goog.require() calls in the source 2016-08-08 09:58:10 -06:00
Tim Schaub 12e81e5487 Clean up WebGL provides 2016-08-07 10:49:12 -06:00
Tim Schaub 1b8310a6fe Rename ol/objectutil.js to ol/obj.js 2016-08-07 10:49:12 -06:00
Tim Schaub 4c8b583e30 Move ol/webgl/webgl.js to ol/webgl/index.js 2016-08-07 10:49:11 -06:00
Andreas Hocevar e0015b3d4e Use goog.DEBUG instead of ol.DEBUG for now 2016-08-04 11:29:54 +02:00
Andreas Hocevar 6f5ed17fc5 Remove goog.asserts.*
This pull requests replaces type check hint assertions with type casts,
library sanity check assertions with conditional console.assert statements
in debug mode, and runtime sanity checks with assertions that throw an
ol.AssertionError with an error code for lookup outside the library.
2016-08-04 11:29:54 +02:00
Peter Robins f8f2cd11d5 Replace goog.getUid with ol.getUid 2016-07-20 11:01:00 +00:00
Peter Robins 0713e680e1 Replace goog.abstractMethod 2016-07-19 09:08:23 +00:00
Peter Robins 294a129083 Replace goog.webgl 2016-07-02 10:40:55 +00:00
Peter Robins f196ed8102 Replace remaining goog.inherits 2016-07-01 08:45:15 +00:00
Frederic Junod e289bfbb7d Use ol.inherits instead of goog.inherits 2016-06-08 08:38:12 +02:00
Peter Robins 2117f2e3b1 Convert all typedefs to CamelCase 2016-05-18 19:44:45 +00:00
Peter Robins 176ddd3403 Rename non-api sub-namespace typedefs 2016-05-13 10:24:57 +00:00
Peter Robins 4f0b4dacbd Move sub-namespace typedefs to typedefs.js
Here too there is one problem case.
2016-05-11 19:45:59 +00:00
Björn Harrtell 44e04be67f Get rid of goog.functions 2016-04-01 10:32:15 +02:00
Björn Harrtell a2a3ca84e2 Reintroduce log messages for relevant WebGL assertions 2016-03-22 16:35:46 +01:00
Björn Harrtell 234e8c2fde Get rid of goog.log 2016-03-19 23:12:56 +01:00
Tim Schaub e1f0e8d75b No need for ol.webgl.Context to be an event target 2016-03-03 07:28:34 -07:00
Tim Schaub 2f9d4e68eb Unregister all listeners on the WebGL context's canvas 2016-03-03 07:26:45 -07:00
Tim Schaub afb64ed2bf Make ol.webgl.Context an ol.events.EventTarget 2016-03-02 16:32:25 -07:00
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