From 24865ccb100a6a95697d5aabd75c9362b7e09f57 Mon Sep 17 00:00:00 2001
From: "Andrew E. Torda" <torda@zbh.uni-hamburg.de>
Date: Mon, 24 Jan 2022 13:15:58 +0100
Subject: [PATCH] Making plans..

---
 ui/GRAPHICS_SETTINGS | 14 ++++++++++++++
 ui/ThePlan           |  6 ++++++
 2 files changed, 20 insertions(+)
 create mode 100644 ui/GRAPHICS_SETTINGS
 create mode 100644 ui/ThePlan

diff --git a/ui/GRAPHICS_SETTINGS b/ui/GRAPHICS_SETTINGS
new file mode 100644
index 0000000..0328b3f
--- /dev/null
+++ b/ui/GRAPHICS_SETTINGS
@@ -0,0 +1,14 @@
+This is a real bastard.
+To get this to run under linux, I have
+
+echo $LIBGL_ALWAYS_INDIRECT
+0
+
+If I set it to 1, it breaks
+LIBGL_ALWAYS_INDIRECT=1 ./ui
+2022/01/21 17:09:51 Fyne error:  window creation error ... and lots more
+
+On the server side, I have...
+"Native opengl" is not ticked. It is not crossed.
+
+glxinfo says, direct rendering: Yes
\ No newline at end of file
diff --git a/ui/ThePlan b/ui/ThePlan
new file mode 100644
index 0000000..8516e10
--- /dev/null
+++ b/ui/ThePlan
@@ -0,0 +1,6 @@
+* get a plot on the screen
+* get two plots on the screen
+
+* Give the plotting function a bytes.buffer to scribble into. If we are writing to a file, dump it there. If we are drawing pictures, return it.
+
+See if we can keep this a bit clean and have a build tag that works without the gui, as well as an option that turns off the gui.
\ No newline at end of file
-- 
GitLab