diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2015-08-10 08:52:14 +0900 |
---|---|---|
committer | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2015-08-24 19:08:09 +0900 |
commit | 652e3d2dbdd2d6f43953da3ae37cfc98d350328d (patch) | |
tree | 95a6a9f0c49e1c3145ce89583d72ad2f0c24357c /vcl/inc | |
parent | 8657e3795d2e0ef0653835e2d56c53512dd43aea (diff) |
save texture to file as a PNG image
Change-Id: I5605b80f95d89599efe58cf65e1ce3f3581d401f
Diffstat (limited to 'vcl/inc')
-rw-r--r-- | vcl/inc/opengl/texture.hxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/vcl/inc/opengl/texture.hxx b/vcl/inc/opengl/texture.hxx index 554a02dd6c8c..b68397641326 100644 --- a/vcl/inc/opengl/texture.hxx +++ b/vcl/inc/opengl/texture.hxx @@ -23,7 +23,7 @@ #include <GL/glew.h> #include <vcl/dllapi.h> #include <vcl/salgtype.hxx> - +#include <rtl/ustring.hxx> #include <tools/gen.hxx> class ImplOpenGLTexture @@ -71,6 +71,8 @@ public: void Unbind(); void Read( GLenum nFormat, GLenum nType, sal_uInt8* pData ); + void SaveToFile(const OUString& rFileName); + GLenum GetFilter() const; void SetFilter( GLenum nFilter ); |