diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2019-10-23 16:04:28 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2019-11-27 09:55:11 +0100 |
commit | 0d9b86d48e98aeb573fe28886edc59689d332a9d (patch) | |
tree | 8f2121650c8cce1c0efa584458f84d887ffca026 /vcl/opengl | |
parent | 94d79e55056947c62881655efb55b49313a58b5e (diff) |
reimplement supportsOperation() for Skia and OpenGL
The shared X11 implementation depends on XRender, which doesn't make
any sense.
Change-Id: I82f36e0835a993a8b226af211d8635336960d7ec
Diffstat (limited to 'vcl/opengl')
-rw-r--r-- | vcl/opengl/gdiimpl.cxx | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/vcl/opengl/gdiimpl.cxx b/vcl/opengl/gdiimpl.cxx index 0f0e40dd7eaa..85c2464e3306 100644 --- a/vcl/opengl/gdiimpl.cxx +++ b/vcl/opengl/gdiimpl.cxx @@ -2258,4 +2258,16 @@ void OpenGLSalGraphicsImpl::doFlush() VCL_GL_INFO( "doFlush - end." ); } +bool OpenGLSalGraphicsImpl::supportsOperation(OutDevSupportType eType) const +{ + switch (eType) + { + case OutDevSupportType::B2DDraw: + case OutDevSupportType::TransparentRect: + return true; + default: + return false; + } +} + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |