Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

Commit 000539a

Browse files
committed
[ios,macos,node] Updated changelog about debug options no-ops in release mode
1 parent 30f5aa7 commit 000539a

File tree

5 files changed

+11
-1
lines changed

5 files changed

+11
-1
lines changed

platform/ios/CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Mapbox welcomes participation and contributions from everyone. Please read [CON
99
* The `text-pitch-alignment` property is now supported in stylesheets for improved street label legibility on a tilted map. ([#5288](https://github.com/mapbox/mapbox-gl-native/pull/5288))
1010
* The `icon-text-fit` and `icon-text-fit-padding` properties are now supported in stylesheets, allowing the background of a shield to automatically resize to fit the shield’s text. ([#5334](https://github.com/mapbox/mapbox-gl-native/pull/5334))
1111
* Improved the performance of relocating a non-view-backed point annotation by changing its `coordinate` property. ([#5385](https://github.com/mapbox/mapbox-gl-native/pull/5385))
12+
* MGLMapDebugOverdrawVisualizationMask does nothing in Release builds of the SDK. This is disabled for performance reasons. ([#5555](https://github.com/mapbox/mapbox-gl-native/pull/5555))
1213

1314
## 3.3.1
1415

platform/ios/src/MGLMapView.h

+1
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ typedef NS_OPTIONS(NSUInteger, MGLMapDebugMaskOptions) {
5757
MGLMapDebugCollisionBoxesMask = 1 << 4,
5858
/** Each drawing operation is replaced by a translucent fill. Overlapping
5959
drawing operations appear more prominent to help diagnose overdrawing.
60+
@note This option does nothing in Release builds of the SDK.
6061
*/
6162
MGLMapDebugOverdrawVisualizationMask = 1 << 5,
6263
};

platform/macos/CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
* The `icon-text-fit` and `icon-text-fit-padding` properties are now supported in stylesheets, allowing the background of a shield to automatically resize to fit the shield’s text. ([#5334](https://github.com/mapbox/mapbox-gl-native/pull/5334))
1616
* Improved the performance of relocating a point annotation by changing its `coordinate` property. ([#5385](https://github.com/mapbox/mapbox-gl-native/pull/5385))
1717
* Replaced the wireframe debug mask with an overdraw visualization debug mask to match Mapbox GL JS’s overdraw inspector. ([#5403](https://github.com/mapbox/mapbox-gl-native/pull/5403))
18+
* MGLMapDebugOverdrawVisualizationMask and MGLMapDebugStencilBufferMask does nothing in Release builds of the SDK. These are disabled for performance reasons. ([#5555](https://github.com/mapbox/mapbox-gl-native/pull/5555))
1819

1920
## 0.2.0
2021

platform/macos/src/MGLMapView.h

+4-1
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,13 @@ typedef NS_OPTIONS(NSUInteger, MGLMapDebugMaskOptions) {
2323

2424
/** Each drawing operation is replaced by a translucent fill. Overlapping
2525
drawing operations appear more prominent to help diagnose overdrawing.
26+
@note This option does nothing in Release builds of the SDK.
2627
*/
2728
MGLMapDebugOverdrawVisualizationMask = 1 << 5,
2829

29-
/** The stencil buffer is shown instead of the color buffer. */
30+
/** The stencil buffer is shown instead of the color buffer.
31+
@note This option does nothing in Release builds of the SDK.
32+
*/
3033
MGLMapDebugStencilBufferMask = 1 << 6,
3134
};
3235

platform/node/CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# master
2+
3+
* Map debug options 'overdraw' and 'stencil clip' are now disabled (no-ops) in release mode. ([#5555](https://github.com/mapbox/mapbox-gl-native/pull/5555))
4+
15
# 3.3.0
26

37
- Adds runtime styling API ([#5318](https://github.com/mapbox/mapbox-gl-native/pull/5318), [#5380](https://github.com/mapbox/mapbox-gl-native/pull/5380), [#5428](https://github.com/mapbox/mapbox-gl-native/pull/5428), [#5429](https://github.com/mapbox/mapbox-gl-native/pull/5429), [#5462](https://github.com/mapbox/mapbox-gl-native/pull/5462), [#5614](https://github.com/mapbox/mapbox-gl-native/pull/5614), [#5670](https://github.com/mapbox/mapbox-gl-native/pull/5670))

0 commit comments

Comments
 (0)