summaryrefslogtreecommitdiff
path: root/test/tile
diff options
context:
space:
mode:
authorMikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com>2019-05-13 11:25:29 +0300
committerMikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com>2019-05-14 11:19:56 +0300
commit81823e35a68eb87d9433457fe9983d06793a77bf (patch)
tree8fd4fa93dd552d837b9014fda5a56bd1a0162ef8 /test/tile
parentcd24f4c45f6b38e7f3dc73cf0afda9b86b3d85d4 (diff)
downloadqtlocation-mapboxgl-81823e35a68eb87d9433457fe9983d06793a77bf.tar.gz
[core] RenderTile shall never be created for a not renderable tile
A RenderTile is already never created for a not renderable tile, guarantied by the checks in `updateRenderables()`. However, the client code had plenty of `isRenderable()` checks in the render path, which complicated the code and affected rendering performance. This patch removes the unneeded checks from the client code and puts an assertion to `TilePyramid::addRenderTile()`.
Diffstat (limited to 'test/tile')
0 files changed, 0 insertions, 0 deletions