<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/qt5/qtlocation-mapboxgl.git/include, branch upstream/alexshalamov_decrease_angle_for_line_join_approx</title>
<subtitle>code.qt.io: qt/qtlocation-mapboxgl.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/qt5/qtlocation-mapboxgl.git/'/>
<entry>
<title>[core] Limit pitch based on edge insets. Fix max Z calculation in getProjMatrix.</title>
<updated>2019-08-01T06:28:36+00:00</updated>
<author>
<name>Aleksandar Stojiljkovic</name>
<email>aleksandar.stojiljkovic@mapbox.com</email>
</author>
<published>2019-07-23T14:19:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/qt5/qtlocation-mapboxgl.git/commit/?id=73d9f26d03810854c36a96b252885353f8ba81ce'/>
<id>73d9f26d03810854c36a96b252885353f8ba81ce</id>
<content type='text'>
Patch partly fixes #15163 in a way that it doesn't allow loading tens of thousands of tiles and attempt to show area above horizon:

Limit pitch based on edge insets. It is not too bad - current limit of 60 degrees stays active until center of perspective is moved towards the bottom, to 84% of screen height. The plan is to split removal of 60 degrees limit to follow up patch.

Fix max Z calculation in getProjMatrix. TransformState::getProjMatrix calculation of farZ was complex with possibility to lead to negative z values. Replacing it with simpler, precise calculation:
furthestDistance = cameraToCenterDistance / (1 - tanFovAboveCenter * std::tan(getPitch()));

TransformState::getProjMatrix calculation of farZ was an aproximation. Replacing it with simpler, but precise calculation.

Related to: #15163
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Patch partly fixes #15163 in a way that it doesn't allow loading tens of thousands of tiles and attempt to show area above horizon:

Limit pitch based on edge insets. It is not too bad - current limit of 60 degrees stays active until center of perspective is moved towards the bottom, to 84% of screen height. The plan is to split removal of 60 degrees limit to follow up patch.

Fix max Z calculation in getProjMatrix. TransformState::getProjMatrix calculation of farZ was complex with possibility to lead to negative z values. Replacing it with simpler, precise calculation:
furthestDistance = cameraToCenterDistance / (1 - tanFovAboveCenter * std::tan(getPitch()));

TransformState::getProjMatrix calculation of farZ was an aproximation. Replacing it with simpler, but precise calculation.

Related to: #15163
</pre>
</div>
</content>
</entry>
<entry>
<title>[docs] Remove references to increasing offline tile limit</title>
<updated>2019-07-18T23:27:31+00:00</updated>
<author>
<name>Heather Stenson</name>
<email>heather.stenson@mapbox.com</email>
</author>
<published>2019-07-18T23:27:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/qt5/qtlocation-mapboxgl.git/commit/?id=fd99a6e570db19aa9e06304f3bc8a9f074aab754'/>
<id>fd99a6e570db19aa9e06304f3bc8a9f074aab754</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[core] Synchronize render passes and render tiles</title>
<updated>2019-07-11T12:36:28+00:00</updated>
<author>
<name>Mikhail Pozdnyakov</name>
<email>mikhail.pozdnyakov@mapbox.com</email>
</author>
<published>2019-07-10T14:53:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/qt5/qtlocation-mapboxgl.git/commit/?id=fa5646d112259758cee9fba0564a067376d07566'/>
<id>fa5646d112259758cee9fba0564a067376d07566</id>
<content type='text'>
Before this change render passes were assigned for the
whole layer at properties evaluation stage.

This caused problems, as layer render data are bound
to the tile and these data might differ from tile to
tile, depending on which tile has been updated by the
tile worker and which has not been yet updated.

This change takes into consideration the actual render
passes required for each tile and combines them for
the layer render passes. Naturally, this change also
introduces render pass check for each render layer in
`RenderLayer::render()` implementations.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Before this change render passes were assigned for the
whole layer at properties evaluation stage.

This caused problems, as layer render data are bound
to the tile and these data might differ from tile to
tile, depending on which tile has been updated by the
tile worker and which has not been yet updated.

