From 9dfc2d924d440560adb2db13c758b2c5b3b7dd47 Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Wed, 31 May 2017 13:53:48 -0700 Subject: [core] Collection-level immutability Introduce a second level of immutability, over each of the collections held by a style: sources, images, and layers. Tracking immutability at this level allows us to short-circuit significant portions of the RenderStyle update logic via a simple equality check, greatly improving performance. --- cmake/core-files.cmake | 1 + 1 file changed, 1 insertion(+) (limited to 'cmake') diff --git a/cmake/core-files.cmake b/cmake/core-files.cmake index 47a5d16a1b..44e4f40f19 100644 --- a/cmake/core-files.cmake +++ b/cmake/core-files.cmake @@ -331,6 +331,7 @@ set(MBGL_CORE_FILES include/mbgl/style/transition_options.hpp include/mbgl/style/types.hpp include/mbgl/style/undefined.hpp + src/mbgl/style/collection.hpp src/mbgl/style/image.cpp src/mbgl/style/image_impl.cpp src/mbgl/style/image_impl.hpp -- cgit v1.2.1