summaryrefslogtreecommitdiff
path: root/platform/macos
diff options
context:
space:
mode:
authorBruno de Oliveira Abinader <bruno@mapbox.com>2016-07-18 15:34:25 +0300
committerBruno de Oliveira Abinader <bruno@mapbox.com>2016-07-20 12:48:52 +0300
commit000539af828b0b3b0a7b0f145434b2556b5a08c3 (patch)
treedd21b40f72a27331bc13048e1fcbcdd18bd4a2c3 /platform/macos
parent30f5aa72de7a3c73acd35d16769991c802c8d29a (diff)
downloadqtlocation-mapboxgl-000539af828b0b3b0a7b0f145434b2556b5a08c3.tar.gz
[ios,macos,node] Updated changelog about debug options no-ops in release mode
Diffstat (limited to 'platform/macos')
-rw-r--r--platform/macos/CHANGELOG.md1
-rw-r--r--platform/macos/src/MGLMapView.h5
2 files changed, 5 insertions, 1 deletions
diff --git a/platform/macos/CHANGELOG.md b/platform/macos/CHANGELOG.md
index f87869c00d..b2e7199919 100644
--- a/platform/macos/CHANGELOG.md
+++ b/platform/macos/CHANGELOG.md
@@ -15,6 +15,7 @@
* 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))
* Improved the performance of relocating a point annotation by changing its `coordinate` property. ([#5385](https://github.com/mapbox/mapbox-gl-native/pull/5385))
* 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))
+* 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))
## 0.2.0
diff --git a/platform/macos/src/MGLMapView.h b/platform/macos/src/MGLMapView.h
index c44bfbd63b..69927bf970 100644
--- a/platform/macos/src/MGLMapView.h
+++ b/platform/macos/src/MGLMapView.h
@@ -23,10 +23,13 @@ typedef NS_OPTIONS(NSUInteger, MGLMapDebugMaskOptions) {
/** Each drawing operation is replaced by a translucent fill. Overlapping
drawing operations appear more prominent to help diagnose overdrawing.
+ @note This option does nothing in Release builds of the SDK.
*/
MGLMapDebugOverdrawVisualizationMask = 1 << 5,
- /** The stencil buffer is shown instead of the color buffer. */
+ /** The stencil buffer is shown instead of the color buffer.
+ @note This option does nothing in Release builds of the SDK.
+ */
MGLMapDebugStencilBufferMask = 1 << 6,
};