Skip to content

Instantly share code, notes, and snippets.

View raedwulf's full-sized avatar

Tai Chi Minh Ralph Eastwood raedwulf

  • Copenhagen, Denmark
View GitHub Profile
/* See LICENSE file for copyright and license details. */
#include <math.h>
#include <stdint.h>
#include <stdio.h>
#include <xmmintrin.h>
#include "smath.h"
v4f __attribute__ ((noinline))
/* See LICENSE file for copyright and license details.
* Generated by mkmatcher.awk
*/
#include <stddef.h>
#include <stdint.h>
/* headers included using headers= parameter */
#include <GL/gl.h>
#include <GL/glext.h>
#!/usr/bin/awk -f
#
# Copyright (C) 2018 Tai Chi Minh Ralph Eastwood <tcmreastwood@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#!/usr/bin/awk -f
#
# Copyright (C) 2018 Tai Chi Minh Ralph Eastwood <tcmreastwood@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
@raedwulf
raedwulf / glr.kv
Last active January 25, 2018 12:04
glr.kv
RGBA8;GL_RGBA8
SRGB8_ALPHA8;GL_SRGB8_ALPHA8
RGBA8_SNORM;GL_RGBA8_SNORM
RGBA4;GL_RGBA4
RGB10_A2;GL_RGB10_A2
RGB5_A1;GL_RGB5_A1
RGBA16F;GL_RGBA16F
RGBA32F;GL_RGBA32F
RGBA8UI;GL_RGBA8UI
RGBA8I;GL_RGBA8I

Compatibility

Operating Systems

Currently only modern POSIX systems are supported; it has been tested mainly on Linux, FreeBSD and OSX. Please send information if it fails on a particular BSD system. It is likely to work with DragonFlyBSD. NetBSD and OpenBSD probably need DILL_THREAD_FALLBACK to work as Thread Local Storage is unsupported.

Cygwin

Cygwin is very broken, it does not support AF_UNIX properly so no development will progress further with this platform.

#ifndef __RFCTIME__
#define __RFCTIME__
#include <time.h>
#include <libmill.h>
#include <stdio.h>
#define DATE_BUFFER_LEN 30
static time_t last = 0;
static int lastlen = DATE_BUFFER_LEN - 1;
#ifndef __RFCTIME__
#define __RFCTIME__
#include <time.h>
#include <libmill.h>
#include <stdio.h>
#define DATE_BUFFER_LEN 30
static time_t last = 0;
static int lastlen = DATE_BUFFER_LEN - 1;
/*
* nghttp2 - HTTP/2 C Library
*
* Copyright (c) 2014 Tatsuhiro Tsujikawa
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
#include <stdio.h>
#include <string.h>
const char *prologue =
"language: c\n\n"
"matrix:\n"
" include:\n";
const char *epilogue =
"install:\n"