Skip to content
This repository was archived by the owner on Nov 25, 2019. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
9d195aa
[wip] optimize http requests
wilhelmberg Jan 13, 2017
04316a5
[wip] optimize http requests
wilhelmberg Jan 16, 2017
4536d82
[wip] optimize http requests
wilhelmberg Jan 17, 2017
227449b
[wip] optimize http requests
wilhelmberg Jan 18, 2017
a5dd237
update files edited during 'optimize http requests'
wilhelmberg Jan 27, 2017
7355f6c
[wip] bring multithreading back into core
wilhelmberg Jan 31, 2017
e6b7a7d
[wip] bring multithreading back into core
wilhelmberg Jan 31, 2017
54b6537
'Map' tests are passing again
wilhelmberg Feb 1, 2017
bf7fe7d
fixed compression test
wilhelmberg Feb 1, 2017
9148450
mark TileState tests with '[Ignore]' - we don't have that in the curr…
wilhelmberg Feb 1, 2017
0a4060b
[wip] FileSource Tests
wilhelmberg Feb 1, 2017
bc6b19e
tests are working again
wilhelmberg Feb 2, 2017
3bead33
Merge branch 'master' of https://github.com/mapbox/mapbox-sdk-unity-c…
wilhelmberg Feb 2, 2017
7fc8ec0
oops, still more tests that need fixing
wilhelmberg Feb 2, 2017
265744f
increase test timeout (because of AppVeyor)
wilhelmberg Feb 2, 2017
b9bd582
increase test timeout even more (because of AppVeyor)
wilhelmberg Feb 2, 2017
805ec81
dispose `UnityWebRequest`
wilhelmberg Feb 3, 2017
80b7f24
smaller optimizations after memory profiling
wilhelmberg Feb 6, 2017
27e5e14
update versions.txt -> nupkg:1.0.0-alpha14
wilhelmberg Feb 6, 2017
e78e1d9
add SmartThreadPool.dll and System.Threading.dll to nuspec
wilhelmberg Feb 6, 2017
cb95387
get rid of `Mapbox.Threading.Dispatcher`, use `SynchronizationContext…
Feb 7, 2017
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added 3rdparty/SmartThreadPool/SmartThreadPool.dll
Binary file not shown.
Binary file added 3rdparty/SmartThreadPool/System.Threading.dll
Binary file not shown.
2 changes: 2 additions & 0 deletions MapboxSDKUnityCore.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@
<file src="bin\$configuration$\Mapbox.VectorTile.PbfReader.dll" target="content\sdkproject\Assets\Mapbox\Core\Plugins\MapboxVectorTile\"></file>
<file src="bin\$configuration$\Mapbox.VectorTile.VectorTileReader.dll" target="content\sdkproject\Assets\Mapbox\Core\Plugins\MapboxVectorTile\"></file>
<file src="bin\$configuration$\ICSharpCode.SharpZipLib.dll" target="content\sdkproject\Assets\Mapbox\Core\Plugins\ThirdParty\"></file>
<file src="bin\$configuration$\SmartThreadPool.dll" target="content\sdkproject\Assets\Mapbox\Core\Plugins\ThirdParty\"></file>
<file src="bin\$configuration$\System.Threading.dll" target="content\sdkproject\Assets\Mapbox\Core\Plugins\ThirdParty\"></file>
<!--
<file src="bin\$configuration$\Triangulation.dll" target="content\sdkproject\Assets\Mapbox\Assets\Plugins\ThirdParty\"></file>
-->
Expand Down
11 changes: 11 additions & 0 deletions src/Map/IMemoryCache.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
//https://github.com/BruTile/BruTile
// Copyright (c) BruTile developers team. All rights reserved. See License.txt in the project root for license information.

namespace Mapbox.Map
{
interface IMemoryCache<T> : ITileCache<T>
{
int MinTiles { get; set; }
int MaxTiles { get; set; }
}
}
16 changes: 16 additions & 0 deletions src/Map/ITileCache.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
//https://github.com/BruTile/BruTile

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Mapbox.Map
{
public interface ITileCache<T>
{
void Add(CanonicalTileId tileId, T tile);
void Remove(CanonicalTileId tileId);
T Get(CanonicalTileId tileId);
}
}
Loading