| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/platform/default/mbgl/gl/ |
| H A D | headless_frontend.cpp | 16 pixelRatio(pixelRatio_), in HeadlessFrontend() 17 backend({ static_cast<uint32_t>(size.width * pixelRatio), in HeadlessFrontend() 18 static_cast<uint32_t>(size.height * pixelRatio) }), in HeadlessFrontend() 25 …renderer(std::make_unique<Renderer>(backend, pixelRatio, fileSource, scheduler, mode, programCache… 61 backend.setSize({ static_cast<uint32_t>(size_.width * pixelRatio), in setSize() 62 static_cast<uint32_t>(size_.height * pixelRatio) }); in setSize()
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/storage/ |
| H A D | resource.cpp | 63 Resource Resource::spriteImage(const std::string& base, float pixelRatio) { in spriteImage() argument 67 (pixelRatio > 1 ? "@2x" : "") + ".png" + in spriteImage() 71 Resource Resource::spriteJSON(const std::string& base, float pixelRatio) { in spriteJSON() argument 75 (pixelRatio > 1 ? "@2x" : "") + ".json" + in spriteJSON() 95 float pixelRatio, in tile() argument 124 return std::string(pixelRatio > 1.0 ? "@2x" : ""); in tile() 131 uint8_t(supportsRatio && pixelRatio > 1.0 ? 2 : 1), in tile()
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/plugins/geoservices/mapboxgl/ |
| H A D | qsgmapboxglnode.cpp | 52 …extureNode(const QMapboxGLSettings &settings, const QSize &size, qreal pixelRatio, QGeoMapMapboxGL… in QSGMapboxGLTextureNode() argument 58 m_map.reset(new QMapboxGL(nullptr, settings, size.expandedTo(minTextureSize), pixelRatio)); in QSGMapboxGLTextureNode() 65 void QSGMapboxGLTextureNode::resize(const QSize &size, qreal pixelRatio) in resize() argument 68 const QSize fbSize = minSize * pixelRatio; in resize() 123 …RenderNode(const QMapboxGLSettings &settings, const QSize &size, qreal pixelRatio, QGeoMapMapboxGL… in QSGMapboxGLRenderNode() argument 126 m_map.reset(new QMapboxGL(nullptr, settings, size, pixelRatio)); in QSGMapboxGLRenderNode()
|
| H A D | qsgmapboxglnode.h | 54 …QSGMapboxGLTextureNode(const QMapboxGLSettings &, const QSize &, qreal pixelRatio, QGeoMapMapboxGL… 58 void resize(const QSize &size, qreal pixelRatio); 69 …QSGMapboxGLRenderNode(const QMapboxGLSettings &, const QSize &, qreal pixelRatio, QGeoMapMapboxGL …
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/platform/default/mbgl/storage/ |
| H A D | offline.cpp | 20 pixelRatio(pixelRatio_) { in OfflineTilePyramidRegionDefinition() 21 if (minZoom < 0 || maxZoom < 0 || maxZoom < minZoom || pixelRatio < 0 || in OfflineTilePyramidRegionDefinition() 22 !std::isfinite(minZoom) || std::isnan(maxZoom) || !std::isfinite(pixelRatio)) { in OfflineTilePyramidRegionDefinition() 84 float pixelRatio = doc["pixel_ratio"].GetDouble(); in decodeOfflineRegionDefinition() local 86 return { styleURL, bounds, minZoom, maxZoom, pixelRatio }; in decodeOfflineRegionDefinition() 107 doc.AddMember("pixel_ratio", region.pixelRatio, doc.GetAllocator()); in encodeOfflineRegionDefinition()
|
| H A D | offline_database.cpp | 383 accessedQuery.bind(3, tile.pixelRatio); in getTile() 403 query.bind(2, tile.pixelRatio); in getTile() 447 size.bind(2, tile.pixelRatio); in hasTile() 481 notModifiedQuery.bind(5, tile.pixelRatio); in putTile() 514 updateQuery.bind(9, tile.pixelRatio); in putTile() 539 insertQuery.bind(2, tile.pixelRatio); in putTile() 707 insertQuery.bind(3, tile.pixelRatio); in markUsed() 732 selectQuery.bind(3, tile.pixelRatio); in markUsed()
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/style/ |
| H A D | image.cpp | 10 const float pixelRatio, in Image() argument 12 : baseImpl(makeMutable<Impl>(std::move(id), std::move(image), pixelRatio, sdf)) { in Image() 30 return baseImpl->pixelRatio; in getPixelRatio()
|
| H A D | image_impl.cpp | 13 pixelRatio(pixelRatio_), in Impl() 18 } else if (pixelRatio <= 0) { in Impl()
|
| H A D | image_impl.hpp | 14 Impl(std::string id, PremultipliedImage&&, float pixelRatio, bool sdf = false); 21 const float pixelRatio; member in mbgl::style::Image::Impl
|
| H A D | style.cpp | 11 Style::Style(Scheduler& scheduler, FileSource& fileSource, float pixelRatio) in Style() argument 12 : impl(std::make_unique<Impl>(scheduler, fileSource, pixelRatio)) { in Style()
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/renderer/ |
| H A D | image_atlas.hpp | 16 float pixelRatio; member in mbgl::ImagePosition 35 textureRect.w / pixelRatio, in displaySize() 36 textureRect.h / pixelRatio, in displaySize()
|
| H A D | render_static_data.cpp | 50 RenderStaticData::RenderStaticData(gl::Context& context, float pixelRatio, const optional<std::stri… in RenderStaticData() argument 56 programs(context, ProgramParameters { pixelRatio, false, programCacheDir }) in RenderStaticData() 58 , overdrawPrograms(context, ProgramParameters { pixelRatio, true, programCacheDir })
|
| H A D | paint_parameters.hpp | 29 float pixelRatio, 54 float pixelRatio; member in mbgl::PaintParameters
|
| H A D | image_atlas.cpp | 10 : pixelRatio(image.pixelRatio), in ImagePosition()
|
| H A D | render_tile.cpp | 98 gl::Lines { 4.0f * parameters.pixelRatio }, in finishRender() 119 gl::Lines { 2.0f * parameters.pixelRatio }, in finishRender() 142 gl::LineStrip { 4.0f * parameters.pixelRatio }, in finishRender()
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/include/mbgl/storage/ |
| H A D | resource.hpp | 29 uint8_t pixelRatio; member 60 float pixelRatio, 69 static Resource spriteImage(const std::string& base, float pixelRatio); 70 static Resource spriteJSON(const std::string& base, float pixelRatio);
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/platform/default/mbgl/map/ |
| H A D | map_snapshotter.cpp | 20 const float pixelRatio, 52 const float pixelRatio, in Impl() argument 57 , frontend(size, pixelRatio, *fileSource, *scheduler, programCacheDir) in Impl() 58 …, map(frontend, MapObserver::nullObserver(), size, pixelRatio, *fileSource, *scheduler, MapMode::S… in Impl() 168 const float pixelRatio, in MapSnapshotter() argument 172 …pl>>("Map Snapshotter", fileSource, std::move(scheduler), style, size, pixelRatio, cameraOptions, … in MapSnapshotter()
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/sprite/ |
| H A D | sprite_loader.cpp | 37 : pixelRatio(pixelRatio_) in SpriteLoader() 52 …loader->jsonRequest = fileSource.request(Resource::spriteJSON(url, pixelRatio), [this](Response re… in load() 67 …loader->spriteRequest = fileSource.request(Resource::spriteImage(url, pixelRatio), [this](Response… in load()
|
| H A D | sprite_loader.hpp | 21 SpriteLoader(float pixelRatio); 36 const float pixelRatio; member in mbgl::SpriteLoader
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/programs/ |
| H A D | program_parameters.cpp | 8 ProgramParameters::ProgramParameters(const float pixelRatio, in ProgramParameters() argument 15 ss << "#define DEVICE_PIXEL_RATIO " << pixelRatio << std::endl; in ProgramParameters()
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/renderer/layers/ |
| H A D | render_symbol_layer.cpp | 239 auto pixelRatio = tile.id.pixelsToTileUnits(1, parameters.state.getZoom()); in render() local 243 parameters.pixelsToGLUnits[0] / (pixelRatio * scale), in render() 244 parameters.pixelsToGLUnits[1] / (pixelRatio * scale) in render() 272 auto pixelRatio = tile.id.pixelsToTileUnits(1, parameters.state.getZoom()); in render() local 276 parameters.pixelsToGLUnits[0] / (pixelRatio * scale), in render() 277 parameters.pixelsToGLUnits[1] / (pixelRatio * scale) in render()
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/text/ |
| H A D | quads.cpp | 27 float top = shapedIcon.top() - border / image.pixelRatio; in getIconQuad() 28 float left = shapedIcon.left() - border / image.pixelRatio; in getIconQuad() 29 float bottom = shapedIcon.bottom() + border / image.pixelRatio; in getIconQuad() 30 float right = shapedIcon.right() + border / image.pixelRatio; in getIconQuad()
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/tile/ |
| H A D | geometry_tile_worker.hpp | 35 const float pixelRatio, 67 const float pixelRatio; member in mbgl::GeometryTileWorker
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/platform/qt/src/ |
| H A D | qmapboxgl_map_renderer.cpp | 27 QMapboxGLMapRenderer::QMapboxGLMapRenderer(qreal pixelRatio, in QMapboxGLMapRenderer() argument 29 …: m_renderer(std::make_unique<mbgl::Renderer>(m_backend, pixelRatio, fs, tp, static_cast<mbgl::GLC… in QMapboxGLMapRenderer()
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/map/ |
| H A D | map.cpp | 42 float pixelRatio, 75 const float pixelRatio; member in mbgl::Map::Impl 94 const float pixelRatio, in Map() argument 103 pixelRatio, in Map() 130 pixelRatio(pixelRatio_), in Impl() 131 style(std::make_unique<Style>(scheduler, fileSource, pixelRatio)), in Impl() 773 pixelRatio, in onUpdate()
|