Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [core] Updated Size::isEmpty and TransformState::valid checks | Bruno de Oliveira Abinader | 2017-04-10 | 1 | -6/+5 |
| | |||||
* | [core] Make Image safer | John Firebaugh | 2017-02-14 | 1 | -0/+4 |
| | | | | | | 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] operator bool() must always be explicit | John Firebaugh | 2016-10-28 | 1 | -1/+1 |
| | | | | Otherwise, it can participate in unexpected conversions. Case in point: GlyphSet::insert was comparing the result of GlyphMetrics::operator bool() where it wanted to use operator==. | ||||
* | [core] change std::array<uint16_t, 2> to mbgl::Size | Konstantin Käfer | 2016-10-27 | 1 | -0/+32 |