This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/lib/adapter/sw/wayland/wayland.c b/lib/adapter/sw/wayland/wayland.c | |
index 9e9d479..1392c5d 100644 | |
--- a/lib/adapter/sw/wayland/wayland.c | |
+++ b/lib/adapter/sw/wayland/wayland.c | |
@@ -183,6 +183,10 @@ static void handle_frame_done(void *ptr, struct wl_callback *cb, uint32_t time) | |
window = (kr_wayland_path *)ptr; | |
wl_callback_destroy(cb); | |
request_frame(window); | |
+ wl_display_dispatch_pending(window->wayland->display); | |
+ wl_display_flush(window->wayland->display); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[kradbook::~/kode]% cat /proc/cpuinfo |grep "model name" | |
model name : Intel(R) Core(TM) i7-4558U CPU @ 2.80GHz | |
model name : Intel(R) Core(TM) i7-4558U CPU @ 2.80GHz | |
model name : Intel(R) Core(TM) i7-4558U CPU @ 2.80GHz | |
model name : Intel(R) Core(TM) i7-4558U CPU @ 2.80GHz | |
[kradbook::~/kode]% dmesg |grep -i graphics | |
[ 1.878918] [drm] Memory usable by graphics device = 2048M | |
[kradbook::~/kode]% cat /var/log/Xorg.0.log |grep Haswell | |
[ 1645.114] (II) intel(0): SNA initialized with Haswell (gen7.5, gt3) backend | |
[kradbook::~/kode]% DISPLAY=:0 xrandr |grep eDP1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/clients/vistest/wscript b/src/clients/vistest/wscript | |
index 616d65a..f73207d 100644 | |
--- a/src/clients/vistest/wscript | |
+++ b/src/clients/vistest/wscript | |
@@ -28,7 +28,7 @@ def build(bld): | |
target = 'xmms2-ripper', | |
source = 'ripper.c', | |
includes = '. ../../.. ../../include', | |
- uselib = 'vorbisenc', | |
+ uselib = 'vorbis vorbisenc ogg', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/AUTHORS b/AUTHORS | |
index 008cea0..d14986b 100644 | |
--- a/AUTHORS | |
+++ b/AUTHORS | |
@@ -361,8 +361,7 @@ W: http://nerochiaro.net | |
D: Neuros OSD support and related fixes. | |
N: David Richards | |
-E: rawdod@gmail.com | |
-E: kradradio@gmail.com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <inttypes.h> | |
#include <unistd.h> | |
#include <signal.h> | |
#include <fcntl.h> | |
#include <errno.h> | |
#include <sys/signalfd.h> | |
#include <sys/epoll.h> | |
#include <sys/timerfd.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <inttypes.h> | |
#include <unistd.h> | |
#include <signal.h> | |
#include <fcntl.h> | |
#include <errno.h> | |
#include <sys/signalfd.h> | |
#include <sys/epoll.h> | |
#include <sys/timerfd.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*stress --cpu 4 --vm 4 */ | |
static FILE *launch_pgrep() { | |
char cmd[512]; | |
snprintf(cmd, 512, "pgrep kr"); | |
cmd[511] = '\0'; | |
return launch_command(cmd); | |
} | |
static FILE *launch_stressor() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <sys/uio.h> | |
static FILE *launch_pgrep() { | |
char cmd[512]; | |
snprintf(cmd, 512, "pgrep kr"); | |
cmd[511] = '\0'; | |
return launch_command(cmd); | |
} | |
static FILE *launch_stressor() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/daemon/krad_ops.c b/daemon/krad_ops.c | |
index 2d1068c..74815fd 100644 | |
--- a/daemon/krad_ops.c | |
+++ b/daemon/krad_ops.c | |
@@ -37,7 +37,7 @@ typedef struct kr_media_ops_server kr_media_ops_server; | |
#define KR_COMMAND_SIZE 512 | |
#define KR_OPS_NTASKS 64 | |
-#define KR_TIMEOUT_SEC 1 | |
+#define KR_TIMEOUT_SEC 100 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/lib/ops/server.c b/lib/ops/server.c | |
index f9a3e2a..a67d6fb 100644 | |
--- a/lib/ops/server.c | |
+++ b/lib/ops/server.c | |
@@ -208,19 +208,21 @@ static int add_route(kr_front_router *router, const char *str) { | |
} | |
static ssize_t say_something(kr_web_path *path, const char *something) { | |
+ kr_web_client *client; | |
kr_http_header hdr; |
OlderNewer