diff options
Diffstat (limited to 'vcl/inc/salgdi.hxx')
-rw-r--r-- | vcl/inc/salgdi.hxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/vcl/inc/salgdi.hxx b/vcl/inc/salgdi.hxx index 4a567f5b7f57..95920a050157 100644 --- a/vcl/inc/salgdi.hxx +++ b/vcl/inc/salgdi.hxx @@ -44,6 +44,7 @@ class SalLayout; class ImplLayoutArgs; class Rectangle; class FontSubsetInfo; +class OpenGLContext; class OutputDevice; class ServerFontLayout; struct SystemGraphicsData; @@ -85,6 +86,9 @@ public: virtual SalGraphicsImpl* GetImpl() const = 0; + /// Check that our mpImpl is OpenGL and return the context, otherwise NULL. + virtual OpenGLContext* GetOpenGLContext() const; + void setAntiAliasB2DDraw(bool bNew) { m_bAntiAliasB2DDraw = bNew; } bool getAntiAliasB2DDraw() const { return m_bAntiAliasB2DDraw; } |