This change takes into consideration the actual render
passes required for each tile and combines them for
the layer render passes. Naturally, this change also
introduces render pass check for each render layer in
`RenderLayer::render()` implementations.
</pre>
</div>
</content>
</entry>
<entry>
<title>[core] Introduce LayerProperties::constantsMask()</title>
<updated>2019-07-02T13:05:09+00:00</updated>
<author>
<name>Mikhail Pozdnyakov</name>
<email>mikhail.pozdnyakov@mapbox.com</email>
</author>
<published>2019-06-27T14:06:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/qt5/qtlocation-mapboxgl.git/commit/?id=c1445913220023fdaf8ec5960eb6cba27c348864'/>
<id>c1445913220023fdaf8ec5960eb6cba27c348864</id>
<content type='text'>
Constants mask for data-driven paint properties is a reliable
criteria of whether the given updated properties can still be used
with the existing bucket (and the gl program instance).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Constants mask for data-driven paint properties is a reliable
criteria of whether the given updated properties can still be used
with the existing bucket (and the gl program instance).
</pre>
</div>
</content>
</entry>
<entry>
<title>[core] Minor change to silence documentation warning on iOS.</title>
<updated>2019-07-02T08:44:20+00:00</updated>
<author>
<name>Julian Rex</name>
<email>julian.rex@mapbox.com</email>
</author>
<published>2019-06-27T18:52:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/qt5/qtlocation-mapboxgl.git/commit/?id=e611e572715bc995fa49774fbe6ffbf0dde79f9d'/>
<id>e611e572715bc995fa49774fbe6ffbf0dde79f9d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[core] Add number-format expression</title>
<updated>2019-06-27T12:51:22+00:00</updated>
<author>
<name>Juha Alanen</name>
<email>juha.alanen@mapbox.com</email>
</author>
<published>2019-06-03T12:34:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/qt5/qtlocation-mapboxgl.git/commit/?id=0ca8ea6f169149cd414a65f40d0f7bdd40f3cca3'/>
<id>0ca8ea6f169149cd414a65f40d0f7bdd40f3cca3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[core] DefaultFileSource dynamic support for cache-only requests</title>
<updated>2019-06-25T17:10:21+00:00</updated>
<author>
<name>Bruno de Oliveira Abinader</name>
<email>bruno@mapbox.com</email>
</author>
<published>2019-06-13T15:56:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/qt5/qtlocation-mapboxgl.git/commit/?id=1a9e07e4ed930f33a28d0eac800bccaa2a84570e'/>
<id>1a9e07e4ed930f33a28d0eac800bccaa2a84570e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[core] Add method for setting a maximum size for the ambient cache</title>
<updated>2019-06-18T13:26:51+00:00</updated>
<author>
<name>Thiago Marcos P. Santos</name>
<email>tmpsantos@gmail.com</email>
</author>
<published>2019-06-14T12:11:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/qt5/qtlocation-mapboxgl.git/commit/?id=68e3cbacbc35ae6cd6c1e0fe2ab59ed262c32786'/>
<id>68e3cbacbc35ae6cd6c1e0fe2ab59ed262c32786</id>
<content type='text'>
- Removed this parameter from the constructor, now that we
  have a method to set it.
- Add the method and enforce the limits if the ambient cache exceeds the
  size.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Removed this parameter from the constructor, now that we
  have a method to set it.
- Add the method and enforce the limits if the ambient cache exceeds the
  size.
</pre>
</div>
</content>
</entry>
<entry>
<title>[core] Clear/Invalidate should also work on non-tile resources</title>
<updated>2019-06-18T13:26:51+00:00</updated>
<author>
<name>Thiago Marcos P. Santos</name>
<email>tmpsantos@gmail.com</email>
</author>
<published>2019-06-14T13:53:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/qt5/qtlocation-mapboxgl.git/commit/?id=78eeffe1717a37a91e6c59681421a20c52a4d003'/>
<id>78eeffe1717a37a91e6c59681421a20c52a4d003</id>
<content type='text'>
These methods were only affecting tiles, but they should really
work on every resource like style, glyphs, etc.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These methods were only affecting tiles, but they should really
work on every resource like style, glyphs, etc.
</pre>
</div>
</content>
</entry>
<entry>
<title>[core] Rename resetCache to resetDatabase</title>
<updated>2019-06-18T13:26:51+00:00</updated>
<author>
<name>Thiago Marcos P. Santos</name>
<email>tmpsantos@gmail.com</email>
</author>
<published>2019-06-14T12:03:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/qt5/qtlocation-mapboxgl.git/commit/?id=59e7b9a8780e282cf90ede7ae8e3b1affe1e684e'/>
<id>59e7b9a8780e282cf90ede7ae8e3b1affe1e684e</id>
<content type='text'>
Avoid confusion about what is being reset. In this case, the whole
database and not only the ambient cache.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Avoid confusion about what is being reset. In this case, the whole
database and not only the ambient cache.
</pre>
</div>
</content>
</entry>
</feed>
