summaryrefslogtreecommitdiffstats
path: root/vcl
diff options
context:
space:
mode:
authorZolnai Tamás <tamas.zolnai@collabora.com>2014-08-29 22:41:26 +0200
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2014-09-04 07:45:12 -0500
commitd431986bd49081581e86444af124d1d2ce90a407 (patch)
treef434d0dd976d77e60b79caa48a1b034ff76075cc /vcl
parentfdo#82183 do not reset globals while loading a document (diff)
downloadcore-d431986bd49081581e86444af124d1d2ce90a407.tar.gz
core-d431986bd49081581e86444af124d1d2ce90a407.zip
Upgrade libgltf to 0.0.1
News in this version: - Solve some limitations of walkthrough mode (fdo#81425) - Multisampling (better rendering quality, mainly at the edges) - Better error handling (no crash in case of invalid input file) Reviewed-on: https://gerrit.libreoffice.org/11179 Reviewed-by: Zolnai Tamás <tamas.zolnai@collabora.com> Tested-by: Zolnai Tamás <tamas.zolnai@collabora.com> Conflicts: download.lst external/libgltf/UnpackedTarball_libgltf.mk external/libgltf/pathces/append_shader_version.patch external/libgltf/pathces/missing_include.patch vcl/source/opengl/OpenGLContext.cxx Change-Id: I46fdf56b00476614487fbcc04178e43e33a01794 Reviewed-on: https://gerrit.libreoffice.org/11194 Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> Tested-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/opengl/OpenGLContext.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/vcl/source/opengl/OpenGLContext.cxx b/vcl/source/opengl/OpenGLContext.cxx
index 974f9130535f..338edc32054a 100644
--- a/vcl/source/opengl/OpenGLContext.cxx
+++ b/vcl/source/opengl/OpenGLContext.cxx
@@ -833,4 +833,9 @@ void OpenGLContext::show()
m_pWindow->Show();
}
+bool OpenGLContext::supportMultiSampling() const
+{
+ return m_aGLWin.bMultiSampleSupported;
+}
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */