diff options
author | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-05-09 00:31:05 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2014-05-09 00:39:42 +0200 |
commit | 7ffd1af7228e05d05229ec66923208b6c4fdb845 (patch) | |
tree | dec51320175b5be0c8d929250c584c2da93d1ee3 /include/vcl/opengl | |
parent | 6470b42ce82ddd862c21adf853d27ce0184abc06 (diff) |
move the renderToFile function to the helper to avoid the context
Change-Id: I5493126047179d67b2f2ed0d3d5d936ebbaf4810
Diffstat (limited to 'include/vcl/opengl')
-rw-r--r-- | include/vcl/opengl/OpenGLHelper.hxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/vcl/opengl/OpenGLHelper.hxx b/include/vcl/opengl/OpenGLHelper.hxx index 3530b2b7ec80..4afeae49228a 100644 --- a/include/vcl/opengl/OpenGLHelper.hxx +++ b/include/vcl/opengl/OpenGLHelper.hxx @@ -23,6 +23,7 @@ public: static sal_uInt8* ConvertBitmapExToRGBABuffer(const BitmapEx& rBitmapEx); static BitmapEx ConvertBGRABufferToBitmapEx(const sal_uInt8* const pBuffer, long nWidth, long nHeight); + static void renderToFile(long nWidth, long nHeight, const OUString& rFileName); static const char* GLErrorString(GLenum errorCode); }; |