diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2015-08-03 15:06:55 +0900 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-08-07 09:35:28 +0000 |
commit | b63b54e7453cdda92914dfe3d1ea2d9f0d1f0d29 (patch) | |
tree | 550d1a686a5f0288eea9d921d6b8806522e57283 /vcl/win/source/gdi/gdiimpl.cxx | |
parent | b55e95ab39c684e226c667af456dea4f3d53b791 (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>
(cherry picked from commit dea885f80a80c6a5839ee5dbf8521487186a9522)
Reviewed-on: https://gerrit.libreoffice.org/17561
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'vcl/win/source/gdi/gdiimpl.cxx')
-rw-r--r-- | vcl/win/source/gdi/gdiimpl.cxx | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/vcl/win/source/gdi/gdiimpl.cxx b/vcl/win/source/gdi/gdiimpl.cxx index 16b7d4b1d576..e4823a2c6452 100644 --- a/vcl/win/source/gdi/gdiimpl.cxx +++ b/vcl/win/source/gdi/gdiimpl.cxx @@ -17,11 +17,12 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <svsys.h> + #include "gdiimpl.hxx" #include <stdio.h> #include <string.h> -#include <svsys.h> #include <rtl/strbuf.hxx> #include <tools/debug.hxx> #include <tools/poly.hxx> @@ -2377,4 +2378,15 @@ bool WinSalGraphicsImpl::drawGradient(const tools::PolyPolygon& /*rPolygon*/, return false; } +bool WinSalGraphicsImpl::TryRenderCachedNativeControl(ControlCacheKey& /*rControlCacheKey*/, int /*nX*/, int /*nY*/) +{ + return false; +} + +bool WinSalGraphicsImpl::RenderAndCacheNativeControl(OpenGLCompatibleDC& /*rWhite*/, OpenGLCompatibleDC& /*rBlack*/, + int /*nX*/, int /*nY*/ , ControlCacheKey& /*aControlCacheKey*/) +{ + return false; +} + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |