diff options
author | Tor Lillqvist <tml@collabora.com> | 2014-01-15 12:40:28 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2014-01-17 00:17:02 +0200 |
commit | 48969eb444e1d89603c4dc1b80e2dc7c41ec9630 (patch) | |
tree | c0ac3f96850e493392837fb0623e5f9dd7eaf8d5 /vcl/headless | |
parent | d1ba55a28cd40134356faf3e01971491086591d9 (diff) |
Move SvpSalGraphics::SetVirDevGraphics() for iOS out of the header for clarity
Change-Id: I88c0ed27a492b57a0258a7ec211109a9e2552b99
Diffstat (limited to 'vcl/headless')
-rw-r--r-- | vcl/headless/svpgdi.cxx | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/vcl/headless/svpgdi.cxx b/vcl/headless/svpgdi.cxx index aef1908aecdc..9e243a222294 100644 --- a/vcl/headless/svpgdi.cxx +++ b/vcl/headless/svpgdi.cxx @@ -732,4 +732,15 @@ bool SvpSalGraphics::supportsOperation( OutDevSupportType ) const return false; } +#ifdef IOS + +void SvpSalGraphics::SetVirDevGraphics( CGLayerRef xLayer, CGContextRef xContext, int /* nBitmapDepth */ ) +{ + mxLayer = xLayer; + mrContext = xContext; + mbForeignContext = xContext != NULL; +}; + +#endif + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |