Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [core] const-correction | John Firebaugh | 2017-03-02 | 4 | -4/+4 |
| | |||||
* | [core] Fix whitespace; no need for explicit on multi-parameter constructors | John Firebaugh | 2017-03-02 | 12 | -124/+204 |
| | |||||
* | [core] privatize OffscreenTexture implementation | Konstantin Käfer | 2017-03-01 | 2 | -24/+55 |
| | |||||
* | [core] Implement data-driven styling for ↵ | Anand Thakker | 2017-02-28 | 21 | -273/+503 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | {text,icon}-{color,opacity,halo-color,halo-blur,halo-width} (#7939) * Add symbol dds attributes and adapt style code generation * Update to mapbox-gl-js/master * Refactor SymbolFeature as a subclass of GeometryTileFeature Prepares for enabling DDS on symbol paint properties by allowing the SymbolFeatures, which we keep around after constructing SymbolLayout, to be used in evaluating data-driven paint properties later in the layout process. * Draft approach for splitting icon/text paint properties The `Program` types are set up to bind GL attributes to each of the data-driven paint properties specified in the `PaintProperties` type provided. Since `SymbolPaintProperties` specifies both `Text*` and `Icon*` properties, the symbolIcon, symbolIconSDF, and symbolGlyph programs each attempt to bind roughly double the number of attributes that they actually need. This change addresses this by: - Adding the more specific `IconPaintProperties` and `TextPaintProperties` types, which are subsets of the full `SymbolPaintProperties`. - The symbol layer continues to use its `SymbolPaintProperties paint` member to track layer property state, but it provides helpers that construct objects of each the specific `{Icon,Text}PaintProperties::Evaluated` type, for use by the painter. - The three symbol programs instantiate `Program<>` using the appropriate `{Icon,Text}PaintProperties` type. * check in generated style code * Populate paint buffers for symbol DDS properties * Address first round of review comments * Refactor VectorTile{Layer,Feature} to explicitly share data * Update submodule | ||||
* | [core] remove gl.hpp include from shader headers | Konstantin Käfer | 2017-02-28 | 13 | -26/+0 |
| | |||||
* | [core] There's only ever one icon quad | John Firebaugh | 2017-02-28 | 6 | -81/+86 |
| | |||||
* | [core] Eliminate Shaping::text | John Firebaugh | 2017-02-28 | 3 | -7/+4 |
| | | | | This was already accessible via SymbolFeature::text. | ||||
* | [core] Release compareText after symbol preparation | John Firebaugh | 2017-02-28 | 1 | -0/+1 |
| | | | | It's a temporary structure and not needed for placement. | ||||
* | [core] [android] - allow zooming/scaling to use AnimationOptions (#8181) | Tobrun | 2017-02-28 | 3 | -91/+91 |
| | | | [glfw] - allow glfw binding to use AnimationOptions instead of using direction directly | ||||
* | [core] Replace three maps/mutexes in GlyphAtlas with a single map and mutex | John Firebaugh | 2017-02-27 | 3 | -44/+30 |
| | |||||
* | [core] Add pause/resume to the Thread class | Thiago Marcos P. Santos | 2017-02-25 | 1 | -0/+45 |
| | | | | | | | | | | Make a thread completely halt and not process any message on the message queue until resume() is called. Sending a sync message to a halted thread will result on a deadlock, thus the assertion. Deleting a paused thread will trigger a resume. | ||||
* | [core, ios, macos] Return null when removing nonexistent source | Jesse Bounds | 2017-02-23 | 1 | -1/+1 |
| | |||||
* | [core] Return null when removing nonexistent layer | Eimantas Vaiciunas | 2017-02-23 | 1 | -1/+1 |
| | | | | | In case of exception, silently ignore removal of nonexistent layer and return nullptr | ||||
* | [core] don't treat empty raster tiles as "DataAvailability::All" | Konstantin Käfer | 2017-02-22 | 2 | -3/+3 |
| | |||||
* | [core] Use std::call_once to report about missing VAOs | Bruno de Oliveira Abinader | 2017-02-22 | 1 | -4/+4 |
| | |||||
* | [core] - allow moveBy to use AnimationOptions | Tobrun | 2017-02-20 | 3 | -5/+5 |
| | | | | [android] - update jni bindings for moveBy with an interpolator | ||||
* | [core] Link BackendScopes in a list for additional assertions | John Firebaugh | 2017-02-20 | 1 | -7/+17 |
| | |||||
* | [core] Nestable BackendScope | John Firebaugh | 2017-02-20 | 2 | -0/+27 |
| | |||||
* | [core] Redo approach to unsupported VAO extension | John Firebaugh | 2017-02-20 | 3 | -15/+23 |
| | |||||
* | [core] Render a circle if either the color or stroke color are visible | Jesse Bounds | 2017-02-17 | 1 | -3/+6 |
| | | | | | | | | | | | | | This updates the circle paint check to pass if the circle stroke is visible but: * The circle color is clear * The circle is transparent * The circle has a radius of 0 Previously, a transparent circle or a circle with a radius of 0 would cause the layer to be passed up even if the circle stroke color had a non zero alpha. | ||||
* | [core] Enable property functions for text-{field,transform} (#7944) | Anand Thakker | 2017-02-17 | 5 | -14/+53 |
| | |||||
* | [core] Fix aliased text on mobile GPUs | John Firebaugh | 2017-02-15 | 1 | -3/+3 |
| | | | | | | Need highp precision for gamma values on mobile devices. lowp triggers aliasing artifacts at larger font sizes. Note that this change is a hand-edit to the generated shader sources, rather than pulling https://github.com/mapbox/mapbox-gl-js/pull/4275 and running the generator script. The reason for that is that the upstream shader now assumes support for DDS properties that gl-native does not yet support. Once that support lands in gl-native, we can regenerate the shader source. | ||||
* | [core] Eliminate SpritePatternMode | John Firebaugh | 2017-02-14 | 6 | -57/+44 |
| | |||||
* | [core] Mutex no longer needs to be recursive | John Firebaugh | 2017-02-14 | 2 | -6/+6 |
| | |||||
* | [core] Combine SpriteAtlas::getPosition with SpriteAtlas::getImage | John Firebaugh | 2017-02-14 | 9 | -57/+45 |
| | |||||
* | [core] Inline SpriteAtlas::allocateImage | John Firebaugh | 2017-02-14 | 2 | -23/+11 |
| | |||||
* | [core] Eliminate SpriteAtlas::updateDirty | John Firebaugh | 2017-02-14 | 4 | -98/+93 |
| | | | | Simplify internal datastructures. Properly remove rects from the bin pack when an image is removed. | ||||
* | [core] Eliminate SpriteAtlas::Holder | John Firebaugh | 2017-02-14 | 2 | -37/+25 |
| | |||||
* | [core] Make Image safer | John Firebaugh | 2017-02-14 | 8 | -99/+59 |
| | | | | | | Provide Image::copy, which handles copying rectangles from a source to a destination, with thorough bounds checking. Also fixes an indexing error in SpriteAtlas, where the top row of pixels in a wrapped image was copied from the wrong source row. | ||||
* | [core] Expose Map::setZoom with anchor parameter | Jason Wray | 2017-02-13 | 1 | -1/+7 |
| | |||||
* | [core] add tests for user/password, port, trailing dot, and IPv4/IPv6 ↵ | Konstantin Käfer | 2017-02-13 | 1 | -2/+4 |
| | | | | address parsing | ||||
* | Upright CJK characters in vertically-oriented labels (#7114) | Minh Nguyễn | 2017-02-10 | 11 | -92/+445 |
| | | | | | CJK characters and adjacent punctuation now remain upright in vertically oriented labels that have line placement. Fixes #1682. | ||||
* | [core] Restore support for GL implementations without VAO extension | John Firebaugh | 2017-02-10 | 3 | -10/+23 |
| | |||||
* | [core] Introduce dedicated filter types for $type and $id special cases (#7971) | John Firebaugh | 2017-02-09 | 1 | -7/+79 |
| | | | | | | | | * [core] Introduce dedicated filter types for $type and $id special cases * [ios, macos] Special-case $id, $type in predicates Also support $id ≟ nil. | ||||
* | [core] Restore support for *-transition properties | John Firebaugh | 2017-02-09 | 9 | -0/+247 |
| | |||||
* | [core, ios, macos] Refactor composite stop types and conversions | John Firebaugh | 2017-02-09 | 1 | -11/+9 |
| | |||||
* | compare polygon ring areas absolutelynode-v3.4.4-13e504 | Dane Springmeyer | 2017-02-09 | 1 | -1/+1 |
| | | | | | - This ensures we actually keep the largest polygons - Adds testcase that fails without this patch | ||||
* | [core] Update gl-js; fix $id filters with GeoJSON source | John Firebaugh | 2017-02-08 | 1 | -0/+4 |
| | |||||
* | [build, ios, macos] Simplify version portion of user agent string | John Firebaugh | 2017-02-08 | 3 | -14/+18 |
| | | | | The X.Y.Z version portion was unreliable, as it pulled from the latest tag regardless of platform. Set version to 0.0.0 and retrieve only the hash, which allows us to drop the node/npm dependency. | ||||
* | [core] Use cpp files for shader source | John Firebaugh | 2017-02-07 | 26 | -2011/+2206 |
| | |||||
* | [core] Check in generated shader code | John Firebaugh | 2017-02-07 | 20 | -13/+2193 |
| | | | | One step toward eliminating the node/npm dependency for platforms other than node. | ||||
* | [node] Temporary: exit(0) on exception in Painter::render | John Firebaugh | 2017-02-06 | 1 | -4/+10 |
| | | | | Hope to get complete apitrace with a clean exit rather than an abort. | ||||
* | [core] default value support in categorical function conversion | Ivo van Dongen | 2017-02-02 | 7 | -31/+45 |
| | |||||
* | [core] Add support for data-driven styling | John Firebaugh | 2017-02-02 | 108 | -924/+2269 |
| | |||||
* | [core] Move fill-outline special case to FillLayer::Impl::evaluate | John Firebaugh | 2017-02-02 | 2 | -5/+5 |
| | |||||
* | [core] remove trailing whitespace, add trailing newlines, add space after // | Konstantin Käfer | 2017-01-27 | 20 | -37/+37 |
| | |||||
* | [core] Allow tile cache size to change with viewport size | John Firebaugh | 2017-01-26 | 1 | -1/+1 |
| | |||||
* | [core] Scale tile cache size based on tile size | John Firebaugh | 2017-01-26 | 1 | -2/+2 |
| | |||||
* | [core] fix rendering 180° line joins | Konstantin Käfer | 2017-01-23 | 2 | -5/+13 |
| | |||||
* | [core][Qt] Use Qt for UTF16, since `codecvt` is not always available | Thiago Marcos P. Santos | 2017-01-20 | 1 | -8/+2 |
| |