diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2018-01-22 14:46:13 -0800 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2018-01-24 17:02:18 -0800 |
commit | fcc3808c83102d272006c33fb25f9c0307b466c5 (patch) | |
tree | f4357e542bd037f0312135453c2a9a14cbf34def /src/mbgl/renderer/paint_parameters.hpp | |
parent | d511f74ce45b8d18c376e7c3d806819cbe438627 (diff) | |
download | qtlocation-mapboxgl-fcc3808c83102d272006c33fb25f9c0307b466c5.tar.gz |
[core] align raster imagery rendering to pixel rid to avoid blurriness
Diffstat (limited to 'src/mbgl/renderer/paint_parameters.hpp')
-rw-r--r-- | src/mbgl/renderer/paint_parameters.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mbgl/renderer/paint_parameters.hpp b/src/mbgl/renderer/paint_parameters.hpp index 5c934c2239..41f46ae34e 100644 --- a/src/mbgl/renderer/paint_parameters.hpp +++ b/src/mbgl/renderer/paint_parameters.hpp @@ -62,9 +62,10 @@ public: gl::StencilMode stencilModeForClipping(const ClipID&) const; gl::ColorMode colorModeForRenderPass() const; - mat4 matrixForTile(const UnwrappedTileID&); + mat4 matrixForTile(const UnwrappedTileID&, bool aligned = false) const; mat4 projMatrix; + mat4 alignedProjMatrix; mat4 nearClippedProjMatrix; int numSublayers = 3; |