Konstantin Käfer
ebd8508032
[core] add getResource template to gfx::*Resource classes
2019-04-05 11:49:17 +02: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
e27f330629
[core] add texture bindings to draw call instead of Context member fn
2019-03-12 11:03:54 +01:00
Konstantin Käfer
cb64c380fb
[core] add texture bindings to draw call invocations
2019-03-12 11:03:54 +01:00
Konstantin Käfer
2a25270298
[core] move Texture related enums to gfx namespace
2019-03-12 11:03:54 +01: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
Konstantin Käfer
95deab32ce
[core] extract attribute structs and gl::Vertex to separate 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
Molly Lloyd
e1af62e87d
[core] add raster-resampling property ( #12176 )
...
* update style-code for raster-resampling
* implement user-defined raster-resampling
* invert filter condition
* raster-resampling -> raster-resampling-mode for darwin language conventions
2018-06-21 14:37:17 -07:00
Konstantin Käfer
c3346f473a
[core] Don't crash when attribute count is exceeded
2018-05-03 16:31:43 -07:00
Konstantin Käfer
fcc3808c83
[core] align raster imagery rendering to pixel rid to avoid blurriness
2018-01-24 17:02:18 -08:00
Konstantin Käfer
c0efad5de2
[core] generate masks for raster tiles to avoid painting over children
2017-07-24 12:10:45 +02:00
John Firebaugh
64203ba53f
[core] Refactor Painter away
2017-07-19 09:31:07 -07:00
John Firebaugh
3787d3a048
[core] Inline Painter::renderLine and RenderImageSource::render
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
f5d3b850bf
[core] Merge RenderLayer::uploadBuckets into RenderSource::startRender
2017-06-13 10:18:43 -07:00
Asheem Mamoowala
2652a4a677
[core] Add templated RTTI for RenderSource classes
2017-06-01 15:38:01 -07:00
Asheem Mamoowala
8b37a0704c
[core] Use fixed-size std::array for ImageSource coordinates
2017-06-01 15:38:01 -07:00
Asheem Mamoowala
1b86bf16b2
[core] Render Image Source
2017-06-01 15:38:01 -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