Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [core] Per-tile glyph/icon atlases | John Firebaugh | 2017-06-13 | 16 | -137/+162 |
| | |||||
* | [tests] Test updating icon and pattern images | John Firebaugh | 2017-06-13 | 1 | -1/+4 |
| | |||||
* | [core] Per-bucket icon atlases | John Firebaugh | 2017-06-13 | 38 | -521/+519 |
| | |||||
* | [core] Per-bucket glyph atlases | John Firebaugh | 2017-06-13 | 28 | -430/+363 |
| | |||||
* | [core] glPixelStorei is in OpenGL ES 2 | John Firebaugh | 2017-06-13 | 5 | -52/+47 |
| | |||||
* | [core] Merge RenderLayer::uploadBuckets into RenderSource::startRender | John Firebaugh | 2017-06-13 | 13 | -35/+41 |
| | |||||
* | [core] Parallelism in {start,finish}Render parameters | John Firebaugh | 2017-06-13 | 17 | -73/+42 |
| | |||||
* | [core] Reduce number of varyings to 8 or less | John Firebaugh | 2017-06-13 | 5 | -45/+46 |
| | | | | For #pragmas, don't generate varyings for attributes that aren't used by the fragment shader. Pack other varyings more tightly. | ||||
* | [core] Added Backend::{assume,set}ScissorTest | Bruno de Oliveira Abinader | 2017-06-13 | 6 | -2/+33 |
| | |||||
* | [core] Added Backend::{assume,set}Viewport | Bruno de Oliveira Abinader | 2017-06-13 | 1 | -4/+5 |
| | |||||
* | [core] mutex guard annotation manager for cross thread usage | Ivo van Dongen | 2017-06-13 | 2 | -10/+32 |
| | |||||
* | Fix undefined memory access in getCoveringRanges() (#9227) | Anand Thakker | 2017-06-09 | 1 | -3/+4 |
| | | | | | | | | | | | | * Add simple unit tests for SymbolSizeBinder * Fix bug in symbol size uniform value calculation For camera functions we were setting the zoom levels in "covering ranges" to `[(zoom stop <= tile zoom), (zoom stop >= 1 + tile zoom)]`, but then evaluating the function at `[tile_zoom, tile_zoom + 1]`. * Check for it != end() before accessing it->first | ||||
* | fix #8300 flyTo for close points (#9199) | Ansis Brammanis | 2017-06-06 | 1 | -10/+7 |
| | | | | | | | | | | | | | | The isClose threshold is switched from 0.000001 pixels to 1 pixel. As a backup, it checks whether r0 and r1 are finite. It might be possible to have just the threshold check or just the finiteness check, but I don't see the harm in having both. std::abs(w0 - w1) < 0.000001 is removed because it doesn't look like it's needed. All calculations should run fine even if w0 === w1. Finally, the point interpolation is tweaked so that at the end of the flying (when k === 1) it ends up at the exact end point. I didn't see any bugs related to this, but it seems like a good thing to have explicitly. | ||||
* | [core] Named members for diff before/after | John Firebaugh | 2017-06-05 | 3 | -5/+12 |
| | |||||
* | [core] Collection-level immutability | John Firebaugh | 2017-06-05 | 9 | -136/+235 |
| | | | | Introduce a second level of immutability, over each of the collections held by a style: sources, images, and layers. Tracking immutability at this level allows us to short-circuit significant portions of the RenderStyle update logic via a simple equality check, greatly improving performance. | ||||
* | [core] Don't share TransformState reference | John Firebaugh | 2017-06-05 | 2 | -5/+5 |
| | |||||
* | [core] Fix several bugs in AnnotationManager | John Firebaugh | 2017-06-05 | 1 | -6/+12 |
| | |||||
* | [core] Split RenderStyle from Style | John Firebaugh | 2017-06-05 | 28 | -593/+683 |
| | |||||
* | [core] Simplify LayerObserver API | John Firebaugh | 2017-06-05 | 12 | -260/+116 |
| | |||||
* | [core] Refactor RenderSource updates | John Firebaugh | 2017-06-05 | 44 | -392/+364 |
| | | | | | | | * Eliminate updateBatch in favor of diffing layers and detecting changes to properties upon which layout depends. * Replace RenderSource::{update,remove,invalidate,reload}Tiles with a single update method * Replace TilePyramid::{update,remove,invalidate,reload}Tiles with a single update method * Remove Style& dependency TODO from GeometryTile and TileParameters | ||||
* | [core] Thread Style parameter through queryRenderedFeatures | John Firebaugh | 2017-06-05 | 18 | -12/+46 |
| | |||||
* | [core] use the last field in a property value, rather than the first field | Konstantin Käfer | 2017-06-03 | 1 | -10/+17 |
| | |||||
* | [core] interpret missing field in vector tile values as null instead of false | Konstantin Käfer | 2017-06-03 | 1 | -1/+1 |
| | |||||
* | [core] Add templated RTTI for RenderSource classes | Asheem Mamoowala | 2017-06-01 | 7 | -4/+44 |
| | |||||
* | [core] Reuse RasterBucket for ImageSource | Asheem Mamoowala | 2017-06-01 | 5 | -7/+13 |
| | |||||
* | [core] Use fixed-size std::array for ImageSource coordinates | Asheem Mamoowala | 2017-06-01 | 8 | -48/+31 |
| | |||||
* | [core] Render Image Source | Asheem Mamoowala | 2017-06-01 | 13 | -15/+365 |
| | |||||
* | [core] Offline support for Image Sources | Asheem Mamoowala | 2017-06-01 | 2 | -1/+8 |
| | |||||
* | [core] Add toDouble Conversion method for correctly parsing Lat Lng coordinates | Asheem Mamoowala | 2017-06-01 | 1 | -0/+7 |
| | |||||
* | [core] Add ImageSource support to style parsers | Asheem Mamoowala | 2017-06-01 | 5 | -4/+166 |
| | |||||
* | [core] Make TransformState LatLngBounds optional | Bruno de Oliveira Abinader | 2017-06-01 | 5 | -15/+22 |
| | |||||
* | [core] Replace inline SpriteAtlas updates with diffing | John Firebaugh | 2017-05-30 | 6 | -31/+76 |
| | |||||
* | [core] check source usage before remove | Ivo van Dongen | 2017-05-30 | 1 | -0/+23 |
| | |||||
* | Revert "[core] Factor timePoint initialization" | Bruno de Oliveira Abinader | 2017-05-30 | 2 | -5/+3 |
| | | | | This reverts commit 3790caafa3c98706c5cf0618c8aec592b2780bba. | ||||
* | [core] allow self closing mailbox/actor | Ivo van Dongen | 2017-05-27 | 1 | -2/+3 |
| | |||||
* | Refactor RenderLayer and RenderSource to be more friendly for Non-tiled ↵ | Asheem Mamoowala | 2017-05-26 | 6 | -35/+66 |
| | | | | sources (#9058) | ||||
* | [core] Don't need unique_ptr for AnnotationManager | John Firebaugh | 2017-05-26 | 1 | -12/+10 |
| | |||||
* | [core] Don't use a separate SpriteAtlas for annotation images | John Firebaugh | 2017-05-26 | 16 | -129/+80 |
| | | | | Instead, just add them to the Style as needed. Includes changes from #8905 and takes care to avoid regressing #3817. | ||||
* | [core] Auto-growable SpriteAtlas using shelf-pack | John Firebaugh | 2017-05-26 | 6 | -51/+59 |
| | |||||
* | [core] Block in Mailbox::close() until neither receive nor push are in progress | John Firebaugh | 2017-05-24 | 1 | -9/+18 |
| | | | | | | | | | | | | | | Otherwise, an ActorRef that's in the process of sending a message could attempt to access an invalid Scheduler reference: Thread 1 Thread 2 -------------------------------------------------- Scheduler::Scheduler Actor::Actor weakMailbox.lock() Actor::~Actor Scheduler::~Scheduler mailbox->push() scheduler.schedule() 💣 | ||||
* | [core] cleanup debug logging | Ivo van Dongen | 2017-05-24 | 1 | -2/+0 |
| | |||||
* | [core] Simplify and fix sprite atlas coordinate calculations | John Firebaugh | 2017-05-23 | 19 | -89/+129 |
| | | | | | | | | * Always return image metrics exclusive of padding * Work with integer coordinates whenever possible * Eliminate redundant SpriteAtlasElement members * Fix asymmetric re-padding in getIconQuad when pixelRatio != 1 * Add explanatory comments | ||||
* | [core] Move pattern coordinate division by texture size into shader | John Firebaugh | 2017-05-23 | 20 | -18/+36 |
| | | | | This makes pattern usage more like icons, and will be necessary for data-driven *-pattern properties. | ||||
* | [core] Remove unnecessary optionals in PositionedIcon | John Firebaugh | 2017-05-23 | 3 | -11/+6 |
| | | | | Lack of icon is already checked at the call site of shapeIcon; no need to check hasArea() here. | ||||
* | [core] Disable letter-spacing for Arabic labels (issue #9057) | Chris Loer | 2017-05-22 | 3 | -6/+19 |
| | |||||
* | [core] leave Image objects in a valid state after premultiply/unpremultiply | Konstantin Käfer | 2017-05-19 | 1 | -0/+2 |
| | |||||
* | [core] Don't unnecessarily request glyphs for verticalized punctuation. | Chris Loer | 2017-05-18 | 1 | -2/+7 |
| | | | | Issue #8982. | ||||
* | [core] add error for non-virtual destructor deletes + add virtual dtors | Konstantin Käfer | 2017-05-18 | 3 | -3/+7 |
| | |||||
* | [core] Make destructor virtual to avoid object splicing during destruction | Konstantin Käfer | 2017-05-18 | 1 | -0/+1 |
| | |||||
* | [core] Throttle tiles to redo symbol placement at most once every 300ms. | Chris Loer | 2017-05-17 | 4 | -2/+72 |
| | | | | Fixes issue #8435 and prepares for pitch-scaling changes in issue #8967. |