Commit Graph

129 Commits

Author SHA1 Message Date
Frederic Junod 985fc3af47 Rename _ol_webgl_Vertex_ to WebGLVertex 2018-02-09 09:25:56 +01:00
Frederic Junod 96eba2bddf Rename _ol_webgl_Fragment_ to WebGLFragment 2018-02-09 09:23:28 +01:00
Frederic Junod e25e61c3b7 Rename location shader classes
And remove the now unneeded NAMESPACE variable
2018-02-08 15:18:11 +01:00
Frederic Junod 83d530e181 Named exports from WebGL shaders 2018-02-08 15:18:11 +01:00
Frederic Junod 2bf252ab0d Add MODULE variable in the glsl file 2018-02-08 15:18:11 +01:00
Frederic Junod 106059329d Fix module path in the shader templates 2018-02-08 15:18:11 +01:00
Frederic Junod 5f44d5e8e2 Fix indentation in shaderlocations.mustache 2018-02-08 15:18:11 +01:00
Frederic Junod 744cea6421 Use STATIC_DRAW as default WebGL buffer usage 2018-02-08 15:00:30 +01:00
Frederic Junod 3d9b1abe17 Rename _ol_webgl_Shader_ to WebGLShader 2018-02-08 09:24:29 +01:00
Frederic Junod 62b2900348 Rename _ol_webgl_Buffer_ to WebGLBuffer 2018-02-08 09:24:29 +01:00
Frederic Junod d1c11d50eb Rename _ol_webgl_Context_ to WebGLContext 2018-02-08 08:42:19 +01:00
Tim Schaub 7e7631c42a Named exports from ol/events 2018-01-24 10:09:57 -07:00
Frederic Junod 4c5ca75ca6 Better variables scoping 2018-01-17 10:54:18 +01:00
Frederic Junod 31e30d28b7 Named exports from ol/obj 2018-01-16 14:14:17 +01:00
Tim Schaub ad62739a6e Use blocked scoped variables
In addition to using const and let, this also upgrades our linter config and removes lint (mostly whitespace).
2018-01-12 00:50:30 -07:00
Frederic Junod 085fddcb36 Rename _ol_Disposable_ to Disposable 2017-12-22 09:02:23 +01:00
Marc Jansen 02002082bf Named exports from ol/array module 2017-12-19 17:22:58 +01:00
Frederic Junod 82a2908582 Rename _ol_webgl_ContextEventType_ to ContextEventType 2017-12-18 17:16:45 +01:00
Frederic Junod 2498bba90a Named exports from ol/functions 2017-12-15 13:44:32 +01:00
Frederic Junod 2ca60292bb Simplify default export 2017-12-14 12:23:06 -07:00
Tim Schaub 87295a74dd Use named exports from ol/index.js 2017-12-12 12:34:23 -07:00
Tim Schaub 50737f7f73 Remove unused code, get tests passing on Travis 2017-12-12 06:58:02 -07:00
Tim Schaub 7f47883c48 Transformed 2017-12-12 06:53:18 -07:00
Tim Schaub 1cdb6a66f0 Imports cased like the filename 2017-12-12 06:53:17 -07:00
Andreas Hocevar cf8c72c992 Fix provide/require structure for autogenerated shader files 2017-08-29 23:11:24 +02:00
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