From be7e9bbb8d54c775127f53d793c117c4bf5e2764 Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Wed, 14 Jun 2017 16:21:02 -0700 Subject: [core] Refactor CustomLayer internals Move the responsibility for initialization/deinitialization/rendering to RenderCustomLayer. This eliminates special case code from Map and Style. --- test/tile/annotation_tile.test.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test/tile') diff --git a/test/tile/annotation_tile.test.cpp b/test/tile/annotation_tile.test.cpp index a69735d23e..6d00a3236a 100644 --- a/test/tile/annotation_tile.test.cpp +++ b/test/tile/annotation_tile.test.cpp @@ -14,6 +14,8 @@ #include #include #include +#include +#include #include @@ -26,6 +28,8 @@ public: util::RunLoop loop; ThreadPool threadPool { 1 }; AnnotationManager annotationManager; + HeadlessBackend backend { test::sharedDisplay() }; + BackendScope scope { backend }; RenderStyle style { threadPool, fileSource }; ImageManager imageManager; GlyphManager glyphManager { fileSource }; -- cgit v1.2.1