summaryrefslogtreecommitdiff
path: root/extensions/source/bibliography/loadlisteneradapter.hxx
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2016-04-11 18:23:18 +0900
committerMichael Meeks <michael.meeks@collabora.com>2016-04-18 12:59:59 +0000
commit56c5a0ba7781a325123852737970fa7f0179ff7f (patch)
tree3917918b3e726d66214a152082fe652e5bb8dfde /extensions/source/bibliography/loadlisteneradapter.hxx
parent4e066825d43400969041669c82d8a4e0bfd91adf (diff)
tdf#94682 limit the number of textures for the glyph texture atlas
Previously the number of textures in a packed texture atlas was not limited. After some time the number of the textures could grow quite a lot, however the first textures could contain very little glyphs that are valid. In this commit we add a new method ReduceTextureNumber which when called, reduces the number of textures that are tracked by the texutre atlas to the specified input number, and returnes the texture IDs that were removed so the caller can now clean-up any invalid (OpenGLTexutre) objects. Change-Id: I7790e8dddb4586167f860e0ecc81bda1f4dae21a Reviewed-on: https://gerrit.libreoffice.org/24209 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'extensions/source/bibliography/loadlisteneradapter.hxx')
0 files changed, 0 insertions, 0 deletions