Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [core] don't assign clip IDs to tiles that aren't rendered | Konstantin Käfer | 2016-11-08 | 5 | -3/+14 |
| | |||||
* | [core] Require point size / line width for DrawMode constructors | John Firebaugh | 2016-11-08 | 1 | -0/+12 |
| | |||||
* | [core] Put ignore in util namespace | John Firebaugh | 2016-11-08 | 5 | -9/+11 |
| | |||||
* | [core] Introduce and use IndexedTuple | John Firebaugh | 2016-11-08 | 3 | -19/+62 |
| | |||||
* | [core] Use gl::Program to resolve some rough edges in the GL binding types | John Firebaugh | 2016-11-08 | 41 | -358/+470 |
| | | | | | | | | | * Extract `ignore` util to separate header. * `Segment` now tracks offset and length of indices, rather than primitives. This is more natural. * Introduce `VertexVector` and `IndexVector` types. These types carry information about the intended draw mode (`Triangles`, `LineStrip`, etc.), and ensure that elements are always appended in a group size appropriate for that draw mode, for both indexed and unindexed rendering. * `Program`, rather than `Drawable`, is now the unifying object for draw calls. `Program` is the best place to type check the draw call, because it is typed to carry information about the intended primitive, vertex type, attributes, and uniforms. * Use the debug shaders for debug tile rendering, like gl-js. * Fix the draw mode for background. It was drawing triangle strips with a triangles array. Surprised this didn’t cause issues. Now it’s type checked. | ||||
* | [core] Introduce gl::Program template | John Firebaugh | 2016-11-08 | 84 | -1326/+917 |
| | |||||
* | [core] Make attribute binding more similar to uniform binding | John Firebaugh | 2016-11-08 | 59 | -511/+535 |
| | |||||
* | [core] Separate pathway for notifying workers of new images/glyphs | John Firebaugh | 2016-11-07 | 9 | -12/+74 |
| | |||||
* | [core] move Value class outside of Uniform to enforce explicit construction | Konstantin Käfer | 2016-11-07 | 1 | -4/+8 |
| | |||||
* | [core] force explicit initialization of uniform values | Konstantin Käfer | 2016-11-07 | 11 | -113/+113 |
| | | | | force users to use the actual names to avoid implicit conversion accidentally targeting the wrong shader | ||||
* | [core] remove Uniforms::value in favor of direct construction | Konstantin Käfer | 2016-11-07 | 8 | -19/+14 |
| | |||||
* | [core] remove gl.hpp from all headers that don't need it | Konstantin Käfer | 2016-11-04 | 6 | -8/+1 |
| | |||||
* | [core] move pixel blitting to gl::Context | Konstantin Käfer | 2016-11-04 | 3 | -7/+24 |
| | |||||
* | [core] move OpenGL debug information printing to core | Konstantin Käfer | 2016-11-04 | 1 | -12/+31 |
| | |||||
* | [core] move framebuffer reading to gl::Context | Konstantin Käfer | 2016-11-04 | 5 | -49/+48 |
| | |||||
* | [core] add state tracking to pixel transfer | Konstantin Käfer | 2016-11-04 | 5 | -3/+65 |
| | |||||
* | [core] add state tracking to pixel store packing alignment | Konstantin Käfer | 2016-11-04 | 6 | -12/+67 |
| | |||||
* | [core] add more detail to invalid metrics error in createSpriteImage | Mike Morris | 2016-11-04 | 1 | -1/+5 |
| | |||||
* | [core] Fix render tile ordering when querying sources | Bruno de Oliveira Abinader | 2016-11-04 | 2 | -21/+17 |
| | |||||
* | [core] Set bucket segments to initialize empty | Bruno de Oliveira Abinader | 2016-11-02 | 9 | -13/+12 |
| | |||||
* | [core] convert FrameHistory to use managed texture handling | Konstantin Käfer | 2016-11-01 | 2 | -62/+21 |
| | |||||
* | [core] convert LineAtlas to use managed texture handling | Konstantin Käfer | 2016-11-01 | 9 | -81/+69 |
| | |||||
* | [core] convert GlyphAtlas to use managed texture handling | Konstantin Käfer | 2016-11-01 | 4 | -68/+31 |
| | |||||
* | [core] add ability to upload alpha-only textures + images | Konstantin Käfer | 2016-11-01 | 3 | -11/+25 |
| | |||||
* | [core] convert SpriteAtlas to use managed texture handling | Konstantin Käfer | 2016-11-01 | 9 | -125/+80 |
| | |||||
* | Revert "[core] Don't use GL_LINEAR if panning w/o rotation nor pitch" | Bruno de Oliveira Abinader | 2016-11-01 | 4 | -1/+7 |
| | | | | This reverts commit a70bfd89108cf1aef75181819ae43e550a69255e. | ||||
* | [core] fix depth/stencil visualization | Konstantin Käfer | 2016-11-01 | 1 | -5/+17 |
| | | | | The previous code didn't set the packing correctly, which meant that we had a buffer overrun in the debug code. | ||||
* | [core] correctly set the framebuffer size on retina screens | Konstantin Käfer | 2016-11-01 | 1 | -0/+4 |
| | | | | Also asserts in Debug mode that the internal state and the OpenGL state are identical | ||||
* | [core] Cleanup TransformState::getIntegerZoom | Bruno de Oliveira Abinader | 2016-10-31 | 1 | -1/+1 |
| | |||||
* | [core] Use numeric_limits<>::max() for checking element groups | Bruno de Oliveira Abinader | 2016-10-31 | 9 | -42/+37 |
| | |||||
* | [core] Moved util::log2 to its own header | Bruno de Oliveira Abinader | 2016-10-31 | 7 | -28/+12 |
| | | | | | | - Added util::{MIN,MAX}_ZOOM_F to avoid consecutive conversions from double to float - Move util::log2 to its own header (part of mbgl/math) | ||||
* | [core] Don't use GL_LINEAR if panning w/o rotation nor pitch | Bruno de Oliveira Abinader | 2016-10-31 | 4 | -7/+1 |
| | |||||
* | [core] Use overscaledZ for scale in collision box shader | Bruno de Oliveira Abinader | 2016-10-31 | 1 | -1/+2 |
| | |||||
* | [core] Use VAOs internally | John Firebaugh | 2016-10-28 | 2 | -19/+79 |
| | |||||
* | [core] Modern C++ bindings for OpenGL | John Firebaugh | 2016-10-28 | 92 | -1839/+2197 |
| | |||||
* | [core] operator bool() must always be explicit | John Firebaugh | 2016-10-28 | 2 | -4/+12 |
| | | | | 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] Methods don't need to be Painter instance methods | John Firebaugh | 2016-10-28 | 2 | -32/+28 |
| | |||||
* | [core] change std::array<uint16_t, 2> to mbgl::Size | Konstantin Käfer | 2016-10-27 | 28 | -155/+146 |
| | |||||
* | [core] remove tiles for disabled sources | Konstantin Käfer | 2016-10-27 | 3 | -6/+31 |
| | | | | When no layer of a source is visible anymore, we are now evicting tiles that are still stored in that source and move them to the cache. | ||||
* | [core] don't load tiles from sources that aren't used | Konstantin Käfer | 2016-10-27 | 1 | -3/+6 |
| | |||||
* | [core] move gl::Context to Backend and refactor View | Konstantin Käfer | 2016-10-25 | 21 | -256/+449 |
| | |||||
* | [core] separate Backend from View for headless rendering | Konstantin Käfer | 2016-10-25 | 8 | -57/+106 |
| | |||||
* | [core] geojson source - cancel any pending request when setting geojson ↵ | Ivo van Dongen | 2016-10-25 | 2 | -3/+12 |
| | | | | explicitly | ||||
* | [core] geojson source - clear cache when json content is set | Ivo van Dongen | 2016-10-25 | 2 | -1/+3 |
| | |||||
* | [core] geojson source - reset req on setURL | Ivo van Dongen | 2016-10-25 | 1 | -2/+2 |
| | |||||
* | [core] Reuse last placement data in CollisionTile::queryRenderedFeatures | Bruno de Oliveira Abinader | 2016-10-25 | 1 | -32/+68 |
| | | | | | | | | | | | To obtain precise results, we: 1. Round scale value to obtain same results from symbol shader. 2. Generate a boost geometry polygon to check if it intersects() against all feature boxes. 3. Check if current scale is within each feature's minimum and maximum placement scales. 4. De-scale feature boxes when intersecting to account for the fractional zoom scaling. | ||||
* | [core] Added util::polygonIntersectsPolygon | Bruno de Oliveira Abinader | 2016-10-25 | 2 | -20/+13 |
| | |||||
* | [core] Simplify CollisionTile::findPlacementScale | Bruno de Oliveira Abinader | 2016-10-25 | 2 | -8/+6 |
| | | | | | | Improve findPlacementScale semantics by moving the check if the placement scale result is bigger than minimum scale out of the function scope. | ||||
* | [core] Avoid duplicating edges for CollisionTile | Bruno de Oliveira Abinader | 2016-10-25 | 2 | -23/+16 |
| | | | | | Make 'edges' static to avoid every instance of CollisionTile having its own copy of it. | ||||
* | [core] Cleanup function signatures in CollisionTile | Bruno de Oliveira Abinader | 2016-10-25 | 2 | -7/+7 |
| | | | | | - Prefer pass-by-value for primitive types. - Use floating point precision for yStretch to match receiving type. |