]> git.armaanb.net Git - chorizo.git/commitdiff
WebGL is enabled by default
authorPeter Hofmann <scm@uninformativ.de>
Wed, 11 Mar 2020 16:31:51 +0000 (17:31 +0100)
committerPeter Hofmann <scm@uninformativ.de>
Wed, 11 Mar 2020 16:32:36 +0000 (17:32 +0100)
CHANGES
browser.c
man1/lariza.1

diff --git a/CHANGES b/CHANGES
index 1109225ab3c38aeaee2c071c131660f11c34e4c5..f1b2e9724e861e5ee3a9edc00f2aaa68b3b30599 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -4,6 +4,8 @@ next
   [Changed]
   - "enable-developer-extras" is now always set to "TRUE". This enables
     the Web Inspector.
+  - WebGL is enabled in WebKit by default these days. lariza's
+    environment variable $LARIZA_ENABLE_EXPERIMENTAL_WEBGL is gone.
 
   [Added]
   - User-supplied JavaScript files can be put into
index 1856b5ba77d79cb46b9d971384b98155e78f850c..120078bdd48adfbbbf5b7a7a4ca56e0b4f71cbff 100644 (file)
--- a/browser.c
+++ b/browser.c
@@ -80,7 +80,6 @@ static gboolean cooperative_alone = TRUE;
 static gboolean cooperative_instances = TRUE;
 static int cooperative_pipe_fp = 0;
 static gchar *download_dir = "/var/tmp";
-static gboolean enable_webgl = FALSE;
 static gboolean enable_console_to_stdout = FALSE;
 static Window embed = 0;
 static gchar *fifo_suffix = "main";
@@ -213,9 +212,6 @@ client_new(const gchar *uri, WebKitWebView *related_wv, gboolean show)
     if (enable_console_to_stdout)
         webkit_settings_set_enable_write_console_messages_to_stdout(webkit_web_view_get_settings(WEBKIT_WEB_VIEW(c->web_view)), TRUE);
 
-    if (enable_webgl)
-        webkit_settings_set_enable_webgl(webkit_web_view_get_settings(WEBKIT_WEB_VIEW(c->web_view)), TRUE);
-
     webkit_settings_set_enable_developer_extras(webkit_web_view_get_settings(WEBKIT_WEB_VIEW(c->web_view)), TRUE);
 
     c->location = gtk_entry_new();
@@ -653,10 +649,6 @@ grab_environment_configuration(void)
     if (e != NULL)
         enable_console_to_stdout = TRUE;
 
-    e = g_getenv(__NAME_UPPERCASE__"_ENABLE_EXPERIMENTAL_WEBGL");
-    if (e != NULL)
-        enable_webgl = TRUE;
-
     e = g_getenv(__NAME_UPPERCASE__"_FIFO_SUFFIX");
     if (e != NULL)
         fifo_suffix = g_strdup(e);
index cbd3783d7e6205c6eab6fd1562b2f3538927de5f..1d4bb04bafad0c2a7288392c7b8e8e35afe32ac8 100644 (file)
@@ -1,4 +1,4 @@
-.TH lariza 1 "2015-11-28" "lariza" "User Commands"
+.TH lariza 1 "2020-03-11" "lariza" "User Commands"
 .\" --------------------------------------------------------------------
 .SH NAME
 lariza \- simple web browser
@@ -55,11 +55,6 @@ This variable defaults to \fB/var/tmp\fP.
 \fBLARIZA_ENABLE_CONSOLE_TO_STDOUT\fP
 Enable writing WebKit console messages to stdout.
 .TP
-\fBLARIZA_ENABLE_EXPERIMENTAL_WEBGL\fP
-Enable WebGL support in WebKit if this variable is set. Note that this
-is an \fBEXPERIMENTAL\fP feature. This setting could vanish from
-\fBlariza\fP in future releases without notice.
-.TP
 \fBLARIZA_FIFO_SUFFIX\fP
 Cooperative instances are implemented using a named pipe in the file
 system. The name of this pipe usually is (at least on modern systems