diff options
author | Zolnai Tamás <tamas.zolnai@collabora.com> | 2014-04-27 20:25:52 +0200 |
---|---|---|
committer | Zolnai Tamás <tamas.zolnai@collabora.com> | 2014-04-27 20:27:59 +0200 |
commit | 99a034f91471b410d2437b6651be7ef10091549b (patch) | |
tree | 7bf5218311aa2f95762ccf32cf2f8536150770af /include/vcl/opengl | |
parent | 825265f093a844f952d0dd64e5b4de9a1aba3185 (diff) |
OpenGLHelper: extract BGRA buffer -> BitmepEx conversion
Change-Id: I71edb2768d24f0c6686a9c94333447a5acc498b4
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 5551fc19e1bd..7fa7d840f0e1 100644 --- a/include/vcl/opengl/OpenGLHelper.hxx +++ b/include/vcl/opengl/OpenGLHelper.hxx @@ -22,6 +22,7 @@ public: static GLint LoadShaders(const OUString& rVertexShaderName, const OUString& rFragmentShaderName); static sal_uInt8* ConvertBitmapExToRGBABuffer(const BitmapEx& rBitmapEx); + static BitmapEx ConvertBGRABufferToBitmapEx(const sal_uInt8* const pBuffer, long nWidth, long nHeight); }; #endif |