Home
last modified time | relevance | path

Searched refs:pooledTextures (Results 1 – 3 of 3) sorted by relevance

/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/gl/
H A Dobject.cpp27 if (context->pooledTextures.size() >= TextureMax) { in operator ()()
30 context->pooledTextures.push_back(id); in operator ()()
H A Dcontext.cpp278 if (pooledTextures.empty()) { in createTexture()
279 pooledTextures.resize(TextureMax); in createTexture()
280 MBGL_CHECK_ERROR(glGenTextures(TextureMax, pooledTextures.data())); in createTexture()
283 TextureID id = pooledTextures.back(); in createTexture()
284 pooledTextures.pop_back(); in createTexture()
596 std::copy(pooledTextures.begin(), pooledTextures.end(), std::back_inserter(abandonedTextures)); in reset()
597 pooledTextures.resize(0); in reset()
H A Dcontext.hpp189 return pooledTextures.empty() in empty()
293 std::vector<TextureID> pooledTextures; member in mbgl::gl::Context