Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [core] split off render layers | Ivo van Dongen | 2017-04-25 | 1 | -5/+3 |
| | |||||
* | [core] account for property functions in query rendered features | Ivo van Dongen | 2017-04-19 | 1 | -0/+2 |
| | |||||
* | [core] Prefer std::map to std::unordered_map for smaller binary size | John Firebaugh | 2017-03-21 | 1 | -1/+1 |
| | |||||
* | [core] Add support for data-driven styling | John Firebaugh | 2017-02-02 | 1 | -5/+15 |
| | |||||
* | [core] Introduce SegmentVector | John Firebaugh | 2016-11-15 | 1 | -2/+2 |
| | |||||
* | [core] Use gl::Program to resolve some rough edges in the GL binding types | John Firebaugh | 2016-11-08 | 1 | -5/+5 |
| | | | | | | | | | * 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 | 1 | -1/+1 |
| | |||||
* | [core] Make attribute binding more similar to uniform binding | John Firebaugh | 2016-11-08 | 1 | -1/+1 |
| | |||||
* | [core] Set bucket segments to initialize empty | Bruno de Oliveira Abinader | 2016-11-02 | 1 | -2/+2 |
| | |||||
* | [core] Use numeric_limits<>::max() for checking element groups | Bruno de Oliveira Abinader | 2016-10-31 | 1 | -2/+2 |
| | |||||
* | [core] Modern C++ bindings for OpenGL | John Firebaugh | 2016-10-28 | 1 | -20/+3 |
| | |||||
* | [core] Rationalize shader names | John Firebaugh | 2016-10-06 | 1 | -13/+13 |
| | | | | {layer type}{subtype}Shader | ||||
* | [core] Make ElementGroup safer | John Firebaugh | 2016-10-05 | 1 | -5/+3 |
| | | | | | | Template on shader types, rather than count. This allows the compiler to enforce using the correct VAO for the shader and PaintMode. This fixes OverdrawMode with circle layers. While here, avoid using unique_ptrs for groups. Instead, ensure ElementGroup is movable. | ||||
* | [core] Refactor Buffer | John Firebaugh | 2016-10-05 | 1 | -9/+14 |
| | |||||
* | [core] merge gl::ObjectStore into gl::Context | Konstantin Käfer | 2016-09-27 | 1 | -5/+5 |
| | |||||
* | [core] rename gl::Config to gl::Context | Konstantin Käfer | 2016-09-27 | 1 | -5/+5 |
| | |||||
* | [core] track VAOs and Buffers | Konstantin Käfer | 2016-09-26 | 1 | -4/+4 |
| | |||||
* | [core] change bool overdraw to PaintMode::Overdraw | Konstantin Käfer | 2016-09-07 | 1 | -4/+4 |
| | |||||
* | [core] Pass RenderTile rather than individual parameters | John Firebaugh | 2016-07-11 | 1 | -1/+1 |
| | |||||
* | [core] Introduce PaintParameters | John Firebaugh | 2016-07-11 | 1 | -1/+1 |
| | | | | Use it to DRY selection of regular vs. overdraw shaders and VAOs. | ||||
* | [core] track texture state to avoid redundand binds | Konstantin Käfer | 2016-07-08 | 1 | -1/+1 |
| | |||||
* | [core] Fix overdraw mode on Linux | Bruno de Oliveira Abinader | 2016-07-01 | 1 | -6/+6 |
| | | | | | | | | | | - Use glBindAttribLocation for GLSL attributes. - Create a separate shader for each shader that supports overdraw. Needed because each uniform location must be known for every program. - Create a separate VAO for each shader inside buckets. Needed because we can only bind a VAO to a specific shader. Fixes #5435. | ||||
* | [core] Merge TexturePool into ObjectStore; pool all textures (#5477) | John Firebaugh | 2016-06-27 | 1 | -1/+1 |
| | |||||
* | [core] remove TexturePool dependency from Raster constructor | Konstantin Käfer | 2016-06-22 | 1 | -1/+1 |
| | |||||
* | [core] *Tile ↔ *TileData | John Firebaugh | 2016-06-13 | 1 | -1/+1 |
| | | | | Tile is now the main base class; RasterTile, VectorTile, etc are its subclasses. GeometryTileData and its subclasses form the piece that's passed to the worker. | ||||
* | [core] Rationalize naming for style-related code | John Firebaugh | 2016-06-02 | 1 | -1/+1 |
| | |||||
* | [core] Runtime style layer API | John Firebaugh | 2016-06-02 | 1 | -1/+1 |
| | |||||
* | [core] s/GLObjectStore/ObjectStore/ | Bruno de Oliveira Abinader | 2016-06-01 | 1 | -5/+5 |
| | |||||
* | [core] Replace clipper and libtess with earcut.hpp | John Firebaugh | 2016-05-31 | 1 | -25/+4 |
| | |||||
* | [core] use #pragma once instead of ifdef include guards | Konstantin Käfer | 2016-05-25 | 1 | -4/+1 |
| | |||||
* | [core] move Painter and dependents to new *TileID classes | Konstantin Käfer | 2016-05-10 | 1 | -1/+1 |
| | |||||
* | [core] port outlinepattern for fill-pattern anti-aliasing from gl-js to native | Molly Lloyd | 2016-04-28 | 1 | -1/+3 |
| | | | | | | | | | | | | | | add outlinepattern shader class to relevant files add outlinepattern code to painter_fill.cpp add outlinepattern code to fill_bucket refactor painter_fill, fix tests fix merge conflicts and setDepthSublayer update render test to no antialiasing so travis will be happy | ||||
* | [core] do not call glStencilFunc when we're not clipping | Konstantin Käfer | 2016-04-06 | 1 | -0/+1 |
| | |||||
* | [core] Thread GLObjectStore through to Holder objects | John Firebaugh | 2016-02-18 | 1 | -4/+4 |
| | | | | | | This eliminates the reliance on ThreadContext to provide GLObjectStore, and statically enforces that GL cleanup functions happen only when GLObjectStore::performCleanup is called. With the elimination of the Map thread, this becomes important because there may be multiple GLObjectStore's per-thread, and Map will need to ensure that the correct context is active when calling GLObjectStore::performCleanup. | ||||
* | [core] Organize files that were in map folder better | John Firebaugh | 2016-02-11 | 1 | -1/+1 |
| | | | | Fixes #996 | ||||
* | [core] add namespace comment to closing brace | Konstantin Käfer | 2015-12-03 | 1 | -1/+1 |
| | |||||
* | [core] reparse tiles when new data arrives | Konstantin Käfer | 2015-10-26 | 1 | -1/+1 |
| | | | | We're now reparsing tiles when they expire. We're also swapping out buckets atomically to avoid flickering data; i.e. we're displaying the old data as long as we don't have a new parsed bucket for that layer yet. The parsed buckets now live in the *TileData objects rather than in the TileWorker; only partially parsed == pending buckets will remain in the TileWorker. Once they're parsed, they're moved to the *TileData object. | ||||
* | give every bucket its own set of buffers | Konstantin Käfer | 2015-10-02 | 1 | -11/+5 |
| | | | | This allows changing individual buckets without having leftover data | ||||
* | [core] convert remaining types to use OpenGL header defined variants | Bruno de Oliveira Abinader | 2015-09-15 | 1 | -3/+3 |
| | |||||
* | rename prepare => upload and determine passes per layer instead of per bucket | Konstantin Käfer | 2015-05-04 | 1 | -1/+1 |
| | |||||
* | add prepare() function | Konstantin Käfer | 2015-05-04 | 1 | -2/+2 |
| | |||||
* | remove hasData() from Bucket interface | Konstantin Käfer | 2015-05-04 | 1 | -1/+1 |
| | |||||
* | remove some unused includes | Konstantin Käfer | 2015-04-28 | 1 | -4/+0 |
| | |||||
* | Tile::ID ⇢ TileID | John Firebaugh | 2015-04-06 | 1 | -1/+1 |
| | | | | This allows making both Tile and TileID private. | ||||
* | some cleanup | Konstantin Käfer | 2015-04-02 | 1 | -16/+4 |
| | |||||
* | Eliminate some unnecessary pointer indirection | John Firebaugh | 2015-03-31 | 1 | -3/+3 |
| | | | | | Buckets had a pointer to the associated layout type, when they can just have a direct member. | ||||
* | parse geometry collections from the pbfs; iterate geometries in buckets | Justin R. Miller | 2015-03-09 | 1 | -1/+1 |
| | |||||
* | refs #928: bookmarking working build of refactor | Justin R. Miller | 2015-03-09 | 1 | -2/+2 |
| | |||||
* | pass StyleLayer objects as const ref instead of a shared pointer | Konstantin Käfer | 2015-03-06 | 1 | -3/+4 |
| | |||||
* | rename StyleBucket* => StyleLayout* | Konstantin Käfer | 2015-02-17 | 1 | -2/+3 |
| | | | | | | and remove a few unused variables refs #881 |