diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2015-08-03 15:06:55 +0900 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2015-08-07 00:58:19 +0000 |
commit | dea885f80a80c6a5839ee5dbf8521487186a9522 (patch) | |
tree | b211f8bb3f57bb7da9763e2d4ca83eb08a6e9b5b /vcl/opengl/x11 | |
parent | 4c57e8bb69ac727713a23a066ac6ed618eff28c8 (diff) |
opengl: cache native widget textures also for Windows
Change-Id: I476f0ffaef383f3227c0c12b50fcdebf393190f6
Reviewed-on: https://gerrit.libreoffice.org/17487
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
Diffstat (limited to 'vcl/opengl/x11')
-rw-r--r-- | vcl/opengl/x11/gdiimpl.cxx | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/vcl/opengl/x11/gdiimpl.cxx b/vcl/opengl/x11/gdiimpl.cxx index bf5e6f600c44..0663ce933d24 100644 --- a/vcl/opengl/x11/gdiimpl.cxx +++ b/vcl/opengl/x11/gdiimpl.cxx @@ -113,12 +113,6 @@ bool X11OpenGLSalGraphicsImpl::FillPixmapFromScreen( X11Pixmap* pPixmap, int nX, return true; } -struct TextureCombo -{ - std::unique_ptr<OpenGLTexture> mpTexture; - std::unique_ptr<OpenGLTexture> mpMask; -}; - typedef typename std::pair<ControlCacheKey, std::unique_ptr<TextureCombo>> ControlCachePair; typedef o3tl::lru_map<ControlCacheKey, std::unique_ptr<TextureCombo>, ControlCacheHashFunction> ControlCacheType; |