Commit Graph

14 Commits

Author SHA1 Message Date
Takeshi Abe
0980095619 Replace boost::scoped_array<T> with std::unique_ptr<T[]>
This may reduce some degree of dependency on boost.
Done by running a script like:

git grep -l '#include  *.boost/scoped_array.hpp.' \
 | xargs sed -i -e 's@#include  *.boost/scoped_array.hpp.@#include <memory>@'
git grep -l '\(boost::\)\?scoped_array<\([^<>]*\)>' \
 | xargs sed -i -e 's/\(boost::\)\?scoped_array<\([^<>]*\)>/std::unique_ptr<\2[]>/'

... and then killing duplicate or unnecessary includes,
while changing manually
m_xOutlineStylesCandidates in xmloff/source/text/txtimp.cxx,
extensions/source/ole/unoconversionutilities.hxx, and
extensions/source/ole/oleobjw.cxx.

Change-Id: I3955ed3ad99b94499a7bd0e6e3a09078771f9bfd
Reviewed-on: https://gerrit.libreoffice.org/16289
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-06-17 15:50:45 +00:00
Stephan Bergmann
231f2b878e Some more loplugin:cstylecast: avmedia
Change-Id: If60734acaa9743cc0cc6b366152bc3085f1f57e8
2015-01-20 09:06:45 +01:00
Stephan Bergmann
a33b4428bd avmedia: Use appropriate OUString functions on string constants
Change-Id: Ie2e2737c1a3eafd9da2472ef354624b67b09ff80
2014-12-18 14:12:22 +01:00
Andrea Gelmini
da40cac540 Fix common typos. No automatic tools. Handmade…
Change-Id: I1ab4e23b0539f8d39974787f226e57a21f96e959
Reviewed-on: https://gerrit.libreoffice.org/12164
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-11-12 11:04:11 +00:00
Zolnai Tamás
48d1f86071 Upload first official libgltf release: libgltf-0.0.0
News relative to previous draft version:
- Memory management improvements (fdo#81180)
- Reduced OpenGL requirements (version 3.3 -> version 3.0)
- Cleaned up API

Change-Id: Ie3caf8684a9f5e6a872a1ac35beafb94df03bcf5
Reviewed-on: https://gerrit.libreoffice.org/10744
Reviewed-by: Zolnai Tamás <zolnaitamas2000@gmail.com>
Tested-by: Zolnai Tamás <zolnaitamas2000@gmail.com>
2014-08-05 08:21:59 +00:00
Zolnai Tamás
58fd5a6dd6 glTF: More rendering related error handling
If any error occurs related to glTF rendering, a question
mark is displayed at the place of the OpenGL window
(Question mark is a general concept of media objects).

Change-Id: Id7df5a47a4dd6832e640b3a7cb3c7712ebfb4408
2014-07-14 10:40:57 +02:00
Zolnai Tamás
1f1c3b2966 OGLFrameGrabber: use reference instead of pointer
Change-Id: Id21138ce2a5d8e764407f42afa2b21464da70e45
2014-05-29 15:05:28 +02:00
Jan Holesovsky
1554fc9611 libgltf: Updated version.
Change-Id: Ia394ff00421f495757cc2ce55e7b91bfebe715eb
2014-05-21 17:52:28 +02:00
Jan Holesovsky
f933cb0a64 libgltf: Update to the new version.
Change-Id: Iffc91425d4395699a1c5f18ac10f5ed065231fdf
2014-05-21 10:36:53 +02:00
Zolnai Tamás
b4b10fc873 Upgrade libgltf
Change-Id: Ib7bc9562602d1d8da4082987302834ac2486d78a
2014-05-06 17:25:16 +02:00
Zolnai Tamás
f0bd1c6980 OGFrameGrabber: use a BGRA buffer
Change-Id: Ie827ba98a6ff65d63eb61df1d90e18919de86395
2014-04-27 20:27:59 +02:00
Zolnai Tamás
8df2785b48 avmediaogl: Use glTFHandle for size values
Change-Id: I4741374ec269a5513214c6603e3e6956231bd853
2014-04-27 12:34:04 +02:00
Zolnai Tamás
d8920e6d1d Make OGLFrameGrabber work
Steps of grabFrame
- Init opengl context
- Call libgltf to render
- Get a RGB buffer from libgltf
- Create a Bitmap from this RGB buffer

Additionally:
- Using mimetype is neccessary to decide which player to create.
- bAllowToCreateReplacementGraphic is unneeded.

Change-Id: I7fef043a3341771389144a4f4cac71b0862ef8a7
2014-04-20 18:00:48 +02:00
Zolnai Tamás
4f48dc2f97 Skeleton of OpenGL avmedia service for playing 3D models
Change-Id: I3bf9e68e1a08ff3db065ec7f4e135119b7d1a4ef
2014-03-27 11:22:32 +01:00