summaryrefslogtreecommitdiff
path: root/graphics/asymptote/settings.cc
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2022-01-21 03:01:16 +0000
committerNorbert Preining <norbert@preining.info>2022-01-21 03:01:16 +0000
commit5d5f239204f5c0d1f7573c9ebc64b5ad1ae75b49 (patch)
treedd2a2d9a64fd0be0785bc558a4872a3c8185af23 /graphics/asymptote/settings.cc
parent217d27e597baa589f8e115e1b44eef51c7bb5dd0 (diff)
CTAN sync 202201210301
Diffstat (limited to 'graphics/asymptote/settings.cc')
-rw-r--r--graphics/asymptote/settings.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/graphics/asymptote/settings.cc b/graphics/asymptote/settings.cc
index ece58b018a..d617e15dac 100644
--- a/graphics/asymptote/settings.cc
+++ b/graphics/asymptote/settings.cc
@@ -957,6 +957,7 @@ struct versionOption : public option {
bool editline=false;
bool sigsegv=false;
bool usegc=false;
+ bool usethreads=false;
#if HAVE_LIBGLM
glm=true;
@@ -1008,6 +1009,11 @@ struct versionOption : public option {
usegc=true;
#endif
+#ifdef HAVE_PTHREAD
+ usethreads=true;
+#endif
+
+ feature("V3D 3D vector graphics output",glm && xdr);
feature("WebGL 3D HTML rendering",glm);
#ifdef HAVE_LIBOSMESA
feature("OpenGL 3D OSMesa offscreen rendering",gl);
@@ -1026,6 +1032,7 @@ struct versionOption : public option {
feature("Sigsegv Distinguish stack overflows from segmentation faults",
sigsegv);
feature("GC Boehm garbage collector",usegc);
+ feature("threads Render OpenGL in separate thread",usethreads);
}
bool getOption() {