summaryrefslogtreecommitdiff
path: root/src/mbgl/renderer
Commit message (Collapse)AuthorAgeFilesLines
* [build] Fix GCC10 buildThiago Marcos P. Santos2020-04-271-0/+1
| | | | https://bugzilla.opensuse.org/show_bug.cgi?id=1158510#c25
* Fix Android buildSudarsana Babu Nagineni2018-08-101-2/+2
| | | | Cherry picked from commit fc0745a699a0ef60c080e9c2ff5eaecde9cb5306
* Bump Mapbox GL NativeSudarsana Babu Nagineni2018-08-0642-313/+725
| | | | | | Bump version. mapbox-gl-native @ 377a6e42d687c419e6ae1012b8626336f5dfc1b6
* Bump Mapbox GL NativeThiago Marcos P. Santos2018-05-0433-87/+187
| | | | | | Bump version. mapbox-gl-native @ 27b21363e62c105db0b040b4c5a5ef31170ebd30
* Bump Mapbox GL NativeThiago Marcos P. Santos2018-03-051-1/+1
| | | | mapbox-gl-native @ ae0e583590ce8d7a564c8d9cb7c0fcee5515125e
* Bump Mapbox GL NativeThiago Marcos P. Santos2018-02-2443-179/+1178
| | | | mapbox-gl-native @ 5de373fff0e71496b6aa11ecb6556f958a28d80b
* Bump Mapbox GL NativeBruno de Oliveira Abinader2017-11-291-1/+1
| | | | mapbox-gl-native @ 8757164ac8f2b033b2b12d4baf075ed18cfeb2b4
* Bump Mapbox GL Nativeqt-v1.2.0Thiago Marcos P. Santos2017-11-2726-246/+550
| | | | mapbox-gl-native @ cf3357ea4517e74ba3a63434c330a1506064b130
* Bump Mapbox GL NativeThiago Marcos P. Santos2017-11-124-6/+42
| | | | mapbox-gl-native @ 92608f58858d77c17a65ae9b29758e74bb2da7d2
* Bump Mapbox GL NativeThiago Marcos P. Santos2017-11-021-3/+1
| | | | mapbox-gl-native @ 13ec2cc562ce98a089b47dee2987b5e58a0384e2
* Bump Mapbox GL NativeThiago Marcos P. Santos2017-11-017-598/+16
| | | | mapbox-gl-native @ 0ef7b7154f6d4498077a83db5c486c61bc34938c
* Bump Mapbox GL NativeThiago Marcos P. Santos2017-10-1827-297/+757
| | | | mapbox-gl-native @ 10f7af19ce1ec61f37459f9cd75e2a0c89a0c790
* Bump Mapbox GL NativeThiago Marcos P. Santos2017-08-221-3/+3
| | | | mapbox-gl-native @ bd15e273dce767458d335aeb1f50aa081390d593
* Bump Mapbox GL Nativeqt-v1.1.0Thiago Marcos P. Santos2017-08-09104-1668/+7083
| | | | mapbox-gl-native @ edd7948893fcd40a24d96b790e21d3dd028cecbe
* [gcc4.9] Make constexpr usage compatible with GCC 4.9Thiago Marcos P. Santos2017-01-241-3/+4
|
* [core] fix rendering 180° line joinsKonstantin Käfer2017-01-231-4/+12
|
* [core] Restore GL_KHR_debug messages in release buildsJohn Firebaugh2017-01-171-2/+0
| | | | This reverts commit 8c4da72d09e585bd10d030129c99e1e609a2d2f9.
* [core] Update gl-js for shader changeJohn Firebaugh2016-12-233-7/+6
|
* [core] clearer pitched line antialiasingAnsis Brammanis2016-12-211-1/+4
| | | | | | | | | | ported from -js: ef5582dd3bc5c15a3112e875ed66494dab8e9d0b Project the extrusion and compare it's projected pixel length with the actual pixel length and adjust antialiasing accordingly. The previous approach calculated the adjustment much more indirectly and had no intuitive explanation.
* [core, ios] replace `altitude` with `fov`Ansis Brammanis2016-12-211-2/+2
| | | | | | | | | ported from -js: eb6c6596c6a7a61363d30356674e0002153b1d19 `altitude` was a terribly-named variable that was used to indirectly control the fov. This should eliminate some confusion. `altitude` was equivalent to `cameraToCenterDistance / height`
* [core] Fix debug renderingJohn Firebaugh2016-12-131-2/+2
| | | | | * Off-by-one in DebugBucket indexing * Must unbind VAO before binding index buffer in Context::createIndexBuffer
* [core] Implement circle-stroke propertiesJohn Firebaugh2016-12-091-0/+3
| | | | Also includes stubs for fill-extrusion layer, because most of the code was auto-generated.
* [core] Use indexed rendering everywhereJohn Firebaugh2016-12-018-65/+78
|
* [build] move logging to utilKonstantin Käfer2016-11-223-3/+3
|
* [core] Sort symbol render tiles prior to renderingBruno de Oliveira Abinader2016-11-181-1/+1
|
* [core] Cleanup symbol clippingBruno de Oliveira Abinader2016-11-181-13/+5
|
* [core] Convert style properties to a tuple-based approachJohn Firebaugh2016-11-1710-63/+65
| | | | | | | | This converts the style property classes (CirclePaintProperties and so on) to the same tuple-based approach as gl::Attribute and gl::Uniform. The approach is outlined in https://github.com/mapbox/cpp/blob/master/C%2B%2B%20Structural%20Metaprogramming.md. The main advantage of this approach is it allows writing algorithms that work on sets of style properties, without resorting to code generation or manually repetitive code. This lets us iterate on approaches to data-driven properties more easily. Another advantage is that the cascading, unevaluated, and evaluated states of a set of properties exist as independent structures, instead of individual properties holding their own state. This is a more functional approach that makes data flow clearer and reduces state.
* [core] update native for line property function shaders changes (#6658)Molly Lloyd2016-11-164-8/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [core] update shaders for line property functions update deps, define device pixel ratio for all shaders [core] create ShaderParameter struct to store pixel ratio and overdraw param repair rebase errs update shaders to include pixel ratio make sure collision_box never overdraws update test suite, move shaders to Painter::render so the correct pixel ratio is applied move shader compiling back to the Painter constructor rebase from shader --> program refactor re-factor parameters for collisionBox and debug programs remove unused vars from line-program, move blur math to shader update core files remove unecessary files update shaders PR, remove comments bump test suite sha fix formatting, incorporate feedback refactor program.hpp * [core] remove line transformations that were moved to the shaders, bump shader sha * [core] shorten ProgramParameter instantiation * [core] bump shader+test suite shas
* [core] Introduce SegmentVectorJohn Firebaugh2016-11-1512-22/+48
|
* [core] Use indexed rendering for collision boxesJohn Firebaugh2016-11-153-4/+11
|
* [core] don't initialize with Duration::min() to avoid arithmetic overflowsKonstantin Käfer2016-11-091-2/+2
| | | | | In FrameHistory::needsAnimation, we are computing "time - previousTime", but since previousTime was initialized to Duration::min(), we got a integer overflow, which produced invalid values.
* [core] don't assign clip IDs to tiles that aren't renderedKonstantin Käfer2016-11-081-0/+1
|
* [core] Use gl::Program to resolve some rough edges in the GL binding typesJohn Firebaugh2016-11-0819-163/+186
| | | | | | | | | * 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 templateJohn Firebaugh2016-11-0820-95/+90
|
* [core] Make attribute binding more similar to uniform bindingJohn Firebaugh2016-11-0811-42/+38
|
* [core] force explicit initialization of uniform valuesKonstantin Käfer2016-11-077-50/+51
| | | | force users to use the actual names to avoid implicit conversion accidentally targeting the wrong shader
* [core] remove Uniforms::value in favor of direct constructionKonstantin Käfer2016-11-077-14/+14
|
* [core] remove gl.hpp from all headers that don't need itKonstantin Käfer2016-11-044-6/+1
|
* [core] move pixel blitting to gl::ContextKonstantin Käfer2016-11-041-7/+2
|
* [core] move framebuffer reading to gl::ContextKonstantin Käfer2016-11-041-34/+7
|
* [core] add state tracking to pixel transferKonstantin Käfer2016-11-041-3/+5
|
* [core] add state tracking to pixel store packing alignmentKonstantin Käfer2016-11-041-10/+8
|
* [core] Set bucket segments to initialize emptyBruno de Oliveira Abinader2016-11-028-12/+11
|
* [core] convert FrameHistory to use managed texture handlingKonstantin Käfer2016-11-012-62/+21
|
* [core] convert LineAtlas to use managed texture handlingKonstantin Käfer2016-11-012-2/+2
|
* [core] convert GlyphAtlas to use managed texture handlingKonstantin Käfer2016-11-011-1/+1
|
* [core] convert SpriteAtlas to use managed texture handlingKonstantin Käfer2016-11-011-2/+2
|
* Revert "[core] Don't use GL_LINEAR if panning w/o rotation nor pitch"Bruno de Oliveira Abinader2016-11-011-1/+1
| | | | This reverts commit a70bfd89108cf1aef75181819ae43e550a69255e.
* [core] fix depth/stencil visualizationKonstantin Käfer2016-11-011-5/+17
| | | | The previous code didn't set the packing correctly, which meant that we had a buffer overrun in the debug code.
* [core] Use numeric_limits<>::max() for checking element groupsBruno de Oliveira Abinader2016-10-317-29/+28
|