diff options
author | Zolnai Tamás <tamas.zolnai@collabora.com> | 2014-04-18 15:24:25 +0200 |
---|---|---|
committer | Zolnai Tamás <tamas.zolnai@collabora.com> | 2014-04-18 18:53:22 +0200 |
commit | 8afabd394214bb7c772c88b08ec3cadb56771cce (patch) | |
tree | 9b29eed5f78bec3986372040654bc66d04072f47 /include/vcl/opengl | |
parent | 9cf12d7544d501e6794cfbb6eabf508603d59966 (diff) |
Extract code of BitmapEx -> RGBA buffer conversion to OpenGLHelper
Needed by gltf rendering.
Change-Id: I1aa974f3c515c5fb19a07b54ff655331138553cb
Diffstat (limited to 'include/vcl/opengl')
-rw-r--r-- | include/vcl/opengl/OpenGLHelper.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/vcl/opengl/OpenGLHelper.hxx b/include/vcl/opengl/OpenGLHelper.hxx index 77d1b2840c45..5cb1078fbb2d 100644 --- a/include/vcl/opengl/OpenGLHelper.hxx +++ b/include/vcl/opengl/OpenGLHelper.hxx @@ -12,6 +12,7 @@ #include <GL/glew.h> #include <vcl/vclopengl_dllapi.hxx> +#include <vcl/bitmapex.hxx> #include <rtl/ustring.hxx> @@ -20,6 +21,7 @@ class VCLOPENGL_DLLPUBLIC OpenGLHelper public: static GLint LoadShaders(const OUString& rVertexShaderName, const OUString& rFragmentShaderName); + static sal_uInt8* ConvertBitmapExToRGBABuffer(const BitmapEx& rBitmapEx); }; #endif |