File tree Expand file tree Collapse file tree
maps-sdk/src/main/java/com/mapbox/maps/renderer Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,11 +2,13 @@ package com.mapbox.maps.renderer
22
33import android.graphics.Bitmap
44import android.graphics.Matrix
5+ import android.util.Log
56import androidx.annotation.AnyThread
67import androidx.annotation.MainThread
78import androidx.annotation.UiThread
89import androidx.annotation.VisibleForTesting
910import com.mapbox.common.Cancelable
11+ import com.mapbox.common.MapboxTracing
1012import com.mapbox.maps.DelegatingMapClient
1113import com.mapbox.maps.Map
1214import com.mapbox.maps.MapView.OnSnapshotReady
@@ -73,7 +75,9 @@ internal abstract class MapboxRenderer(
7375
7476 @AnyThread
7577 override fun scheduleRepaint () {
76- renderThread.queueRenderEvent(repaintRenderEvent)
78+ MapboxTracing .traceSync(" scheduleRepaint" ) {
79+ renderThread.queueRenderEvent(repaintRenderEvent)
80+ }
7781 }
7882
7983 @AnyThread
You can’t perform that action at this time.
0 commit comments