Home
last modified time | relevance | path

Searched full:tile (Results 1 – 25 of 611) sorted by relevance

12345678910>>...25

/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/algorithm/
H A Dupdate_renderables.hpp3 #include <mbgl/tile/tile_id.hpp>
4 #include <mbgl/tile/tile_necessity.hpp>
35 auto tile = getTile(idealDataTileID); in updateRenderables() local
36 if (!tile) { in updateRenderables()
37 tile = createTile(idealDataTileID); in updateRenderables()
40 if(tile == nullptr) { in updateRenderables()
45 // if (source has the tile and bucket is loaded) { in updateRenderables()
46 if (tile->isRenderable()) { in updateRenderables()
47 retainTile(*tile, TileNecessity::Required); in updateRenderables()
48 renderTile(idealRenderTileID, *tile); in updateRenderables()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
H A Dnv20.c31 u32 flags, struct nvkm_fb_tile *tile) in nv20_fb_tile_init() argument
33 tile->addr = 0x00000001 | addr; in nv20_fb_tile_init()
34 tile->limit = max(1u, addr + size) - 1; in nv20_fb_tile_init()
35 tile->pitch = pitch; in nv20_fb_tile_init()
37 fb->func->tile.comp(fb, i, size, flags, tile); in nv20_fb_tile_init()
38 tile->addr |= 2; in nv20_fb_tile_init()
44 struct nvkm_fb_tile *tile) in nv20_fb_tile_comp() argument
48 if (!nvkm_mm_head(&fb->tags, 0, 1, tags, tags, 1, &tile->tag)) { in nv20_fb_tile_comp()
49 if (!(flags & 2)) tile->zcomp = 0x00000000; /* Z16 */ in nv20_fb_tile_comp()
50 else tile->zcomp = 0x04000000; /* Z24S8 */ in nv20_fb_tile_comp()
[all …]
H A Dnv30.c31 u32 flags, struct nvkm_fb_tile *tile) in nv30_fb_tile_init() argument
35 tile->addr = (0 << 4); in nv30_fb_tile_init()
37 if (fb->func->tile.comp) /* z compression */ in nv30_fb_tile_init()
38 fb->func->tile.comp(fb, i, size, flags, tile); in nv30_fb_tile_init()
39 tile->addr = (1 << 4); in nv30_fb_tile_init()
42 tile->addr |= 0x00000001; /* enable */ in nv30_fb_tile_init()
43 tile->addr |= addr; in nv30_fb_tile_init()
44 tile->limit = max(1u, addr + size) - 1; in nv30_fb_tile_init()
45 tile->pitch = pitch; in nv30_fb_tile_init()
50 struct nvkm_fb_tile *tile) in nv30_fb_tile_comp() argument
[all …]
H A Dnv10.c31 u32 flags, struct nvkm_fb_tile *tile) in nv10_fb_tile_init() argument
33 tile->addr = 0x80000000 | addr; in nv10_fb_tile_init()
34 tile->limit = max(1u, addr + size) - 1; in nv10_fb_tile_init()
35 tile->pitch = pitch; in nv10_fb_tile_init()
39 nv10_fb_tile_fini(struct nvkm_fb *fb, int i, struct nvkm_fb_tile *tile) in nv10_fb_tile_fini() argument
41 tile->addr = 0; in nv10_fb_tile_fini()
42 tile->limit = 0; in nv10_fb_tile_fini()
43 tile->pitch = 0; in nv10_fb_tile_fini()
44 tile->zcomp = 0; in nv10_fb_tile_fini()
48 nv10_fb_tile_prog(struct nvkm_fb *fb, int i, struct nvkm_fb_tile *tile) in nv10_fb_tile_prog() argument
[all …]
H A Dnv35.c31 struct nvkm_fb_tile *tile) in nv35_fb_tile_comp() argument
35 if (!nvkm_mm_head(&fb->tags, 0, 1, tags, tags, 1, &tile->tag)) { in nv35_fb_tile_comp()
36 if (flags & 2) tile->zcomp |= 0x04000000; /* Z16 */ in nv35_fb_tile_comp()
37 else tile->zcomp |= 0x08000000; /* Z24S8 */ in nv35_fb_tile_comp()
38 tile->zcomp |= ((tile->tag->offset ) >> 6); in nv35_fb_tile_comp()
39 tile->zcomp |= ((tile->tag->offset + tags - 1) >> 6) << 13; in nv35_fb_tile_comp()
41 tile->zcomp |= 0x40000000; in nv35_fb_tile_comp()
50 .tile.regions = 8,
51 .tile.init = nv30_fb_tile_init,
52 .tile.comp = nv35_fb_tile_comp,
[all …]
H A Dnv36.c31 struct nvkm_fb_tile *tile) in nv36_fb_tile_comp() argument
35 if (!nvkm_mm_head(&fb->tags, 0, 1, tags, tags, 1, &tile->tag)) { in nv36_fb_tile_comp()
36 if (flags & 2) tile->zcomp |= 0x10000000; /* Z16 */ in nv36_fb_tile_comp()
37 else tile->zcomp |= 0x20000000; /* Z24S8 */ in nv36_fb_tile_comp()
38 tile->zcomp |= ((tile->tag->offset ) >> 6); in nv36_fb_tile_comp()
39 tile->zcomp |= ((tile->tag->offset + tags - 1) >> 6) << 14; in nv36_fb_tile_comp()
41 tile->zcomp |= 0x80000000; in nv36_fb_tile_comp()
50 .tile.regions = 8,
51 .tile.init = nv30_fb_tile_init,
52 .tile.comp = nv36_fb_tile_comp,
[all …]
H A Dnv44.c31 u32 flags, struct nvkm_fb_tile *tile) in nv44_fb_tile_init() argument
33 tile->addr = 0x00000001; /* mode = vram */ in nv44_fb_tile_init()
34 tile->addr |= addr; in nv44_fb_tile_init()
35 tile->limit = max(1u, addr + size) - 1; in nv44_fb_tile_init()
36 tile->pitch = pitch; in nv44_fb_tile_init()
40 nv44_fb_tile_prog(struct nvkm_fb *fb, int i, struct nvkm_fb_tile *tile) in nv44_fb_tile_prog() argument
43 nvkm_wr32(device, 0x100604 + (i * 0x10), tile->limit); in nv44_fb_tile_prog()
44 nvkm_wr32(device, 0x100608 + (i * 0x10), tile->pitch); in nv44_fb_tile_prog()
45 nvkm_wr32(device, 0x100600 + (i * 0x10), tile->addr); in nv44_fb_tile_prog()
60 .tile.regions = 12,
[all …]
H A Dnv40.c31 struct nvkm_fb_tile *tile) in nv40_fb_tile_comp() argument
36 !nvkm_mm_head(&fb->tags, 0, 1, tags, tags, 1, &tile->tag)) { in nv40_fb_tile_comp()
37 tile->zcomp = 0x28000000; /* Z24S8_SPLIT_GRAD */ in nv40_fb_tile_comp()
38 tile->zcomp |= ((tile->tag->offset ) >> 8); in nv40_fb_tile_comp()
39 tile->zcomp |= ((tile->tag->offset + tags - 1) >> 8) << 13; in nv40_fb_tile_comp()
41 tile->zcomp |= 0x40000000; in nv40_fb_tile_comp()
56 .tile.regions = 8,
57 .tile.init = nv30_fb_tile_init,
58 .tile.comp = nv40_fb_tile_comp,
59 .tile.fini = nv20_fb_tile_fini,
[all …]
H A Dnv25.c31 struct nvkm_fb_tile *tile) in nv25_fb_tile_comp() argument
35 if (!nvkm_mm_head(&fb->tags, 0, 1, tags, tags, 1, &tile->tag)) { in nv25_fb_tile_comp()
36 if (!(flags & 2)) tile->zcomp = 0x00100000; /* Z16 */ in nv25_fb_tile_comp()
37 else tile->zcomp = 0x00200000; /* Z24S8 */ in nv25_fb_tile_comp()
38 tile->zcomp |= tile->tag->offset; in nv25_fb_tile_comp()
40 tile->zcomp |= 0x01000000; in nv25_fb_tile_comp()
48 .tile.regions = 8,
49 .tile.init = nv20_fb_tile_init,
50 .tile.comp = nv25_fb_tile_comp,
51 .tile.fini = nv20_fb_tile_fini,
[all …]
H A Dnv46.c31 u32 flags, struct nvkm_fb_tile *tile) in nv46_fb_tile_init() argument
34 if (!(flags & 4)) tile->addr = (0 << 3); in nv46_fb_tile_init()
35 else tile->addr = (1 << 3); in nv46_fb_tile_init()
37 tile->addr |= 0x00000001; /* mode = vram */ in nv46_fb_tile_init()
38 tile->addr |= addr; in nv46_fb_tile_init()
39 tile->limit = max(1u, addr + size) - 1; in nv46_fb_tile_init()
40 tile->pitch = pitch; in nv46_fb_tile_init()
46 .tile.regions = 15,
47 .tile.init = nv46_fb_tile_init,
48 .tile.fini = nv20_fb_tile_fini,
[all …]
H A Dbase.c35 nvkm_fb_tile_fini(struct nvkm_fb *fb, int region, struct nvkm_fb_tile *tile) in nvkm_fb_tile_fini() argument
37 fb->func->tile.fini(fb, region, tile); in nvkm_fb_tile_fini()
42 u32 pitch, u32 flags, struct nvkm_fb_tile *tile) in nvkm_fb_tile_init() argument
44 fb->func->tile.init(fb, region, addr, size, pitch, flags, tile); in nvkm_fb_tile_init()
48 nvkm_fb_tile_prog(struct nvkm_fb *fb, int region, struct nvkm_fb_tile *tile) in nvkm_fb_tile_prog() argument
51 if (fb->func->tile.prog) { in nvkm_fb_tile_prog()
52 fb->func->tile.prog(fb, region, tile); in nvkm_fb_tile_prog()
168 for (i = 0; i < fb->tile.regions; i++) in nvkm_fb_init()
169 fb->func->tile.prog(fb, i, &fb->tile.region[i]); in nvkm_fb_init()
205 for (i = 0; i < fb->tile.regions; i++) in nvkm_fb_dtor()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/renderer/
H A Dtile_pyramid.cpp44 for (auto& tile : renderTiles) { in startRender() local
45 tile.startRender(parameters); in startRender()
50 for (auto& tile : renderTiles) { in finishRender() local
51 tile.finishRender(parameters); in finishRender()
59 Tile* TilePyramid::getTile(const OverscaledTileID& tileID){ in getTile()
72 … std::function<std::unique_ptr<Tile> (const OverscaledTileID&)> createTile) { in update()
129 // kinds of tiles we need: the ideal tiles determined by the tile cover. They may not yet be in in update()
131 // we're actively using, e.g. as a replacement for tile that aren't loaded yet. in update()
135 auto retainTileFn = [&](Tile& tile, TileNecessity necessity) -> void { in update() argument
136 if (retain.emplace(tile.id).second) { in update()
[all …]
H A Drender_tile.cpp7 #include <mbgl/tile/tile.hpp>
56 tile.setMask(std::move(mask)); in setMask()
60 tile.upload(parameters.context); in startRender()
62 // Calculate two matrices for this tile: matrix is the standard tile matrix; nearClippedMatrix in startRender()
80 if (!tile.debugBucket || tile.debugBucket->renderable != tile.isRenderable() || in finishRender()
81 tile.debugBucket->complete != tile.isComplete() || in finishRender()
82 !(tile.debugBucket->modified == tile.modified) || in finishRender()
83 !(tile.debugBucket->expires == tile.expires) || in finishRender()
84 tile.debugBucket->debugMode != parameters.debugOptions) { in finishRender()
85 tile.debugBucket = std::make_unique<DebugBucket>( in finishRender()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/gem/selftests/
H A Di915_gem_mman.c19 struct tile { struct
33 static u64 tiled_offset(const struct tile *tile, u64 v) in tiled_offset() argument
37 if (tile->tiling == I915_TILING_NONE) in tiled_offset()
40 y = div64_u64_rem(v, tile->stride, &x); in tiled_offset()
41 v = div64_u64_rem(y, tile->height, &y) * tile->stride * tile->height; in tiled_offset()
43 if (tile->tiling == I915_TILING_X) { in tiled_offset()
44 v += y * tile->width; in tiled_offset()
45 v += div64_u64_rem(x, tile->width, &x) << tile->size; in tiled_offset()
47 } else if (tile->width == 128) { in tiled_offset()
63 switch (tile->swizzle) { in tiled_offset()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/tile/
H A Dtile.hpp8 #include <mbgl/tile/tile_id.hpp>
9 #include <mbgl/tile/tile_necessity.hpp>
12 #include <mbgl/tile/geometry_tile_data.hpp>
36 class Tile : private util::noncopyable { class
38 Tile(OverscaledTileID);
39 virtual ~Tile();
45 // Mark this tile as no longer needed and cancel any pending work.
77 // Returns true when the tile source has received a first response, regardless of whether a load
83 // Tile data considered "Renderable" can be used for rendering. Data in
90 // A tile is "Loaded" when we have received a response from a FileSource, and have attempted to
[all …]
H A Dtile_cache.cpp1 #include <mbgl/tile/tile_cache.hpp>
2 #include <mbgl/tile/tile.hpp>
20 void TileCache::add(const OverscaledTileID& key, std::unique_ptr<Tile> tile) { in add() argument
21 if (!tile->isRenderable() || !size) { in add()
25 // insert new or query existing tile in add()
26 if (tiles.emplace(key, std::move(tile)).second) { in add()
27 // remove existing tile key in add()
31 // (re-)insert tile key as newest in add()
34 // purge oldest key/tile if necessary in add()
42 Tile* TileCache::get(const OverscaledTileID& key) { in get()
[all …]
H A Dtile.cpp1 #include <mbgl/tile/tile.hpp>
2 #include <mbgl/tile/tile_observer.hpp>
12 Tile::Tile(OverscaledTileID id_) : id(std::move(id_)), observer(&nullObserver) { in Tile() function in mbgl::Tile
15 Tile::~Tile() = default;
17 void Tile::setObserver(TileObserver* observer_) { in setObserver()
21 void Tile::cancel() { in cancel()
24 void Tile::setTriedCache() { in setTriedCache()
29 void Tile::dumpDebugLogs() const { in dumpDebugLogs()
30 Log::Info(Event::General, "Tile::id: %s", util::toString(id).c_str()); in dumpDebugLogs()
31 Log::Info(Event::General, "Tile::renderable: %s", isRenderable() ? "yes" : "no"); in dumpDebugLogs()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/renderer/sources/
H A Drender_raster_dem_source.cpp3 #include <mbgl/tile/raster_dem_tile.hpp>
41 // Should instead refresh tile data in place. in update()
46 // Allow clearing the tile pyramid first, before the early return in case in update()
65 void RenderRasterDEMSource::onTileChanged(Tile& tile){ in onTileChanged() argument
66 RasterDEMTile& demtile = static_cast<RasterDEMTile&>(tile); in onTileChanged()
79 if (tile.isRenderable() && demtile.neighboringTiles != DEMTileNeighbors::Complete) { in onTileChanged()
80 const CanonicalTileID canonical = tile.id.canonical; in onTileChanged()
83 const int pxw = canonical.x == 0 ? tile.id.wrap - 1 : tile.id.wrap; in onTileChanged()
85 const int nxw = (canonical.x + 1 == dim) ? tile.id.wrap + 1 : tile.id.wrap; in onTileChanged()
89 return OverscaledTileID(tile.id.overscaledZ, pxw, canonical.z, px, canonical.y); in onTileChanged()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/location/maps/
H A Dqgeotilerequestmanager.cpp57 void tileError(const QGeoTileSpec &tile, const QString &errorString);
95 void QGeoTileRequestManager::tileError(const QGeoTileSpec &tile, const QString &errorString) in tileError() argument
97 d_ptr->tileError(tile, errorString); in tileError()
127 QGeoTileSpec tile = *i; in requestTiles() local
128 QSharedPointer<QGeoTileTexture> tex = m_engine->getTileTexture(tile); in requestTiles()
131 cachedTex.insert(tile, tex); in requestTiles()
132 cached.insert(tile); in requestTiles()
134 // Try to use textures from lower zoom levels, but still request the proper tile in requestTiles()
135 QGeoTileSpec spec = tile; in requestTiles()
136 … const int endRange = qMax(0, tile.zoom() - 4); // Using up to 4 zoom levels up. 4 is arbitrary. in requestTiles()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/geojsonvt/6.5.1/include/mapbox/
H A Dgeojsonvt.hpp4 #include <mapbox/geojsonvt/tile.hpp>
38 // tile extent
41 // tile buffer on each side
49 // max zoom in the tile index
52 // max number of points per tile in the tile index
56 const Tile empty_tile{};
62 inline const Tile geoJSONToTile(const geojson& geojson_, in geoJSONToTile()
83 return detail::InternalTile({ features, z, x, y, options.extent, tolerance }).tile; in geoJSONToTile()
109 const Tile& getTile(const uint8_t z, const uint32_t x_, const uint32_t y) { in getTile()
115 const uint32_t x = ((x_ % z2) + z2) % z2; // wrap tile x coordinate in getTile()
[all …]
/OK3568_Linux_fs/kernel/tools/perf/pmu-events/arch/x86/knightslanding/
H A Dcache.json87 …ion": "Counts the loads retired that get the data from the other core in the same tile in M state",
135 … data forwarded from its Far(not in the same quadrant as the request)-other tile's L2 in M state.",
146 …ata forwarded from its Far(not in the same quadrant as the request)-other tile's L2 in E/F state. …
157 … responses from a snoop request hit with data forwarded from its Near-other tile's L2 in M state.",
168 …esponses from a snoop request hit with data forwarded from its Near-other tile's L2 in E/F state.",
201 … data forwarded from its Far(not in the same quadrant as the request)-other tile's L2 in M state.",
212 …ata forwarded from its Far(not in the same quadrant as the request)-other tile's L2 in E/F state. …
223 … responses from a snoop request hit with data forwarded from its Near-other tile's L2 in M state.",
234 …esponses from a snoop request hit with data forwarded from its Near-other tile's L2 in E/F state.",
267 … data forwarded from its Far(not in the same quadrant as the request)-other tile's L2 in M state.",
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/ipu-v3/
H A Dipu-image-convert.c25 * tile (but taking care to pass the full frame stride length to
27 * to convert each tile back-to-back when possible (see note below
42 * reusable temporary tile buffer and then rotating with the 8x8
58 * With rotation or flipping, tile order changes between input and
93 /* dimensions of one tile */
103 /* start Y or packed offset of this tile */
105 /* offset from start to tile in U plane, for planar formats */
107 /* offset from start to tile in V plane, for planar formats */
123 struct ipu_image_tile tile[MAX_TILES]; member
182 /* next tile to process */
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/nvkm/engine/gr/
H A Dnv44.c31 nv44_gr_tile(struct nvkm_gr *base, int i, struct nvkm_fb_tile *tile) in nv44_gr_tile() argument
44 nvkm_wr32(device, NV20_PGRAPH_TSIZE(i), tile->pitch); in nv44_gr_tile()
45 nvkm_wr32(device, NV20_PGRAPH_TLIMIT(i), tile->limit); in nv44_gr_tile()
46 nvkm_wr32(device, NV20_PGRAPH_TILE(i), tile->addr); in nv44_gr_tile()
53 nvkm_wr32(device, NV47_PGRAPH_TSIZE(i), tile->pitch); in nv44_gr_tile()
54 nvkm_wr32(device, NV47_PGRAPH_TLIMIT(i), tile->limit); in nv44_gr_tile()
55 nvkm_wr32(device, NV47_PGRAPH_TILE(i), tile->addr); in nv44_gr_tile()
56 nvkm_wr32(device, NV40_PGRAPH_TSIZE1(i), tile->pitch); in nv44_gr_tile()
57 nvkm_wr32(device, NV40_PGRAPH_TLIMIT1(i), tile->limit); in nv44_gr_tile()
58 nvkm_wr32(device, NV40_PGRAPH_TILE1(i), tile->addr); in nv44_gr_tile()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/renderer/layers/
H A Drender_symbol_layer.cpp11 #include <mbgl/tile/tile.hpp>
12 #include <mbgl/tile/geometry_tile.hpp>
13 #include <mbgl/tile/geometry_tile_data.hpp>
77 for (const RenderTile& tile : renderTiles) { in render() local
78 auto bucket_ = tile.tile.getBucket<SymbolBucket>(*baseImpl); in render()
129 assert(dynamic_cast<GeometryTile*>(&tile.tile)); in render()
130 GeometryTile& geometryTile = static_cast<GeometryTile&>(tile.tile); in render()
142 tile.matrix, in render()
144 tile, in render()
163 …formValues(false, values, texsize, parameters.pixelsToGLUnits, alongLine, tile, parameters.state, … in render()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/platform/default/mbgl/storage/
H A Doffline_database.cpp168 if (resource.kind == Resource::Kind::Tile) { in getInternal()
177 if (resource.kind == Resource::Kind::Tile) { in hasInternal()
214 if (resource.kind == Resource::Kind::Tile) { in putInternal()
368 optional<std::pair<Response, uint64_t>> OfflineDatabase::getTile(const Resource::TileData& tile) { in getTile() argument
382 accessedQuery.bind(2, tile.urlTemplate); in getTile()
383 accessedQuery.bind(3, tile.pixelRatio); in getTile()
384 accessedQuery.bind(4, tile.x); in getTile()
385 accessedQuery.bind(5, tile.y); in getTile()
386 accessedQuery.bind(6, tile.z); in getTile()
402 query.bind(1, tile.urlTemplate); in getTile()
[all …]

12345678910>>...25