Home
last modified time | relevance | path

Searched refs:colorRamp (Results 1 – 2 of 2) sorted by relevance

/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/renderer/layers/
H A Drender_heatmap_layer.cpp21 unevaluated(impl().paint.untransitioned()), colorRamp({256, 1}) { in RenderHeatmapLayer()
80 … colorRampTexture = parameters.context.createTexture(colorRamp, 1, gl::TextureType::UnsignedByte); in render()
188 const auto length = colorRamp.bytes(); in updateColorRamp()
192 colorRamp.data[i + 0] = std::floor(color.r * 255); in updateColorRamp()
193 colorRamp.data[i + 1] = std::floor(color.g * 255); in updateColorRamp()
194 colorRamp.data[i + 2] = std::floor(color.b * 255); in updateColorRamp()
195 colorRamp.data[i + 3] = std::floor(color.a * 255); in updateColorRamp()
H A Drender_heatmap_layer.hpp39 PremultipliedImage colorRamp; member in mbgl::RenderHeatmapLayer