Skip to content

Commit

Permalink
Update to upstream OpenGL 2 branch of MapLibre Native
Browse files Browse the repository at this point in the history
  • Loading branch information
ntadej committed Dec 21, 2023
1 parent c582526 commit 667d0e2
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 249 deletions.
12 changes: 8 additions & 4 deletions src/core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,6 @@ target_sources(
map_observer.cpp map_observer_p.hpp
map_renderer.cpp map_renderer_p.hpp
map.cpp map_p.hpp
renderer_backend.cpp renderer_backend_p.hpp
renderer_observer_p.hpp
scheduler.cpp scheduler_p.hpp
settings.cpp settings_p.hpp
types.cpp
utils.cpp
Expand Down Expand Up @@ -101,6 +98,7 @@ target_include_directories(
${CMAKE_CURRENT_SOURCE_DIR}/style
${CMAKE_CURRENT_BINARY_DIR}/include
${MLN_CORE_PATH}/src
${MLN_CORE_PATH}/platform/qt/src
)

# Common link libraries
Expand All @@ -112,7 +110,6 @@ target_link_libraries(
Qt${QT_VERSION_MAJOR}::Network
PRIVATE
$<BUILD_INTERFACE:mbgl-compiler-options>
$<BUILD_INTERFACE:mbgl-core-interface>
$<BUILD_INTERFACE:mbgl-core>
$<BUILD_INTERFACE:CompilerOptions>
)
Expand All @@ -123,6 +120,13 @@ if(NOT MLN_QT_WITH_INTERNAL_SQLITE)
Qt${QT_VERSION_MAJOR}::Sql
)
endif()
foreach(target ${MLN_QT_VENDOR_LIBRARIES})
target_link_libraries(
Core
PRIVATE
$<BUILD_INTERFACE:${target}>
)
endforeach()

# Apple specifics
if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
Expand Down
3 changes: 2 additions & 1 deletion src/core/map.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
#include "conversion_p.hpp"
#include "geojson_p.hpp"
#include "map_observer_p.hpp"
#include "renderer_observer_p.hpp"

#include "utils/renderer_observer.hpp"

#include <mbgl/actor/scheduler.hpp>
#include <mbgl/annotation/annotation.hpp>
Expand Down
2 changes: 1 addition & 1 deletion src/core/map_renderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

#include "map_renderer_p.hpp"

#include "scheduler_p.hpp"
#include "utils/scheduler.hpp"

#include <mbgl/gfx/backend_scope.hpp>

Expand Down
3 changes: 2 additions & 1 deletion src/core/map_renderer_p.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@

#pragma once

#include "renderer_backend_p.hpp"
#include "settings.hpp"

#include "utils/renderer_backend.hpp"

#include <mbgl/renderer/renderer.hpp>
#include <mbgl/renderer/renderer_observer.hpp>
#include <mbgl/util/util.hpp>
Expand Down
61 changes: 0 additions & 61 deletions src/core/renderer_backend.cpp

This file was deleted.

43 changes: 0 additions & 43 deletions src/core/renderer_backend_p.hpp

This file was deleted.

49 changes: 0 additions & 49 deletions src/core/renderer_observer_p.hpp

This file was deleted.

45 changes: 0 additions & 45 deletions src/core/scheduler.cpp

This file was deleted.

43 changes: 0 additions & 43 deletions src/core/scheduler_p.hpp

This file was deleted.

0 comments on commit 667d0e2

Please sign in to comment.