diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2017-07-06 08:06:12 -0700 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2017-07-17 09:19:02 -0700 |
commit | de91e68090a8b246eb161cc8dfdc5b0f40e5bdc0 (patch) | |
tree | 42b12455dd032a4b478cc0627f5805e21c85f582 /src/mbgl/renderer/painter_clipping.cpp | |
parent | d7bdc7a60d330094dd8af8431e0b1d6f588d9f07 (diff) | |
download | qtlocation-mapboxgl-de91e68090a8b246eb161cc8dfdc5b0f40e5bdc0.tar.gz |
[core] Per-segment-per-layer vertex arrays
Reduces rebinding, matches gl-js, and works around the buggy VAO implementation on PowerVR SGX544 GPUs.
Diffstat (limited to 'src/mbgl/renderer/painter_clipping.cpp')
-rw-r--r-- | src/mbgl/renderer/painter_clipping.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mbgl/renderer/painter_clipping.cpp b/src/mbgl/renderer/painter_clipping.cpp index b3a2d77b1a..162f3b1d96 100644 --- a/src/mbgl/renderer/painter_clipping.cpp +++ b/src/mbgl/renderer/painter_clipping.cpp @@ -30,7 +30,8 @@ void Painter::renderClippingMask(const UnwrappedTileID& tileID, const ClipID& cl tileTriangleSegments, paintAttibuteData, properties, - state.getZoom() + state.getZoom(), + "clipping" ); } |