Texturepool ⇢ TexturePool (fixes #655)
This commit is contained in:
@@ -24,7 +24,7 @@ class Style;
|
||||
class StyleLayer;
|
||||
class StyleLayerGroup;
|
||||
class StyleSource;
|
||||
class Texturepool;
|
||||
class TexturePool;
|
||||
class FileSource;
|
||||
class View;
|
||||
|
||||
@@ -184,7 +184,7 @@ private:
|
||||
util::ptr<GlyphStore> glyphStore;
|
||||
SpriteAtlas spriteAtlas;
|
||||
util::ptr<Sprite> sprite;
|
||||
util::ptr<Texturepool> texturepool;
|
||||
util::ptr<TexturePool> texturePool;
|
||||
|
||||
Painter painter;
|
||||
|
||||
|
||||
@@ -10,13 +10,13 @@ namespace mbgl {
|
||||
class Painter;
|
||||
class SourceInfo;
|
||||
class StyleLayer;
|
||||
class Texturepool;
|
||||
class TexturePool;
|
||||
|
||||
class RasterTileData : public TileData {
|
||||
friend class TileParser;
|
||||
|
||||
public:
|
||||
RasterTileData(Tile::ID const& id, Texturepool&, const SourceInfo&);
|
||||
RasterTileData(Tile::ID const& id, TexturePool&, const SourceInfo&);
|
||||
~RasterTileData();
|
||||
|
||||
virtual void parse();
|
||||
|
||||
@@ -23,7 +23,7 @@ class GlyphStore;
|
||||
class SpriteAtlas;
|
||||
class Sprite;
|
||||
class FileSource;
|
||||
class Texturepool;
|
||||
class TexturePool;
|
||||
class Style;
|
||||
class Painter;
|
||||
class StyleLayer;
|
||||
@@ -39,7 +39,7 @@ public:
|
||||
util::ptr<Style>,
|
||||
GlyphAtlas&, GlyphStore&,
|
||||
SpriteAtlas&, util::ptr<Sprite>,
|
||||
Texturepool&, FileSource&,
|
||||
TexturePool&, FileSource&,
|
||||
std::function<void ()> callback);
|
||||
|
||||
void updateMatrices(const mat4 &projMatrix, const TransformState &transform);
|
||||
@@ -63,7 +63,7 @@ private:
|
||||
util::ptr<Style>,
|
||||
GlyphAtlas&, GlyphStore&,
|
||||
SpriteAtlas&, util::ptr<Sprite>,
|
||||
FileSource&, Texturepool&,
|
||||
FileSource&, TexturePool&,
|
||||
const Tile::ID&,
|
||||
std::function<void ()> callback);
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
namespace mbgl {
|
||||
|
||||
class Bucket;
|
||||
class Texturepool;
|
||||
class TexturePool;
|
||||
class FontStack;
|
||||
class GlyphAtlas;
|
||||
class GlyphStore;
|
||||
@@ -28,7 +28,7 @@ class StyleBucketSymbol;
|
||||
class StyleLayerGroup;
|
||||
class VectorTileData;
|
||||
class Collision;
|
||||
class Texturepool;
|
||||
class TexturePool;
|
||||
|
||||
class TileParser : private util::noncopyable
|
||||
{
|
||||
@@ -39,7 +39,7 @@ public:
|
||||
GlyphStore & glyphStore,
|
||||
SpriteAtlas & spriteAtlas,
|
||||
const util::ptr<Sprite> &sprite,
|
||||
Texturepool& texturepool);
|
||||
TexturePool& texturePool);
|
||||
~TileParser();
|
||||
|
||||
public:
|
||||
@@ -51,7 +51,7 @@ private:
|
||||
std::unique_ptr<Bucket> createBucket(util::ptr<StyleBucket> bucket_desc);
|
||||
|
||||
std::unique_ptr<Bucket> createFillBucket(const VectorTileLayer& layer, const FilterExpression &filter, const StyleBucketFill &fill);
|
||||
std::unique_ptr<Bucket> createRasterBucket(Texturepool& texturepool, const StyleBucketRaster &raster);
|
||||
std::unique_ptr<Bucket> createRasterBucket(const StyleBucketRaster &raster);
|
||||
std::unique_ptr<Bucket> createLineBucket(const VectorTileLayer& layer, const FilterExpression &filter, const StyleBucketLine &line);
|
||||
std::unique_ptr<Bucket> createSymbolBucket(const VectorTileLayer& layer, const FilterExpression &filter, const StyleBucketSymbol &symbol);
|
||||
|
||||
@@ -67,7 +67,7 @@ private:
|
||||
GlyphStore & glyphStore;
|
||||
SpriteAtlas & spriteAtlas;
|
||||
util::ptr<Sprite> sprite;
|
||||
Texturepool& texturePool;
|
||||
TexturePool& texturePool;
|
||||
|
||||
std::unique_ptr<Collision> collision;
|
||||
};
|
||||
|
||||
@@ -24,7 +24,7 @@ class GlyphAtlas;
|
||||
class GlyphStore;
|
||||
class SpriteAtlas;
|
||||
class Sprite;
|
||||
class Texturepool;
|
||||
class TexturePool;
|
||||
class Style;
|
||||
|
||||
class VectorTileData : public TileData {
|
||||
@@ -35,7 +35,7 @@ public:
|
||||
float mapMaxZoom, util::ptr<Style>,
|
||||
GlyphAtlas&, GlyphStore&,
|
||||
SpriteAtlas&, util::ptr<Sprite>,
|
||||
Texturepool&,
|
||||
TexturePool&,
|
||||
const SourceInfo&);
|
||||
~VectorTileData();
|
||||
|
||||
@@ -62,7 +62,7 @@ protected:
|
||||
GlyphStore& glyphStore;
|
||||
SpriteAtlas& spriteAtlas;
|
||||
util::ptr<Sprite> sprite;
|
||||
Texturepool& texturepool;
|
||||
TexturePool& texturePool;
|
||||
util::ptr<Style> style;
|
||||
|
||||
public:
|
||||
|
||||
@@ -16,7 +16,7 @@ class VertexArrayObject;
|
||||
|
||||
class RasterBucket : public Bucket {
|
||||
public:
|
||||
RasterBucket(Texturepool&, const StyleBucketRaster&);
|
||||
RasterBucket(TexturePool&, const StyleBucketRaster&);
|
||||
|
||||
virtual void render(Painter& painter, util::ptr<StyleLayer> layer_desc, const Tile::ID& id, const mat4 &matrix);
|
||||
virtual bool hasData() const;
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
#define MBGL_UTIL_RASTER
|
||||
|
||||
#include <mbgl/util/transition.hpp>
|
||||
#include <mbgl/util/texturepool.hpp>
|
||||
#include <mbgl/util/texture_pool.hpp>
|
||||
#include <mbgl/util/image.hpp>
|
||||
#include <mbgl/util/ptr.hpp>
|
||||
#include <mbgl/renderer/prerendered_texture.hpp>
|
||||
@@ -17,7 +17,7 @@ namespace mbgl {
|
||||
class Raster : public std::enable_shared_from_this<Raster> {
|
||||
|
||||
public:
|
||||
Raster(Texturepool&);
|
||||
Raster(TexturePool&);
|
||||
~Raster();
|
||||
|
||||
// load image data
|
||||
@@ -57,7 +57,7 @@ private:
|
||||
bool loaded = false;
|
||||
|
||||
// shared texture pool
|
||||
Texturepool& texturepool;
|
||||
TexturePool& texturePool;
|
||||
|
||||
// min/mag filter
|
||||
uint32_t filter = 0;
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
namespace mbgl {
|
||||
|
||||
class Texturepool : private util::noncopyable {
|
||||
class TexturePool : private util::noncopyable {
|
||||
|
||||
public:
|
||||
GLuint getTextureID();
|
||||
Reference in New Issue
Block a user