Mikhail Pozdnyakov
a03f7b166b
[core] RenderTile does not expose Tile
...
RenderTile and Tile will be split when ochestration movces to a separate thread.
This PR improves encapsulation of Tiles management: now performed within TilePyramid.
2019-05-28 16:16:42 +03:00
Mikhail Pozdnyakov
e79080771b
[core] RenderLayer::render(PaintParameters, RenderSource*) -> render(PaintParameters)
2019-05-22 16:41:10 +03:00
Konstantin Käfer
a53c88159f
[core] upgrade mapbox-gl-js pin to the most recent version
2019-05-08 14:10:11 +02:00
Konstantin Käfer
08163713e2
[core] change approach to stencil clipping to (almost) match JS
2019-04-29 11:37:39 +02:00
Mikhail Pozdnyakov
858097102d
[core] Render layers use synchronized buckets and paint properties
...
Actual for layers rendering the geometry tile data: line, fill, fill-extrusion, heatmap, circle, symbol (was updated in previous commits).
2019-04-17 17:21:41 +03:00
Mikhail Pozdnyakov
4b21560cf5
[core] Use style::LayerProperties in render layers, buckets and layouts.
2019-04-17 17:21:41 +03:00
Konstantin Käfer
d7aaf83421
[core] introduce gfx::RenderPass
2019-04-05 11:49:17 +02:00
Konstantin Käfer
1e30fdac36
[core] move ProgramMap to within the gl::Program object
2019-03-20 15:40:47 +01:00
Konstantin Käfer
0ad2375e10
[core] remove a_/u_ prefix from attribute/uniform types
2019-03-20 15:40:47 +01:00
Konstantin Käfer
52cf9a1af3
[core] remove gl/context.hpp from more files, cast where necessary
2019-03-20 15:40:47 +01:00
Konstantin Käfer
c8cfdb1ced
Merge pull request #14126 from mapbox/gfx-refactor-4
...
Graphics refactor #4
2019-03-15 20:31:12 +01:00
Konstantin Käfer
cb64c380fb
[core] add texture bindings to draw call invocations
2019-03-12 11:03:54 +01:00
Bruno de Oliveira Abinader
ba7427b4ac
[core] Transform{State}: s/angle/bearing/
2019-03-04 14:45:32 +02:00
Konstantin Käfer
67a9dc35bf
[core] move CullFaceMode to gfx namespace
2019-03-01 09:33:37 +01:00
Konstantin Käfer
4372ce2b90
[core] move StencilMode to gfx namespace
2019-03-01 09:33:37 +01:00
Konstantin Käfer
4982933a78
[core] move DepthMode to gfx namespace
2019-03-01 09:33:37 +01:00
Konstantin Käfer
fd37d90650
[core] move draw mode and primitives to gfx namespace
2019-03-01 09:33:37 +01:00
Mikhail Pozdnyakov
e800f37547
[core] Layer manager is responsible for buckets and layouts creation
...
This is a step to stop using of render layers in tile worker thread.
2019-02-25 13:47:56 +02:00
Mikhail Pozdnyakov
d37918c169
[core] Split layer type specific code in mbgl::Programs
...
Progams code for a certain layer type is encapsulted within
a dedicated `<layer type>Programs` class, inherited from
the generic base `LayerTypePrograms` class.
`mbgl::Programs::get<layer type>Programs()` lazily initializes the
layer type-specific programs code using pointer to the base class,
which allows LTO to remove this code from binaries (if the corresponding
`get<layer type>Programs()` method can never be invoked).
2019-01-11 16:43:52 +02:00
Mikhail Pozdnyakov
361982fef8
[core][Android][Darwin] LayerManager creates RenderLayer instances
...
`LayerManager` is now responsible for `RenderLayer` instances creation,
so that there is a single entry point for creating of objects, which
correspond to a certain layer type.
The `LayerType type` field is dropped from `Layer::Impl`.
2018-11-27 18:10:21 +02:00
Bruno de Oliveira Abinader
05a7b78aa8
[core] Add face culling mode parameter to Program::draw
...
Add a parameter to Program::draw to control whether face culling should
be enabled. This will be used in a follow up commit to enable face
culling for fill extrusion layers.
2018-09-13 08:42:36 +03:00
Molly Lloyd
4a5dc37245
[core] Implement CrossFadedDataDrivenProperty to add support for feature expressions in *-pattern properties
2018-08-31 13:08:47 -07:00
John Firebaugh
f6659c729f
[core] Use hand-rolled RTTI
2018-07-24 11:08:40 -07:00
John Firebaugh
2bbc792060
[core] Check all bucket dynamic_casts
...
A mismatch can occur when a layer changes from one type to another.
2018-07-24 11:08:40 -07:00
Fabian Guerra
30376f3ce1
Merge branch 'release-boba' into master
...
# Conflicts:
# mapbox-gl-js
# platform/android/CHANGELOG.md
# platform/android/MapboxGLAndroidSDK/gradle.properties
# platform/android/gradle/dependencies.gradle
# platform/darwin/src/MGLVectorTileSource.mm
# platform/darwin/src/MGLVectorTileSource_Private.h
# platform/ios/CHANGELOG.md
# src/mbgl/style/expression/compound_expression.cpp
2018-05-17 11:47:31 -04:00
Konstantin Käfer
c3346f473a
[core] Don't crash when attribute count is exceeded
2018-05-03 16:31:43 -07:00
Ansis Brammanis
0ca53ea5a8
[core] only index features within tile boundaries
...
Previously we relied on tile buffers for querying features who's
rendered representations cross tile boundaries. Now we query multiple
tiles making it unnecessary to index features that are completely
outside a tile's boundaries.
2018-04-26 18:03:17 -04:00
Chris Loer
f86fe44dbd
[core] fix circle querying for scale and alignment
...
This fixes circle querying for cases where either
circle-pitch-alignment=map
or
circle-pitch-scaling=viewport
2018-04-26 18:03:17 -04:00
John Firebaugh
c9da6e4959
[core] Account for circle-stroke-width in queryRenderedFeatures
2018-01-10 14:22:44 -08:00
Ansis Brammanis
22c07596a0
[core] Split MapMode::Still into Static and Tile
...
`Tile` makes sure the symbols in the resulting tile are tileable while
symbols in `Still` match rendering in `Continuous` mode.
2017-11-17 10:05:15 -08:00
John Firebaugh
64203ba53f
[core] Refactor Painter away
2017-07-19 09:31:07 -07:00
John Firebaugh
23198d7935
[core] Inline Painter::renderCircle
2017-07-19 09:31:07 -07:00
John Firebaugh
5c24636c26
[core] Eliminate Bucket::render
2017-07-19 09:31:07 -07:00
John Firebaugh
150fc6b643
[core] Don't transition new layers on a setStyle operation
2017-06-26 09:42:35 -07:00
John Firebaugh
e473f2dcce
[core] cascade ⇢ transition / cascading ⇢ transitionable
2017-05-15 09:45:55 -07:00
John Firebaugh
2690a65f8d
[core] *LayerImpl::cascading ⇢ paint
2017-05-15 09:45:55 -07:00
Asheem Mamoowala
84e39611a0
[core] Move renderer/* files into sub-folders ( #8983 )
...
Move renderer/* files into sub-folders
2017-05-12 17:07:48 -07:00