diff options
author | Marco Cecchetti <marco.cecchetti@collabora.com> | 2015-08-26 13:50:57 +0200 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2015-09-01 16:28:45 +0100 |
commit | ebb0dc14547e698d7b53005178063da72d48f075 (patch) | |
tree | 8cf95d717f32672dc8e6ecf9f6b743227ada889f /vcl/inc/opengl/salbmp.hxx | |
parent | 7cc4cdc5ef6dff279e072af725c2d7fc1e5da0e8 (diff) |
Added support for computing 64-bit checksum of bitmap in OpenGL
Added a C++ and a GLSL implementation of a 64-bit CRC algorithm.
Changed hardcoded checksum value in ooxmlimport unit test (testN777345).
Change-Id: I16bb985a14866775efda49e21fe033ff64645896
Diffstat (limited to 'vcl/inc/opengl/salbmp.hxx')
-rw-r--r-- | vcl/inc/opengl/salbmp.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vcl/inc/opengl/salbmp.hxx b/vcl/inc/opengl/salbmp.hxx index 8baee941f1a4..b33d69f6e0e1 100644 --- a/vcl/inc/opengl/salbmp.hxx +++ b/vcl/inc/opengl/salbmp.hxx @@ -53,6 +53,9 @@ private: std::deque< OpenGLSalBitmapOp* > maPendingOps; void makeCurrent(); + virtual void updateChecksum() const; + + bool calcChecksumGL(OpenGLTexture& rHashTexture, ChecksumType& rHash) const; public: OpenGLSalBitmap(); |