Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [core] Inline Painter::renderBackground | John Firebaugh | 2017-07-19 | 3 | -88/+74 |
| | |||||
* | [core] Eliminate Bucket::render | John Firebaugh | 2017-07-19 | 31 | -105/+112 |
| | |||||
* | [core] No need for default ctor in {Update,Tile}Parameters | Bruno de Oliveira Abinader | 2017-07-19 | 11 | -71/+11 |
| | |||||
* | [core] std::vector can be bracket-initialized | Bruno de Oliveira Abinader | 2017-07-19 | 2 | -4/+4 |
| | |||||
* | [Qt] Rename files with same name | Thiago Marcos P. Santos | 2017-07-19 | 1 | -0/+0 |
| | | | | | QMake is having some issues with files with same names when building the Qt Location plugin. | ||||
* | [core] BackendScope prevent double (de-)activation | Ivo van Dongen | 2017-07-18 | 1 | -8/+27 |
| | | | | | - Guards against duplicate activations by checking wether the backend of the prior scope is the same as the current ones - Makes sure that only the most outer backend scope deactivates by tracking activation state | ||||
* | [core] rename backend to renderer backend | Ivo van Dongen | 2017-07-18 | 7 | -26/+25 |
| | |||||
* | [core] renderer interface | Ivo van Dongen | 2017-07-18 | 15 | -264/+456 |
| | |||||
* | [core] split backend from mapobserver | Ivo van Dongen | 2017-07-18 | 1 | -1/+5 |
| | |||||
* | [core] mutate style on annotation mutations immediately | Ivo van Dongen | 2017-07-18 | 4 | -68/+60 |
| | |||||
* | [core][ios][android][macos] Use premultiplied image directly for RasterTile ↵ | Asheem Mamoowala | 2017-07-17 | 8 | -19/+24 |
| | | | | and ImageSource, un-premultiply in the shader for blending | ||||
* | [core] Use shared pointer to manage Image source raster data and speed up ↵ | Asheem Mamoowala | 2017-07-17 | 6 | -41/+74 |
| | | | | change detection | ||||
* | [core] abort early when the dimension is 0 | Konstantin Käfer | 2017-07-17 | 1 | -1/+1 |
| | |||||
* | [core] fix undefined behavior for division through 0 | Konstantin Käfer | 2017-07-17 | 3 | -10/+30 |
| | |||||
* | [core] fix division by zero when defaultFadeDuration is 0 | Konstantin Käfer | 2017-07-13 | 1 | -1/+4 |
| | |||||
* | [android] Force previously cached program binaries to be regenerated | John Firebaugh | 2017-07-12 | 1 | -0/+1 |
| | |||||
* | [core] Pass correct sources to programIdentifier | John Firebaugh | 2017-07-12 | 1 | -10/+6 |
| | |||||
* | [core] No need for optional in map of VertexArrays | John Firebaugh | 2017-07-12 | 3 | -10/+9 |
| | |||||
* | [core] Add comments explaining typing of AttributeLocation and UniformLocation | John Firebaugh | 2017-07-12 | 1 | -0/+8 |
| | |||||
* | [core] Reduce memory requirements of VertexArrays | John Firebaugh | 2017-07-12 | 4 | -12/+34 |
| | |||||
* | [core] Remove segment.cpp | John Firebaugh | 2017-07-12 | 1 | -7/+0 |
| | |||||
* | [core] Use a type alias for SegmentVector | John Firebaugh | 2017-07-12 | 1 | -4/+1 |
| | |||||
* | [core] Per-segment-per-layer vertex arrays | John Firebaugh | 2017-07-12 | 13 | -27/+61 |
| | | | | Reduces rebinding, matches gl-js, and works around the buggy VAO implementation on PowerVR SGX544 GPUs. | ||||
* | [core] Rework attribute binding (again) | John Firebaugh | 2017-07-12 | 30 | -302/+357 |
| | | | | | | | | | | These changes are necessary for programs whose set of active attributes is not fixed at compile time by a template parameter pack, but rather varies based on the generated shader text at runtime. In such cases, the attribute location of a given named attribute may vary between instances of the same Program. Previously, attribute bindings were implicitly associated with a location based on template parameter order, and -1 was used to indicate an inactive attribute. This left us unable to disable the appropriate attribute when it went from active to inactive. Now, the state tracker for bindings explicitly associates locations and state, and an empty optional is used to indicate an inactive attribute. In addition, a gl::VertexArray class is now exposed, allowing more flexibility in the relationship between Programs, Segments, and attribute bindings. In this commit, that relationship does not change, but the subsequent commit adjusts it to match gl-js, reduce rebinds, and work around buggy VAO implementations. VertexArray uses a pimpl idiom in order to support implementations that lack the VAO extension. In that case, all VertexArrays share global binding state, reflecting the platform reality in the absence of VAOs, while still providing a uniform API. | ||||
* | [core] Inline getActiveAttributes details | John Firebaugh | 2017-07-12 | 1 | -25/+11 |
| | |||||
* | [core] Include what you use | John Firebaugh | 2017-07-12 | 3 | -1/+3 |
| | |||||
* | [core] Update shaders. | Chris Loer | 2017-07-12 | 8 | -7/+75 |
| | | | | | Implements 'icon-pitch-alignment' (issue #9345) Fixes issue #9456 (map-aligned point label regression) | ||||
* | [core] Base label "keep-upright" orientation on start and end of label | Chris Loer | 2017-07-12 | 1 | -18/+76 |
| | | | | Fixes issue #9457. | ||||
* | [core] GCC 4.9 bracket initialization issues | Bruno de Oliveira Abinader | 2017-07-12 | 6 | -8/+10 |
| | |||||
* | [core] GCC 4.9 is unable to deduce ctors when using bracket init | Bruno de Oliveira Abinader | 2017-07-12 | 4 | -10/+96 |
| | |||||
* | [core] Added missing header includes | Bruno de Oliveira Abinader | 2017-07-12 | 1 | -0/+1 |
| | |||||
* | [core] Added MBGL_CONSTEXPR to satisfy GCC 4.9 | Bruno de Oliveira Abinader | 2017-07-12 | 4 | -12/+16 |
| | |||||
* | [core] GCC 4.9 shadow member warnings | Bruno de Oliveira Abinader | 2017-07-12 | 2 | -4/+4 |
| | |||||
* | [core] GCC 4.9 does not fully support custom variable templates | Bruno de Oliveira Abinader | 2017-07-12 | 2 | -13/+12 |
| | |||||
* | [core] Use gmtime_s on Windows | Thiago Marcos P. Santos | 2017-07-12 | 1 | -2/+9 |
| | | | | gmtime_r is POSIX | ||||
* | [core] Use std::to_string on Windows | Thiago Marcos P. Santos | 2017-07-12 | 2 | -1/+14 |
| | | | | Clang on Window's can't parse rapidjson's dtoa. | ||||
* | [core] Prefer std:: functions over POSIX | Thiago Marcos P. Santos | 2017-07-12 | 1 | -4/+2 |
| | | | | s/unlink/std::remove | ||||
* | [core] add static asserts for more gl constants | Ansis Brammanis | 2017-07-11 | 4 | -6/+53 |
| | | | | and rename BufferUsageType to BufferUsage | ||||
* | [core] port pitch-label collision hack | Ansis Brammanis | 2017-07-11 | 4 | -20/+50 |
| | | | | https://github.com/mapbox/mapbox-gl-js/pull/4781/commits/81363951ed56c54f331ffc8d88e4e5079226a224 | ||||
* | [core] improve legibility of labels that follow lines | Ansis Brammanis | 2017-07-11 | 28 | -716/+714 |
| | | | | | | | | | | port https://github.com/mapbox/mapbox-gl-js/pull/4781 This improves legibility of labels that follow lines in pitched views. The previous approach used the limited information in the shader to calculate put the glyph in approximatelyright place. The new approach does this more accurately by doing it on the cpu where we have access to the entire line geometry. | ||||
* | [core] fix transformMat4 | Ansis Brammanis | 2017-07-11 | 1 | -4/+5 |
| | | | | | It used to overwrite values in the middle of the calculation which would cause problems when `out` and `a` were a reference to the same vector. | ||||
* | [core] Hold on to tile yStretch value for rendering old symbolBuckets while ↵ | Chris Loer | 2017-07-11 | 2 | -2/+10 |
| | | | | waiting for new ones. | ||||
* | [core] Change OverscaledTileID to also include a "wrap" value. | Chris Loer | 2017-07-11 | 3 | -26/+23 |
| | | | | | This prevents TilePyramid from sharing wrapped copies of tiles. This is necessary because two wrapped tiles no longer share the same CollisionTile. | ||||
* | [core] Limit symbol re-placement on changed tile distance to pitch > 25. | Chris Loer | 2017-07-11 | 1 | -1/+7 |
| | |||||
* | [core] Re-generate shaders. | Chris Loer | 2017-07-11 | 3 | -89/+184 |
| | |||||
* | [core] Use fade texture in collision debug boxes so that they agree more ↵ | Chris Loer | 2017-07-11 | 4 | -3/+5 |
| | | | | closely with symbol shaders. | ||||
* | [core] Set "max_camera_distance" to 1.5 for viewport-aligned road labels. | Chris Loer | 2017-07-11 | 3 | -3/+19 |
| | | | | Viewport-aligned curved labels start to look very strange in the distance. Until we have a better system for projecting them, just prevent them from showing. | ||||
* | [core] Enable tile clipping for collision boxes. | Chris Loer | 2017-07-11 | 1 | -1/+1 |
| | | | | Necessary because collision boxes now change shape based on while tile they're part of. | ||||
* | [core] Extend collision feature boxes to accommodate potential pitch-scaling. | Chris Loer | 2017-07-11 | 1 | -8/+49 |
| | |||||
* | [core] Pass pitch-scaling vertex attributes and uniforms to shaders. | Chris Loer | 2017-07-11 | 9 | -21/+53 |
| |