Commit Graph

20194 Commits

Author SHA1 Message Date
GaborFarkas a7ddda7d81 Force close polygon contours (WebGL) 2016-11-23 09:51:37 +01:00
GaborFarkas ca1414b2d0 Add depth test to PolygonReplay 2016-11-23 09:51:37 +01:00
GaborFarkas 310fabe94a Add tests for WebGL Immediate API 2016-11-23 09:51:37 +01:00
GaborFarkas 0c45b52a7a Add functions to WebGL Immediate API 2016-11-23 09:51:37 +01:00
GaborFarkas 8a6b206220 Add more tests 2016-11-23 09:51:37 +01:00
GaborFarkas 0cb0ea2a8a Add tests for ol.render.webgl.CircleReplay 2016-11-23 09:51:37 +01:00
GaborFarkas c675a33235 Add tests for ol.render.webgl.Replay 2016-11-23 09:51:37 +01:00
GaborFarkas 62fb8d8fd8 Fix typos 2016-11-23 09:51:37 +01:00
GaborFarkas 36df9a9c09 Add missing requires 2016-11-23 09:51:37 +01:00
GaborFarkas dc360c2d7f Refactor WebGL render tests 2016-11-23 09:51:37 +01:00
GaborFarkas 763bbca549 Fix skipping replay 2016-11-23 09:51:37 +01:00
GaborFarkas 697cbf16f0 Fix some rendering issues with complex styling 2016-11-23 09:51:37 +01:00
GaborFarkas dd7e49c217 Fix canvas cricle test 2016-11-23 09:51:37 +01:00
GaborFarkas 58afee6706 Clean up polygon replay GLSL 2016-11-23 09:51:37 +01:00
GaborFarkas ac6408be3b Add circle replay to WebGL renderer 2016-11-23 09:51:36 +01:00
GaborFarkas 86c914f3df Fix glitched lines with rotated view 2016-11-23 09:51:36 +01:00
GaborFarkas 5fb0a84579 Fix WebGL PolygonReplay#bridgeHole_ 2016-11-23 09:51:36 +01:00
GaborFarkas a002474761 Fix typo in polygon rendering test 2016-11-23 09:51:36 +01:00
GaborFarkas e124b34b24 Correctly draw polygons with transparent border 2016-11-23 09:51:36 +01:00
GaborFarkas 3af5c2805e Add tests to WebGL triangulating functions 2016-11-23 09:51:36 +01:00
GaborFarkas 004c0f7e27 Fix WebGL PolygonReplay#getPointsInTriangle_ 2016-11-23 09:51:36 +01:00
GaborFarkas 0c3d5eca5c Add tests for the linked list struct 2016-11-23 09:51:36 +01:00
GaborFarkas 71d790ccfd Add zIndex support to WebGL renderer 2016-11-23 09:51:36 +01:00
GaborFarkas 8e8098b362 Add some test to PolygonReplay 2016-11-23 09:51:36 +01:00
GaborFarkas 5cf2e9c072 Add shutdown methods to replays 2016-11-23 09:51:36 +01:00
GaborFarkas 360e77481d Restructure webgl replays 2016-11-23 09:51:36 +01:00
GaborFarkas dc27f768d0 Correctly triangulate simple polygons. 2016-11-23 09:51:36 +01:00
GaborFarkas a0089b5126 Correctly triangulate bad polygons. 2016-11-23 09:51:36 +01:00
GaborFarkas 657f2c7b6c Optimize processing flat coordinates 2016-11-23 09:51:36 +01:00
GaborFarkas 5d65028d26 Initial ear clipping algorithm 2016-11-23 09:51:33 +01:00
GaborFarkas 88f7e7a38d Utilities for polygon renderer 2016-11-23 09:49:48 +01:00
GaborFarkas 610084d456 Linked list structure for polygon renderer 2016-11-23 09:49:48 +01:00
GaborFarkas 18bc820f8b Prevent overdraw in PolygonReplay. 2016-11-23 09:49:48 +01:00
GaborFarkas 4b2fb38954 Fix preparation of multipolygons with holes. 2016-11-23 09:49:48 +01:00
GaborFarkas 226bf5a9ea Allow empty fillStyle for polygons. 2016-11-23 09:49:48 +01:00
GaborFarkas 16a50ee0c7 Extend PolygonReplay with hit detection and skipping. 2016-11-23 09:49:48 +01:00
GaborFarkas ce3b286cd3 RTE correct only once. 2016-11-23 09:49:48 +01:00
GaborFarkas 112fae228a Sanity check fill colors. 2016-11-23 09:49:48 +01:00
GaborFarkas 18cf6c30bd Add basic polygon renderer. 2016-11-23 09:49:48 +01:00
GaborFarkas 269c3eb943 Set WebGL LineString threshold to 14.6
This commit will be a fixup for the previous one, or get deleted eventually.
2016-11-23 09:49:48 +01:00
GaborFarkas e893603966 Add tests to LineStringReplay 2016-11-23 09:49:47 +01:00
GaborFarkas 638b7752fa Fix bugs in LineStringReplay. 2016-11-23 09:49:47 +01:00
GaborFarkas f96a4a7301 Properly handle zeros in stroke style. 2016-11-23 09:49:47 +01:00
GaborFarkas 1c7203a203 Add skipping capability to LineStringReplay 2016-11-23 09:49:47 +01:00
GaborFarkas 48d3bfe297 Take line width into account when forming miters. 2016-11-23 09:49:47 +01:00
GaborFarkas 16dfc5dfba Adjust replays to new version. 2016-11-23 09:49:47 +01:00
GaborFarkas c966e21e40 Fix black canvas when image is missing 2016-11-23 09:49:47 +01:00
GaborFarkas 2415050500 Add hit detection support to LineStringReplay
Also, making it more consistent with ImageReplay
2016-11-23 09:49:47 +01:00
GaborFarkas b7396b0b94 Improve code quality
Cleaning up, making the code more consistent, and restructuring commonly used methods.
2016-11-23 09:49:47 +01:00
GaborFarkas 3897312af6 Add full support to different styles in one layer. 2016-11-23 09:49:47 +01:00