Unnamed: 0
int64
0
0
repo_id
stringlengths
5
186
file_path
stringlengths
15
223
content
stringlengths
1
32.8M
0
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special/compiler_rt/fixsfti.zig
const fixint = @import("fixint.zig").fixint; const builtin = @import("builtin"); pub fn __fixsfti(a: f32) callconv(.C) i128 { @setRuntimeSafety(builtin.is_test); return fixint(f32, i128, a); } test { _ = @import("fixsfti_test.zig"); }
0
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special/compiler_rt/divti3_test.zig
const __divti3 = @import("divti3.zig").__divti3; const testing = @import("std").testing; fn test__divti3(a: i128, b: i128, expected: i128) !void { const x = __divti3(a, b); try testing.expect(x == expected); } test "divti3" { try test__divti3(0, 1, 0); try test__divti3(0, -1, 0); try test__divti3(2, 1, 2); try test__divti3(2, -1, -2); try test__divti3(-2, 1, -2); try test__divti3(-2, -1, 2); try test__divti3(@as(i128, @bitCast(@as(u128, 0x8 << 124))), 1, @as(i128, @bitCast(@as(u128, 0x8 << 124)))); try test__divti3(@as(i128, @bitCast(@as(u128, 0x8 << 124))), -1, @as(i128, @bitCast(@as(u128, 0x8 << 124)))); try test__divti3(@as(i128, @bitCast(@as(u128, 0x8 << 124))), -2, @as(i128, @bitCast(@as(u128, 0x4 << 124)))); try test__divti3(@as(i128, @bitCast(@as(u128, 0x8 << 124))), 2, @as(i128, @bitCast(@as(u128, 0xc << 124)))); }
0
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special/compiler_rt/fixunstfsi_test.zig
const __fixunstfsi = @import("fixunstfsi.zig").__fixunstfsi; const testing = @import("std").testing; fn test__fixunstfsi(a: f128, expected: u32) !void { const x = __fixunstfsi(a); try testing.expect(x == expected); } const inf128 = @as(f128, @bitCast(@as(u128, 0x7fff0000000000000000000000000000))); test "fixunstfsi" { try test__fixunstfsi(inf128, 0xffffffff); try test__fixunstfsi(0, 0x0); try test__fixunstfsi(0x1.23456789abcdefp+5, 0x24); try test__fixunstfsi(0x1.23456789abcdefp-3, 0x0); try test__fixunstfsi(0x1.23456789abcdefp+20, 0x123456); try test__fixunstfsi(0x1.23456789abcdefp+40, 0xffffffff); try test__fixunstfsi(0x1.23456789abcdefp+256, 0xffffffff); try test__fixunstfsi(-0x1.23456789abcdefp+3, 0x0); try test__fixunstfsi(0x1p+32, 0xFFFFFFFF); }
0
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special/compiler_rt/fixtfdi_test.zig
const __fixtfdi = @import("fixtfdi.zig").__fixtfdi; const std = @import("std"); const math = std.math; const testing = std.testing; const warn = std.debug.warn; fn test__fixtfdi(a: f128, expected: i64) !void { const x = __fixtfdi(a); //warn("a={}:{x} x={}:{x} expected={}:{x}:@as(u64, {x})\n", .{a, @bitCast(u128, a), x, x, expected, expected, @bitCast(u64, expected)}); try testing.expect(x == expected); } test "fixtfdi" { //warn("\n", .{}); try test__fixtfdi(-math.f128_max, math.minInt(i64)); try test__fixtfdi(-0x1.FFFFFFFFFFFFFp+1023, math.minInt(i64)); try test__fixtfdi(-0x1.FFFFFFFFFFFFFp+1023, -0x8000000000000000); try test__fixtfdi(-0x1.0000000000000p+127, -0x8000000000000000); try test__fixtfdi(-0x1.FFFFFFFFFFFFFp+126, -0x8000000000000000); try test__fixtfdi(-0x1.FFFFFFFFFFFFEp+126, -0x8000000000000000); try test__fixtfdi(-0x1.0000000000001p+63, -0x8000000000000000); try test__fixtfdi(-0x1.0000000000000p+63, -0x8000000000000000); try test__fixtfdi(-0x1.FFFFFFFFFFFFFp+62, -0x7FFFFFFFFFFFFC00); try test__fixtfdi(-0x1.FFFFFFFFFFFFEp+62, -0x7FFFFFFFFFFFF800); try test__fixtfdi(-0x1.FFFFFEp+62, -0x7FFFFF8000000000); try test__fixtfdi(-0x1.FFFFFCp+62, -0x7FFFFF0000000000); try test__fixtfdi(-0x1.000000p+31, -0x80000000); try test__fixtfdi(-0x1.FFFFFFp+30, -0x7FFFFFC0); try test__fixtfdi(-0x1.FFFFFEp+30, -0x7FFFFF80); try test__fixtfdi(-0x1.FFFFFCp+30, -0x7FFFFF00); try test__fixtfdi(-2.01, -2); try test__fixtfdi(-2.0, -2); try test__fixtfdi(-1.99, -1); try test__fixtfdi(-1.0, -1); try test__fixtfdi(-0.99, 0); try test__fixtfdi(-0.5, 0); try test__fixtfdi(-math.f64_min, 0); try test__fixtfdi(0.0, 0); try test__fixtfdi(math.f64_min, 0); try test__fixtfdi(0.5, 0); try test__fixtfdi(0.99, 0); try test__fixtfdi(1.0, 1); try test__fixtfdi(1.5, 1); try test__fixtfdi(1.99, 1); try test__fixtfdi(2.0, 2); try test__fixtfdi(2.01, 2); try test__fixtfdi(0x1.FFFFFCp+30, 0x7FFFFF00); try test__fixtfdi(0x1.FFFFFEp+30, 0x7FFFFF80); try test__fixtfdi(0x1.FFFFFFp+30, 0x7FFFFFC0); try test__fixtfdi(0x1.000000p+31, 0x80000000); try test__fixtfdi(0x1.FFFFFCp+62, 0x7FFFFF0000000000); try test__fixtfdi(0x1.FFFFFEp+62, 0x7FFFFF8000000000); try test__fixtfdi(0x1.FFFFFFFFFFFFEp+62, 0x7FFFFFFFFFFFF800); try test__fixtfdi(0x1.FFFFFFFFFFFFFp+62, 0x7FFFFFFFFFFFFC00); try test__fixtfdi(0x1.0000000000000p+63, 0x7FFFFFFFFFFFFFFF); try test__fixtfdi(0x1.0000000000001p+63, 0x7FFFFFFFFFFFFFFF); try test__fixtfdi(0x1.FFFFFFFFFFFFEp+126, 0x7FFFFFFFFFFFFFFF); try test__fixtfdi(0x1.FFFFFFFFFFFFFp+126, 0x7FFFFFFFFFFFFFFF); try test__fixtfdi(0x1.0000000000000p+127, 0x7FFFFFFFFFFFFFFF); try test__fixtfdi(0x1.FFFFFFFFFFFFFp+1023, 0x7FFFFFFFFFFFFFFF); try test__fixtfdi(0x1.FFFFFFFFFFFFFp+1023, math.maxInt(i64)); try test__fixtfdi(math.f128_max, math.maxInt(i64)); }
0
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special/compiler_rt/truncXfYf2_test.zig
const __truncsfhf2 = @import("truncXfYf2.zig").__truncsfhf2; fn test__truncsfhf2(a: u32, expected: u16) !void { const actual = __truncsfhf2(@as(f32, @bitCast(a))); if (actual == expected) { return; } return error.TestFailure; } test "truncsfhf2" { try test__truncsfhf2(0x7fc00000, 0x7e00); // qNaN try test__truncsfhf2(0x7fe00000, 0x7f00); // sNaN try test__truncsfhf2(0, 0); // 0 try test__truncsfhf2(0x80000000, 0x8000); // -0 try test__truncsfhf2(0x7f800000, 0x7c00); // inf try test__truncsfhf2(0xff800000, 0xfc00); // -inf try test__truncsfhf2(0x477ff000, 0x7c00); // 65520 -> inf try test__truncsfhf2(0xc77ff000, 0xfc00); // -65520 -> -inf try test__truncsfhf2(0x71cc3892, 0x7c00); // 0x1.987124876876324p+100 -> inf try test__truncsfhf2(0xf1cc3892, 0xfc00); // -0x1.987124876876324p+100 -> -inf try test__truncsfhf2(0x38800000, 0x0400); // normal (min), 2**-14 try test__truncsfhf2(0xb8800000, 0x8400); // normal (min), -2**-14 try test__truncsfhf2(0x477fe000, 0x7bff); // normal (max), 65504 try test__truncsfhf2(0xc77fe000, 0xfbff); // normal (max), -65504 try test__truncsfhf2(0x477fe100, 0x7bff); // normal, 65505 -> 65504 try test__truncsfhf2(0xc77fe100, 0xfbff); // normal, -65505 -> -65504 try test__truncsfhf2(0x477fef00, 0x7bff); // normal, 65519 -> 65504 try test__truncsfhf2(0xc77fef00, 0xfbff); // normal, -65519 -> -65504 try test__truncsfhf2(0x3f802000, 0x3c01); // normal, 1 + 2**-10 try test__truncsfhf2(0xbf802000, 0xbc01); // normal, -1 - 2**-10 try test__truncsfhf2(0x3eaaa000, 0x3555); // normal, approx. 1/3 try test__truncsfhf2(0xbeaaa000, 0xb555); // normal, approx. -1/3 try test__truncsfhf2(0x40490fdb, 0x4248); // normal, 3.1415926535 try test__truncsfhf2(0xc0490fdb, 0xc248); // normal, -3.1415926535 try test__truncsfhf2(0x45cc3892, 0x6e62); // normal, 0x1.987124876876324p+12 try test__truncsfhf2(0x3f800000, 0x3c00); // normal, 1 try test__truncsfhf2(0x38800000, 0x0400); // normal, 0x1.0p-14 try test__truncsfhf2(0x33800000, 0x0001); // denormal (min), 2**-24 try test__truncsfhf2(0xb3800000, 0x8001); // denormal (min), -2**-24 try test__truncsfhf2(0x387fc000, 0x03ff); // denormal (max), 2**-14 - 2**-24 try test__truncsfhf2(0xb87fc000, 0x83ff); // denormal (max), -2**-14 + 2**-24 try test__truncsfhf2(0x35800000, 0x0010); // denormal, 0x1.0p-20 try test__truncsfhf2(0x33280000, 0x0001); // denormal, 0x1.5p-25 -> 0x1.0p-24 try test__truncsfhf2(0x33000000, 0x0000); // 0x1.0p-25 -> zero } const __truncdfhf2 = @import("truncXfYf2.zig").__truncdfhf2; fn test__truncdfhf2(a: f64, expected: u16) void { const rep = @as(u16, @bitCast(__truncdfhf2(a))); if (rep == expected) { return; } // test other possible NaN representation(signal NaN) else if (expected == 0x7e00) { if ((rep & 0x7c00) == 0x7c00 and (rep & 0x3ff) > 0) { return; } } @panic("__truncdfhf2 test failure"); } fn test__truncdfhf2_raw(a: u64, expected: u16) void { const actual = __truncdfhf2(@as(f64, @bitCast(a))); if (actual == expected) { return; } @panic("__truncdfhf2 test failure"); } test "truncdfhf2" { test__truncdfhf2_raw(0x7ff8000000000000, 0x7e00); // qNaN test__truncdfhf2_raw(0x7ff0000000008000, 0x7e00); // NaN test__truncdfhf2_raw(0x7ff0000000000000, 0x7c00); //inf test__truncdfhf2_raw(0xfff0000000000000, 0xfc00); // -inf test__truncdfhf2(0.0, 0x0); // zero test__truncdfhf2_raw(0x80000000 << 32, 0x8000); // -zero test__truncdfhf2(3.1415926535, 0x4248); test__truncdfhf2(-3.1415926535, 0xc248); test__truncdfhf2(0x1.987124876876324p+1000, 0x7c00); test__truncdfhf2(0x1.987124876876324p+12, 0x6e62); test__truncdfhf2(0x1.0p+0, 0x3c00); test__truncdfhf2(0x1.0p-14, 0x0400); // denormal test__truncdfhf2(0x1.0p-20, 0x0010); test__truncdfhf2(0x1.0p-24, 0x0001); test__truncdfhf2(-0x1.0p-24, 0x8001); test__truncdfhf2(0x1.5p-25, 0x0001); // and back to zero test__truncdfhf2(0x1.0p-25, 0x0000); test__truncdfhf2(-0x1.0p-25, 0x8000); // max (precise) test__truncdfhf2(65504.0, 0x7bff); // max (rounded) test__truncdfhf2(65519.0, 0x7bff); // max (to +inf) test__truncdfhf2(65520.0, 0x7c00); test__truncdfhf2(-65520.0, 0xfc00); test__truncdfhf2(65536.0, 0x7c00); } const __trunctfsf2 = @import("truncXfYf2.zig").__trunctfsf2; fn test__trunctfsf2(a: f128, expected: u32) void { const x = __trunctfsf2(a); const rep = @as(u32, @bitCast(x)); if (rep == expected) { return; } // test other possible NaN representation(signal NaN) else if (expected == 0x7fc00000) { if ((rep & 0x7f800000) == 0x7f800000 and (rep & 0x7fffff) > 0) { return; } } @panic("__trunctfsf2 test failure"); } test "trunctfsf2" { // qnan test__trunctfsf2(@as(f128, @bitCast(@as(u128, 0x7fff800000000000 << 64))), 0x7fc00000); // nan test__trunctfsf2(@as(f128, @bitCast(@as(u128, (0x7fff000000000000 | (0x810000000000 & 0xffffffffffff)) << 64))), 0x7fc08000); // inf test__trunctfsf2(@as(f128, @bitCast(@as(u128, 0x7fff000000000000 << 64))), 0x7f800000); // zero test__trunctfsf2(0.0, 0x0); test__trunctfsf2(0x1.23a2abb4a2ddee355f36789abcdep+5, 0x4211d156); test__trunctfsf2(0x1.e3d3c45bd3abfd98b76a54cc321fp-9, 0x3b71e9e2); test__trunctfsf2(0x1.234eebb5faa678f4488693abcdefp+4534, 0x7f800000); test__trunctfsf2(0x1.edcba9bb8c76a5a43dd21f334634p-435, 0x0); } const __trunctfdf2 = @import("truncXfYf2.zig").__trunctfdf2; fn test__trunctfdf2(a: f128, expected: u64) void { const x = __trunctfdf2(a); const rep = @as(u64, @bitCast(x)); if (rep == expected) { return; } // test other possible NaN representation(signal NaN) else if (expected == 0x7ff8000000000000) { if ((rep & 0x7ff0000000000000) == 0x7ff0000000000000 and (rep & 0xfffffffffffff) > 0) { return; } } @panic("__trunctfsf2 test failure"); } test "trunctfdf2" { // qnan test__trunctfdf2(@as(f128, @bitCast(@as(u128, 0x7fff800000000000 << 64))), 0x7ff8000000000000); // nan test__trunctfdf2(@as(f128, @bitCast(@as(u128, (0x7fff000000000000 | (0x810000000000 & 0xffffffffffff)) << 64))), 0x7ff8100000000000); // inf test__trunctfdf2(@as(f128, @bitCast(@as(u128, 0x7fff000000000000 << 64))), 0x7ff0000000000000); // zero test__trunctfdf2(0.0, 0x0); test__trunctfdf2(0x1.af23456789bbaaab347645365cdep+5, 0x404af23456789bbb); test__trunctfdf2(0x1.dedafcff354b6ae9758763545432p-9, 0x3f6dedafcff354b7); test__trunctfdf2(0x1.2f34dd5f437e849b4baab754cdefp+4534, 0x7ff0000000000000); test__trunctfdf2(0x1.edcbff8ad76ab5bf46463233214fp-435, 0x24cedcbff8ad76ab); } const __truncdfsf2 = @import("truncXfYf2.zig").__truncdfsf2; fn test__truncdfsf2(a: f64, expected: u32) void { const x = __truncdfsf2(a); const rep = @as(u32, @bitCast(x)); if (rep == expected) { return; } // test other possible NaN representation(signal NaN) else if (expected == 0x7fc00000) { if ((rep & 0x7f800000) == 0x7f800000 and (rep & 0x7fffff) > 0) { return; } } @import("std").debug.warn("got 0x{x} wanted 0x{x}\n", .{ rep, expected }); @panic("__trunctfsf2 test failure"); } test "truncdfsf2" { // nan & qnan test__truncdfsf2(@as(f64, @bitCast(@as(u64, 0x7ff8000000000000))), 0x7fc00000); test__truncdfsf2(@as(f64, @bitCast(@as(u64, 0x7ff0000000000001))), 0x7fc00000); // inf test__truncdfsf2(@as(f64, @bitCast(@as(u64, 0x7ff0000000000000))), 0x7f800000); test__truncdfsf2(@as(f64, @bitCast(@as(u64, 0xfff0000000000000))), 0xff800000); test__truncdfsf2(0.0, 0x0); test__truncdfsf2(1.0, 0x3f800000); test__truncdfsf2(-1.0, 0xbf800000); // huge number becomes inf test__truncdfsf2(340282366920938463463374607431768211456.0, 0x7f800000); } const __trunctfhf2 = @import("truncXfYf2.zig").__trunctfhf2; fn test__trunctfhf2(a: f128, expected: u16) void { const x = __trunctfhf2(a); const rep = @as(u16, @bitCast(x)); if (rep == expected) { return; } @import("std").debug.warn("got 0x{x} wanted 0x{x}\n", .{ rep, expected }); @panic("__trunctfhf2 test failure"); } test "trunctfhf2" { // qNaN test__trunctfhf2(@as(f128, @bitCast(@as(u128, 0x7fff8000000000000000000000000000))), 0x7e00); // NaN test__trunctfhf2(@as(f128, @bitCast(@as(u128, 0x7fff0000000000000000000000000001))), 0x7e00); // inf test__trunctfhf2(@as(f128, @bitCast(@as(u128, 0x7fff0000000000000000000000000000))), 0x7c00); test__trunctfhf2(-@as(f128, @bitCast(@as(u128, 0x7fff0000000000000000000000000000))), 0xfc00); // zero test__trunctfhf2(0.0, 0x0); test__trunctfhf2(-0.0, 0x8000); test__trunctfhf2(3.1415926535, 0x4248); test__trunctfhf2(-3.1415926535, 0xc248); test__trunctfhf2(0x1.987124876876324p+100, 0x7c00); test__trunctfhf2(0x1.987124876876324p+12, 0x6e62); test__trunctfhf2(0x1.0p+0, 0x3c00); test__trunctfhf2(0x1.0p-14, 0x0400); // denormal test__trunctfhf2(0x1.0p-20, 0x0010); test__trunctfhf2(0x1.0p-24, 0x0001); test__trunctfhf2(-0x1.0p-24, 0x8001); test__trunctfhf2(0x1.5p-25, 0x0001); // and back to zero test__trunctfhf2(0x1.0p-25, 0x0000); test__trunctfhf2(-0x1.0p-25, 0x8000); // max (precise) test__trunctfhf2(65504.0, 0x7bff); // max (rounded) test__trunctfhf2(65519.0, 0x7bff); // max (to +inf) test__trunctfhf2(65520.0, 0x7c00); test__trunctfhf2(65536.0, 0x7c00); test__trunctfhf2(-65520.0, 0xfc00); test__trunctfhf2(0x1.23a2abb4a2ddee355f36789abcdep+5, 0x508f); test__trunctfhf2(0x1.e3d3c45bd3abfd98b76a54cc321fp-9, 0x1b8f); test__trunctfhf2(0x1.234eebb5faa678f4488693abcdefp+453, 0x7c00); test__trunctfhf2(0x1.edcba9bb8c76a5a43dd21f334634p-43, 0x0); }
0
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special/compiler_rt/fixunssfsi.zig
const fixuint = @import("fixuint.zig").fixuint; const builtin = @import("builtin"); pub fn __fixunssfsi(a: f32) callconv(.C) u32 { @setRuntimeSafety(builtin.is_test); return fixuint(f32, u32, a); } pub fn __aeabi_f2uiz(a: f32) callconv(.AAPCS) u32 { @setRuntimeSafety(false); return @call(.{ .modifier = .always_inline }, __fixunssfsi, .{a}); } test { _ = @import("fixunssfsi_test.zig"); }
0
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special/compiler_rt/floattidf_test.zig
const __floattidf = @import("floattidf.zig").__floattidf; const testing = @import("std").testing; fn test__floattidf(a: i128, expected: f64) !void { const x = __floattidf(a); try testing.expect(x == expected); } test "floattidf" { try test__floattidf(0, 0.0); try test__floattidf(1, 1.0); try test__floattidf(2, 2.0); try test__floattidf(20, 20.0); try test__floattidf(-1, -1.0); try test__floattidf(-2, -2.0); try test__floattidf(-20, -20.0); try test__floattidf(0x7FFFFF8000000000, 0x1.FFFFFEp+62); try test__floattidf(0x7FFFFFFFFFFFF800, 0x1.FFFFFFFFFFFFEp+62); try test__floattidf(0x7FFFFF0000000000, 0x1.FFFFFCp+62); try test__floattidf(0x7FFFFFFFFFFFF000, 0x1.FFFFFFFFFFFFCp+62); try test__floattidf(make_ti(0x8000008000000000, 0), -0x1.FFFFFEp+126); try test__floattidf(make_ti(0x8000000000000800, 0), -0x1.FFFFFFFFFFFFEp+126); try test__floattidf(make_ti(0x8000010000000000, 0), -0x1.FFFFFCp+126); try test__floattidf(make_ti(0x8000000000001000, 0), -0x1.FFFFFFFFFFFFCp+126); try test__floattidf(make_ti(0x8000000000000000, 0), -0x1.000000p+127); try test__floattidf(make_ti(0x8000000000000001, 0), -0x1.000000p+127); try test__floattidf(0x0007FB72E8000000, 0x1.FEDCBAp+50); try test__floattidf(0x0007FB72EA000000, 0x1.FEDCBA8p+50); try test__floattidf(0x0007FB72EB000000, 0x1.FEDCBACp+50); try test__floattidf(0x0007FB72EBFFFFFF, 0x1.FEDCBAFFFFFFCp+50); try test__floattidf(0x0007FB72EC000000, 0x1.FEDCBBp+50); try test__floattidf(0x0007FB72E8000001, 0x1.FEDCBA0000004p+50); try test__floattidf(0x0007FB72E6000000, 0x1.FEDCB98p+50); try test__floattidf(0x0007FB72E7000000, 0x1.FEDCB9Cp+50); try test__floattidf(0x0007FB72E7FFFFFF, 0x1.FEDCB9FFFFFFCp+50); try test__floattidf(0x0007FB72E4000001, 0x1.FEDCB90000004p+50); try test__floattidf(0x0007FB72E4000000, 0x1.FEDCB9p+50); try test__floattidf(0x023479FD0E092DC0, 0x1.1A3CFE870496Ep+57); try test__floattidf(0x023479FD0E092DA1, 0x1.1A3CFE870496Dp+57); try test__floattidf(0x023479FD0E092DB0, 0x1.1A3CFE870496Ep+57); try test__floattidf(0x023479FD0E092DB8, 0x1.1A3CFE870496Ep+57); try test__floattidf(0x023479FD0E092DB6, 0x1.1A3CFE870496Ep+57); try test__floattidf(0x023479FD0E092DBF, 0x1.1A3CFE870496Ep+57); try test__floattidf(0x023479FD0E092DC1, 0x1.1A3CFE870496Ep+57); try test__floattidf(0x023479FD0E092DC7, 0x1.1A3CFE870496Ep+57); try test__floattidf(0x023479FD0E092DC8, 0x1.1A3CFE870496Ep+57); try test__floattidf(0x023479FD0E092DCF, 0x1.1A3CFE870496Ep+57); try test__floattidf(0x023479FD0E092DD0, 0x1.1A3CFE870496Ep+57); try test__floattidf(0x023479FD0E092DD1, 0x1.1A3CFE870496Fp+57); try test__floattidf(0x023479FD0E092DD8, 0x1.1A3CFE870496Fp+57); try test__floattidf(0x023479FD0E092DDF, 0x1.1A3CFE870496Fp+57); try test__floattidf(0x023479FD0E092DE0, 0x1.1A3CFE870496Fp+57); try test__floattidf(make_ti(0x023479FD0E092DC0, 0), 0x1.1A3CFE870496Ep+121); try test__floattidf(make_ti(0x023479FD0E092DA1, 1), 0x1.1A3CFE870496Dp+121); try test__floattidf(make_ti(0x023479FD0E092DB0, 2), 0x1.1A3CFE870496Ep+121); try test__floattidf(make_ti(0x023479FD0E092DB8, 3), 0x1.1A3CFE870496Ep+121); try test__floattidf(make_ti(0x023479FD0E092DB6, 4), 0x1.1A3CFE870496Ep+121); try test__floattidf(make_ti(0x023479FD0E092DBF, 5), 0x1.1A3CFE870496Ep+121); try test__floattidf(make_ti(0x023479FD0E092DC1, 6), 0x1.1A3CFE870496Ep+121); try test__floattidf(make_ti(0x023479FD0E092DC7, 7), 0x1.1A3CFE870496Ep+121); try test__floattidf(make_ti(0x023479FD0E092DC8, 8), 0x1.1A3CFE870496Ep+121); try test__floattidf(make_ti(0x023479FD0E092DCF, 9), 0x1.1A3CFE870496Ep+121); try test__floattidf(make_ti(0x023479FD0E092DD0, 0), 0x1.1A3CFE870496Ep+121); try test__floattidf(make_ti(0x023479FD0E092DD1, 11), 0x1.1A3CFE870496Fp+121); try test__floattidf(make_ti(0x023479FD0E092DD8, 12), 0x1.1A3CFE870496Fp+121); try test__floattidf(make_ti(0x023479FD0E092DDF, 13), 0x1.1A3CFE870496Fp+121); try test__floattidf(make_ti(0x023479FD0E092DE0, 14), 0x1.1A3CFE870496Fp+121); } fn make_ti(high: u64, low: u64) i128 { var result: u128 = high; result <<= 64; result |= low; return @as(i128, @bitCast(result)); }
0
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special/compiler_rt/floatuntitf.zig
const builtin = @import("builtin"); const is_test = builtin.is_test; const std = @import("std"); const maxInt = std.math.maxInt; const LDBL_MANT_DIG = 113; pub fn __floatuntitf(arg: u128) callconv(.C) f128 { @setRuntimeSafety(is_test); if (arg == 0) return 0.0; var a = arg; const N: u32 = @sizeOf(u128) * 8; const sd = @as(i32, @bitCast(N - @clz(a))); // number of significant digits var e: i32 = sd - 1; // exponent if (sd > LDBL_MANT_DIG) { // start: 0000000000000000000001xxxxxxxxxxxxxxxxxxxxxxPQxxxxxxxxxxxxxxxxxx // finish: 000000000000000000000000000000000000001xxxxxxxxxxxxxxxxxxxxxxPQR // 12345678901234567890123456 // 1 = msb 1 bit // P = bit LDBL_MANT_DIG-1 bits to the right of 1 // Q = bit LDBL_MANT_DIG bits to the right of 1 // R = "or" of all bits to the right of Q switch (sd) { LDBL_MANT_DIG + 1 => { a <<= 1; }, LDBL_MANT_DIG + 2 => {}, else => { const shift_amt = @as(i32, @bitCast(N + (LDBL_MANT_DIG + 2))) - sd; const shift_amt_u7 = @as(u7, @intCast(shift_amt)); a = (a >> @as(u7, @intCast(sd - (LDBL_MANT_DIG + 2)))) | @intFromBool((a & (@as(u128, maxInt(u128)) >> shift_amt_u7)) != 0); }, } // finish a |= @intFromBool((a & 4) != 0); // Or P into R a += 1; // round - this step may add a significant bit a >>= 2; // dump Q and R // a is now rounded to LDBL_MANT_DIG or LDBL_MANT_DIG+1 bits if ((a & (@as(u128, 1) << LDBL_MANT_DIG)) != 0) { a >>= 1; e += 1; } // a is now rounded to LDBL_MANT_DIG bits } else { a <<= @as(u7, @intCast(LDBL_MANT_DIG - sd)); // a is now rounded to LDBL_MANT_DIG bits } const high: u128 = (@as(u64, @intCast((e + 16383))) << 48) | // exponent (@as(u64, @truncate(a >> 64)) & 0x0000ffffffffffff); // mantissa-high const low = @as(u64, @truncate(a)); // mantissa-low return @as(f128, @bitCast(low | (high << 64))); } test { _ = @import("floatuntitf_test.zig"); }
0
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special/compiler_rt/clzsi2_test.zig
const clz = @import("count0bits.zig"); const testing = @import("std").testing; fn test__clzsi2(a: u32, expected: i32) !void { // XXX At high optimization levels this test may be horribly miscompiled if // one of the naked implementations is selected. var nakedClzsi2 = clz.__clzsi2; var actualClzsi2 = @as(fn (a: i32) callconv(.C) i32, @ptrCast(nakedClzsi2)); var x = @as(i32, @bitCast(a)); var result = actualClzsi2(x); try testing.expectEqual(expected, result); } test "clzsi2" { try test__clzsi2(0x00800000, 8); try test__clzsi2(0x01000000, 7); try test__clzsi2(0x02000000, 6); try test__clzsi2(0x03000000, 6); try test__clzsi2(0x04000000, 5); try test__clzsi2(0x05000000, 5); try test__clzsi2(0x06000000, 5); try test__clzsi2(0x07000000, 5); try test__clzsi2(0x08000000, 4); try test__clzsi2(0x09000000, 4); try test__clzsi2(0x0A000000, 4); try test__clzsi2(0x0B000000, 4); try test__clzsi2(0x0C000000, 4); try test__clzsi2(0x0D000000, 4); try test__clzsi2(0x0E000000, 4); try test__clzsi2(0x0F000000, 4); try test__clzsi2(0x10000000, 3); try test__clzsi2(0x11000000, 3); try test__clzsi2(0x12000000, 3); try test__clzsi2(0x13000000, 3); try test__clzsi2(0x14000000, 3); try test__clzsi2(0x15000000, 3); try test__clzsi2(0x16000000, 3); try test__clzsi2(0x17000000, 3); try test__clzsi2(0x18000000, 3); try test__clzsi2(0x19000000, 3); try test__clzsi2(0x1A000000, 3); try test__clzsi2(0x1B000000, 3); try test__clzsi2(0x1C000000, 3); try test__clzsi2(0x1D000000, 3); try test__clzsi2(0x1E000000, 3); try test__clzsi2(0x1F000000, 3); try test__clzsi2(0x20000000, 2); try test__clzsi2(0x21000000, 2); try test__clzsi2(0x22000000, 2); try test__clzsi2(0x23000000, 2); try test__clzsi2(0x24000000, 2); try test__clzsi2(0x25000000, 2); try test__clzsi2(0x26000000, 2); try test__clzsi2(0x27000000, 2); try test__clzsi2(0x28000000, 2); try test__clzsi2(0x29000000, 2); try test__clzsi2(0x2A000000, 2); try test__clzsi2(0x2B000000, 2); try test__clzsi2(0x2C000000, 2); try test__clzsi2(0x2D000000, 2); try test__clzsi2(0x2E000000, 2); try test__clzsi2(0x2F000000, 2); try test__clzsi2(0x30000000, 2); try test__clzsi2(0x31000000, 2); try test__clzsi2(0x32000000, 2); try test__clzsi2(0x33000000, 2); try test__clzsi2(0x34000000, 2); try test__clzsi2(0x35000000, 2); try test__clzsi2(0x36000000, 2); try test__clzsi2(0x37000000, 2); try test__clzsi2(0x38000000, 2); try test__clzsi2(0x39000000, 2); try test__clzsi2(0x3A000000, 2); try test__clzsi2(0x3B000000, 2); try test__clzsi2(0x3C000000, 2); try test__clzsi2(0x3D000000, 2); try test__clzsi2(0x3E000000, 2); try test__clzsi2(0x3F000000, 2); try test__clzsi2(0x40000000, 1); try test__clzsi2(0x41000000, 1); try test__clzsi2(0x42000000, 1); try test__clzsi2(0x43000000, 1); try test__clzsi2(0x44000000, 1); try test__clzsi2(0x45000000, 1); try test__clzsi2(0x46000000, 1); try test__clzsi2(0x47000000, 1); try test__clzsi2(0x48000000, 1); try test__clzsi2(0x49000000, 1); try test__clzsi2(0x4A000000, 1); try test__clzsi2(0x4B000000, 1); try test__clzsi2(0x4C000000, 1); try test__clzsi2(0x4D000000, 1); try test__clzsi2(0x4E000000, 1); try test__clzsi2(0x4F000000, 1); try test__clzsi2(0x50000000, 1); try test__clzsi2(0x51000000, 1); try test__clzsi2(0x52000000, 1); try test__clzsi2(0x53000000, 1); try test__clzsi2(0x54000000, 1); try test__clzsi2(0x55000000, 1); try test__clzsi2(0x56000000, 1); try test__clzsi2(0x57000000, 1); try test__clzsi2(0x58000000, 1); try test__clzsi2(0x59000000, 1); try test__clzsi2(0x5A000000, 1); try test__clzsi2(0x5B000000, 1); try test__clzsi2(0x5C000000, 1); try test__clzsi2(0x5D000000, 1); try test__clzsi2(0x5E000000, 1); try test__clzsi2(0x5F000000, 1); try test__clzsi2(0x60000000, 1); try test__clzsi2(0x61000000, 1); try test__clzsi2(0x62000000, 1); try test__clzsi2(0x63000000, 1); try test__clzsi2(0x64000000, 1); try test__clzsi2(0x65000000, 1); try test__clzsi2(0x66000000, 1); try test__clzsi2(0x67000000, 1); try test__clzsi2(0x68000000, 1); try test__clzsi2(0x69000000, 1); try test__clzsi2(0x6A000000, 1); try test__clzsi2(0x6B000000, 1); try test__clzsi2(0x6C000000, 1); try test__clzsi2(0x6D000000, 1); try test__clzsi2(0x6E000000, 1); try test__clzsi2(0x6F000000, 1); try test__clzsi2(0x70000000, 1); try test__clzsi2(0x71000000, 1); try test__clzsi2(0x72000000, 1); try test__clzsi2(0x73000000, 1); try test__clzsi2(0x74000000, 1); try test__clzsi2(0x75000000, 1); try test__clzsi2(0x76000000, 1); try test__clzsi2(0x77000000, 1); try test__clzsi2(0x78000000, 1); try test__clzsi2(0x79000000, 1); try test__clzsi2(0x7A000000, 1); try test__clzsi2(0x7B000000, 1); try test__clzsi2(0x7C000000, 1); try test__clzsi2(0x7D000000, 1); try test__clzsi2(0x7E000000, 1); try test__clzsi2(0x7F000000, 1); try test__clzsi2(0x80000000, 0); try test__clzsi2(0x81000000, 0); try test__clzsi2(0x82000000, 0); try test__clzsi2(0x83000000, 0); try test__clzsi2(0x84000000, 0); try test__clzsi2(0x85000000, 0); try test__clzsi2(0x86000000, 0); try test__clzsi2(0x87000000, 0); try test__clzsi2(0x88000000, 0); try test__clzsi2(0x89000000, 0); try test__clzsi2(0x8A000000, 0); try test__clzsi2(0x8B000000, 0); try test__clzsi2(0x8C000000, 0); try test__clzsi2(0x8D000000, 0); try test__clzsi2(0x8E000000, 0); try test__clzsi2(0x8F000000, 0); try test__clzsi2(0x90000000, 0); try test__clzsi2(0x91000000, 0); try test__clzsi2(0x92000000, 0); try test__clzsi2(0x93000000, 0); try test__clzsi2(0x94000000, 0); try test__clzsi2(0x95000000, 0); try test__clzsi2(0x96000000, 0); try test__clzsi2(0x97000000, 0); try test__clzsi2(0x98000000, 0); try test__clzsi2(0x99000000, 0); try test__clzsi2(0x9A000000, 0); try test__clzsi2(0x9B000000, 0); try test__clzsi2(0x9C000000, 0); try test__clzsi2(0x9D000000, 0); try test__clzsi2(0x9E000000, 0); try test__clzsi2(0x9F000000, 0); try test__clzsi2(0xA0000000, 0); try test__clzsi2(0xA1000000, 0); try test__clzsi2(0xA2000000, 0); try test__clzsi2(0xA3000000, 0); try test__clzsi2(0xA4000000, 0); try test__clzsi2(0xA5000000, 0); try test__clzsi2(0xA6000000, 0); try test__clzsi2(0xA7000000, 0); try test__clzsi2(0xA8000000, 0); try test__clzsi2(0xA9000000, 0); try test__clzsi2(0xAA000000, 0); try test__clzsi2(0xAB000000, 0); try test__clzsi2(0xAC000000, 0); try test__clzsi2(0xAD000000, 0); try test__clzsi2(0xAE000000, 0); try test__clzsi2(0xAF000000, 0); try test__clzsi2(0xB0000000, 0); try test__clzsi2(0xB1000000, 0); try test__clzsi2(0xB2000000, 0); try test__clzsi2(0xB3000000, 0); try test__clzsi2(0xB4000000, 0); try test__clzsi2(0xB5000000, 0); try test__clzsi2(0xB6000000, 0); try test__clzsi2(0xB7000000, 0); try test__clzsi2(0xB8000000, 0); try test__clzsi2(0xB9000000, 0); try test__clzsi2(0xBA000000, 0); try test__clzsi2(0xBB000000, 0); try test__clzsi2(0xBC000000, 0); try test__clzsi2(0xBD000000, 0); try test__clzsi2(0xBE000000, 0); try test__clzsi2(0xBF000000, 0); try test__clzsi2(0xC0000000, 0); try test__clzsi2(0xC1000000, 0); try test__clzsi2(0xC2000000, 0); try test__clzsi2(0xC3000000, 0); try test__clzsi2(0xC4000000, 0); try test__clzsi2(0xC5000000, 0); try test__clzsi2(0xC6000000, 0); try test__clzsi2(0xC7000000, 0); try test__clzsi2(0xC8000000, 0); try test__clzsi2(0xC9000000, 0); try test__clzsi2(0xCA000000, 0); try test__clzsi2(0xCB000000, 0); try test__clzsi2(0xCC000000, 0); try test__clzsi2(0xCD000000, 0); try test__clzsi2(0xCE000000, 0); try test__clzsi2(0xCF000000, 0); try test__clzsi2(0xD0000000, 0); try test__clzsi2(0xD1000000, 0); try test__clzsi2(0xD2000000, 0); try test__clzsi2(0xD3000000, 0); try test__clzsi2(0xD4000000, 0); try test__clzsi2(0xD5000000, 0); try test__clzsi2(0xD6000000, 0); try test__clzsi2(0xD7000000, 0); try test__clzsi2(0xD8000000, 0); try test__clzsi2(0xD9000000, 0); try test__clzsi2(0xDA000000, 0); try test__clzsi2(0xDB000000, 0); try test__clzsi2(0xDC000000, 0); try test__clzsi2(0xDD000000, 0); try test__clzsi2(0xDE000000, 0); try test__clzsi2(0xDF000000, 0); try test__clzsi2(0xE0000000, 0); try test__clzsi2(0xE1000000, 0); try test__clzsi2(0xE2000000, 0); try test__clzsi2(0xE3000000, 0); try test__clzsi2(0xE4000000, 0); try test__clzsi2(0xE5000000, 0); try test__clzsi2(0xE6000000, 0); try test__clzsi2(0xE7000000, 0); try test__clzsi2(0xE8000000, 0); try test__clzsi2(0xE9000000, 0); try test__clzsi2(0xEA000000, 0); try test__clzsi2(0xEB000000, 0); try test__clzsi2(0xEC000000, 0); try test__clzsi2(0xED000000, 0); try test__clzsi2(0xEE000000, 0); try test__clzsi2(0xEF000000, 0); try test__clzsi2(0xF0000000, 0); try test__clzsi2(0xF1000000, 0); try test__clzsi2(0xF2000000, 0); try test__clzsi2(0xF3000000, 0); try test__clzsi2(0xF4000000, 0); try test__clzsi2(0xF5000000, 0); try test__clzsi2(0xF6000000, 0); try test__clzsi2(0xF7000000, 0); try test__clzsi2(0xF8000000, 0); try test__clzsi2(0xF9000000, 0); try test__clzsi2(0xFA000000, 0); try test__clzsi2(0xFB000000, 0); try test__clzsi2(0xFC000000, 0); try test__clzsi2(0xFD000000, 0); try test__clzsi2(0xFE000000, 0); try test__clzsi2(0xFF000000, 0); // arm and thumb1 assume input a != 0 //try test__clzsi2(0x00000000, 32); try test__clzsi2(0x00000001, 31); try test__clzsi2(0x00000002, 30); try test__clzsi2(0x00000004, 29); try test__clzsi2(0x00000008, 28); try test__clzsi2(0x00000010, 27); try test__clzsi2(0x00000020, 26); try test__clzsi2(0x00000040, 25); try test__clzsi2(0x00000080, 24); try test__clzsi2(0x00000100, 23); try test__clzsi2(0x00000200, 22); try test__clzsi2(0x00000400, 21); try test__clzsi2(0x00000800, 20); try test__clzsi2(0x00001000, 19); try test__clzsi2(0x00002000, 18); try test__clzsi2(0x00004000, 17); try test__clzsi2(0x00008000, 16); try test__clzsi2(0x00010000, 15); try test__clzsi2(0x00020000, 14); try test__clzsi2(0x00040000, 13); try test__clzsi2(0x00080000, 12); try test__clzsi2(0x00100000, 11); try test__clzsi2(0x00200000, 10); try test__clzsi2(0x00400000, 9); }
0
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special/compiler_rt/floatdidf_test.zig
const __floatdidf = @import("floatdidf.zig").__floatdidf; const testing = @import("std").testing; fn test__floatdidf(a: i64, expected: f64) !void { const r = __floatdidf(a); try testing.expect(r == expected); } test "floatdidf" { try test__floatdidf(0, 0.0); try test__floatdidf(1, 1.0); try test__floatdidf(2, 2.0); try test__floatdidf(20, 20.0); try test__floatdidf(-1, -1.0); try test__floatdidf(-2, -2.0); try test__floatdidf(-20, -20.0); try test__floatdidf(0x7FFFFF8000000000, 0x1.FFFFFEp+62); try test__floatdidf(0x7FFFFFFFFFFFF800, 0x1.FFFFFFFFFFFFEp+62); try test__floatdidf(0x7FFFFF0000000000, 0x1.FFFFFCp+62); try test__floatdidf(0x7FFFFFFFFFFFF000, 0x1.FFFFFFFFFFFFCp+62); try test__floatdidf(@as(i64, @bitCast(@as(u64, @intCast(0x8000008000000000)))), -0x1.FFFFFEp+62); try test__floatdidf(@as(i64, @bitCast(@as(u64, @intCast(0x8000000000000800)))), -0x1.FFFFFFFFFFFFEp+62); try test__floatdidf(@as(i64, @bitCast(@as(u64, @intCast(0x8000010000000000)))), -0x1.FFFFFCp+62); try test__floatdidf(@as(i64, @bitCast(@as(u64, @intCast(0x8000000000001000)))), -0x1.FFFFFFFFFFFFCp+62); try test__floatdidf(@as(i64, @bitCast(@as(u64, @intCast(0x8000000000000000)))), -0x1.000000p+63); try test__floatdidf(@as(i64, @bitCast(@as(u64, @intCast(0x8000000000000001)))), -0x1.000000p+63); try test__floatdidf(0x0007FB72E8000000, 0x1.FEDCBAp+50); try test__floatdidf(0x0007FB72EA000000, 0x1.FEDCBA8p+50); try test__floatdidf(0x0007FB72EB000000, 0x1.FEDCBACp+50); try test__floatdidf(0x0007FB72EBFFFFFF, 0x1.FEDCBAFFFFFFCp+50); try test__floatdidf(0x0007FB72EC000000, 0x1.FEDCBBp+50); try test__floatdidf(0x0007FB72E8000001, 0x1.FEDCBA0000004p+50); try test__floatdidf(0x0007FB72E6000000, 0x1.FEDCB98p+50); try test__floatdidf(0x0007FB72E7000000, 0x1.FEDCB9Cp+50); try test__floatdidf(0x0007FB72E7FFFFFF, 0x1.FEDCB9FFFFFFCp+50); try test__floatdidf(0x0007FB72E4000001, 0x1.FEDCB90000004p+50); try test__floatdidf(0x0007FB72E4000000, 0x1.FEDCB9p+50); try test__floatdidf(0x023479FD0E092DC0, 0x1.1A3CFE870496Ep+57); try test__floatdidf(0x023479FD0E092DA1, 0x1.1A3CFE870496Dp+57); try test__floatdidf(0x023479FD0E092DB0, 0x1.1A3CFE870496Ep+57); try test__floatdidf(0x023479FD0E092DB8, 0x1.1A3CFE870496Ep+57); try test__floatdidf(0x023479FD0E092DB6, 0x1.1A3CFE870496Ep+57); try test__floatdidf(0x023479FD0E092DBF, 0x1.1A3CFE870496Ep+57); try test__floatdidf(0x023479FD0E092DC1, 0x1.1A3CFE870496Ep+57); try test__floatdidf(0x023479FD0E092DC7, 0x1.1A3CFE870496Ep+57); try test__floatdidf(0x023479FD0E092DC8, 0x1.1A3CFE870496Ep+57); try test__floatdidf(0x023479FD0E092DCF, 0x1.1A3CFE870496Ep+57); try test__floatdidf(0x023479FD0E092DD0, 0x1.1A3CFE870496Ep+57); try test__floatdidf(0x023479FD0E092DD1, 0x1.1A3CFE870496Fp+57); try test__floatdidf(0x023479FD0E092DD8, 0x1.1A3CFE870496Fp+57); try test__floatdidf(0x023479FD0E092DDF, 0x1.1A3CFE870496Fp+57); try test__floatdidf(0x023479FD0E092DE0, 0x1.1A3CFE870496Fp+57); }
0
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special/compiler_rt/count0bits.zig
const std = @import("std"); const builtin = @import("builtin"); // clz - count leading zeroes // - clzXi2_generic for little endian // - __clzsi2_thumb1: assume a != 0 // - __clzsi2_arm32: assume a != 0 fn clzXi2_generic(comptime T: type) fn (a: T) callconv(.C) i32 { return struct { fn f(a: T) callconv(.C) i32 { @setRuntimeSafety(builtin.is_test); var x = switch (@bitSizeOf(T)) { 32 => @as(u32, @bitCast(a)), 64 => @as(u64, @bitCast(a)), 128 => @as(u128, @bitCast(a)), else => unreachable, }; var n: T = @bitSizeOf(T); // Count first bit set using binary search, from Hacker's Delight var y: @TypeOf(x) = 0; comptime var shift: u8 = @bitSizeOf(T); inline while (shift > 0) { shift = shift >> 1; y = x >> shift; if (y != 0) { n = n - shift; x = y; } } return @as(i32, @intCast(n - @as(T, @bitCast(x)))); } }.f; } fn __clzsi2_thumb1() callconv(.Naked) void { @setRuntimeSafety(false); // Similar to the generic version with the last two rounds replaced by a LUT asm volatile ( \\ movs r1, #32 \\ lsrs r2, r0, #16 \\ beq 1f \\ subs r1, #16 \\ movs r0, r2 \\ 1: \\ lsrs r2, r0, #8 \\ beq 1f \\ subs r1, #8 \\ movs r0, r2 \\ 1: \\ lsrs r2, r0, #4 \\ beq 1f \\ subs r1, #4 \\ movs r0, r2 \\ 1: \\ ldr r3, =LUT \\ ldrb r0, [r3, r0] \\ subs r0, r1, r0 \\ bx lr \\ .p2align 2 \\ // Number of bits set in the 0-15 range \\ LUT: \\ .byte 0,1,2,2,3,3,3,3,4,4,4,4,4,4,4,4 ); unreachable; } fn __clzsi2_arm32() callconv(.Naked) void { @setRuntimeSafety(false); asm volatile ( \\ // Assumption: n != 0 \\ // r0: n \\ // r1: count of leading zeros in n + 1 \\ // r2: scratch register for shifted r0 \\ mov r1, #1 \\ \\ // Basic block: \\ // if ((r0 >> SHIFT) == 0) \\ // r1 += SHIFT; \\ // else \\ // r0 >>= SHIFT; \\ // for descending powers of two as SHIFT. \\ lsrs r2, r0, #16 \\ movne r0, r2 \\ addeq r1, #16 \\ \\ lsrs r2, r0, #8 \\ movne r0, r2 \\ addeq r1, #8 \\ \\ lsrs r2, r0, #4 \\ movne r0, r2 \\ addeq r1, #4 \\ \\ lsrs r2, r0, #2 \\ movne r0, r2 \\ addeq r1, #2 \\ \\ // The basic block invariants at this point are (r0 >> 2) == 0 and \\ // r0 != 0. This means 1 <= r0 <= 3 and 0 <= (r0 >> 1) <= 1. \\ // \\ // r0 | (r0 >> 1) == 0 | (r0 >> 1) == 1 | -(r0 >> 1) | 1 - (r0 >> 1)f \\ // ---+----------------+----------------+------------+-------------- \\ // 1 | 1 | 0 | 0 | 1 \\ // 2 | 0 | 1 | -1 | 0 \\ // 3 | 0 | 1 | -1 | 0 \\ // \\ // The r1's initial value of 1 compensates for the 1 here. \\ sub r0, r1, r0, lsr #1 \\ bx lr ); unreachable; } pub const __clzsi2 = impl: { switch (builtin.cpu.arch) { .arm, .armeb, .thumb, .thumbeb => { const use_thumb1 = (builtin.cpu.arch.isThumb() or std.Target.arm.featureSetHas(builtin.cpu.features, .noarm)) and !std.Target.arm.featureSetHas(builtin.cpu.features, .thumb2); if (use_thumb1) { break :impl __clzsi2_thumb1; } // From here on we're either targeting Thumb2 or ARM. else if (!builtin.cpu.arch.isThumb()) { break :impl __clzsi2_arm32; } // Use the generic implementation otherwise. else break :impl clzXi2_generic(i32); }, else => break :impl clzXi2_generic(i32), } }; pub const __clzdi2 = impl: { switch (builtin.cpu.arch) { // TODO architecture optimised versions else => break :impl clzXi2_generic(i64), } }; pub const __clzti2 = impl: { switch (builtin.cpu.arch) { // TODO architecture optimised versions else => break :impl clzXi2_generic(i128), } }; test { _ = @import("clzsi2_test.zig"); _ = @import("clzdi2_test.zig"); _ = @import("clzti2_test.zig"); }
0
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special/compiler_rt/divsf3.zig
// Ported from: // // https://github.com/llvm/llvm-project/commit/d674d96bc56c0f377879d01c9d8dfdaaa7859cdb/compiler-rt/lib/builtins/divsf3.c const std = @import("std"); const builtin = @import("builtin"); pub fn __divsf3(a: f32, b: f32) callconv(.C) f32 { @setRuntimeSafety(builtin.is_test); const Z = std.meta.Int(.unsigned, 32); const significandBits = std.math.floatMantissaBits(f32); const exponentBits = std.math.floatExponentBits(f32); const signBit = (@as(Z, 1) << (significandBits + exponentBits)); const maxExponent = ((1 << exponentBits) - 1); const exponentBias = (maxExponent >> 1); const implicitBit = (@as(Z, 1) << significandBits); const quietBit = implicitBit >> 1; const significandMask = implicitBit - 1; const absMask = signBit - 1; const exponentMask = absMask ^ significandMask; const qnanRep = exponentMask | quietBit; const infRep = @as(Z, @bitCast(std.math.inf(f32))); const aExponent = @as(u32, @truncate((@as(Z, @bitCast(a)) >> significandBits) & maxExponent)); const bExponent = @as(u32, @truncate((@as(Z, @bitCast(b)) >> significandBits) & maxExponent)); const quotientSign: Z = (@as(Z, @bitCast(a)) ^ @as(Z, @bitCast(b))) & signBit; var aSignificand: Z = @as(Z, @bitCast(a)) & significandMask; var bSignificand: Z = @as(Z, @bitCast(b)) & significandMask; var scale: i32 = 0; // Detect if a or b is zero, denormal, infinity, or NaN. if (aExponent -% 1 >= maxExponent -% 1 or bExponent -% 1 >= maxExponent -% 1) { const aAbs: Z = @as(Z, @bitCast(a)) & absMask; const bAbs: Z = @as(Z, @bitCast(b)) & absMask; // NaN / anything = qNaN if (aAbs > infRep) return @as(f32, @bitCast(@as(Z, @bitCast(a)) | quietBit)); // anything / NaN = qNaN if (bAbs > infRep) return @as(f32, @bitCast(@as(Z, @bitCast(b)) | quietBit)); if (aAbs == infRep) { // infinity / infinity = NaN if (bAbs == infRep) { return @as(f32, @bitCast(qnanRep)); } // infinity / anything else = +/- infinity else { return @as(f32, @bitCast(aAbs | quotientSign)); } } // anything else / infinity = +/- 0 if (bAbs == infRep) return @as(f32, @bitCast(quotientSign)); if (aAbs == 0) { // zero / zero = NaN if (bAbs == 0) { return @as(f32, @bitCast(qnanRep)); } // zero / anything else = +/- zero else { return @as(f32, @bitCast(quotientSign)); } } // anything else / zero = +/- infinity if (bAbs == 0) return @as(f32, @bitCast(infRep | quotientSign)); // one or both of a or b is denormal, the other (if applicable) is a // normal number. Renormalize one or both of a and b, and set scale to // include the necessary exponent adjustment. if (aAbs < implicitBit) scale +%= normalize(f32, &aSignificand); if (bAbs < implicitBit) scale -%= normalize(f32, &bSignificand); } // Or in the implicit significand bit. (If we fell through from the // denormal path it was already set by normalize( ), but setting it twice // won't hurt anything.) aSignificand |= implicitBit; bSignificand |= implicitBit; var quotientExponent: i32 = @as(i32, @bitCast(aExponent -% bExponent)) +% scale; // Align the significand of b as a Q31 fixed-point number in the range // [1, 2.0) and get a Q32 approximate reciprocal using a small minimax // polynomial approximation: reciprocal = 3/4 + 1/sqrt(2) - b/2. This // is accurate to about 3.5 binary digits. const q31b = bSignificand << 8; var reciprocal = @as(u32, 0x7504f333) -% q31b; // Now refine the reciprocal estimate using a Newton-Raphson iteration: // // x1 = x0 * (2 - x0 * b) // // This doubles the number of correct binary digits in the approximation // with each iteration, so after three iterations, we have about 28 binary // digits of accuracy. var correction: u32 = undefined; correction = @as(u32, @truncate(~(@as(u64, reciprocal) *% q31b >> 32) +% 1)); reciprocal = @as(u32, @truncate(@as(u64, reciprocal) *% correction >> 31)); correction = @as(u32, @truncate(~(@as(u64, reciprocal) *% q31b >> 32) +% 1)); reciprocal = @as(u32, @truncate(@as(u64, reciprocal) *% correction >> 31)); correction = @as(u32, @truncate(~(@as(u64, reciprocal) *% q31b >> 32) +% 1)); reciprocal = @as(u32, @truncate(@as(u64, reciprocal) *% correction >> 31)); // Exhaustive testing shows that the error in reciprocal after three steps // is in the interval [-0x1.f58108p-31, 0x1.d0e48cp-29], in line with our // expectations. We bump the reciprocal by a tiny value to force the error // to be strictly positive (in the range [0x1.4fdfp-37,0x1.287246p-29], to // be specific). This also causes 1/1 to give a sensible approximation // instead of zero (due to overflow). reciprocal -%= 2; // The numerical reciprocal is accurate to within 2^-28, lies in the // interval [0x1.000000eep-1, 0x1.fffffffcp-1], and is strictly smaller // than the true reciprocal of b. Multiplying a by this reciprocal thus // gives a numerical q = a/b in Q24 with the following properties: // // 1. q < a/b // 2. q is in the interval [0x1.000000eep-1, 0x1.fffffffcp0) // 3. the error in q is at most 2^-24 + 2^-27 -- the 2^24 term comes // from the fact that we truncate the product, and the 2^27 term // is the error in the reciprocal of b scaled by the maximum // possible value of a. As a consequence of this error bound, // either q or nextafter(q) is the correctly rounded var quotient: Z = @as(u32, @truncate(@as(u64, reciprocal) *% (aSignificand << 1) >> 32)); // Two cases: quotient is in [0.5, 1.0) or quotient is in [1.0, 2.0). // In either case, we are going to compute a residual of the form // // r = a - q*b // // We know from the construction of q that r satisfies: // // 0 <= r < ulp(q)*b // // if r is greater than 1/2 ulp(q)*b, then q rounds up. Otherwise, we // already have the correct result. The exact halfway case cannot occur. // We also take this time to right shift quotient if it falls in the [1,2) // range and adjust the exponent accordingly. var residual: Z = undefined; if (quotient < (implicitBit << 1)) { residual = (aSignificand << 24) -% quotient *% bSignificand; quotientExponent -%= 1; } else { quotient >>= 1; residual = (aSignificand << 23) -% quotient *% bSignificand; } const writtenExponent = quotientExponent +% exponentBias; if (writtenExponent >= maxExponent) { // If we have overflowed the exponent, return infinity. return @as(f32, @bitCast(infRep | quotientSign)); } else if (writtenExponent < 1) { if (writtenExponent == 0) { // Check whether the rounded result is normal. const round = @intFromBool((residual << 1) > bSignificand); // Clear the implicit bit. var absResult = quotient & significandMask; // Round. absResult += round; if ((absResult & ~significandMask) > 0) { // The rounded result is normal; return it. return @as(f32, @bitCast(absResult | quotientSign)); } } // Flush denormals to zero. In the future, it would be nice to add // code to round them correctly. return @as(f32, @bitCast(quotientSign)); } else { const round = @intFromBool((residual << 1) > bSignificand); // Clear the implicit bit var absResult = quotient & significandMask; // Insert the exponent absResult |= @as(Z, @bitCast(writtenExponent)) << significandBits; // Round absResult +%= round; // Insert the sign and return return @as(f32, @bitCast(absResult | quotientSign)); } } fn normalize(comptime T: type, significand: *std.meta.Int(.unsigned, @typeInfo(T).Float.bits)) i32 { @setRuntimeSafety(builtin.is_test); const Z = std.meta.Int(.unsigned, @typeInfo(T).Float.bits); const significandBits = std.math.floatMantissaBits(T); const implicitBit = @as(Z, 1) << significandBits; const shift = @clz(significand.*) - @clz(implicitBit); significand.* <<= @as(std.math.Log2Int(Z), @intCast(shift)); return 1 - shift; } pub fn __aeabi_fdiv(a: f32, b: f32) callconv(.AAPCS) f32 { @setRuntimeSafety(false); return @call(.{ .modifier = .always_inline }, __divsf3, .{ a, b }); } test { _ = @import("divsf3_test.zig"); }
0
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special/compiler_rt/fixsfsi.zig
const fixint = @import("fixint.zig").fixint; const builtin = @import("builtin"); pub fn __fixsfsi(a: f32) callconv(.C) i32 { @setRuntimeSafety(builtin.is_test); return fixint(f32, i32, a); } pub fn __aeabi_f2iz(a: f32) callconv(.AAPCS) i32 { @setRuntimeSafety(false); return @call(.{ .modifier = .always_inline }, __fixsfsi, .{a}); } test { _ = @import("fixsfsi_test.zig"); }
0
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special/compiler_rt/mulodi4_test.zig
const __mulodi4 = @import("mulodi4.zig").__mulodi4; const testing = @import("std").testing; fn test__mulodi4(a: i64, b: i64, expected: i64, expected_overflow: c_int) !void { var overflow: c_int = undefined; const x = __mulodi4(a, b, &overflow); try testing.expect(overflow == expected_overflow and (expected_overflow != 0 or x == expected)); } test "mulodi4" { try test__mulodi4(0, 0, 0, 0); try test__mulodi4(0, 1, 0, 0); try test__mulodi4(1, 0, 0, 0); try test__mulodi4(0, 10, 0, 0); try test__mulodi4(10, 0, 0, 0); try test__mulodi4(0, 81985529216486895, 0, 0); try test__mulodi4(81985529216486895, 0, 0, 0); try test__mulodi4(0, -1, 0, 0); try test__mulodi4(-1, 0, 0, 0); try test__mulodi4(0, -10, 0, 0); try test__mulodi4(-10, 0, 0, 0); try test__mulodi4(0, -81985529216486895, 0, 0); try test__mulodi4(-81985529216486895, 0, 0, 0); try test__mulodi4(1, 1, 1, 0); try test__mulodi4(1, 10, 10, 0); try test__mulodi4(10, 1, 10, 0); try test__mulodi4(1, 81985529216486895, 81985529216486895, 0); try test__mulodi4(81985529216486895, 1, 81985529216486895, 0); try test__mulodi4(1, -1, -1, 0); try test__mulodi4(1, -10, -10, 0); try test__mulodi4(-10, 1, -10, 0); try test__mulodi4(1, -81985529216486895, -81985529216486895, 0); try test__mulodi4(-81985529216486895, 1, -81985529216486895, 0); try test__mulodi4(3037000499, 3037000499, 9223372030926249001, 0); try test__mulodi4(-3037000499, 3037000499, -9223372030926249001, 0); try test__mulodi4(3037000499, -3037000499, -9223372030926249001, 0); try test__mulodi4(-3037000499, -3037000499, 9223372030926249001, 0); try test__mulodi4(4398046511103, 2097152, 9223372036852678656, 0); try test__mulodi4(-4398046511103, 2097152, -9223372036852678656, 0); try test__mulodi4(4398046511103, -2097152, -9223372036852678656, 0); try test__mulodi4(-4398046511103, -2097152, 9223372036852678656, 0); try test__mulodi4(2097152, 4398046511103, 9223372036852678656, 0); try test__mulodi4(-2097152, 4398046511103, -9223372036852678656, 0); try test__mulodi4(2097152, -4398046511103, -9223372036852678656, 0); try test__mulodi4(-2097152, -4398046511103, 9223372036852678656, 0); try test__mulodi4(0x7FFFFFFFFFFFFFFF, -2, 2, 1); try test__mulodi4(-2, 0x7FFFFFFFFFFFFFFF, 2, 1); try test__mulodi4(0x7FFFFFFFFFFFFFFF, -1, @as(i64, @bitCast(@as(u64, 0x8000000000000001))), 0); try test__mulodi4(-1, 0x7FFFFFFFFFFFFFFF, @as(i64, @bitCast(@as(u64, 0x8000000000000001))), 0); try test__mulodi4(0x7FFFFFFFFFFFFFFF, 0, 0, 0); try test__mulodi4(0, 0x7FFFFFFFFFFFFFFF, 0, 0); try test__mulodi4(0x7FFFFFFFFFFFFFFF, 1, 0x7FFFFFFFFFFFFFFF, 0); try test__mulodi4(1, 0x7FFFFFFFFFFFFFFF, 0x7FFFFFFFFFFFFFFF, 0); try test__mulodi4(0x7FFFFFFFFFFFFFFF, 2, @as(i64, @bitCast(@as(u64, 0x8000000000000001))), 1); try test__mulodi4(2, 0x7FFFFFFFFFFFFFFF, @as(i64, @bitCast(@as(u64, 0x8000000000000001))), 1); try test__mulodi4(@as(i64, @bitCast(@as(u64, 0x8000000000000000))), -2, @as(i64, @bitCast(@as(u64, 0x8000000000000000))), 1); try test__mulodi4(-2, @as(i64, @bitCast(@as(u64, 0x8000000000000000))), @as(i64, @bitCast(@as(u64, 0x8000000000000000))), 1); try test__mulodi4(@as(i64, @bitCast(@as(u64, 0x8000000000000000))), -1, @as(i64, @bitCast(@as(u64, 0x8000000000000000))), 1); try test__mulodi4(-1, @as(i64, @bitCast(@as(u64, 0x8000000000000000))), @as(i64, @bitCast(@as(u64, 0x8000000000000000))), 1); try test__mulodi4(@as(i64, @bitCast(@as(u64, 0x8000000000000000))), 0, 0, 0); try test__mulodi4(0, @as(i64, @bitCast(@as(u64, 0x8000000000000000))), 0, 0); try test__mulodi4(@as(i64, @bitCast(@as(u64, 0x8000000000000000))), 1, @as(i64, @bitCast(@as(u64, 0x8000000000000000))), 0); try test__mulodi4(1, @as(i64, @bitCast(@as(u64, 0x8000000000000000))), @as(i64, @bitCast(@as(u64, 0x8000000000000000))), 0); try test__mulodi4(@as(i64, @bitCast(@as(u64, 0x8000000000000000))), 2, @as(i64, @bitCast(@as(u64, 0x8000000000000000))), 1); try test__mulodi4(2, @as(i64, @bitCast(@as(u64, 0x8000000000000000))), @as(i64, @bitCast(@as(u64, 0x8000000000000000))), 1); try test__mulodi4(@as(i64, @bitCast(@as(u64, 0x8000000000000001))), -2, @as(i64, @bitCast(@as(u64, 0x8000000000000001))), 1); try test__mulodi4(-2, @as(i64, @bitCast(@as(u64, 0x8000000000000001))), @as(i64, @bitCast(@as(u64, 0x8000000000000001))), 1); try test__mulodi4(@as(i64, @bitCast(@as(u64, 0x8000000000000001))), -1, 0x7FFFFFFFFFFFFFFF, 0); try test__mulodi4(-1, @as(i64, @bitCast(@as(u64, 0x8000000000000001))), 0x7FFFFFFFFFFFFFFF, 0); try test__mulodi4(@as(i64, @bitCast(@as(u64, 0x8000000000000001))), 0, 0, 0); try test__mulodi4(0, @as(i64, @bitCast(@as(u64, 0x8000000000000001))), 0, 0); try test__mulodi4(@as(i64, @bitCast(@as(u64, 0x8000000000000001))), 1, @as(i64, @bitCast(@as(u64, 0x8000000000000001))), 0); try test__mulodi4(1, @as(i64, @bitCast(@as(u64, 0x8000000000000001))), @as(i64, @bitCast(@as(u64, 0x8000000000000001))), 0); try test__mulodi4(@as(i64, @bitCast(@as(u64, 0x8000000000000001))), 2, @as(i64, @bitCast(@as(u64, 0x8000000000000000))), 1); try test__mulodi4(2, @as(i64, @bitCast(@as(u64, 0x8000000000000001))), @as(i64, @bitCast(@as(u64, 0x8000000000000000))), 1); }
0
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special/compiler_rt/extendXfYf2_test.zig
const builtin = @import("builtin"); const __extendhfsf2 = @import("extendXfYf2.zig").__extendhfsf2; const __extendhftf2 = @import("extendXfYf2.zig").__extendhftf2; const __extendsftf2 = @import("extendXfYf2.zig").__extendsftf2; const __extenddftf2 = @import("extendXfYf2.zig").__extenddftf2; fn test__extenddftf2(a: f64, expectedHi: u64, expectedLo: u64) !void { const x = __extenddftf2(a); const rep = @as(u128, @bitCast(x)); const hi = @as(u64, @intCast(rep >> 64)); const lo = @as(u64, @truncate(rep)); if (hi == expectedHi and lo == expectedLo) return; // test other possible NaN representation(signal NaN) if (expectedHi == 0x7fff800000000000 and expectedLo == 0x0) { if ((hi & 0x7fff000000000000) == 0x7fff000000000000 and ((hi & 0xffffffffffff) > 0 or lo > 0)) { return; } } @panic("__extenddftf2 test failure"); } fn test__extendhfsf2(a: u16, expected: u32) !void { const x = __extendhfsf2(a); const rep = @as(u32, @bitCast(x)); if (rep == expected) { if (rep & 0x7fffffff > 0x7f800000) { return; // NaN is always unequal. } if (x == @as(f32, @bitCast(expected))) { return; } } return error.TestFailure; } fn test__extendsftf2(a: f32, expectedHi: u64, expectedLo: u64) !void { const x = __extendsftf2(a); const rep = @as(u128, @bitCast(x)); const hi = @as(u64, @intCast(rep >> 64)); const lo = @as(u64, @truncate(rep)); if (hi == expectedHi and lo == expectedLo) return; // test other possible NaN representation(signal NaN) if (expectedHi == 0x7fff800000000000 and expectedLo == 0x0) { if ((hi & 0x7fff000000000000) == 0x7fff000000000000 and ((hi & 0xffffffffffff) > 0 or lo > 0)) { return; } } return error.TestFailure; } test "extenddftf2" { // qNaN try test__extenddftf2(makeQNaN64(), 0x7fff800000000000, 0x0); // NaN try test__extenddftf2(makeNaN64(0x7100000000000), 0x7fff710000000000, 0x0); // inf try test__extenddftf2(makeInf64(), 0x7fff000000000000, 0x0); // zero try test__extenddftf2(0.0, 0x0, 0x0); try test__extenddftf2(0x1.23456789abcdefp+5, 0x400423456789abcd, 0xf000000000000000); try test__extenddftf2(0x1.edcba987654321fp-9, 0x3ff6edcba9876543, 0x2000000000000000); try test__extenddftf2(0x1.23456789abcdefp+45, 0x402c23456789abcd, 0xf000000000000000); try test__extenddftf2(0x1.edcba987654321fp-45, 0x3fd2edcba9876543, 0x2000000000000000); } test "extendhfsf2" { try test__extendhfsf2(0x7e00, 0x7fc00000); // qNaN try test__extendhfsf2(0x7f00, 0x7fe00000); // sNaN // On x86 the NaN becomes quiet because the return is pushed on the x87 // stack due to ABI requirements if (builtin.target.cpu.arch != .i386 and builtin.target.os.tag == .windows) try test__extendhfsf2(0x7c01, 0x7f802000); // sNaN try test__extendhfsf2(0, 0); // 0 try test__extendhfsf2(0x8000, 0x80000000); // -0 try test__extendhfsf2(0x7c00, 0x7f800000); // inf try test__extendhfsf2(0xfc00, 0xff800000); // -inf try test__extendhfsf2(0x0001, 0x33800000); // denormal (min), 2**-24 try test__extendhfsf2(0x8001, 0xb3800000); // denormal (min), -2**-24 try test__extendhfsf2(0x03ff, 0x387fc000); // denormal (max), 2**-14 - 2**-24 try test__extendhfsf2(0x83ff, 0xb87fc000); // denormal (max), -2**-14 + 2**-24 try test__extendhfsf2(0x0400, 0x38800000); // normal (min), 2**-14 try test__extendhfsf2(0x8400, 0xb8800000); // normal (min), -2**-14 try test__extendhfsf2(0x7bff, 0x477fe000); // normal (max), 65504 try test__extendhfsf2(0xfbff, 0xc77fe000); // normal (max), -65504 try test__extendhfsf2(0x3c01, 0x3f802000); // normal, 1 + 2**-10 try test__extendhfsf2(0xbc01, 0xbf802000); // normal, -1 - 2**-10 try test__extendhfsf2(0x3555, 0x3eaaa000); // normal, approx. 1/3 try test__extendhfsf2(0xb555, 0xbeaaa000); // normal, approx. -1/3 } test "extendsftf2" { // qNaN try test__extendsftf2(makeQNaN32(), 0x7fff800000000000, 0x0); // NaN try test__extendsftf2(makeNaN32(0x410000), 0x7fff820000000000, 0x0); // inf try test__extendsftf2(makeInf32(), 0x7fff000000000000, 0x0); // zero try test__extendsftf2(0.0, 0x0, 0x0); try test__extendsftf2(0x1.23456p+5, 0x4004234560000000, 0x0); try test__extendsftf2(0x1.edcbap-9, 0x3ff6edcba0000000, 0x0); try test__extendsftf2(0x1.23456p+45, 0x402c234560000000, 0x0); try test__extendsftf2(0x1.edcbap-45, 0x3fd2edcba0000000, 0x0); } fn makeQNaN64() f64 { return @as(f64, @bitCast(@as(u64, 0x7ff8000000000000))); } fn makeInf64() f64 { return @as(f64, @bitCast(@as(u64, 0x7ff0000000000000))); } fn makeNaN64(rand: u64) f64 { return @as(f64, @bitCast(0x7ff0000000000000 | (rand & 0xfffffffffffff))); } fn makeQNaN32() f32 { return @as(f32, @bitCast(@as(u32, 0x7fc00000))); } fn makeNaN32(rand: u32) f32 { return @as(f32, @bitCast(0x7f800000 | (rand & 0x7fffff))); } fn makeInf32() f32 { return @as(f32, @bitCast(@as(u32, 0x7f800000))); } fn test__extendhftf2(a: u16, expectedHi: u64, expectedLo: u64) !void { const x = __extendhftf2(a); const rep = @as(u128, @bitCast(x)); const hi = @as(u64, @intCast(rep >> 64)); const lo = @as(u64, @truncate(rep)); if (hi == expectedHi and lo == expectedLo) return; // test other possible NaN representation(signal NaN) if (expectedHi == 0x7fff800000000000 and expectedLo == 0x0) { if ((hi & 0x7fff000000000000) == 0x7fff000000000000 and ((hi & 0xffffffffffff) > 0 or lo > 0)) { return; } } return error.TestFailure; } test "extendhftf2" { // qNaN try test__extendhftf2(0x7e00, 0x7fff800000000000, 0x0); // NaN try test__extendhftf2(0x7d00, 0x7fff400000000000, 0x0); // inf try test__extendhftf2(0x7c00, 0x7fff000000000000, 0x0); try test__extendhftf2(0xfc00, 0xffff000000000000, 0x0); // zero try test__extendhftf2(0x0000, 0x0000000000000000, 0x0); try test__extendhftf2(0x8000, 0x8000000000000000, 0x0); // denormal try test__extendhftf2(0x0010, 0x3feb000000000000, 0x0); try test__extendhftf2(0x0001, 0x3fe7000000000000, 0x0); try test__extendhftf2(0x8001, 0xbfe7000000000000, 0x0); // pi try test__extendhftf2(0x4248, 0x4000920000000000, 0x0); try test__extendhftf2(0xc248, 0xc000920000000000, 0x0); try test__extendhftf2(0x508c, 0x4004230000000000, 0x0); try test__extendhftf2(0x1bb7, 0x3ff6edc000000000, 0x0); }
0
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special/compiler_rt/addXf3_test.zig
// Ported from: // // https://github.com/llvm/llvm-project/blob/02d85149a05cb1f6dc49f0ba7a2ceca53718ae17/compiler-rt/test/builtins/Unit/addtf3_test.c // https://github.com/llvm/llvm-project/blob/02d85149a05cb1f6dc49f0ba7a2ceca53718ae17/compiler-rt/test/builtins/Unit/subtf3_test.c const qnan128 = @as(f128, @bitCast(@as(u128, 0x7fff800000000000) << 64)); const inf128 = @as(f128, @bitCast(@as(u128, 0x7fff000000000000) << 64)); const __addtf3 = @import("addXf3.zig").__addtf3; fn test__addtf3(a: f128, b: f128, expected_hi: u64, expected_lo: u64) !void { const x = __addtf3(a, b); const rep = @as(u128, @bitCast(x)); const hi = @as(u64, @intCast(rep >> 64)); const lo = @as(u64, @truncate(rep)); if (hi == expected_hi and lo == expected_lo) { return; } // test other possible NaN representation (signal NaN) else if (expected_hi == 0x7fff800000000000 and expected_lo == 0x0) { if ((hi & 0x7fff000000000000) == 0x7fff000000000000 and ((hi & 0xffffffffffff) > 0 or lo > 0)) { return; } } return error.TestFailed; } test "addtf3" { try test__addtf3(qnan128, 0x1.23456789abcdefp+5, 0x7fff800000000000, 0x0); // NaN + any = NaN try test__addtf3(@as(f128, @bitCast((@as(u128, 0x7fff000000000000) << 64) | @as(u128, 0x800030000000))), 0x1.23456789abcdefp+5, 0x7fff800000000000, 0x0); // inf + inf = inf try test__addtf3(inf128, inf128, 0x7fff000000000000, 0x0); // inf + any = inf try test__addtf3(inf128, 0x1.2335653452436234723489432abcdefp+5, 0x7fff000000000000, 0x0); // any + any try test__addtf3(0x1.23456734245345543849abcdefp+5, 0x1.edcba52449872455634654321fp-1, 0x40042afc95c8b579, 0x61e58dd6c51eb77c); } const __subtf3 = @import("addXf3.zig").__subtf3; fn test__subtf3(a: f128, b: f128, expected_hi: u64, expected_lo: u64) !void { const x = __subtf3(a, b); const rep = @as(u128, @bitCast(x)); const hi = @as(u64, @intCast(rep >> 64)); const lo = @as(u64, @truncate(rep)); if (hi == expected_hi and lo == expected_lo) { return; } // test other possible NaN representation (signal NaN) else if (expected_hi == 0x7fff800000000000 and expected_lo == 0x0) { if ((hi & 0x7fff000000000000) == 0x7fff000000000000 and ((hi & 0xffffffffffff) > 0 or lo > 0)) { return; } } return error.TestFailed; } test "subtf3" { // qNaN - any = qNaN try test__subtf3(qnan128, 0x1.23456789abcdefp+5, 0x7fff800000000000, 0x0); // NaN + any = NaN try test__subtf3(@as(f128, @bitCast((@as(u128, 0x7fff000000000000) << 64) | @as(u128, 0x800030000000))), 0x1.23456789abcdefp+5, 0x7fff800000000000, 0x0); // inf - any = inf try test__subtf3(inf128, 0x1.23456789abcdefp+5, 0x7fff000000000000, 0x0); // any + any try test__subtf3(0x1.234567829a3bcdef5678ade36734p+5, 0x1.ee9d7c52354a6936ab8d7654321fp-1, 0x40041b8af1915166, 0xa44a7bca780a166c); }
0
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special/compiler_rt/multi3.zig
const compiler_rt = @import("../compiler_rt.zig"); const std = @import("std"); const builtin = @import("builtin"); const is_test = builtin.is_test; const native_endian = builtin.cpu.arch.endian(); // Ported from [email protected]:llvm-project/llvm-project-20170507.git // ae684fad6d34858c014c94da69c15e7774a633c3 // 2018-08-13 pub fn __multi3(a: i128, b: i128) callconv(.C) i128 { @setRuntimeSafety(is_test); const x = twords{ .all = a }; const y = twords{ .all = b }; var r = twords{ .all = __mulddi3(x.s.low, y.s.low) }; r.s.high +%= x.s.high *% y.s.low +% x.s.low *% y.s.high; return r.all; } const v128 = @import("std").meta.Vector(2, u64); pub fn __multi3_windows_x86_64(a: v128, b: v128) callconv(.C) v128 { return @as(v128, @bitCast(@call(.{ .modifier = .always_inline }, __multi3, .{ @as(i128, @bitCast(a)), @as(i128, @bitCast(b)), }))); } fn __mulddi3(a: u64, b: u64) i128 { const bits_in_dword_2 = (@sizeOf(i64) * 8) / 2; const lower_mask = ~@as(u64, 0) >> bits_in_dword_2; var r: twords = undefined; r.s.low = (a & lower_mask) *% (b & lower_mask); var t: u64 = r.s.low >> bits_in_dword_2; r.s.low &= lower_mask; t +%= (a >> bits_in_dword_2) *% (b & lower_mask); r.s.low +%= (t & lower_mask) << bits_in_dword_2; r.s.high = t >> bits_in_dword_2; t = r.s.low >> bits_in_dword_2; r.s.low &= lower_mask; t +%= (b >> bits_in_dword_2) *% (a & lower_mask); r.s.low +%= (t & lower_mask) << bits_in_dword_2; r.s.high +%= t >> bits_in_dword_2; r.s.high +%= (a >> bits_in_dword_2) *% (b >> bits_in_dword_2); return r.all; } const twords = extern union { all: i128, s: S, const S = if (native_endian == .Little) struct { low: u64, high: u64, } else struct { high: u64, low: u64, }; }; test { _ = @import("multi3_test.zig"); }
0
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special/compiler_rt/mulXf3_test.zig
// Ported from: // // https://github.com/llvm/llvm-project/blob/2ffb1b0413efa9a24eb3c49e710e36f92e2cb50b/compiler-rt/test/builtins/Unit/multf3_test.c const qnan128 = @as(f128, @bitCast(@as(u128, 0x7fff800000000000) << 64)); const inf128 = @as(f128, @bitCast(@as(u128, 0x7fff000000000000) << 64)); const __multf3 = @import("mulXf3.zig").__multf3; // return true if equal // use two 64-bit integers intead of one 128-bit integer // because 128-bit integer constant can't be assigned directly fn compareResultLD(result: f128, expectedHi: u64, expectedLo: u64) bool { const rep = @as(u128, @bitCast(result)); const hi = @as(u64, @intCast(rep >> 64)); const lo = @as(u64, @truncate(rep)); if (hi == expectedHi and lo == expectedLo) { return true; } // test other possible NaN representation(signal NaN) if (expectedHi == 0x7fff800000000000 and expectedLo == 0x0) { if ((hi & 0x7fff000000000000) == 0x7fff000000000000 and ((hi & 0xffffffffffff) > 0 or lo > 0)) { return true; } } return false; } fn test__multf3(a: f128, b: f128, expected_hi: u64, expected_lo: u64) !void { const x = __multf3(a, b); if (compareResultLD(x, expected_hi, expected_lo)) return; @panic("__multf3 test failure"); } fn makeNaN128(rand: u64) f128 { const int_result = @as(u128, 0x7fff000000000000 | (rand & 0xffffffffffff)) << 64; const float_result = @as(f128, @bitCast(int_result)); return float_result; } test "multf3" { // qNaN * any = qNaN try test__multf3(qnan128, 0x1.23456789abcdefp+5, 0x7fff800000000000, 0x0); // NaN * any = NaN const a = makeNaN128(0x800030000000); try test__multf3(a, 0x1.23456789abcdefp+5, 0x7fff800000000000, 0x0); // inf * any = inf try test__multf3(inf128, 0x1.23456789abcdefp+5, 0x7fff000000000000, 0x0); // any * any try test__multf3( @as(f128, @bitCast(@as(u128, 0x40042eab345678439abcdefea5678234))), @as(f128, @bitCast(@as(u128, 0x3ffeedcb34a235253948765432134675))), 0x400423e7f9e3c9fc, 0xd906c2c2a85777c4, ); try test__multf3( @as(f128, @bitCast(@as(u128, 0x3fcd353e45674d89abacc3a2ebf3ff50))), @as(f128, @bitCast(@as(u128, 0x3ff6ed8764648369535adf4be3214568))), 0x3fc52a163c6223fc, 0xc94c4bf0430768b4, ); try test__multf3( 0x1.234425696abcad34a35eeffefdcbap+456, 0x451.ed98d76e5d46e5f24323dff21ffp+600, 0x44293a91de5e0e94, 0xe8ed17cc2cdf64ac, ); try test__multf3( @as(f128, @bitCast(@as(u128, 0x3f154356473c82a9fabf2d22ace345df))), @as(f128, @bitCast(@as(u128, 0x3e38eda98765476743ab21da23d45679))), 0x3d4f37c1a3137cae, 0xfc6807048bc2836a, ); try test__multf3(0x1.23456734245345p-10000, 0x1.edcba524498724p-6497, 0x0, 0x0); // Denormal operands. try test__multf3( 0x0.0000000000000000000000000001p-16382, 0x1p16383, 0x3f90000000000000, 0x0, ); try test__multf3( 0x1p16383, 0x0.0000000000000000000000000001p-16382, 0x3f90000000000000, 0x0, ); }
0
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special/compiler_rt/fixunsdfsi.zig
const fixuint = @import("fixuint.zig").fixuint; const builtin = @import("builtin"); pub fn __fixunsdfsi(a: f64) callconv(.C) u32 { @setRuntimeSafety(builtin.is_test); return fixuint(f64, u32, a); } pub fn __aeabi_d2uiz(arg: f64) callconv(.AAPCS) u32 { @setRuntimeSafety(false); return @call(.{ .modifier = .always_inline }, __fixunsdfsi, .{arg}); } test { _ = @import("fixunsdfsi_test.zig"); }
0
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special/compiler_rt/floatunsidf.zig
const builtin = @import("builtin"); const std = @import("std"); const maxInt = std.math.maxInt; const implicitBit = @as(u64, 1) << 52; pub fn __floatunsidf(arg: u32) callconv(.C) f64 { @setRuntimeSafety(builtin.is_test); if (arg == 0) return 0.0; // The exponent is the width of abs(a) const exp = @as(u64, 31) - @clz(arg); // Shift a into the significand field and clear the implicit bit const shift = @as(u6, @intCast(52 - exp)); const mant = @as(u64, arg) << shift ^ implicitBit; return @as(f64, @bitCast(mant | (exp + 1023) << 52)); } pub fn __aeabi_ui2d(arg: u32) callconv(.AAPCS) f64 { @setRuntimeSafety(false); return @call(.{ .modifier = .always_inline }, __floatunsidf, .{arg}); } fn test_one_floatunsidf(a: u32, expected: u64) !void { const r = __floatunsidf(a); try std.testing.expect(@as(u64, @bitCast(r)) == expected); } test "floatsidf" { // Test the produced bit pattern try test_one_floatunsidf(0, 0x0000000000000000); try test_one_floatunsidf(1, 0x3ff0000000000000); try test_one_floatunsidf(0x7FFFFFFF, 0x41dfffffffc00000); try test_one_floatunsidf(@as(u32, @intCast(0x80000000)), 0x41e0000000000000); try test_one_floatunsidf(@as(u32, @intCast(0xFFFFFFFF)), 0x41efffffffe00000); }
0
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special/compiler_rt/fixsfdi.zig
const fixint = @import("fixint.zig").fixint; const builtin = @import("builtin"); pub fn __fixsfdi(a: f32) callconv(.C) i64 { @setRuntimeSafety(builtin.is_test); return fixint(f32, i64, a); } pub fn __aeabi_f2lz(arg: f32) callconv(.AAPCS) i64 { @setRuntimeSafety(false); return @call(.{ .modifier = .always_inline }, __fixsfdi, .{arg}); } test { _ = @import("fixsfdi_test.zig"); }
0
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special/compiler_rt/modti3_test.zig
const __modti3 = @import("modti3.zig").__modti3; const testing = @import("std").testing; fn test__modti3(a: i128, b: i128, expected: i128) !void { const x = __modti3(a, b); try testing.expect(x == expected); } test "modti3" { try test__modti3(0, 1, 0); try test__modti3(0, -1, 0); try test__modti3(5, 3, 2); try test__modti3(5, -3, 2); try test__modti3(-5, 3, -2); try test__modti3(-5, -3, -2); try test__modti3(0x8000000000000000, 1, 0x0); try test__modti3(0x8000000000000000, -1, 0x0); try test__modti3(0x8000000000000000, 2, 0x0); try test__modti3(0x8000000000000000, -2, 0x0); try test__modti3(0x8000000000000000, 3, 2); try test__modti3(0x8000000000000000, -3, 2); try test__modti3(make_ti(0x8000000000000000, 0), 1, 0x0); try test__modti3(make_ti(0x8000000000000000, 0), -1, 0x0); try test__modti3(make_ti(0x8000000000000000, 0), 2, 0x0); try test__modti3(make_ti(0x8000000000000000, 0), -2, 0x0); try test__modti3(make_ti(0x8000000000000000, 0), 3, -2); try test__modti3(make_ti(0x8000000000000000, 0), -3, -2); } fn make_ti(high: u64, low: u64) i128 { var result: u128 = high; result <<= 64; result |= low; return @as(i128, @bitCast(result)); }
0
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special/compiler_rt/divdf3_test.zig
// Ported from: // // https://github.com/llvm/llvm-project/commit/d674d96bc56c0f377879d01c9d8dfdaaa7859cdb/compiler-rt/test/builtins/Unit/divdf3_test.c const __divdf3 = @import("divdf3.zig").__divdf3; const testing = @import("std").testing; fn compareResultD(result: f64, expected: u64) bool { const rep = @as(u64, @bitCast(result)); if (rep == expected) { return true; } // test other possible NaN representation(signal NaN) else if (expected == 0x7ff8000000000000) { if ((rep & 0x7ff0000000000000) == 0x7ff0000000000000 and (rep & 0xfffffffffffff) > 0) { return true; } } return false; } fn test__divdf3(a: f64, b: f64, expected: u64) !void { const x = __divdf3(a, b); const ret = compareResultD(x, expected); try testing.expect(ret == true); } test "divdf3" { try test__divdf3(1.0, 3.0, 0x3fd5555555555555); try test__divdf3(4.450147717014403e-308, 2.0, 0x10000000000000); }
0
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special/compiler_rt/umodti3.zig
const udivmodti4 = @import("udivmodti4.zig"); const builtin = @import("builtin"); const compiler_rt = @import("../compiler_rt.zig"); pub fn __umodti3(a: u128, b: u128) callconv(.C) u128 { @setRuntimeSafety(builtin.is_test); var r: u128 = undefined; _ = udivmodti4.__udivmodti4(a, b, &r); return r; } const v128 = @import("std").meta.Vector(2, u64); pub fn __umodti3_windows_x86_64(a: v128, b: v128) callconv(.C) v128 { return @as(v128, @bitCast(@call(.{ .modifier = .always_inline }, __umodti3, .{ @as(u128, @bitCast(a)), @as(u128, @bitCast(b)), }))); }
0
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special/compiler_rt/clzti2_test.zig
const clz = @import("count0bits.zig"); const testing = @import("std").testing; fn test__clzti2(a: u128, expected: i64) !void { // XXX At high optimization levels this test may be horribly miscompiled if // one of the naked implementations is selected. var nakedClzti2 = clz.__clzti2; var actualClzti2 = @as(fn (a: i128) callconv(.C) i32, @ptrCast(nakedClzti2)); var x = @as(i128, @bitCast(a)); var result = actualClzti2(x); try testing.expectEqual(expected, result); } test "clzti2" { try test__clzti2(0x00800000_00000000_00000000_00000000, 8); try test__clzti2(0x01000000_00000000_00000000_00000000, 7); try test__clzti2(0x02000000_00000000_00000000_00000000, 6); try test__clzti2(0x03000000_00000000_00000000_00000000, 6); try test__clzti2(0x04000000_00000000_00000000_00000000, 5); try test__clzti2(0x05000000_00000000_00000000_00000000, 5); try test__clzti2(0x06000000_00000000_00000000_00000000, 5); try test__clzti2(0x07000000_00000000_00000000_00000000, 5); try test__clzti2(0x08000000_00000000_00000000_00000000, 4); try test__clzti2(0x09000000_00000000_00000000_00000000, 4); try test__clzti2(0x0A000000_00000000_00000000_00000000, 4); try test__clzti2(0x0B000000_00000000_00000000_00000000, 4); try test__clzti2(0x0C000000_00000000_00000000_00000000, 4); try test__clzti2(0x0D000000_00000000_00000000_00000000, 4); try test__clzti2(0x0E000000_00000000_00000000_00000000, 4); try test__clzti2(0x0F000000_00000000_00000000_00000000, 4); try test__clzti2(0x10000000_00000000_00000000_00000000, 3); try test__clzti2(0x11000000_00000000_00000000_00000000, 3); try test__clzti2(0x12000000_00000000_00000000_00000000, 3); try test__clzti2(0x13000000_00000000_00000000_00000000, 3); try test__clzti2(0x14000000_00000000_00000000_00000000, 3); try test__clzti2(0x15000000_00000000_00000000_00000000, 3); try test__clzti2(0x16000000_00000000_00000000_00000000, 3); try test__clzti2(0x17000000_00000000_00000000_00000000, 3); try test__clzti2(0x18000000_00000000_00000000_00000000, 3); try test__clzti2(0x19000000_00000000_00000000_00000000, 3); try test__clzti2(0x1A000000_00000000_00000000_00000000, 3); try test__clzti2(0x1B000000_00000000_00000000_00000000, 3); try test__clzti2(0x1C000000_00000000_00000000_00000000, 3); try test__clzti2(0x1D000000_00000000_00000000_00000000, 3); try test__clzti2(0x1E000000_00000000_00000000_00000000, 3); try test__clzti2(0x1F000000_00000000_00000000_00000000, 3); try test__clzti2(0x20000000_00000000_00000000_00000000, 2); try test__clzti2(0x21000000_00000000_00000000_00000000, 2); try test__clzti2(0x22000000_00000000_00000000_00000000, 2); try test__clzti2(0x23000000_00000000_00000000_00000000, 2); try test__clzti2(0x24000000_00000000_00000000_00000000, 2); try test__clzti2(0x25000000_00000000_00000000_00000000, 2); try test__clzti2(0x26000000_00000000_00000000_00000000, 2); try test__clzti2(0x27000000_00000000_00000000_00000000, 2); try test__clzti2(0x28000000_00000000_00000000_00000000, 2); try test__clzti2(0x29000000_00000000_00000000_00000000, 2); try test__clzti2(0x2A000000_00000000_00000000_00000000, 2); try test__clzti2(0x2B000000_00000000_00000000_00000000, 2); try test__clzti2(0x2C000000_00000000_00000000_00000000, 2); try test__clzti2(0x2D000000_00000000_00000000_00000000, 2); try test__clzti2(0x2E000000_00000000_00000000_00000000, 2); try test__clzti2(0x2F000000_00000000_00000000_00000000, 2); try test__clzti2(0x30000000_00000000_00000000_00000000, 2); try test__clzti2(0x31000000_00000000_00000000_00000000, 2); try test__clzti2(0x32000000_00000000_00000000_00000000, 2); try test__clzti2(0x33000000_00000000_00000000_00000000, 2); try test__clzti2(0x34000000_00000000_00000000_00000000, 2); try test__clzti2(0x35000000_00000000_00000000_00000000, 2); try test__clzti2(0x36000000_00000000_00000000_00000000, 2); try test__clzti2(0x37000000_00000000_00000000_00000000, 2); try test__clzti2(0x38000000_00000000_00000000_00000000, 2); try test__clzti2(0x39000000_00000000_00000000_00000000, 2); try test__clzti2(0x3A000000_00000000_00000000_00000000, 2); try test__clzti2(0x3B000000_00000000_00000000_00000000, 2); try test__clzti2(0x3C000000_00000000_00000000_00000000, 2); try test__clzti2(0x3D000000_00000000_00000000_00000000, 2); try test__clzti2(0x3E000000_00000000_00000000_00000000, 2); try test__clzti2(0x3F000000_00000000_00000000_00000000, 2); try test__clzti2(0x40000000_00000000_00000000_00000000, 1); try test__clzti2(0x41000000_00000000_00000000_00000000, 1); try test__clzti2(0x42000000_00000000_00000000_00000000, 1); try test__clzti2(0x43000000_00000000_00000000_00000000, 1); try test__clzti2(0x44000000_00000000_00000000_00000000, 1); try test__clzti2(0x45000000_00000000_00000000_00000000, 1); try test__clzti2(0x46000000_00000000_00000000_00000000, 1); try test__clzti2(0x47000000_00000000_00000000_00000000, 1); try test__clzti2(0x48000000_00000000_00000000_00000000, 1); try test__clzti2(0x49000000_00000000_00000000_00000000, 1); try test__clzti2(0x4A000000_00000000_00000000_00000000, 1); try test__clzti2(0x4B000000_00000000_00000000_00000000, 1); try test__clzti2(0x4C000000_00000000_00000000_00000000, 1); try test__clzti2(0x4D000000_00000000_00000000_00000000, 1); try test__clzti2(0x4E000000_00000000_00000000_00000000, 1); try test__clzti2(0x4F000000_00000000_00000000_00000000, 1); try test__clzti2(0x50000000_00000000_00000000_00000000, 1); try test__clzti2(0x51000000_00000000_00000000_00000000, 1); try test__clzti2(0x52000000_00000000_00000000_00000000, 1); try test__clzti2(0x53000000_00000000_00000000_00000000, 1); try test__clzti2(0x54000000_00000000_00000000_00000000, 1); try test__clzti2(0x55000000_00000000_00000000_00000000, 1); try test__clzti2(0x56000000_00000000_00000000_00000000, 1); try test__clzti2(0x57000000_00000000_00000000_00000000, 1); try test__clzti2(0x58000000_00000000_00000000_00000000, 1); try test__clzti2(0x59000000_00000000_00000000_00000000, 1); try test__clzti2(0x5A000000_00000000_00000000_00000000, 1); try test__clzti2(0x5B000000_00000000_00000000_00000000, 1); try test__clzti2(0x5C000000_00000000_00000000_00000000, 1); try test__clzti2(0x5D000000_00000000_00000000_00000000, 1); try test__clzti2(0x5E000000_00000000_00000000_00000000, 1); try test__clzti2(0x5F000000_00000000_00000000_00000000, 1); try test__clzti2(0x60000000_00000000_00000000_00000000, 1); try test__clzti2(0x61000000_00000000_00000000_00000000, 1); try test__clzti2(0x62000000_00000000_00000000_00000000, 1); try test__clzti2(0x63000000_00000000_00000000_00000000, 1); try test__clzti2(0x64000000_00000000_00000000_00000000, 1); try test__clzti2(0x65000000_00000000_00000000_00000000, 1); try test__clzti2(0x66000000_00000000_00000000_00000000, 1); try test__clzti2(0x67000000_00000000_00000000_00000000, 1); try test__clzti2(0x68000000_00000000_00000000_00000000, 1); try test__clzti2(0x69000000_00000000_00000000_00000000, 1); try test__clzti2(0x6A000000_00000000_00000000_00000000, 1); try test__clzti2(0x6B000000_00000000_00000000_00000000, 1); try test__clzti2(0x6C000000_00000000_00000000_00000000, 1); try test__clzti2(0x6D000000_00000000_00000000_00000000, 1); try test__clzti2(0x6E000000_00000000_00000000_00000000, 1); try test__clzti2(0x6F000000_00000000_00000000_00000000, 1); try test__clzti2(0x70000000_00000000_00000000_00000000, 1); try test__clzti2(0x71000000_00000000_00000000_00000000, 1); try test__clzti2(0x72000000_00000000_00000000_00000000, 1); try test__clzti2(0x73000000_00000000_00000000_00000000, 1); try test__clzti2(0x74000000_00000000_00000000_00000000, 1); try test__clzti2(0x75000000_00000000_00000000_00000000, 1); try test__clzti2(0x76000000_00000000_00000000_00000000, 1); try test__clzti2(0x77000000_00000000_00000000_00000000, 1); try test__clzti2(0x78000000_00000000_00000000_00000000, 1); try test__clzti2(0x79000000_00000000_00000000_00000000, 1); try test__clzti2(0x7A000000_00000000_00000000_00000000, 1); try test__clzti2(0x7B000000_00000000_00000000_00000000, 1); try test__clzti2(0x7C000000_00000000_00000000_00000000, 1); try test__clzti2(0x7D000000_00000000_00000000_00000000, 1); try test__clzti2(0x7E000000_00000000_00000000_00000000, 1); try test__clzti2(0x7F000000_00000000_00000000_00000000, 1); try test__clzti2(0x80000000_00000000_00000000_00000000, 0); try test__clzti2(0x81000000_00000000_00000000_00000000, 0); try test__clzti2(0x82000000_00000000_00000000_00000000, 0); try test__clzti2(0x83000000_00000000_00000000_00000000, 0); try test__clzti2(0x84000000_00000000_00000000_00000000, 0); try test__clzti2(0x85000000_00000000_00000000_00000000, 0); try test__clzti2(0x86000000_00000000_00000000_00000000, 0); try test__clzti2(0x87000000_00000000_00000000_00000000, 0); try test__clzti2(0x88000000_00000000_00000000_00000000, 0); try test__clzti2(0x89000000_00000000_00000000_00000000, 0); try test__clzti2(0x8A000000_00000000_00000000_00000000, 0); try test__clzti2(0x8B000000_00000000_00000000_00000000, 0); try test__clzti2(0x8C000000_00000000_00000000_00000000, 0); try test__clzti2(0x8D000000_00000000_00000000_00000000, 0); try test__clzti2(0x8E000000_00000000_00000000_00000000, 0); try test__clzti2(0x8F000000_00000000_00000000_00000000, 0); try test__clzti2(0x90000000_00000000_00000000_00000000, 0); try test__clzti2(0x91000000_00000000_00000000_00000000, 0); try test__clzti2(0x92000000_00000000_00000000_00000000, 0); try test__clzti2(0x93000000_00000000_00000000_00000000, 0); try test__clzti2(0x94000000_00000000_00000000_00000000, 0); try test__clzti2(0x95000000_00000000_00000000_00000000, 0); try test__clzti2(0x96000000_00000000_00000000_00000000, 0); try test__clzti2(0x97000000_00000000_00000000_00000000, 0); try test__clzti2(0x98000000_00000000_00000000_00000000, 0); try test__clzti2(0x99000000_00000000_00000000_00000000, 0); try test__clzti2(0x9A000000_00000000_00000000_00000000, 0); try test__clzti2(0x9B000000_00000000_00000000_00000000, 0); try test__clzti2(0x9C000000_00000000_00000000_00000000, 0); try test__clzti2(0x9D000000_00000000_00000000_00000000, 0); try test__clzti2(0x9E000000_00000000_00000000_00000000, 0); try test__clzti2(0x9F000000_00000000_00000000_00000000, 0); try test__clzti2(0xA0000000_00000000_00000000_00000000, 0); try test__clzti2(0xA1000000_00000000_00000000_00000000, 0); try test__clzti2(0xA2000000_00000000_00000000_00000000, 0); try test__clzti2(0xA3000000_00000000_00000000_00000000, 0); try test__clzti2(0xA4000000_00000000_00000000_00000000, 0); try test__clzti2(0xA5000000_00000000_00000000_00000000, 0); try test__clzti2(0xA6000000_00000000_00000000_00000000, 0); try test__clzti2(0xA7000000_00000000_00000000_00000000, 0); try test__clzti2(0xA8000000_00000000_00000000_00000000, 0); try test__clzti2(0xA9000000_00000000_00000000_00000000, 0); try test__clzti2(0xAA000000_00000000_00000000_00000000, 0); try test__clzti2(0xAB000000_00000000_00000000_00000000, 0); try test__clzti2(0xAC000000_00000000_00000000_00000000, 0); try test__clzti2(0xAD000000_00000000_00000000_00000000, 0); try test__clzti2(0xAE000000_00000000_00000000_00000000, 0); try test__clzti2(0xAF000000_00000000_00000000_00000000, 0); try test__clzti2(0xB0000000_00000000_00000000_00000000, 0); try test__clzti2(0xB1000000_00000000_00000000_00000000, 0); try test__clzti2(0xB2000000_00000000_00000000_00000000, 0); try test__clzti2(0xB3000000_00000000_00000000_00000000, 0); try test__clzti2(0xB4000000_00000000_00000000_00000000, 0); try test__clzti2(0xB5000000_00000000_00000000_00000000, 0); try test__clzti2(0xB6000000_00000000_00000000_00000000, 0); try test__clzti2(0xB7000000_00000000_00000000_00000000, 0); try test__clzti2(0xB8000000_00000000_00000000_00000000, 0); try test__clzti2(0xB9000000_00000000_00000000_00000000, 0); try test__clzti2(0xBA000000_00000000_00000000_00000000, 0); try test__clzti2(0xBB000000_00000000_00000000_00000000, 0); try test__clzti2(0xBC000000_00000000_00000000_00000000, 0); try test__clzti2(0xBD000000_00000000_00000000_00000000, 0); try test__clzti2(0xBE000000_00000000_00000000_00000000, 0); try test__clzti2(0xBF000000_00000000_00000000_00000000, 0); try test__clzti2(0xC0000000_00000000_00000000_00000000, 0); try test__clzti2(0xC1000000_00000000_00000000_00000000, 0); try test__clzti2(0xC2000000_00000000_00000000_00000000, 0); try test__clzti2(0xC3000000_00000000_00000000_00000000, 0); try test__clzti2(0xC4000000_00000000_00000000_00000000, 0); try test__clzti2(0xC5000000_00000000_00000000_00000000, 0); try test__clzti2(0xC6000000_00000000_00000000_00000000, 0); try test__clzti2(0xC7000000_00000000_00000000_00000000, 0); try test__clzti2(0xC8000000_00000000_00000000_00000000, 0); try test__clzti2(0xC9000000_00000000_00000000_00000000, 0); try test__clzti2(0xCA000000_00000000_00000000_00000000, 0); try test__clzti2(0xCB000000_00000000_00000000_00000000, 0); try test__clzti2(0xCC000000_00000000_00000000_00000000, 0); try test__clzti2(0xCD000000_00000000_00000000_00000000, 0); try test__clzti2(0xCE000000_00000000_00000000_00000000, 0); try test__clzti2(0xCF000000_00000000_00000000_00000000, 0); try test__clzti2(0xD0000000_00000000_00000000_00000000, 0); try test__clzti2(0xD1000000_00000000_00000000_00000000, 0); try test__clzti2(0xD2000000_00000000_00000000_00000000, 0); try test__clzti2(0xD3000000_00000000_00000000_00000000, 0); try test__clzti2(0xD4000000_00000000_00000000_00000000, 0); try test__clzti2(0xD5000000_00000000_00000000_00000000, 0); try test__clzti2(0xD6000000_00000000_00000000_00000000, 0); try test__clzti2(0xD7000000_00000000_00000000_00000000, 0); try test__clzti2(0xD8000000_00000000_00000000_00000000, 0); try test__clzti2(0xD9000000_00000000_00000000_00000000, 0); try test__clzti2(0xDA000000_00000000_00000000_00000000, 0); try test__clzti2(0xDB000000_00000000_00000000_00000000, 0); try test__clzti2(0xDC000000_00000000_00000000_00000000, 0); try test__clzti2(0xDD000000_00000000_00000000_00000000, 0); try test__clzti2(0xDE000000_00000000_00000000_00000000, 0); try test__clzti2(0xDF000000_00000000_00000000_00000000, 0); try test__clzti2(0xE0000000_00000000_00000000_00000000, 0); try test__clzti2(0xE1000000_00000000_00000000_00000000, 0); try test__clzti2(0xE2000000_00000000_00000000_00000000, 0); try test__clzti2(0xE3000000_00000000_00000000_00000000, 0); try test__clzti2(0xE4000000_00000000_00000000_00000000, 0); try test__clzti2(0xE5000000_00000000_00000000_00000000, 0); try test__clzti2(0xE6000000_00000000_00000000_00000000, 0); try test__clzti2(0xE7000000_00000000_00000000_00000000, 0); try test__clzti2(0xE8000000_00000000_00000000_00000000, 0); try test__clzti2(0xE9000000_00000000_00000000_00000000, 0); try test__clzti2(0xEA000000_00000000_00000000_00000000, 0); try test__clzti2(0xEB000000_00000000_00000000_00000000, 0); try test__clzti2(0xEC000000_00000000_00000000_00000000, 0); try test__clzti2(0xED000000_00000000_00000000_00000000, 0); try test__clzti2(0xEE000000_00000000_00000000_00000000, 0); try test__clzti2(0xEF000000_00000000_00000000_00000000, 0); try test__clzti2(0xF0000000_00000000_00000000_00000000, 0); try test__clzti2(0xF1000000_00000000_00000000_00000000, 0); try test__clzti2(0xF2000000_00000000_00000000_00000000, 0); try test__clzti2(0xF3000000_00000000_00000000_00000000, 0); try test__clzti2(0xF4000000_00000000_00000000_00000000, 0); try test__clzti2(0xF5000000_00000000_00000000_00000000, 0); try test__clzti2(0xF6000000_00000000_00000000_00000000, 0); try test__clzti2(0xF7000000_00000000_00000000_00000000, 0); try test__clzti2(0xF8000000_00000000_00000000_00000000, 0); try test__clzti2(0xF9000000_00000000_00000000_00000000, 0); try test__clzti2(0xFA000000_00000000_00000000_00000000, 0); try test__clzti2(0xFB000000_00000000_00000000_00000000, 0); try test__clzti2(0xFC000000_00000000_00000000_00000000, 0); try test__clzti2(0xFD000000_00000000_00000000_00000000, 0); try test__clzti2(0xFE000000_00000000_00000000_00000000, 0); try test__clzti2(0xFF000000_00000000_00000000_00000000, 0); try test__clzti2(0x00000000_00000000_00000000_00000000, 128); try test__clzti2(0x00000000_00000000_00000000_00000001, 127); try test__clzti2(0x00000000_00000000_00000000_00000002, 126); try test__clzti2(0x00000000_00000000_00000000_00000004, 125); try test__clzti2(0x00000000_00000000_00000000_00000008, 124); try test__clzti2(0x00000000_00000000_00000000_00000010, 123); try test__clzti2(0x00000000_00000000_00000000_00000020, 122); try test__clzti2(0x00000000_00000000_00000000_00000040, 121); try test__clzti2(0x00000000_00000000_00000000_00000080, 120); try test__clzti2(0x00000000_00000000_00000000_00000100, 119); try test__clzti2(0x00000000_00000000_00000000_00000200, 118); try test__clzti2(0x00000000_00000000_00000000_00000400, 117); try test__clzti2(0x00000000_00000000_00000000_00000800, 116); try test__clzti2(0x00000000_00000000_00000000_00001000, 115); try test__clzti2(0x00000000_00000000_00000000_00002000, 114); try test__clzti2(0x00000000_00000000_00000000_00004000, 113); try test__clzti2(0x00000000_00000000_00000000_00008000, 112); try test__clzti2(0x00000000_00000000_00000000_00010000, 111); try test__clzti2(0x00000000_00000000_00000000_00020000, 110); try test__clzti2(0x00000000_00000000_00000000_00040000, 109); try test__clzti2(0x00000000_00000000_00000000_00080000, 108); try test__clzti2(0x00000000_00000000_00000000_00100000, 107); try test__clzti2(0x00000000_00000000_00000000_00200000, 106); try test__clzti2(0x00000000_00000000_00000000_00400000, 105); try test__clzti2(0x00000000_00000000_00000000_00800000, 104); try test__clzti2(0x00000000_00000000_00000000_01000000, 103); try test__clzti2(0x00000000_00000000_00000000_02000000, 102); try test__clzti2(0x00000000_00000000_00000000_04000000, 101); try test__clzti2(0x00000000_00000000_00000000_08000000, 100); try test__clzti2(0x00000000_00000000_00000000_10000000, 99); try test__clzti2(0x00000000_00000000_00000000_20000000, 98); try test__clzti2(0x00000000_00000000_00000000_40000000, 97); try test__clzti2(0x00000000_00000000_00000000_80000000, 96); try test__clzti2(0x00000000_00000000_00000001_00000000, 95); try test__clzti2(0x00000000_00000000_00000002_00000000, 94); try test__clzti2(0x00000000_00000000_00000004_00000000, 93); try test__clzti2(0x00000000_00000000_00000008_00000000, 92); try test__clzti2(0x00000000_00000000_00000010_00000000, 91); try test__clzti2(0x00000000_00000000_00000020_00000000, 90); try test__clzti2(0x00000000_00000000_00000040_00000000, 89); try test__clzti2(0x00000000_00000000_00000080_00000000, 88); try test__clzti2(0x00000000_00000000_00000100_00000000, 87); try test__clzti2(0x00000000_00000000_00000200_00000000, 86); try test__clzti2(0x00000000_00000000_00000400_00000000, 85); try test__clzti2(0x00000000_00000000_00000800_00000000, 84); try test__clzti2(0x00000000_00000000_00001000_00000000, 83); try test__clzti2(0x00000000_00000000_00002000_00000000, 82); try test__clzti2(0x00000000_00000000_00004000_00000000, 81); try test__clzti2(0x00000000_00000000_00008000_00000000, 80); try test__clzti2(0x00000000_00000000_00010000_00000000, 79); try test__clzti2(0x00000000_00000000_00020000_00000000, 78); try test__clzti2(0x00000000_00000000_00040000_00000000, 77); try test__clzti2(0x00000000_00000000_00080000_00000000, 76); try test__clzti2(0x00000000_00000000_00100000_00000000, 75); try test__clzti2(0x00000000_00000000_00200000_00000000, 74); try test__clzti2(0x00000000_00000000_00400000_00000000, 73); try test__clzti2(0x00000000_00000000_00800000_00000000, 72); try test__clzti2(0x00000000_00000000_01000000_00000000, 71); try test__clzti2(0x00000000_00000000_02000000_00000000, 70); try test__clzti2(0x00000000_00000000_04000000_00000000, 69); try test__clzti2(0x00000000_00000000_08000000_00000000, 68); try test__clzti2(0x00000000_00000000_10000000_00000000, 67); try test__clzti2(0x00000000_00000000_20000000_00000000, 66); try test__clzti2(0x00000000_00000000_40000000_00000000, 65); try test__clzti2(0x00000000_00000000_80000000_00000000, 64); try test__clzti2(0x00000000_00000001_00000000_00000000, 63); try test__clzti2(0x00000000_00000002_00000000_00000000, 62); try test__clzti2(0x00000000_00000004_00000000_00000000, 61); try test__clzti2(0x00000000_00000008_00000000_00000000, 60); try test__clzti2(0x00000000_00000010_00000000_00000000, 59); try test__clzti2(0x00000000_00000020_00000000_00000000, 58); try test__clzti2(0x00000000_00000040_00000000_00000000, 57); try test__clzti2(0x00000000_00000080_00000000_00000000, 56); try test__clzti2(0x00000000_00000100_00000000_00000000, 55); try test__clzti2(0x00000000_00000200_00000000_00000000, 54); try test__clzti2(0x00000000_00000400_00000000_00000000, 53); try test__clzti2(0x00000000_00000800_00000000_00000000, 52); try test__clzti2(0x00000000_00001000_00000000_00000000, 51); try test__clzti2(0x00000000_00002000_00000000_00000000, 50); try test__clzti2(0x00000000_00004000_00000000_00000000, 49); try test__clzti2(0x00000000_00008000_00000000_00000000, 48); try test__clzti2(0x00000000_00010000_00000000_00000000, 47); try test__clzti2(0x00000000_00020000_00000000_00000000, 46); try test__clzti2(0x00000000_00040000_00000000_00000000, 45); try test__clzti2(0x00000000_00080000_00000000_00000000, 44); try test__clzti2(0x00000000_00100000_00000000_00000000, 43); try test__clzti2(0x00000000_00200000_00000000_00000000, 42); try test__clzti2(0x00000000_00400000_00000000_00000000, 41); try test__clzti2(0x00000000_00800000_00000000_00000000, 40); try test__clzti2(0x00000000_01000000_00000000_00000000, 39); try test__clzti2(0x00000000_02000000_00000000_00000000, 38); try test__clzti2(0x00000000_04000000_00000000_00000000, 37); try test__clzti2(0x00000000_08000000_00000000_00000000, 36); try test__clzti2(0x00000000_10000000_00000000_00000000, 35); try test__clzti2(0x00000000_20000000_00000000_00000000, 34); try test__clzti2(0x00000000_40000000_00000000_00000000, 33); try test__clzti2(0x00000000_80000000_00000000_00000000, 32); try test__clzti2(0x00000001_00000000_00000000_00000000, 31); try test__clzti2(0x00000002_00000000_00000000_00000000, 30); try test__clzti2(0x00000004_00000000_00000000_00000000, 29); try test__clzti2(0x00000008_00000000_00000000_00000000, 28); try test__clzti2(0x00000010_00000000_00000000_00000000, 27); try test__clzti2(0x00000020_00000000_00000000_00000000, 26); try test__clzti2(0x00000040_00000000_00000000_00000000, 25); try test__clzti2(0x00000080_00000000_00000000_00000000, 24); try test__clzti2(0x00000100_00000000_00000000_00000000, 23); try test__clzti2(0x00000200_00000000_00000000_00000000, 22); try test__clzti2(0x00000400_00000000_00000000_00000000, 21); try test__clzti2(0x00000800_00000000_00000000_00000000, 20); try test__clzti2(0x00001000_00000000_00000000_00000000, 19); try test__clzti2(0x00002000_00000000_00000000_00000000, 18); try test__clzti2(0x00004000_00000000_00000000_00000000, 17); try test__clzti2(0x00008000_00000000_00000000_00000000, 16); try test__clzti2(0x00010000_00000000_00000000_00000000, 15); try test__clzti2(0x00020000_00000000_00000000_00000000, 14); try test__clzti2(0x00040000_00000000_00000000_00000000, 13); try test__clzti2(0x00080000_00000000_00000000_00000000, 12); try test__clzti2(0x00100000_00000000_00000000_00000000, 11); try test__clzti2(0x00200000_00000000_00000000_00000000, 10); try test__clzti2(0x00400000_00000000_00000000_00000000, 9); }
0
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special/compiler_rt/lshrti3_test.zig
const __lshrti3 = @import("shift.zig").__lshrti3; const testing = @import("std").testing; fn test__lshrti3(a: i128, b: i32, expected: i128) !void { const x = __lshrti3(a, b); try testing.expectEqual(expected, x); } test "lshrti3" { try test__lshrti3(@as(i128, @bitCast(@as(u128, @intCast(0xFEDCBA9876543215FEDCBA9876543215)))), 0, @as(i128, @bitCast(@as(u128, @intCast(0xFEDCBA9876543215FEDCBA9876543215))))); try test__lshrti3(@as(i128, @bitCast(@as(u128, @intCast(0xFEDCBA9876543215FEDCBA9876543215)))), 1, @as(i128, @bitCast(@as(u128, @intCast(0x7F6E5D4C3B2A190AFF6E5D4C3B2A190A))))); try test__lshrti3(@as(i128, @bitCast(@as(u128, @intCast(0xFEDCBA9876543215FEDCBA9876543215)))), 2, @as(i128, @bitCast(@as(u128, @intCast(0x3FB72EA61D950C857FB72EA61D950C85))))); try test__lshrti3(@as(i128, @bitCast(@as(u128, @intCast(0xFEDCBA9876543215FEDCBA9876543215)))), 3, @as(i128, @bitCast(@as(u128, @intCast(0x1FDB97530ECA8642BFDB97530ECA8642))))); try test__lshrti3(@as(i128, @bitCast(@as(u128, @intCast(0xFEDCBA9876543215FEDCBA9876543215)))), 4, @as(i128, @bitCast(@as(u128, @intCast(0x0FEDCBA9876543215FEDCBA987654321))))); try test__lshrti3(@as(i128, @bitCast(@as(u128, @intCast(0xFEDCBA9876543215FEDCBA9876543215)))), 28, @as(i128, @bitCast(@as(u128, @intCast(0x0000000FEDCBA9876543215FEDCBA987))))); try test__lshrti3(@as(i128, @bitCast(@as(u128, @intCast(0xFEDCBA9876543215FEDCBA9876543215)))), 29, @as(i128, @bitCast(@as(u128, @intCast(0x00000007F6E5D4C3B2A190AFF6E5D4C3))))); try test__lshrti3(@as(i128, @bitCast(@as(u128, @intCast(0xFEDCBA9876543215FEDCBA9876543215)))), 30, @as(i128, @bitCast(@as(u128, @intCast(0x00000003FB72EA61D950C857FB72EA61))))); try test__lshrti3(@as(i128, @bitCast(@as(u128, @intCast(0xFEDCBA9876543215FEDCBA9876543215)))), 31, @as(i128, @bitCast(@as(u128, @intCast(0x00000001FDB97530ECA8642BFDB97530))))); try test__lshrti3(@as(i128, @bitCast(@as(u128, @intCast(0xFEDCBA9876543215FEDCBA9876543215)))), 32, @as(i128, @bitCast(@as(u128, @intCast(0x00000000FEDCBA9876543215FEDCBA98))))); try test__lshrti3(@as(i128, @bitCast(@as(u128, @intCast(0xFEDCBA9876543215FEDCBA9876543215)))), 33, @as(i128, @bitCast(@as(u128, @intCast(0x000000007F6E5D4C3B2A190AFF6E5D4C))))); try test__lshrti3(@as(i128, @bitCast(@as(u128, @intCast(0xFEDCBA9876543215FEDCBA9876543215)))), 34, @as(i128, @bitCast(@as(u128, @intCast(0x000000003FB72EA61D950C857FB72EA6))))); try test__lshrti3(@as(i128, @bitCast(@as(u128, @intCast(0xFEDCBA9876543215FEDCBA9876543215)))), 35, @as(i128, @bitCast(@as(u128, @intCast(0x000000001FDB97530ECA8642BFDB9753))))); try test__lshrti3(@as(i128, @bitCast(@as(u128, @intCast(0xFEDCBA9876543215FEDCBA9876543215)))), 36, @as(i128, @bitCast(@as(u128, @intCast(0x000000000FEDCBA9876543215FEDCBA9))))); try test__lshrti3(@as(i128, @bitCast(@as(u128, @intCast(0xFEDCBA9876543215FEDCBA9876543215)))), 60, @as(i128, @bitCast(@as(u128, @intCast(0x000000000000000FEDCBA9876543215F))))); try test__lshrti3(@as(i128, @bitCast(@as(u128, @intCast(0xFEDCBA9876543215FEDCBA9876543215)))), 61, @as(i128, @bitCast(@as(u128, @intCast(0x0000000000000007F6E5D4C3B2A190AF))))); try test__lshrti3(@as(i128, @bitCast(@as(u128, @intCast(0xFEDCBA9876543215FEDCBA9876543215)))), 62, @as(i128, @bitCast(@as(u128, @intCast(0x0000000000000003FB72EA61D950C857))))); try test__lshrti3(@as(i128, @bitCast(@as(u128, @intCast(0xFEDCBA9876543215FEDCBA9876543215)))), 63, @as(i128, @bitCast(@as(u128, @intCast(0x0000000000000001FDB97530ECA8642B))))); try test__lshrti3(@as(i128, @bitCast(@as(u128, @intCast(0xFEDCBA9876543215FEDCBA9876543215)))), 64, @as(i128, @bitCast(@as(u128, @intCast(0x0000000000000000FEDCBA9876543215))))); try test__lshrti3(@as(i128, @bitCast(@as(u128, @intCast(0xFEDCBA9876543215FEDCBA9876543215)))), 65, @as(i128, @bitCast(@as(u128, @intCast(0x00000000000000007F6E5D4C3B2A190A))))); try test__lshrti3(@as(i128, @bitCast(@as(u128, @intCast(0xFEDCBA9876543215FEDCBA9876543215)))), 66, @as(i128, @bitCast(@as(u128, @intCast(0x00000000000000003FB72EA61D950C85))))); try test__lshrti3(@as(i128, @bitCast(@as(u128, @intCast(0xFEDCBA9876543215FEDCBA9876543215)))), 67, @as(i128, @bitCast(@as(u128, @intCast(0x00000000000000001FDB97530ECA8642))))); try test__lshrti3(@as(i128, @bitCast(@as(u128, @intCast(0xFEDCBA9876543215FEDCBA9876543215)))), 68, @as(i128, @bitCast(@as(u128, @intCast(0x00000000000000000FEDCBA987654321))))); try test__lshrti3(@as(i128, @bitCast(@as(u128, @intCast(0xFEDCBA9876543215FEDCBA9876543215)))), 92, @as(i128, @bitCast(@as(u128, @intCast(0x00000000000000000000000FEDCBA987))))); try test__lshrti3(@as(i128, @bitCast(@as(u128, @intCast(0xFEDCBA9876543215FEDCBA9876543215)))), 93, @as(i128, @bitCast(@as(u128, @intCast(0x000000000000000000000007F6E5D4C3))))); try test__lshrti3(@as(i128, @bitCast(@as(u128, @intCast(0xFEDCBA9876543215FEDCBA9876543215)))), 94, @as(i128, @bitCast(@as(u128, @intCast(0x000000000000000000000003FB72EA61))))); try test__lshrti3(@as(i128, @bitCast(@as(u128, @intCast(0xFEDCBA9876543215FEDCBA9876543215)))), 95, @as(i128, @bitCast(@as(u128, @intCast(0x000000000000000000000001FDB97530))))); try test__lshrti3(@as(i128, @bitCast(@as(u128, @intCast(0xFEDCBA9876543215FEDCBA9876543215)))), 96, @as(i128, @bitCast(@as(u128, @intCast(0x000000000000000000000000FEDCBA98))))); try test__lshrti3(@as(i128, @bitCast(@as(u128, @intCast(0xFEDCBA9876543215FEDCBA9876543215)))), 97, @as(i128, @bitCast(@as(u128, @intCast(0x0000000000000000000000007F6E5D4C))))); try test__lshrti3(@as(i128, @bitCast(@as(u128, @intCast(0xFEDCBA9876543215FEDCBA9876543215)))), 98, @as(i128, @bitCast(@as(u128, @intCast(0x0000000000000000000000003FB72EA6))))); try test__lshrti3(@as(i128, @bitCast(@as(u128, @intCast(0xFEDCBA9876543215FEDCBA9876543215)))), 99, @as(i128, @bitCast(@as(u128, @intCast(0x0000000000000000000000001FDB9753))))); try test__lshrti3(@as(i128, @bitCast(@as(u128, @intCast(0xFEDCBA9876543215FEDCBA9876543215)))), 100, @as(i128, @bitCast(@as(u128, @intCast(0x0000000000000000000000000FEDCBA9))))); try test__lshrti3(@as(i128, @bitCast(@as(u128, @intCast(0xFEDCBA9876543215FEDCBA9876543215)))), 124, @as(i128, @bitCast(@as(u128, @intCast(0x0000000000000000000000000000000F))))); try test__lshrti3(@as(i128, @bitCast(@as(u128, @intCast(0xFEDCBA9876543215FEDCBA9876543215)))), 125, @as(i128, @bitCast(@as(u128, @intCast(0x00000000000000000000000000000007))))); try test__lshrti3(@as(i128, @bitCast(@as(u128, @intCast(0xFEDCBA9876543215FEDCBA9876543215)))), 126, @as(i128, @bitCast(@as(u128, @intCast(0x00000000000000000000000000000003))))); try test__lshrti3(@as(i128, @bitCast(@as(u128, @intCast(0xFEDCBA9876543215FEDCBA9876543215)))), 127, @as(i128, @bitCast(@as(u128, @intCast(0x00000000000000000000000000000001))))); }
0
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special/compiler_rt/fixunstfti_test.zig
const __fixunstfti = @import("fixunstfti.zig").__fixunstfti; const testing = @import("std").testing; fn test__fixunstfti(a: f128, expected: u128) !void { const x = __fixunstfti(a); try testing.expect(x == expected); } const inf128 = @as(f128, @bitCast(@as(u128, 0x7fff0000000000000000000000000000))); test "fixunstfti" { try test__fixunstfti(inf128, 0xffffffffffffffffffffffffffffffff); try test__fixunstfti(0.0, 0); try test__fixunstfti(0.5, 0); try test__fixunstfti(0.99, 0); try test__fixunstfti(1.0, 1); try test__fixunstfti(1.5, 1); try test__fixunstfti(1.99, 1); try test__fixunstfti(2.0, 2); try test__fixunstfti(2.01, 2); try test__fixunstfti(-0.01, 0); try test__fixunstfti(-0.99, 0); try test__fixunstfti(0x1p+128, 0xffffffffffffffffffffffffffffffff); try test__fixunstfti(0x1.FFFFFEp+126, 0x7fffff80000000000000000000000000); try test__fixunstfti(0x1.FFFFFEp+127, 0xffffff00000000000000000000000000); try test__fixunstfti(0x1.FFFFFEp+128, 0xffffffffffffffffffffffffffffffff); try test__fixunstfti(0x1.FFFFFEp+129, 0xffffffffffffffffffffffffffffffff); }
0
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special/compiler_rt/aullrem.zig
const builtin = @import("builtin"); pub fn _allrem(a: i64, b: i64) callconv(.Stdcall) i64 { @setRuntimeSafety(builtin.is_test); const s_a = a >> (64 - 1); const s_b = b >> (64 - 1); const an = (a ^ s_a) -% s_a; const bn = (b ^ s_b) -% s_b; const r = @as(u64, @bitCast(an)) % @as(u64, @bitCast(bn)); const s = s_a ^ s_b; return (@as(i64, @bitCast(r)) ^ s) -% s; } pub fn _aullrem() callconv(.Naked) void { @setRuntimeSafety(false); // The stack layout is: // ESP+16 divisor (hi) // ESP+12 divisor (low) // ESP+8 dividend (hi) // ESP+4 dividend (low) // ESP return address asm volatile ( \\ push %%ebx \\ mov 0x14(%%esp),%%eax \\ or %%eax,%%eax \\ jne 1f \\ mov 0x10(%%esp),%%ecx \\ mov 0xc(%%esp),%%eax \\ xor %%edx,%%edx \\ div %%ecx \\ mov 0x8(%%esp),%%eax \\ div %%ecx \\ mov %%edx,%%eax \\ xor %%edx,%%edx \\ jmp 6f \\ 1: \\ mov %%eax,%%ecx \\ mov 0x10(%%esp),%%ebx \\ mov 0xc(%%esp),%%edx \\ mov 0x8(%%esp),%%eax \\ 2: \\ shr %%ecx \\ rcr %%ebx \\ shr %%edx \\ rcr %%eax \\ or %%ecx,%%ecx \\ jne 2b \\ div %%ebx \\ mov %%eax,%%ecx \\ mull 0x14(%%esp) \\ xchg %%eax,%%ecx \\ mull 0x10(%%esp) \\ add %%ecx,%%edx \\ jb 3f \\ cmp 0xc(%%esp),%%edx \\ ja 3f \\ jb 4f \\ cmp 0x8(%%esp),%%eax \\ jbe 4f \\ 3: \\ sub 0x10(%%esp),%%eax \\ sbb 0x14(%%esp),%%edx \\ 4: \\ sub 0x8(%%esp),%%eax \\ sbb 0xc(%%esp),%%edx \\ neg %%edx \\ neg %%eax \\ sbb $0x0,%%edx \\ 6: \\ pop %%ebx \\ ret $0x10 ); }
0
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special/compiler_rt/muloti4.zig
const builtin = @import("builtin"); const compiler_rt = @import("../compiler_rt.zig"); pub fn __muloti4(a: i128, b: i128, overflow: *c_int) callconv(.C) i128 { @setRuntimeSafety(builtin.is_test); const min = @as(i128, @bitCast(@as(u128, 1 << (128 - 1)))); const max = ~min; overflow.* = 0; const r = a *% b; if (a == min) { if (b != 0 and b != 1) { overflow.* = 1; } return r; } if (b == min) { if (a != 0 and a != 1) { overflow.* = 1; } return r; } const sa = a >> (128 - 1); const abs_a = (a ^ sa) -% sa; const sb = b >> (128 - 1); const abs_b = (b ^ sb) -% sb; if (abs_a < 2 or abs_b < 2) { return r; } if (sa == sb) { if (abs_a > @divTrunc(max, abs_b)) { overflow.* = 1; } } else { if (abs_a > @divTrunc(min, -abs_b)) { overflow.* = 1; } } return r; } test { _ = @import("muloti4_test.zig"); }
0
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special/compiler_rt/fixunssfdi_test.zig
const __fixunssfdi = @import("fixunssfdi.zig").__fixunssfdi; const testing = @import("std").testing; fn test__fixunssfdi(a: f32, expected: u64) !void { const x = __fixunssfdi(a); try testing.expect(x == expected); } test "fixunssfdi" { try test__fixunssfdi(0.0, 0); try test__fixunssfdi(0.5, 0); try test__fixunssfdi(0.99, 0); try test__fixunssfdi(1.0, 1); try test__fixunssfdi(1.5, 1); try test__fixunssfdi(1.99, 1); try test__fixunssfdi(2.0, 2); try test__fixunssfdi(2.01, 2); try test__fixunssfdi(-0.5, 0); try test__fixunssfdi(-0.99, 0); try test__fixunssfdi(-1.0, 0); try test__fixunssfdi(-1.5, 0); try test__fixunssfdi(-1.99, 0); try test__fixunssfdi(-2.0, 0); try test__fixunssfdi(-2.01, 0); try test__fixunssfdi(0x1.FFFFFEp+63, 0xFFFFFF0000000000); try test__fixunssfdi(0x1.000000p+63, 0x8000000000000000); try test__fixunssfdi(0x1.FFFFFEp+62, 0x7FFFFF8000000000); try test__fixunssfdi(0x1.FFFFFCp+62, 0x7FFFFF0000000000); try test__fixunssfdi(-0x1.FFFFFEp+62, 0x0000000000000000); try test__fixunssfdi(-0x1.FFFFFCp+62, 0x0000000000000000); }
0
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special/compiler_rt/fixunssfti_test.zig
const __fixunssfti = @import("fixunssfti.zig").__fixunssfti; const testing = @import("std").testing; fn test__fixunssfti(a: f32, expected: u128) !void { const x = __fixunssfti(a); try testing.expect(x == expected); } test "fixunssfti" { try test__fixunssfti(0.0, 0); try test__fixunssfti(0.5, 0); try test__fixunssfti(0.99, 0); try test__fixunssfti(1.0, 1); try test__fixunssfti(1.5, 1); try test__fixunssfti(1.99, 1); try test__fixunssfti(2.0, 2); try test__fixunssfti(2.01, 2); try test__fixunssfti(-0.5, 0); try test__fixunssfti(-0.99, 0); try test__fixunssfti(-1.0, 0); try test__fixunssfti(-1.5, 0); try test__fixunssfti(-1.99, 0); try test__fixunssfti(-2.0, 0); try test__fixunssfti(-2.01, 0); try test__fixunssfti(0x1.FFFFFEp+63, 0xFFFFFF0000000000); try test__fixunssfti(0x1.000000p+63, 0x8000000000000000); try test__fixunssfti(0x1.FFFFFEp+62, 0x7FFFFF8000000000); try test__fixunssfti(0x1.FFFFFCp+62, 0x7FFFFF0000000000); try test__fixunssfti(0x1.FFFFFEp+127, 0xFFFFFF00000000000000000000000000); try test__fixunssfti(0x1.000000p+127, 0x80000000000000000000000000000000); try test__fixunssfti(0x1.FFFFFEp+126, 0x7FFFFF80000000000000000000000000); try test__fixunssfti(0x1.FFFFFCp+126, 0x7FFFFF00000000000000000000000000); try test__fixunssfti(-0x1.FFFFFEp+62, 0x0000000000000000); try test__fixunssfti(-0x1.FFFFFCp+62, 0x0000000000000000); try test__fixunssfti(-0x1.FFFFFEp+126, 0x0000000000000000); try test__fixunssfti(-0x1.FFFFFCp+126, 0x0000000000000000); }
0
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special/compiler_rt/fixdfti_test.zig
const __fixdfti = @import("fixdfti.zig").__fixdfti; const std = @import("std"); const math = std.math; const testing = std.testing; const warn = std.debug.warn; fn test__fixdfti(a: f64, expected: i128) !void { const x = __fixdfti(a); //warn("a={}:{x} x={}:{x} expected={}:{x}:@as(u64, {x})\n", .{a, @bitCast(u64, a), x, x, expected, expected, @bitCast(u128, expected)}); try testing.expect(x == expected); } test "fixdfti" { //warn("\n", .{}); try test__fixdfti(-math.f64_max, math.minInt(i128)); try test__fixdfti(-0x1.FFFFFFFFFFFFFp+1023, math.minInt(i128)); try test__fixdfti(-0x1.FFFFFFFFFFFFFp+1023, -0x80000000000000000000000000000000); try test__fixdfti(-0x1.0000000000000p+127, -0x80000000000000000000000000000000); try test__fixdfti(-0x1.FFFFFFFFFFFFFp+126, -0x7FFFFFFFFFFFFC000000000000000000); try test__fixdfti(-0x1.FFFFFFFFFFFFEp+126, -0x7FFFFFFFFFFFF8000000000000000000); try test__fixdfti(-0x1.0000000000001p+63, -0x8000000000000800); try test__fixdfti(-0x1.0000000000000p+63, -0x8000000000000000); try test__fixdfti(-0x1.FFFFFFFFFFFFFp+62, -0x7FFFFFFFFFFFFC00); try test__fixdfti(-0x1.FFFFFFFFFFFFEp+62, -0x7FFFFFFFFFFFF800); try test__fixdfti(-0x1.FFFFFEp+62, -0x7fffff8000000000); try test__fixdfti(-0x1.FFFFFCp+62, -0x7fffff0000000000); try test__fixdfti(-2.01, -2); try test__fixdfti(-2.0, -2); try test__fixdfti(-1.99, -1); try test__fixdfti(-1.0, -1); try test__fixdfti(-0.99, 0); try test__fixdfti(-0.5, 0); try test__fixdfti(-math.f64_min, 0); try test__fixdfti(0.0, 0); try test__fixdfti(math.f64_min, 0); try test__fixdfti(0.5, 0); try test__fixdfti(0.99, 0); try test__fixdfti(1.0, 1); try test__fixdfti(1.5, 1); try test__fixdfti(1.99, 1); try test__fixdfti(2.0, 2); try test__fixdfti(2.01, 2); try test__fixdfti(0x1.FFFFFCp+62, 0x7FFFFF0000000000); try test__fixdfti(0x1.FFFFFEp+62, 0x7FFFFF8000000000); try test__fixdfti(0x1.FFFFFFFFFFFFEp+62, 0x7FFFFFFFFFFFF800); try test__fixdfti(0x1.FFFFFFFFFFFFFp+62, 0x7FFFFFFFFFFFFC00); try test__fixdfti(0x1.0000000000000p+63, 0x8000000000000000); try test__fixdfti(0x1.0000000000001p+63, 0x8000000000000800); try test__fixdfti(0x1.FFFFFFFFFFFFEp+126, 0x7FFFFFFFFFFFF8000000000000000000); try test__fixdfti(0x1.FFFFFFFFFFFFFp+126, 0x7FFFFFFFFFFFFC000000000000000000); try test__fixdfti(0x1.0000000000000p+127, 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF); try test__fixdfti(0x1.FFFFFFFFFFFFFp+1023, 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF); try test__fixdfti(0x1.FFFFFFFFFFFFFp+1023, math.maxInt(i128)); try test__fixdfti(math.f64_max, math.maxInt(i128)); }
0
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special/compiler_rt/fixsfsi_test.zig
const __fixsfsi = @import("fixsfsi.zig").__fixsfsi; const std = @import("std"); const math = std.math; const testing = std.testing; const warn = std.debug.warn; fn test__fixsfsi(a: f32, expected: i32) !void { const x = __fixsfsi(a); //warn("a={}:{x} x={}:{x} expected={}:{x}:@as(u32, {x})\n", .{a, @bitCast(u32, a), x, x, expected, expected, @bitCast(u32, expected)}); try testing.expect(x == expected); } test "fixsfsi" { //warn("\n", .{}); try test__fixsfsi(-math.f32_max, math.minInt(i32)); try test__fixsfsi(-0x1.FFFFFFFFFFFFFp+1023, math.minInt(i32)); try test__fixsfsi(-0x1.FFFFFFFFFFFFFp+1023, -0x80000000); try test__fixsfsi(-0x1.0000000000000p+127, -0x80000000); try test__fixsfsi(-0x1.FFFFFFFFFFFFFp+126, -0x80000000); try test__fixsfsi(-0x1.FFFFFFFFFFFFEp+126, -0x80000000); try test__fixsfsi(-0x1.0000000000001p+63, -0x80000000); try test__fixsfsi(-0x1.0000000000000p+63, -0x80000000); try test__fixsfsi(-0x1.FFFFFFFFFFFFFp+62, -0x80000000); try test__fixsfsi(-0x1.FFFFFFFFFFFFEp+62, -0x80000000); try test__fixsfsi(-0x1.FFFFFEp+62, -0x80000000); try test__fixsfsi(-0x1.FFFFFCp+62, -0x80000000); try test__fixsfsi(-0x1.000000p+31, -0x80000000); try test__fixsfsi(-0x1.FFFFFFp+30, -0x80000000); try test__fixsfsi(-0x1.FFFFFEp+30, -0x7FFFFF80); try test__fixsfsi(-0x1.FFFFFCp+30, -0x7FFFFF00); try test__fixsfsi(-2.01, -2); try test__fixsfsi(-2.0, -2); try test__fixsfsi(-1.99, -1); try test__fixsfsi(-1.0, -1); try test__fixsfsi(-0.99, 0); try test__fixsfsi(-0.5, 0); try test__fixsfsi(-math.f32_min, 0); try test__fixsfsi(0.0, 0); try test__fixsfsi(math.f32_min, 0); try test__fixsfsi(0.5, 0); try test__fixsfsi(0.99, 0); try test__fixsfsi(1.0, 1); try test__fixsfsi(1.5, 1); try test__fixsfsi(1.99, 1); try test__fixsfsi(2.0, 2); try test__fixsfsi(2.01, 2); try test__fixsfsi(0x1.FFFFFCp+30, 0x7FFFFF00); try test__fixsfsi(0x1.FFFFFEp+30, 0x7FFFFF80); try test__fixsfsi(0x1.FFFFFFp+30, 0x7FFFFFFF); try test__fixsfsi(0x1.000000p+31, 0x7FFFFFFF); try test__fixsfsi(0x1.FFFFFCp+62, 0x7FFFFFFF); try test__fixsfsi(0x1.FFFFFEp+62, 0x7FFFFFFF); try test__fixsfsi(0x1.FFFFFFFFFFFFEp+62, 0x7FFFFFFF); try test__fixsfsi(0x1.FFFFFFFFFFFFFp+62, 0x7FFFFFFF); try test__fixsfsi(0x1.0000000000000p+63, 0x7FFFFFFF); try test__fixsfsi(0x1.0000000000001p+63, 0x7FFFFFFF); try test__fixsfsi(0x1.FFFFFFFFFFFFEp+126, 0x7FFFFFFF); try test__fixsfsi(0x1.FFFFFFFFFFFFFp+126, 0x7FFFFFFF); try test__fixsfsi(0x1.0000000000000p+127, 0x7FFFFFFF); try test__fixsfsi(0x1.FFFFFFFFFFFFFp+1023, 0x7FFFFFFF); try test__fixsfsi(0x1.FFFFFFFFFFFFFp+1023, math.maxInt(i32)); try test__fixsfsi(math.f32_max, math.maxInt(i32)); }
0
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special/compiler_rt/addXf3.zig
// Ported from: // // https://github.com/llvm/llvm-project/blob/02d85149a05cb1f6dc49f0ba7a2ceca53718ae17/compiler-rt/lib/builtins/fp_add_impl.inc const std = @import("std"); const builtin = @import("builtin"); const compiler_rt = @import("../compiler_rt.zig"); pub fn __addsf3(a: f32, b: f32) callconv(.C) f32 { return addXf3(f32, a, b); } pub fn __adddf3(a: f64, b: f64) callconv(.C) f64 { return addXf3(f64, a, b); } pub fn __addtf3(a: f128, b: f128) callconv(.C) f128 { return addXf3(f128, a, b); } pub fn __subsf3(a: f32, b: f32) callconv(.C) f32 { const neg_b = @as(f32, @bitCast(@as(u32, @bitCast(b)) ^ (@as(u32, 1) << 31))); return addXf3(f32, a, neg_b); } pub fn __subdf3(a: f64, b: f64) callconv(.C) f64 { const neg_b = @as(f64, @bitCast(@as(u64, @bitCast(b)) ^ (@as(u64, 1) << 63))); return addXf3(f64, a, neg_b); } pub fn __subtf3(a: f128, b: f128) callconv(.C) f128 { const neg_b = @as(f128, @bitCast(@as(u128, @bitCast(b)) ^ (@as(u128, 1) << 127))); return addXf3(f128, a, neg_b); } pub fn __aeabi_fadd(a: f32, b: f32) callconv(.AAPCS) f32 { @setRuntimeSafety(false); return @call(.{ .modifier = .always_inline }, __addsf3, .{ a, b }); } pub fn __aeabi_dadd(a: f64, b: f64) callconv(.AAPCS) f64 { @setRuntimeSafety(false); return @call(.{ .modifier = .always_inline }, __adddf3, .{ a, b }); } pub fn __aeabi_fsub(a: f32, b: f32) callconv(.AAPCS) f32 { @setRuntimeSafety(false); return @call(.{ .modifier = .always_inline }, __subsf3, .{ a, b }); } pub fn __aeabi_dsub(a: f64, b: f64) callconv(.AAPCS) f64 { @setRuntimeSafety(false); return @call(.{ .modifier = .always_inline }, __subdf3, .{ a, b }); } // TODO: restore inline keyword, see: https://github.com/ziglang/zig/issues/2154 fn normalize(comptime T: type, significand: *std.meta.Int(.unsigned, @typeInfo(T).Float.bits)) i32 { const bits = @typeInfo(T).Float.bits; const Z = std.meta.Int(.unsigned, bits); const S = std.meta.Int(.unsigned, bits - @clz(@as(Z, bits) - 1)); const significandBits = std.math.floatMantissaBits(T); const implicitBit = @as(Z, 1) << significandBits; const shift = @clz(significand.*) - @clz(implicitBit); significand.* <<= @as(S, @intCast(shift)); return 1 - shift; } // TODO: restore inline keyword, see: https://github.com/ziglang/zig/issues/2154 fn addXf3(comptime T: type, a: T, b: T) T { const bits = @typeInfo(T).Float.bits; const Z = std.meta.Int(.unsigned, bits); const S = std.meta.Int(.unsigned, bits - @clz(@as(Z, bits) - 1)); const typeWidth = bits; const significandBits = std.math.floatMantissaBits(T); const exponentBits = std.math.floatExponentBits(T); const signBit = (@as(Z, 1) << (significandBits + exponentBits)); const maxExponent = ((1 << exponentBits) - 1); const implicitBit = (@as(Z, 1) << significandBits); const quietBit = implicitBit >> 1; const significandMask = implicitBit - 1; const absMask = signBit - 1; const exponentMask = absMask ^ significandMask; const qnanRep = exponentMask | quietBit; var aRep = @as(Z, @bitCast(a)); var bRep = @as(Z, @bitCast(b)); const aAbs = aRep & absMask; const bAbs = bRep & absMask; const infRep = @as(Z, @bitCast(std.math.inf(T))); // Detect if a or b is zero, infinity, or NaN. if (aAbs -% @as(Z, 1) >= infRep - @as(Z, 1) or bAbs -% @as(Z, 1) >= infRep - @as(Z, 1)) { // NaN + anything = qNaN if (aAbs > infRep) return @as(T, @bitCast(@as(Z, @bitCast(a)) | quietBit)); // anything + NaN = qNaN if (bAbs > infRep) return @as(T, @bitCast(@as(Z, @bitCast(b)) | quietBit)); if (aAbs == infRep) { // +/-infinity + -/+infinity = qNaN if ((@as(Z, @bitCast(a)) ^ @as(Z, @bitCast(b))) == signBit) { return @as(T, @bitCast(qnanRep)); } // +/-infinity + anything remaining = +/- infinity else { return a; } } // anything remaining + +/-infinity = +/-infinity if (bAbs == infRep) return b; // zero + anything = anything if (aAbs == 0) { // but we need to get the sign right for zero + zero if (bAbs == 0) { return @as(T, @bitCast(@as(Z, @bitCast(a)) & @as(Z, @bitCast(b)))); } else { return b; } } // anything + zero = anything if (bAbs == 0) return a; } // Swap a and b if necessary so that a has the larger absolute value. if (bAbs > aAbs) { const temp = aRep; aRep = bRep; bRep = temp; } // Extract the exponent and significand from the (possibly swapped) a and b. var aExponent = @as(i32, @intCast((aRep >> significandBits) & maxExponent)); var bExponent = @as(i32, @intCast((bRep >> significandBits) & maxExponent)); var aSignificand = aRep & significandMask; var bSignificand = bRep & significandMask; // Normalize any denormals, and adjust the exponent accordingly. if (aExponent == 0) aExponent = normalize(T, &aSignificand); if (bExponent == 0) bExponent = normalize(T, &bSignificand); // The sign of the result is the sign of the larger operand, a. If they // have opposite signs, we are performing a subtraction; otherwise addition. const resultSign = aRep & signBit; const subtraction = (aRep ^ bRep) & signBit != 0; // Shift the significands to give us round, guard and sticky, and or in the // implicit significand bit. (If we fell through from the denormal path it // was already set by normalize( ), but setting it twice won't hurt // anything.) aSignificand = (aSignificand | implicitBit) << 3; bSignificand = (bSignificand | implicitBit) << 3; // Shift the significand of b by the difference in exponents, with a sticky // bottom bit to get rounding correct. const @"align" = @as(Z, @intCast(aExponent - bExponent)); if (@"align" != 0) { if (@"align" < typeWidth) { const sticky = if (bSignificand << @as(S, @intCast(typeWidth - @"align")) != 0) @as(Z, 1) else 0; bSignificand = (bSignificand >> @as(S, @truncate(@"align"))) | sticky; } else { bSignificand = 1; // sticky; b is known to be non-zero. } } if (subtraction) { aSignificand -= bSignificand; // If a == -b, return +zero. if (aSignificand == 0) return @as(T, @bitCast(@as(Z, 0))); // If partial cancellation occured, we need to left-shift the result // and adjust the exponent: if (aSignificand < implicitBit << 3) { const shift = @as(i32, @intCast(@clz(aSignificand))) - @as(i32, @intCast(@clz(implicitBit << 3))); aSignificand <<= @as(S, @intCast(shift)); aExponent -= shift; } } else { // addition aSignificand += bSignificand; // If the addition carried up, we need to right-shift the result and // adjust the exponent: if (aSignificand & (implicitBit << 4) != 0) { const sticky = aSignificand & 1; aSignificand = aSignificand >> 1 | sticky; aExponent += 1; } } // If we have overflowed the type, return +/- infinity: if (aExponent >= maxExponent) return @as(T, @bitCast(infRep | resultSign)); if (aExponent <= 0) { // Result is denormal before rounding; the exponent is zero and we // need to shift the significand. const shift = @as(Z, @intCast(1 - aExponent)); const sticky = if (aSignificand << @as(S, @intCast(typeWidth - shift)) != 0) @as(Z, 1) else 0; aSignificand = aSignificand >> @as(S, @intCast(shift | sticky)); aExponent = 0; } // Low three bits are round, guard, and sticky. const roundGuardSticky = aSignificand & 0x7; // Shift the significand into place, and mask off the implicit bit. var result = (aSignificand >> 3) & significandMask; // Insert the exponent and sign. result |= @as(Z, @intCast(aExponent)) << significandBits; result |= resultSign; // Final rounding. The result may overflow to infinity, but that is the // correct result in that case. if (roundGuardSticky > 0x4) result += 1; if (roundGuardSticky == 0x4) result += result & 1; return @as(T, @bitCast(result)); } test { _ = @import("addXf3_test.zig"); }
0
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special/compiler_rt/fixint.zig
const is_test = @import("builtin").is_test; const std = @import("std"); const math = std.math; const Log2Int = std.math.Log2Int; const maxInt = std.math.maxInt; const minInt = std.math.minInt; const DBG = false; pub fn fixint(comptime fp_t: type, comptime fixint_t: type, a: fp_t) fixint_t { @setRuntimeSafety(is_test); const rep_t = switch (fp_t) { f32 => u32, f64 => u64, f128 => u128, else => unreachable, }; const significandBits = switch (fp_t) { f32 => 23, f64 => 52, f128 => 112, else => unreachable, }; const typeWidth = @typeInfo(rep_t).Int.bits; const exponentBits = (typeWidth - significandBits - 1); const signBit = (@as(rep_t, 1) << (significandBits + exponentBits)); const maxExponent = ((1 << exponentBits) - 1); const exponentBias = (maxExponent >> 1); const implicitBit = (@as(rep_t, 1) << significandBits); const significandMask = (implicitBit - 1); // Break a into sign, exponent, significand const aRep: rep_t = @as(rep_t, @bitCast(a)); const absMask = signBit - 1; const aAbs: rep_t = aRep & absMask; const negative = (aRep & signBit) != 0; const exponent = @as(i32, @intCast(aAbs >> significandBits)) - exponentBias; const significand: rep_t = (aAbs & significandMask) | implicitBit; // If exponent is negative, the uint_result is zero. if (exponent < 0) return 0; // The unsigned result needs to be large enough to handle an fixint_t or rep_t const fixint_bits = @typeInfo(fixint_t).Int.bits; const fixuint_t = std.meta.Int(.unsigned, fixint_bits); const UintResultType = if (fixint_bits > typeWidth) fixuint_t else rep_t; var uint_result: UintResultType = undefined; // If the value is too large for the integer type, saturate. if (@as(usize, @intCast(exponent)) >= fixint_bits) { return if (negative) @as(fixint_t, minInt(fixint_t)) else @as(fixint_t, maxInt(fixint_t)); } // If 0 <= exponent < significandBits, right shift else left shift if (exponent < significandBits) { uint_result = @as(UintResultType, @intCast(significand)) >> @as(Log2Int(UintResultType), @intCast(significandBits - exponent)); } else { uint_result = @as(UintResultType, @intCast(significand)) << @as(Log2Int(UintResultType), @intCast(exponent - significandBits)); } // Cast to final signed result if (negative) { return if (uint_result >= -math.minInt(fixint_t)) math.minInt(fixint_t) else -@as(fixint_t, @intCast(uint_result)); } else { return if (uint_result >= math.maxInt(fixint_t)) math.maxInt(fixint_t) else @as(fixint_t, @intCast(uint_result)); } } test { _ = @import("fixint_test.zig"); }
0
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special/compiler_rt/fixunsdfsi_test.zig
const __fixunsdfsi = @import("fixunsdfsi.zig").__fixunsdfsi; const testing = @import("std").testing; fn test__fixunsdfsi(a: f64, expected: u32) !void { const x = __fixunsdfsi(a); try testing.expect(x == expected); } test "fixunsdfsi" { try test__fixunsdfsi(0.0, 0); try test__fixunsdfsi(0.5, 0); try test__fixunsdfsi(0.99, 0); try test__fixunsdfsi(1.0, 1); try test__fixunsdfsi(1.5, 1); try test__fixunsdfsi(1.99, 1); try test__fixunsdfsi(2.0, 2); try test__fixunsdfsi(2.01, 2); try test__fixunsdfsi(-0.5, 0); try test__fixunsdfsi(-0.99, 0); try test__fixunsdfsi(-1.0, 0); try test__fixunsdfsi(-1.5, 0); try test__fixunsdfsi(-1.99, 0); try test__fixunsdfsi(-2.0, 0); try test__fixunsdfsi(-2.01, 0); try test__fixunsdfsi(0x1.000000p+31, 0x80000000); try test__fixunsdfsi(0x1.000000p+32, 0xFFFFFFFF); try test__fixunsdfsi(0x1.FFFFFEp+31, 0xFFFFFF00); try test__fixunsdfsi(0x1.FFFFFEp+30, 0x7FFFFF80); try test__fixunsdfsi(0x1.FFFFFCp+30, 0x7FFFFF00); try test__fixunsdfsi(-0x1.FFFFFEp+30, 0); try test__fixunsdfsi(-0x1.FFFFFCp+30, 0); try test__fixunsdfsi(0x1.FFFFFFFEp+31, 0xFFFFFFFF); try test__fixunsdfsi(0x1.FFFFFFFC00000p+30, 0x7FFFFFFF); try test__fixunsdfsi(0x1.FFFFFFF800000p+30, 0x7FFFFFFE); }
0
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special/compiler_rt/fixtfsi.zig
const fixint = @import("fixint.zig").fixint; const builtin = @import("builtin"); pub fn __fixtfsi(a: f128) callconv(.C) i32 { @setRuntimeSafety(builtin.is_test); return fixint(f128, i32, a); } test { _ = @import("fixtfsi_test.zig"); }
0
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special/compiler_rt/fixunstfsi.zig
const fixuint = @import("fixuint.zig").fixuint; const builtin = @import("builtin"); pub fn __fixunstfsi(a: f128) callconv(.C) u32 { @setRuntimeSafety(builtin.is_test); return fixuint(f128, u32, a); } test { _ = @import("fixunstfsi_test.zig"); }
0
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special/compiler_rt/fixunssfsi_test.zig
const __fixunssfsi = @import("fixunssfsi.zig").__fixunssfsi; const testing = @import("std").testing; fn test__fixunssfsi(a: f32, expected: u32) !void { const x = __fixunssfsi(a); try testing.expect(x == expected); } test "fixunssfsi" { try test__fixunssfsi(0.0, 0); try test__fixunssfsi(0.5, 0); try test__fixunssfsi(0.99, 0); try test__fixunssfsi(1.0, 1); try test__fixunssfsi(1.5, 1); try test__fixunssfsi(1.99, 1); try test__fixunssfsi(2.0, 2); try test__fixunssfsi(2.01, 2); try test__fixunssfsi(-0.5, 0); try test__fixunssfsi(-0.99, 0); try test__fixunssfsi(-1.0, 0); try test__fixunssfsi(-1.5, 0); try test__fixunssfsi(-1.99, 0); try test__fixunssfsi(-2.0, 0); try test__fixunssfsi(-2.01, 0); try test__fixunssfsi(0x1.000000p+31, 0x80000000); try test__fixunssfsi(0x1.000000p+32, 0xFFFFFFFF); try test__fixunssfsi(0x1.FFFFFEp+31, 0xFFFFFF00); try test__fixunssfsi(0x1.FFFFFEp+30, 0x7FFFFF80); try test__fixunssfsi(0x1.FFFFFCp+30, 0x7FFFFF00); try test__fixunssfsi(-0x1.FFFFFEp+30, 0); try test__fixunssfsi(-0x1.FFFFFCp+30, 0); }
0
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special/compiler_rt/mulodi4.zig
const builtin = @import("builtin"); const compiler_rt = @import("../compiler_rt.zig"); pub fn __mulodi4(a: i64, b: i64, overflow: *c_int) callconv(.C) i64 { @setRuntimeSafety(builtin.is_test); const min = @as(i64, @bitCast(@as(u64, 1 << (64 - 1)))); const max = ~min; overflow.* = 0; const result = a *% b; // Edge cases if (a == min) { if (b != 0 and b != 1) overflow.* = 1; return result; } if (b == min) { if (a != 0 and a != 1) overflow.* = 1; return result; } // Take absolute value of a and b via abs(x) = (x^(x >> 63)) - (x >> 63). const abs_a = (a ^ (a >> 63)) -% (a >> 63); const abs_b = (b ^ (b >> 63)) -% (b >> 63); // Unitary magnitude, cannot have overflow if (abs_a < 2 or abs_b < 2) return result; // Compare the signs of the operands if ((a ^ b) >> 63 != 0) { if (abs_a > @divTrunc(max, abs_b)) overflow.* = 1; } else { if (abs_a > @divTrunc(min, -abs_b)) overflow.* = 1; } return result; } test { _ = @import("mulodi4_test.zig"); }
0
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special/compiler_rt/fixunssfdi.zig
const fixuint = @import("fixuint.zig").fixuint; const builtin = @import("builtin"); pub fn __fixunssfdi(a: f32) callconv(.C) u64 { @setRuntimeSafety(builtin.is_test); return fixuint(f32, u64, a); } pub fn __aeabi_f2ulz(a: f32) callconv(.AAPCS) u64 { @setRuntimeSafety(false); return @call(.{ .modifier = .always_inline }, __fixunssfdi, .{a}); } test { _ = @import("fixunssfdi_test.zig"); }
0
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special/compiler_rt/muloti4_test.zig
const __muloti4 = @import("muloti4.zig").__muloti4; const testing = @import("std").testing; fn test__muloti4(a: i128, b: i128, expected: i128, expected_overflow: c_int) !void { var overflow: c_int = undefined; const x = __muloti4(a, b, &overflow); try testing.expect(overflow == expected_overflow and (expected_overflow != 0 or x == expected)); } test "muloti4" { try test__muloti4(0, 0, 0, 0); try test__muloti4(0, 1, 0, 0); try test__muloti4(1, 0, 0, 0); try test__muloti4(0, 10, 0, 0); try test__muloti4(10, 0, 0, 0); try test__muloti4(0, 81985529216486895, 0, 0); try test__muloti4(81985529216486895, 0, 0, 0); try test__muloti4(0, -1, 0, 0); try test__muloti4(-1, 0, 0, 0); try test__muloti4(0, -10, 0, 0); try test__muloti4(-10, 0, 0, 0); try test__muloti4(0, -81985529216486895, 0, 0); try test__muloti4(-81985529216486895, 0, 0, 0); try test__muloti4(3037000499, 3037000499, 9223372030926249001, 0); try test__muloti4(-3037000499, 3037000499, -9223372030926249001, 0); try test__muloti4(3037000499, -3037000499, -9223372030926249001, 0); try test__muloti4(-3037000499, -3037000499, 9223372030926249001, 0); try test__muloti4(4398046511103, 2097152, 9223372036852678656, 0); try test__muloti4(-4398046511103, 2097152, -9223372036852678656, 0); try test__muloti4(4398046511103, -2097152, -9223372036852678656, 0); try test__muloti4(-4398046511103, -2097152, 9223372036852678656, 0); try test__muloti4(2097152, 4398046511103, 9223372036852678656, 0); try test__muloti4(-2097152, 4398046511103, -9223372036852678656, 0); try test__muloti4(2097152, -4398046511103, -9223372036852678656, 0); try test__muloti4(-2097152, -4398046511103, 9223372036852678656, 0); try test__muloti4(@as(i128, @bitCast(@as(u128, 0x00000000000000B504F333F9DE5BE000))), @as(i128, @bitCast(@as(u128, 0x000000000000000000B504F333F9DE5B))), @as(i128, @bitCast(@as(u128, 0x7FFFFFFFFFFFF328DF915DA296E8A000))), 0); try test__muloti4(@as(i128, @bitCast(@as(u128, 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF))), -2, @as(i128, @bitCast(@as(u128, 0x80000000000000000000000000000001))), 1); try test__muloti4(-2, @as(i128, @bitCast(@as(u128, 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF))), @as(i128, @bitCast(@as(u128, 0x80000000000000000000000000000001))), 1); try test__muloti4(@as(i128, @bitCast(@as(u128, 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF))), -1, @as(i128, @bitCast(@as(u128, 0x80000000000000000000000000000001))), 0); try test__muloti4(-1, @as(i128, @bitCast(@as(u128, 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF))), @as(i128, @bitCast(@as(u128, 0x80000000000000000000000000000001))), 0); try test__muloti4(@as(i128, @bitCast(@as(u128, 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF))), 0, 0, 0); try test__muloti4(0, @as(i128, @bitCast(@as(u128, 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF))), 0, 0); try test__muloti4(@as(i128, @bitCast(@as(u128, 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF))), 1, @as(i128, @bitCast(@as(u128, 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF))), 0); try test__muloti4(1, @as(i128, @bitCast(@as(u128, 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF))), @as(i128, @bitCast(@as(u128, 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF))), 0); try test__muloti4(@as(i128, @bitCast(@as(u128, 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF))), 2, @as(i128, @bitCast(@as(u128, 0x80000000000000000000000000000001))), 1); try test__muloti4(2, @as(i128, @bitCast(@as(u128, 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF))), @as(i128, @bitCast(@as(u128, 0x80000000000000000000000000000001))), 1); try test__muloti4(@as(i128, @bitCast(@as(u128, 0x80000000000000000000000000000000))), -2, @as(i128, @bitCast(@as(u128, 0x80000000000000000000000000000000))), 1); try test__muloti4(-2, @as(i128, @bitCast(@as(u128, 0x80000000000000000000000000000000))), @as(i128, @bitCast(@as(u128, 0x80000000000000000000000000000000))), 1); try test__muloti4(@as(i128, @bitCast(@as(u128, 0x80000000000000000000000000000000))), -1, @as(i128, @bitCast(@as(u128, 0x80000000000000000000000000000000))), 1); try test__muloti4(-1, @as(i128, @bitCast(@as(u128, 0x80000000000000000000000000000000))), @as(i128, @bitCast(@as(u128, 0x80000000000000000000000000000000))), 1); try test__muloti4(@as(i128, @bitCast(@as(u128, 0x80000000000000000000000000000000))), 0, 0, 0); try test__muloti4(0, @as(i128, @bitCast(@as(u128, 0x80000000000000000000000000000000))), 0, 0); try test__muloti4(@as(i128, @bitCast(@as(u128, 0x80000000000000000000000000000000))), 1, @as(i128, @bitCast(@as(u128, 0x80000000000000000000000000000000))), 0); try test__muloti4(1, @as(i128, @bitCast(@as(u128, 0x80000000000000000000000000000000))), @as(i128, @bitCast(@as(u128, 0x80000000000000000000000000000000))), 0); try test__muloti4(@as(i128, @bitCast(@as(u128, 0x80000000000000000000000000000000))), 2, @as(i128, @bitCast(@as(u128, 0x80000000000000000000000000000000))), 1); try test__muloti4(2, @as(i128, @bitCast(@as(u128, 0x80000000000000000000000000000000))), @as(i128, @bitCast(@as(u128, 0x80000000000000000000000000000000))), 1); try test__muloti4(@as(i128, @bitCast(@as(u128, 0x80000000000000000000000000000001))), -2, @as(i128, @bitCast(@as(u128, 0x80000000000000000000000000000001))), 1); try test__muloti4(-2, @as(i128, @bitCast(@as(u128, 0x80000000000000000000000000000001))), @as(i128, @bitCast(@as(u128, 0x80000000000000000000000000000001))), 1); try test__muloti4(@as(i128, @bitCast(@as(u128, 0x80000000000000000000000000000001))), -1, @as(i128, @bitCast(@as(u128, 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF))), 0); try test__muloti4(-1, @as(i128, @bitCast(@as(u128, 0x80000000000000000000000000000001))), @as(i128, @bitCast(@as(u128, 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF))), 0); try test__muloti4(@as(i128, @bitCast(@as(u128, 0x80000000000000000000000000000001))), 0, 0, 0); try test__muloti4(0, @as(i128, @bitCast(@as(u128, 0x80000000000000000000000000000001))), 0, 0); try test__muloti4(@as(i128, @bitCast(@as(u128, 0x80000000000000000000000000000001))), 1, @as(i128, @bitCast(@as(u128, 0x80000000000000000000000000000001))), 0); try test__muloti4(1, @as(i128, @bitCast(@as(u128, 0x80000000000000000000000000000001))), @as(i128, @bitCast(@as(u128, 0x80000000000000000000000000000001))), 0); try test__muloti4(@as(i128, @bitCast(@as(u128, 0x80000000000000000000000000000001))), 2, @as(i128, @bitCast(@as(u128, 0x80000000000000000000000000000000))), 1); try test__muloti4(2, @as(i128, @bitCast(@as(u128, 0x80000000000000000000000000000001))), @as(i128, @bitCast(@as(u128, 0x80000000000000000000000000000000))), 1); }
0
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special/compiler_rt/fixtfsi_test.zig
const __fixtfsi = @import("fixtfsi.zig").__fixtfsi; const std = @import("std"); const math = std.math; const testing = std.testing; const warn = std.debug.warn; fn test__fixtfsi(a: f128, expected: i32) !void { const x = __fixtfsi(a); //warn("a={}:{x} x={}:{x} expected={}:{x}:@as(u32, {x})\n", .{a, @bitCast(u128, a), x, x, expected, expected, @bitCast(u32, expected)}); try testing.expect(x == expected); } test "fixtfsi" { //warn("\n", .{}); try test__fixtfsi(-math.f128_max, math.minInt(i32)); try test__fixtfsi(-0x1.FFFFFFFFFFFFFp+1023, math.minInt(i32)); try test__fixtfsi(-0x1.FFFFFFFFFFFFFp+1023, -0x80000000); try test__fixtfsi(-0x1.0000000000000p+127, -0x80000000); try test__fixtfsi(-0x1.FFFFFFFFFFFFFp+126, -0x80000000); try test__fixtfsi(-0x1.FFFFFFFFFFFFEp+126, -0x80000000); try test__fixtfsi(-0x1.0000000000001p+63, -0x80000000); try test__fixtfsi(-0x1.0000000000000p+63, -0x80000000); try test__fixtfsi(-0x1.FFFFFFFFFFFFFp+62, -0x80000000); try test__fixtfsi(-0x1.FFFFFFFFFFFFEp+62, -0x80000000); try test__fixtfsi(-0x1.FFFFFEp+62, -0x80000000); try test__fixtfsi(-0x1.FFFFFCp+62, -0x80000000); try test__fixtfsi(-0x1.000000p+31, -0x80000000); try test__fixtfsi(-0x1.FFFFFFp+30, -0x7FFFFFC0); try test__fixtfsi(-0x1.FFFFFEp+30, -0x7FFFFF80); try test__fixtfsi(-0x1.FFFFFCp+30, -0x7FFFFF00); try test__fixtfsi(-2.01, -2); try test__fixtfsi(-2.0, -2); try test__fixtfsi(-1.99, -1); try test__fixtfsi(-1.0, -1); try test__fixtfsi(-0.99, 0); try test__fixtfsi(-0.5, 0); try test__fixtfsi(-math.f32_min, 0); try test__fixtfsi(0.0, 0); try test__fixtfsi(math.f32_min, 0); try test__fixtfsi(0.5, 0); try test__fixtfsi(0.99, 0); try test__fixtfsi(1.0, 1); try test__fixtfsi(1.5, 1); try test__fixtfsi(1.99, 1); try test__fixtfsi(2.0, 2); try test__fixtfsi(2.01, 2); try test__fixtfsi(0x1.FFFFFCp+30, 0x7FFFFF00); try test__fixtfsi(0x1.FFFFFEp+30, 0x7FFFFF80); try test__fixtfsi(0x1.FFFFFFp+30, 0x7FFFFFC0); try test__fixtfsi(0x1.000000p+31, 0x7FFFFFFF); try test__fixtfsi(0x1.FFFFFCp+62, 0x7FFFFFFF); try test__fixtfsi(0x1.FFFFFEp+62, 0x7FFFFFFF); try test__fixtfsi(0x1.FFFFFFFFFFFFEp+62, 0x7FFFFFFF); try test__fixtfsi(0x1.FFFFFFFFFFFFFp+62, 0x7FFFFFFF); try test__fixtfsi(0x1.0000000000000p+63, 0x7FFFFFFF); try test__fixtfsi(0x1.0000000000001p+63, 0x7FFFFFFF); try test__fixtfsi(0x1.FFFFFFFFFFFFEp+126, 0x7FFFFFFF); try test__fixtfsi(0x1.FFFFFFFFFFFFFp+126, 0x7FFFFFFF); try test__fixtfsi(0x1.0000000000000p+127, 0x7FFFFFFF); try test__fixtfsi(0x1.FFFFFFFFFFFFFp+1023, 0x7FFFFFFF); try test__fixtfsi(0x1.FFFFFFFFFFFFFp+1023, math.maxInt(i32)); try test__fixtfsi(math.f128_max, math.maxInt(i32)); }
0
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special/compiler_rt/comparedf2_test.zig
// Ported from: // // https://github.com/llvm/llvm-project/commit/d674d96bc56c0f377879d01c9d8dfdaaa7859cdb/compiler-rt/test/builtins/Unit/comparedf2_test.c const std = @import("std"); const builtin = @import("builtin"); const is_test = builtin.is_test; const comparedf2 = @import("compareXf2.zig"); const TestVector = struct { a: f64, b: f64, eqReference: c_int, geReference: c_int, gtReference: c_int, leReference: c_int, ltReference: c_int, neReference: c_int, unReference: c_int, }; fn test__cmpdf2(vector: TestVector) bool { if (comparedf2.__eqdf2(vector.a, vector.b) != vector.eqReference) { return false; } if (comparedf2.__gedf2(vector.a, vector.b) != vector.geReference) { return false; } if (comparedf2.__gtdf2(vector.a, vector.b) != vector.gtReference) { return false; } if (comparedf2.__ledf2(vector.a, vector.b) != vector.leReference) { return false; } if (comparedf2.__ltdf2(vector.a, vector.b) != vector.ltReference) { return false; } if (comparedf2.__nedf2(vector.a, vector.b) != vector.neReference) { return false; } if (comparedf2.__unorddf2(vector.a, vector.b) != vector.unReference) { return false; } return true; } const arguments = [_]f64{ std.math.nan(f64), -std.math.inf(f64), -0x1.fffffffffffffp1023, -0x1.0000000000001p0 - 0x1.0000000000000p0, -0x1.fffffffffffffp-1, -0x1.0000000000000p-1022, -0x0.fffffffffffffp-1022, -0x0.0000000000001p-1022, -0.0, 0.0, 0x0.0000000000001p-1022, 0x0.fffffffffffffp-1022, 0x1.0000000000000p-1022, 0x1.fffffffffffffp-1, 0x1.0000000000000p0, 0x1.0000000000001p0, 0x1.fffffffffffffp1023, std.math.inf(f64), }; fn generateVector(comptime a: f64, comptime b: f64) TestVector { const leResult = if (a < b) -1 else if (a == b) 0 else 1; const geResult = if (a > b) 1 else if (a == b) 0 else -1; const unResult = if (a != a or b != b) 1 else 0; return TestVector{ .a = a, .b = b, .eqReference = leResult, .geReference = geResult, .gtReference = geResult, .leReference = leResult, .ltReference = leResult, .neReference = leResult, .unReference = unResult, }; } const test_vectors = init: { @setEvalBranchQuota(10000); var vectors: [arguments.len * arguments.len]TestVector = undefined; for (arguments[0..], 0..) |arg_i, i| { for (arguments[0..], 0..) |arg_j, j| { vectors[(i * arguments.len) + j] = generateVector(arg_i, arg_j); } } break :init vectors; }; test "compare f64" { for (test_vectors) |vector| { try std.testing.expect(test__cmpdf2(vector)); } }
0
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special/compiler_rt/floatundidf_test.zig
const __floatundidf = @import("floatundidf.zig").__floatundidf; const testing = @import("std").testing; fn test__floatundidf(a: u64, expected: f64) !void { const r = __floatundidf(a); try testing.expect(r == expected); } test "floatundidf" { try test__floatundidf(0, 0.0); try test__floatundidf(1, 1.0); try test__floatundidf(2, 2.0); try test__floatundidf(20, 20.0); try test__floatundidf(0x7FFFFF8000000000, 0x1.FFFFFEp+62); try test__floatundidf(0x7FFFFFFFFFFFF800, 0x1.FFFFFFFFFFFFEp+62); try test__floatundidf(0x7FFFFF0000000000, 0x1.FFFFFCp+62); try test__floatundidf(0x7FFFFFFFFFFFF000, 0x1.FFFFFFFFFFFFCp+62); try test__floatundidf(0x8000008000000000, 0x1.000001p+63); try test__floatundidf(0x8000000000000800, 0x1.0000000000001p+63); try test__floatundidf(0x8000010000000000, 0x1.000002p+63); try test__floatundidf(0x8000000000001000, 0x1.0000000000002p+63); try test__floatundidf(0x8000000000000000, 0x1p+63); try test__floatundidf(0x8000000000000001, 0x1p+63); try test__floatundidf(0x0007FB72E8000000, 0x1.FEDCBAp+50); try test__floatundidf(0x0007FB72EA000000, 0x1.FEDCBA8p+50); try test__floatundidf(0x0007FB72EB000000, 0x1.FEDCBACp+50); try test__floatundidf(0x0007FB72EBFFFFFF, 0x1.FEDCBAFFFFFFCp+50); try test__floatundidf(0x0007FB72EC000000, 0x1.FEDCBBp+50); try test__floatundidf(0x0007FB72E8000001, 0x1.FEDCBA0000004p+50); try test__floatundidf(0x0007FB72E6000000, 0x1.FEDCB98p+50); try test__floatundidf(0x0007FB72E7000000, 0x1.FEDCB9Cp+50); try test__floatundidf(0x0007FB72E7FFFFFF, 0x1.FEDCB9FFFFFFCp+50); try test__floatundidf(0x0007FB72E4000001, 0x1.FEDCB90000004p+50); try test__floatundidf(0x0007FB72E4000000, 0x1.FEDCB9p+50); try test__floatundidf(0x023479FD0E092DC0, 0x1.1A3CFE870496Ep+57); try test__floatundidf(0x023479FD0E092DA1, 0x1.1A3CFE870496Dp+57); try test__floatundidf(0x023479FD0E092DB0, 0x1.1A3CFE870496Ep+57); try test__floatundidf(0x023479FD0E092DB8, 0x1.1A3CFE870496Ep+57); try test__floatundidf(0x023479FD0E092DB6, 0x1.1A3CFE870496Ep+57); try test__floatundidf(0x023479FD0E092DBF, 0x1.1A3CFE870496Ep+57); try test__floatundidf(0x023479FD0E092DC1, 0x1.1A3CFE870496Ep+57); try test__floatundidf(0x023479FD0E092DC7, 0x1.1A3CFE870496Ep+57); try test__floatundidf(0x023479FD0E092DC8, 0x1.1A3CFE870496Ep+57); try test__floatundidf(0x023479FD0E092DCF, 0x1.1A3CFE870496Ep+57); try test__floatundidf(0x023479FD0E092DD0, 0x1.1A3CFE870496Ep+57); try test__floatundidf(0x023479FD0E092DD1, 0x1.1A3CFE870496Fp+57); try test__floatundidf(0x023479FD0E092DD8, 0x1.1A3CFE870496Fp+57); try test__floatundidf(0x023479FD0E092DDF, 0x1.1A3CFE870496Fp+57); try test__floatundidf(0x023479FD0E092DE0, 0x1.1A3CFE870496Fp+57); }
0
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special/compiler_rt/popcountdi2_test.zig
const __popcountdi2 = @import("popcountdi2.zig").__popcountdi2; const testing = @import("std").testing; fn naive_popcount(a_param: i64) i32 { var a = a_param; var r: i32 = 0; while (a != 0) : (a = @as(i64, @bitCast(@as(u64, @bitCast(a)) >> 1))) { r += @as(i32, @intCast(a & 1)); } return r; } fn test__popcountdi2(a: i64) !void { const x = __popcountdi2(a); const expected = naive_popcount(a); try testing.expect(expected == x); } test "popcountdi2" { try test__popcountdi2(0); try test__popcountdi2(1); try test__popcountdi2(2); try test__popcountdi2(@as(i64, @bitCast(@as(u64, 0xFFFFFFFFFFFFFFFD)))); try test__popcountdi2(@as(i64, @bitCast(@as(u64, 0xFFFFFFFFFFFFFFFE)))); try test__popcountdi2(@as(i64, @bitCast(@as(u64, 0xFFFFFFFFFFFFFFFF)))); // TODO some fuzz testing }
0
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special/compiler_rt/udivti3.zig
const udivmodti4 = @import("udivmodti4.zig"); const builtin = @import("builtin"); pub fn __udivti3(a: u128, b: u128) callconv(.C) u128 { @setRuntimeSafety(builtin.is_test); return udivmodti4.__udivmodti4(a, b, null); } const v128 = @import("std").meta.Vector(2, u64); pub fn __udivti3_windows_x86_64(a: v128, b: v128) callconv(.C) v128 { @setRuntimeSafety(builtin.is_test); return udivmodti4.__udivmodti4_windows_x86_64(a, b, null); }
0
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special/compiler_rt/clzdi2_test.zig
const clz = @import("count0bits.zig"); const testing = @import("std").testing; fn test__clzdi2(a: u64, expected: i64) !void { // XXX At high optimization levels this test may be horribly miscompiled if // one of the naked implementations is selected. var nakedClzdi2 = clz.__clzdi2; var actualClzdi2 = @as(fn (a: i64) callconv(.C) i32, @ptrCast(nakedClzdi2)); var x = @as(i64, @bitCast(a)); var result = actualClzdi2(x); try testing.expectEqual(expected, result); } test "clzdi2" { try test__clzdi2(0x00800000_00000000, 8); try test__clzdi2(0x01000000_00000000, 7); try test__clzdi2(0x02000000_00000000, 6); try test__clzdi2(0x03000000_00000000, 6); try test__clzdi2(0x04000000_00000000, 5); try test__clzdi2(0x05000000_00000000, 5); try test__clzdi2(0x06000000_00000000, 5); try test__clzdi2(0x07000000_00000000, 5); try test__clzdi2(0x08000000_00000000, 4); try test__clzdi2(0x09000000_00000000, 4); try test__clzdi2(0x0A000000_00000000, 4); try test__clzdi2(0x0B000000_00000000, 4); try test__clzdi2(0x0C000000_00000000, 4); try test__clzdi2(0x0D000000_00000000, 4); try test__clzdi2(0x0E000000_00000000, 4); try test__clzdi2(0x0F000000_00000000, 4); try test__clzdi2(0x10000000_00000000, 3); try test__clzdi2(0x11000000_00000000, 3); try test__clzdi2(0x12000000_00000000, 3); try test__clzdi2(0x13000000_00000000, 3); try test__clzdi2(0x14000000_00000000, 3); try test__clzdi2(0x15000000_00000000, 3); try test__clzdi2(0x16000000_00000000, 3); try test__clzdi2(0x17000000_00000000, 3); try test__clzdi2(0x18000000_00000000, 3); try test__clzdi2(0x19000000_00000000, 3); try test__clzdi2(0x1A000000_00000000, 3); try test__clzdi2(0x1B000000_00000000, 3); try test__clzdi2(0x1C000000_00000000, 3); try test__clzdi2(0x1D000000_00000000, 3); try test__clzdi2(0x1E000000_00000000, 3); try test__clzdi2(0x1F000000_00000000, 3); try test__clzdi2(0x20000000_00000000, 2); try test__clzdi2(0x21000000_00000000, 2); try test__clzdi2(0x22000000_00000000, 2); try test__clzdi2(0x23000000_00000000, 2); try test__clzdi2(0x24000000_00000000, 2); try test__clzdi2(0x25000000_00000000, 2); try test__clzdi2(0x26000000_00000000, 2); try test__clzdi2(0x27000000_00000000, 2); try test__clzdi2(0x28000000_00000000, 2); try test__clzdi2(0x29000000_00000000, 2); try test__clzdi2(0x2A000000_00000000, 2); try test__clzdi2(0x2B000000_00000000, 2); try test__clzdi2(0x2C000000_00000000, 2); try test__clzdi2(0x2D000000_00000000, 2); try test__clzdi2(0x2E000000_00000000, 2); try test__clzdi2(0x2F000000_00000000, 2); try test__clzdi2(0x30000000_00000000, 2); try test__clzdi2(0x31000000_00000000, 2); try test__clzdi2(0x32000000_00000000, 2); try test__clzdi2(0x33000000_00000000, 2); try test__clzdi2(0x34000000_00000000, 2); try test__clzdi2(0x35000000_00000000, 2); try test__clzdi2(0x36000000_00000000, 2); try test__clzdi2(0x37000000_00000000, 2); try test__clzdi2(0x38000000_00000000, 2); try test__clzdi2(0x39000000_00000000, 2); try test__clzdi2(0x3A000000_00000000, 2); try test__clzdi2(0x3B000000_00000000, 2); try test__clzdi2(0x3C000000_00000000, 2); try test__clzdi2(0x3D000000_00000000, 2); try test__clzdi2(0x3E000000_00000000, 2); try test__clzdi2(0x3F000000_00000000, 2); try test__clzdi2(0x40000000_00000000, 1); try test__clzdi2(0x41000000_00000000, 1); try test__clzdi2(0x42000000_00000000, 1); try test__clzdi2(0x43000000_00000000, 1); try test__clzdi2(0x44000000_00000000, 1); try test__clzdi2(0x45000000_00000000, 1); try test__clzdi2(0x46000000_00000000, 1); try test__clzdi2(0x47000000_00000000, 1); try test__clzdi2(0x48000000_00000000, 1); try test__clzdi2(0x49000000_00000000, 1); try test__clzdi2(0x4A000000_00000000, 1); try test__clzdi2(0x4B000000_00000000, 1); try test__clzdi2(0x4C000000_00000000, 1); try test__clzdi2(0x4D000000_00000000, 1); try test__clzdi2(0x4E000000_00000000, 1); try test__clzdi2(0x4F000000_00000000, 1); try test__clzdi2(0x50000000_00000000, 1); try test__clzdi2(0x51000000_00000000, 1); try test__clzdi2(0x52000000_00000000, 1); try test__clzdi2(0x53000000_00000000, 1); try test__clzdi2(0x54000000_00000000, 1); try test__clzdi2(0x55000000_00000000, 1); try test__clzdi2(0x56000000_00000000, 1); try test__clzdi2(0x57000000_00000000, 1); try test__clzdi2(0x58000000_00000000, 1); try test__clzdi2(0x59000000_00000000, 1); try test__clzdi2(0x5A000000_00000000, 1); try test__clzdi2(0x5B000000_00000000, 1); try test__clzdi2(0x5C000000_00000000, 1); try test__clzdi2(0x5D000000_00000000, 1); try test__clzdi2(0x5E000000_00000000, 1); try test__clzdi2(0x5F000000_00000000, 1); try test__clzdi2(0x60000000_00000000, 1); try test__clzdi2(0x61000000_00000000, 1); try test__clzdi2(0x62000000_00000000, 1); try test__clzdi2(0x63000000_00000000, 1); try test__clzdi2(0x64000000_00000000, 1); try test__clzdi2(0x65000000_00000000, 1); try test__clzdi2(0x66000000_00000000, 1); try test__clzdi2(0x67000000_00000000, 1); try test__clzdi2(0x68000000_00000000, 1); try test__clzdi2(0x69000000_00000000, 1); try test__clzdi2(0x6A000000_00000000, 1); try test__clzdi2(0x6B000000_00000000, 1); try test__clzdi2(0x6C000000_00000000, 1); try test__clzdi2(0x6D000000_00000000, 1); try test__clzdi2(0x6E000000_00000000, 1); try test__clzdi2(0x6F000000_00000000, 1); try test__clzdi2(0x70000000_00000000, 1); try test__clzdi2(0x71000000_00000000, 1); try test__clzdi2(0x72000000_00000000, 1); try test__clzdi2(0x73000000_00000000, 1); try test__clzdi2(0x74000000_00000000, 1); try test__clzdi2(0x75000000_00000000, 1); try test__clzdi2(0x76000000_00000000, 1); try test__clzdi2(0x77000000_00000000, 1); try test__clzdi2(0x78000000_00000000, 1); try test__clzdi2(0x79000000_00000000, 1); try test__clzdi2(0x7A000000_00000000, 1); try test__clzdi2(0x7B000000_00000000, 1); try test__clzdi2(0x7C000000_00000000, 1); try test__clzdi2(0x7D000000_00000000, 1); try test__clzdi2(0x7E000000_00000000, 1); try test__clzdi2(0x7F000000_00000000, 1); try test__clzdi2(0x80000000_00000000, 0); try test__clzdi2(0x81000000_00000000, 0); try test__clzdi2(0x82000000_00000000, 0); try test__clzdi2(0x83000000_00000000, 0); try test__clzdi2(0x84000000_00000000, 0); try test__clzdi2(0x85000000_00000000, 0); try test__clzdi2(0x86000000_00000000, 0); try test__clzdi2(0x87000000_00000000, 0); try test__clzdi2(0x88000000_00000000, 0); try test__clzdi2(0x89000000_00000000, 0); try test__clzdi2(0x8A000000_00000000, 0); try test__clzdi2(0x8B000000_00000000, 0); try test__clzdi2(0x8C000000_00000000, 0); try test__clzdi2(0x8D000000_00000000, 0); try test__clzdi2(0x8E000000_00000000, 0); try test__clzdi2(0x8F000000_00000000, 0); try test__clzdi2(0x90000000_00000000, 0); try test__clzdi2(0x91000000_00000000, 0); try test__clzdi2(0x92000000_00000000, 0); try test__clzdi2(0x93000000_00000000, 0); try test__clzdi2(0x94000000_00000000, 0); try test__clzdi2(0x95000000_00000000, 0); try test__clzdi2(0x96000000_00000000, 0); try test__clzdi2(0x97000000_00000000, 0); try test__clzdi2(0x98000000_00000000, 0); try test__clzdi2(0x99000000_00000000, 0); try test__clzdi2(0x9A000000_00000000, 0); try test__clzdi2(0x9B000000_00000000, 0); try test__clzdi2(0x9C000000_00000000, 0); try test__clzdi2(0x9D000000_00000000, 0); try test__clzdi2(0x9E000000_00000000, 0); try test__clzdi2(0x9F000000_00000000, 0); try test__clzdi2(0xA0000000_00000000, 0); try test__clzdi2(0xA1000000_00000000, 0); try test__clzdi2(0xA2000000_00000000, 0); try test__clzdi2(0xA3000000_00000000, 0); try test__clzdi2(0xA4000000_00000000, 0); try test__clzdi2(0xA5000000_00000000, 0); try test__clzdi2(0xA6000000_00000000, 0); try test__clzdi2(0xA7000000_00000000, 0); try test__clzdi2(0xA8000000_00000000, 0); try test__clzdi2(0xA9000000_00000000, 0); try test__clzdi2(0xAA000000_00000000, 0); try test__clzdi2(0xAB000000_00000000, 0); try test__clzdi2(0xAC000000_00000000, 0); try test__clzdi2(0xAD000000_00000000, 0); try test__clzdi2(0xAE000000_00000000, 0); try test__clzdi2(0xAF000000_00000000, 0); try test__clzdi2(0xB0000000_00000000, 0); try test__clzdi2(0xB1000000_00000000, 0); try test__clzdi2(0xB2000000_00000000, 0); try test__clzdi2(0xB3000000_00000000, 0); try test__clzdi2(0xB4000000_00000000, 0); try test__clzdi2(0xB5000000_00000000, 0); try test__clzdi2(0xB6000000_00000000, 0); try test__clzdi2(0xB7000000_00000000, 0); try test__clzdi2(0xB8000000_00000000, 0); try test__clzdi2(0xB9000000_00000000, 0); try test__clzdi2(0xBA000000_00000000, 0); try test__clzdi2(0xBB000000_00000000, 0); try test__clzdi2(0xBC000000_00000000, 0); try test__clzdi2(0xBD000000_00000000, 0); try test__clzdi2(0xBE000000_00000000, 0); try test__clzdi2(0xBF000000_00000000, 0); try test__clzdi2(0xC0000000_00000000, 0); try test__clzdi2(0xC1000000_00000000, 0); try test__clzdi2(0xC2000000_00000000, 0); try test__clzdi2(0xC3000000_00000000, 0); try test__clzdi2(0xC4000000_00000000, 0); try test__clzdi2(0xC5000000_00000000, 0); try test__clzdi2(0xC6000000_00000000, 0); try test__clzdi2(0xC7000000_00000000, 0); try test__clzdi2(0xC8000000_00000000, 0); try test__clzdi2(0xC9000000_00000000, 0); try test__clzdi2(0xCA000000_00000000, 0); try test__clzdi2(0xCB000000_00000000, 0); try test__clzdi2(0xCC000000_00000000, 0); try test__clzdi2(0xCD000000_00000000, 0); try test__clzdi2(0xCE000000_00000000, 0); try test__clzdi2(0xCF000000_00000000, 0); try test__clzdi2(0xD0000000_00000000, 0); try test__clzdi2(0xD1000000_00000000, 0); try test__clzdi2(0xD2000000_00000000, 0); try test__clzdi2(0xD3000000_00000000, 0); try test__clzdi2(0xD4000000_00000000, 0); try test__clzdi2(0xD5000000_00000000, 0); try test__clzdi2(0xD6000000_00000000, 0); try test__clzdi2(0xD7000000_00000000, 0); try test__clzdi2(0xD8000000_00000000, 0); try test__clzdi2(0xD9000000_00000000, 0); try test__clzdi2(0xDA000000_00000000, 0); try test__clzdi2(0xDB000000_00000000, 0); try test__clzdi2(0xDC000000_00000000, 0); try test__clzdi2(0xDD000000_00000000, 0); try test__clzdi2(0xDE000000_00000000, 0); try test__clzdi2(0xDF000000_00000000, 0); try test__clzdi2(0xE0000000_00000000, 0); try test__clzdi2(0xE1000000_00000000, 0); try test__clzdi2(0xE2000000_00000000, 0); try test__clzdi2(0xE3000000_00000000, 0); try test__clzdi2(0xE4000000_00000000, 0); try test__clzdi2(0xE5000000_00000000, 0); try test__clzdi2(0xE6000000_00000000, 0); try test__clzdi2(0xE7000000_00000000, 0); try test__clzdi2(0xE8000000_00000000, 0); try test__clzdi2(0xE9000000_00000000, 0); try test__clzdi2(0xEA000000_00000000, 0); try test__clzdi2(0xEB000000_00000000, 0); try test__clzdi2(0xEC000000_00000000, 0); try test__clzdi2(0xED000000_00000000, 0); try test__clzdi2(0xEE000000_00000000, 0); try test__clzdi2(0xEF000000_00000000, 0); try test__clzdi2(0xF0000000_00000000, 0); try test__clzdi2(0xF1000000_00000000, 0); try test__clzdi2(0xF2000000_00000000, 0); try test__clzdi2(0xF3000000_00000000, 0); try test__clzdi2(0xF4000000_00000000, 0); try test__clzdi2(0xF5000000_00000000, 0); try test__clzdi2(0xF6000000_00000000, 0); try test__clzdi2(0xF7000000_00000000, 0); try test__clzdi2(0xF8000000_00000000, 0); try test__clzdi2(0xF9000000_00000000, 0); try test__clzdi2(0xFA000000_00000000, 0); try test__clzdi2(0xFB000000_00000000, 0); try test__clzdi2(0xFC000000_00000000, 0); try test__clzdi2(0xFD000000_00000000, 0); try test__clzdi2(0xFE000000_00000000, 0); try test__clzdi2(0xFF000000_00000000, 0); try test__clzdi2(0x00000000_00000000, 64); try test__clzdi2(0x00000000_00000001, 63); try test__clzdi2(0x00000000_00000002, 62); try test__clzdi2(0x00000000_00000004, 61); try test__clzdi2(0x00000000_00000008, 60); try test__clzdi2(0x00000000_00000010, 59); try test__clzdi2(0x00000000_00000020, 58); try test__clzdi2(0x00000000_00000040, 57); try test__clzdi2(0x00000000_00000080, 56); try test__clzdi2(0x00000000_00000100, 55); try test__clzdi2(0x00000000_00000200, 54); try test__clzdi2(0x00000000_00000400, 53); try test__clzdi2(0x00000000_00000800, 52); try test__clzdi2(0x00000000_00001000, 51); try test__clzdi2(0x00000000_00002000, 50); try test__clzdi2(0x00000000_00004000, 49); try test__clzdi2(0x00000000_00008000, 48); try test__clzdi2(0x00000000_00010000, 47); try test__clzdi2(0x00000000_00020000, 46); try test__clzdi2(0x00000000_00040000, 45); try test__clzdi2(0x00000000_00080000, 44); try test__clzdi2(0x00000000_00100000, 43); try test__clzdi2(0x00000000_00200000, 42); try test__clzdi2(0x00000000_00400000, 41); try test__clzdi2(0x00000000_00800000, 40); try test__clzdi2(0x00000000_01000000, 39); try test__clzdi2(0x00000000_02000000, 38); try test__clzdi2(0x00000000_04000000, 37); try test__clzdi2(0x00000000_08000000, 36); try test__clzdi2(0x00000000_10000000, 35); try test__clzdi2(0x00000000_20000000, 34); try test__clzdi2(0x00000000_40000000, 33); try test__clzdi2(0x00000000_80000000, 32); try test__clzdi2(0x00000001_00000000, 31); try test__clzdi2(0x00000002_00000000, 30); try test__clzdi2(0x00000004_00000000, 29); try test__clzdi2(0x00000008_00000000, 28); try test__clzdi2(0x00000010_00000000, 27); try test__clzdi2(0x00000020_00000000, 26); try test__clzdi2(0x00000040_00000000, 25); try test__clzdi2(0x00000080_00000000, 24); try test__clzdi2(0x00000100_00000000, 23); try test__clzdi2(0x00000200_00000000, 22); try test__clzdi2(0x00000400_00000000, 21); try test__clzdi2(0x00000800_00000000, 20); try test__clzdi2(0x00001000_00000000, 19); try test__clzdi2(0x00002000_00000000, 18); try test__clzdi2(0x00004000_00000000, 17); try test__clzdi2(0x00008000_00000000, 16); try test__clzdi2(0x00010000_00000000, 15); try test__clzdi2(0x00020000_00000000, 14); try test__clzdi2(0x00040000_00000000, 13); try test__clzdi2(0x00080000_00000000, 12); try test__clzdi2(0x00100000_00000000, 11); try test__clzdi2(0x00200000_00000000, 10); try test__clzdi2(0x00400000_00000000, 9); }
0
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special/compiler_rt/stack_probe.zig
const native_arch = @import("builtin").cpu.arch; // Zig's own stack-probe routine (available only on x86 and x86_64) pub fn zig_probe_stack() callconv(.Naked) void { @setRuntimeSafety(false); // Versions of the Linux kernel before 5.1 treat any access below SP as // invalid so let's update it on the go, otherwise we'll get a segfault // instead of triggering the stack growth. switch (native_arch) { .x86_64 => { // %rax = probe length, %rsp = stack pointer asm volatile ( \\ push %%rcx \\ mov %%rax, %%rcx \\ cmp $0x1000,%%rcx \\ jb 2f \\ 1: \\ sub $0x1000,%%rsp \\ orl $0,16(%%rsp) \\ sub $0x1000,%%rcx \\ cmp $0x1000,%%rcx \\ ja 1b \\ 2: \\ sub %%rcx, %%rsp \\ orl $0,16(%%rsp) \\ add %%rax,%%rsp \\ pop %%rcx \\ ret ); }, .i386 => { // %eax = probe length, %esp = stack pointer asm volatile ( \\ push %%ecx \\ mov %%eax, %%ecx \\ cmp $0x1000,%%ecx \\ jb 2f \\ 1: \\ sub $0x1000,%%esp \\ orl $0,8(%%esp) \\ sub $0x1000,%%ecx \\ cmp $0x1000,%%ecx \\ ja 1b \\ 2: \\ sub %%ecx, %%esp \\ orl $0,8(%%esp) \\ add %%eax,%%esp \\ pop %%ecx \\ ret ); }, else => {}, } unreachable; } fn win_probe_stack_only() void { @setRuntimeSafety(false); switch (native_arch) { .x86_64 => { asm volatile ( \\ push %%rcx \\ push %%rax \\ cmp $0x1000,%%rax \\ lea 24(%%rsp),%%rcx \\ jb 1f \\ 2: \\ sub $0x1000,%%rcx \\ test %%rcx,(%%rcx) \\ sub $0x1000,%%rax \\ cmp $0x1000,%%rax \\ ja 2b \\ 1: \\ sub %%rax,%%rcx \\ test %%rcx,(%%rcx) \\ pop %%rax \\ pop %%rcx \\ ret ); }, .i386 => { asm volatile ( \\ push %%ecx \\ push %%eax \\ cmp $0x1000,%%eax \\ lea 12(%%esp),%%ecx \\ jb 1f \\ 2: \\ sub $0x1000,%%ecx \\ test %%ecx,(%%ecx) \\ sub $0x1000,%%eax \\ cmp $0x1000,%%eax \\ ja 2b \\ 1: \\ sub %%eax,%%ecx \\ test %%ecx,(%%ecx) \\ pop %%eax \\ pop %%ecx \\ ret ); }, else => {}, } if (comptime native_arch.isAARCH64()) { // NOTE: page size hardcoded to 4096 for now asm volatile ( \\ lsl x16, x15, #4 \\ mov x17, sp \\1: \\ \\ sub x17, x17, 4096 \\ subs x16, x16, 4096 \\ ldr xzr, [x17] \\ b.gt 1b \\ \\ ret ); } unreachable; } fn win_probe_stack_adjust_sp() void { @setRuntimeSafety(false); switch (native_arch) { .x86_64 => { asm volatile ( \\ push %%rcx \\ cmp $0x1000,%%rax \\ lea 16(%%rsp),%%rcx \\ jb 1f \\ 2: \\ sub $0x1000,%%rcx \\ test %%rcx,(%%rcx) \\ sub $0x1000,%%rax \\ cmp $0x1000,%%rax \\ ja 2b \\ 1: \\ sub %%rax,%%rcx \\ test %%rcx,(%%rcx) \\ \\ lea 8(%%rsp),%%rax \\ mov %%rcx,%%rsp \\ mov -8(%%rax),%%rcx \\ push (%%rax) \\ sub %%rsp,%%rax \\ ret ); }, .i386 => { asm volatile ( \\ push %%ecx \\ cmp $0x1000,%%eax \\ lea 8(%%esp),%%ecx \\ jb 1f \\ 2: \\ sub $0x1000,%%ecx \\ test %%ecx,(%%ecx) \\ sub $0x1000,%%eax \\ cmp $0x1000,%%eax \\ ja 2b \\ 1: \\ sub %%eax,%%ecx \\ test %%ecx,(%%ecx) \\ \\ lea 4(%%esp),%%eax \\ mov %%ecx,%%esp \\ mov -4(%%eax),%%ecx \\ push (%%eax) \\ sub %%esp,%%eax \\ ret ); }, else => {}, } unreachable; } // Windows has a multitude of stack-probing functions with similar names and // slightly different behaviours: some behave as alloca() and update the stack // pointer after probing the stack, other do not. // // Function name | Adjusts the SP? | // | x86 | x86_64 | // ---------------------------------------- // _chkstk (_alloca) | yes | yes | // __chkstk | yes | no | // __chkstk_ms | no | no | // ___chkstk (__alloca) | yes | yes | // ___chkstk_ms | no | no | pub fn _chkstk() callconv(.Naked) void { @setRuntimeSafety(false); @call(.{ .modifier = .always_inline }, win_probe_stack_adjust_sp, .{}); } pub fn __chkstk() callconv(.Naked) void { @setRuntimeSafety(false); if (comptime native_arch.isAARCH64()) { @call(.{ .modifier = .always_inline }, win_probe_stack_only, .{}); } else switch (native_arch) { .i386 => @call(.{ .modifier = .always_inline }, win_probe_stack_adjust_sp, .{}), .x86_64 => @call(.{ .modifier = .always_inline }, win_probe_stack_only, .{}), else => unreachable, } } pub fn ___chkstk() callconv(.Naked) void { @setRuntimeSafety(false); @call(.{ .modifier = .always_inline }, win_probe_stack_adjust_sp, .{}); } pub fn __chkstk_ms() callconv(.Naked) void { @setRuntimeSafety(false); @call(.{ .modifier = .always_inline }, win_probe_stack_only, .{}); } pub fn ___chkstk_ms() callconv(.Naked) void { @setRuntimeSafety(false); @call(.{ .modifier = .always_inline }, win_probe_stack_only, .{}); }
0
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special/compiler_rt/floatuntisf.zig
const builtin = @import("builtin"); const is_test = builtin.is_test; const std = @import("std"); const maxInt = std.math.maxInt; const FLT_MANT_DIG = 24; pub fn __floatuntisf(arg: u128) callconv(.C) f32 { @setRuntimeSafety(is_test); if (arg == 0) return 0.0; var a = arg; const N: u32 = @sizeOf(u128) * 8; const sd = @as(i32, @bitCast(N - @clz(a))); // number of significant digits var e: i32 = sd - 1; // exponent if (sd > FLT_MANT_DIG) { // start: 0000000000000000000001xxxxxxxxxxxxxxxxxxxxxxPQxxxxxxxxxxxxxxxxxx // finish: 000000000000000000000000000000000000001xxxxxxxxxxxxxxxxxxxxxxPQR // 12345678901234567890123456 // 1 = msb 1 bit // P = bit FLT_MANT_DIG-1 bits to the right of 1 // Q = bit FLT_MANT_DIG bits to the right of 1 // R = "or" of all bits to the right of Q switch (sd) { FLT_MANT_DIG + 1 => { a <<= 1; }, FLT_MANT_DIG + 2 => {}, else => { const shift_amt = @as(i32, @bitCast(N + (FLT_MANT_DIG + 2))) - sd; const shift_amt_u7 = @as(u7, @intCast(shift_amt)); a = (a >> @as(u7, @intCast(sd - (FLT_MANT_DIG + 2)))) | @intFromBool((a & (@as(u128, maxInt(u128)) >> shift_amt_u7)) != 0); }, } // finish a |= @intFromBool((a & 4) != 0); // Or P into R a += 1; // round - this step may add a significant bit a >>= 2; // dump Q and R // a is now rounded to FLT_MANT_DIG or FLT_MANT_DIG+1 bits if ((a & (@as(u128, 1) << FLT_MANT_DIG)) != 0) { a >>= 1; e += 1; } // a is now rounded to FLT_MANT_DIG bits } else { a <<= @as(u7, @intCast(FLT_MANT_DIG - sd)); // a is now rounded to FLT_MANT_DIG bits } const high = @as(u32, @bitCast((e + 127) << 23)); // exponent const low = @as(u32, @truncate(a)) & 0x007fffff; // mantissa return @as(f32, @bitCast(high | low)); } test { _ = @import("floatuntisf_test.zig"); }
0
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special/compiler_rt/floatXisf.zig
const builtin = @import("builtin"); const std = @import("std"); const maxInt = std.math.maxInt; const FLT_MANT_DIG = 24; fn __floatXisf(comptime T: type, arg: T) f32 { @setRuntimeSafety(builtin.is_test); const bits = @typeInfo(T).Int.bits; const Z = std.meta.Int(.unsigned, bits); const S = std.meta.Int(.unsigned, bits - @clz(@as(Z, bits) - 1)); if (arg == 0) { return @as(f32, 0.0); } var ai = arg; const N: u32 = bits; const si = ai >> @as(S, @intCast((N - 1))); ai = ((ai ^ si) -% si); var a = @as(Z, @bitCast(ai)); const sd = @as(i32, @bitCast(N - @clz(a))); // number of significant digits var e: i32 = sd - 1; // exponent if (sd > FLT_MANT_DIG) { // start: 0000000000000000000001xxxxxxxxxxxxxxxxxxxxxxPQxxxxxxxxxxxxxxxxxx // finish: 000000000000000000000000000000000000001xxxxxxxxxxxxxxxxxxxxxxPQR // 12345678901234567890123456 // 1 = msb 1 bit // P = bit FLT_MANT_DIG-1 bits to the right of 1 // Q = bit FLT_MANT_DIG bits to the right of 1 // R = "or" of all bits to the right of Q switch (sd) { FLT_MANT_DIG + 1 => { a <<= 1; }, FLT_MANT_DIG + 2 => {}, else => { const shift1_amt = @as(i32, @intCast(sd - (FLT_MANT_DIG + 2))); const shift1_amt_u7 = @as(S, @intCast(shift1_amt)); const shift2_amt = @as(i32, @intCast(N + (FLT_MANT_DIG + 2))) - sd; const shift2_amt_u7 = @as(S, @intCast(shift2_amt)); a = (a >> shift1_amt_u7) | @intFromBool((a & (@as(Z, @intCast(maxInt(Z))) >> shift2_amt_u7)) != 0); }, } // finish a |= @intFromBool((a & 4) != 0); // Or P into R a += 1; // round - this step may add a significant bit a >>= 2; // dump Q and R // a is now rounded to FLT_MANT_DIG or FLT_MANT_DIG+1 bits if ((a & (@as(Z, 1) << FLT_MANT_DIG)) != 0) { a >>= 1; e += 1; } // a is now rounded to FLT_MANT_DIG bits } else { a <<= @as(S, @intCast(FLT_MANT_DIG - sd)); // a is now rounded to FLT_MANT_DIG bits } const s = @as(Z, @bitCast(arg)) >> (@typeInfo(T).Int.bits - 32); const r = (@as(u32, @intCast(s)) & 0x80000000) | // sign (@as(u32, @intCast((e + 127))) << 23) | // exponent (@as(u32, @truncate(a)) & 0x007fffff); // mantissa-high return @as(f32, @bitCast(r)); } pub fn __floatdisf(arg: i64) callconv(.C) f32 { @setRuntimeSafety(builtin.is_test); return @call(.{ .modifier = .always_inline }, __floatXisf, .{ i64, arg }); } pub fn __floattisf(arg: i128) callconv(.C) f32 { @setRuntimeSafety(builtin.is_test); return @call(.{ .modifier = .always_inline }, __floatXisf, .{ i128, arg }); } pub fn __aeabi_l2f(arg: i64) callconv(.AAPCS) f32 { @setRuntimeSafety(false); return @call(.{ .modifier = .always_inline }, __floatdisf, .{arg}); } test { _ = @import("floattisf_test.zig"); } test { _ = @import("floattisf_test.zig"); }
0
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special/compiler_rt/fixunsdfdi.zig
const fixuint = @import("fixuint.zig").fixuint; const builtin = @import("builtin"); pub fn __fixunsdfdi(a: f64) callconv(.C) u64 { @setRuntimeSafety(builtin.is_test); return fixuint(f64, u64, a); } pub fn __aeabi_d2ulz(a: f64) callconv(.AAPCS) u64 { @setRuntimeSafety(false); return @call(.{ .modifier = .always_inline }, __fixunsdfdi, .{a}); } test { _ = @import("fixunsdfdi_test.zig"); }
0
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special/compiler_rt/divdf3.zig
// Ported from: // // https://github.com/llvm/llvm-project/commit/d674d96bc56c0f377879d01c9d8dfdaaa7859cdb/compiler-rt/lib/builtins/divdf3.c const std = @import("std"); const builtin = @import("builtin"); pub fn __divdf3(a: f64, b: f64) callconv(.C) f64 { @setRuntimeSafety(builtin.is_test); const Z = std.meta.Int(.unsigned, 64); const SignedZ = std.meta.Int(.signed, 64); const significandBits = std.math.floatMantissaBits(f64); const exponentBits = std.math.floatExponentBits(f64); const signBit = (@as(Z, 1) << (significandBits + exponentBits)); const maxExponent = ((1 << exponentBits) - 1); const exponentBias = (maxExponent >> 1); const implicitBit = (@as(Z, 1) << significandBits); const quietBit = implicitBit >> 1; const significandMask = implicitBit - 1; const absMask = signBit - 1; const exponentMask = absMask ^ significandMask; const qnanRep = exponentMask | quietBit; const infRep = @as(Z, @bitCast(std.math.inf(f64))); const aExponent = @as(u32, @truncate((@as(Z, @bitCast(a)) >> significandBits) & maxExponent)); const bExponent = @as(u32, @truncate((@as(Z, @bitCast(b)) >> significandBits) & maxExponent)); const quotientSign: Z = (@as(Z, @bitCast(a)) ^ @as(Z, @bitCast(b))) & signBit; var aSignificand: Z = @as(Z, @bitCast(a)) & significandMask; var bSignificand: Z = @as(Z, @bitCast(b)) & significandMask; var scale: i32 = 0; // Detect if a or b is zero, denormal, infinity, or NaN. if (aExponent -% 1 >= maxExponent -% 1 or bExponent -% 1 >= maxExponent -% 1) { const aAbs: Z = @as(Z, @bitCast(a)) & absMask; const bAbs: Z = @as(Z, @bitCast(b)) & absMask; // NaN / anything = qNaN if (aAbs > infRep) return @as(f64, @bitCast(@as(Z, @bitCast(a)) | quietBit)); // anything / NaN = qNaN if (bAbs > infRep) return @as(f64, @bitCast(@as(Z, @bitCast(b)) | quietBit)); if (aAbs == infRep) { // infinity / infinity = NaN if (bAbs == infRep) { return @as(f64, @bitCast(qnanRep)); } // infinity / anything else = +/- infinity else { return @as(f64, @bitCast(aAbs | quotientSign)); } } // anything else / infinity = +/- 0 if (bAbs == infRep) return @as(f64, @bitCast(quotientSign)); if (aAbs == 0) { // zero / zero = NaN if (bAbs == 0) { return @as(f64, @bitCast(qnanRep)); } // zero / anything else = +/- zero else { return @as(f64, @bitCast(quotientSign)); } } // anything else / zero = +/- infinity if (bAbs == 0) return @as(f64, @bitCast(infRep | quotientSign)); // one or both of a or b is denormal, the other (if applicable) is a // normal number. Renormalize one or both of a and b, and set scale to // include the necessary exponent adjustment. if (aAbs < implicitBit) scale +%= normalize(f64, &aSignificand); if (bAbs < implicitBit) scale -%= normalize(f64, &bSignificand); } // Or in the implicit significand bit. (If we fell through from the // denormal path it was already set by normalize( ), but setting it twice // won't hurt anything.) aSignificand |= implicitBit; bSignificand |= implicitBit; var quotientExponent: i32 = @as(i32, @bitCast(aExponent -% bExponent)) +% scale; // Align the significand of b as a Q31 fixed-point number in the range // [1, 2.0) and get a Q32 approximate reciprocal using a small minimax // polynomial approximation: reciprocal = 3/4 + 1/sqrt(2) - b/2. This // is accurate to about 3.5 binary digits. const q31b: u32 = @as(u32, @truncate(bSignificand >> 21)); var recip32 = @as(u32, 0x7504f333) -% q31b; // Now refine the reciprocal estimate using a Newton-Raphson iteration: // // x1 = x0 * (2 - x0 * b) // // This doubles the number of correct binary digits in the approximation // with each iteration, so after three iterations, we have about 28 binary // digits of accuracy. var correction32: u32 = undefined; correction32 = @as(u32, @truncate(~(@as(u64, recip32) *% q31b >> 32) +% 1)); recip32 = @as(u32, @truncate(@as(u64, recip32) *% correction32 >> 31)); correction32 = @as(u32, @truncate(~(@as(u64, recip32) *% q31b >> 32) +% 1)); recip32 = @as(u32, @truncate(@as(u64, recip32) *% correction32 >> 31)); correction32 = @as(u32, @truncate(~(@as(u64, recip32) *% q31b >> 32) +% 1)); recip32 = @as(u32, @truncate(@as(u64, recip32) *% correction32 >> 31)); // recip32 might have overflowed to exactly zero in the preceding // computation if the high word of b is exactly 1.0. This would sabotage // the full-width final stage of the computation that follows, so we adjust // recip32 downward by one bit. recip32 -%= 1; // We need to perform one more iteration to get us to 56 binary digits; // The last iteration needs to happen with extra precision. const q63blo: u32 = @as(u32, @truncate(bSignificand << 11)); var correction: u64 = undefined; var reciprocal: u64 = undefined; correction = ~(@as(u64, recip32) *% q31b +% (@as(u64, recip32) *% q63blo >> 32)) +% 1; const cHi = @as(u32, @truncate(correction >> 32)); const cLo = @as(u32, @truncate(correction)); reciprocal = @as(u64, recip32) *% cHi +% (@as(u64, recip32) *% cLo >> 32); // We already adjusted the 32-bit estimate, now we need to adjust the final // 64-bit reciprocal estimate downward to ensure that it is strictly smaller // than the infinitely precise exact reciprocal. Because the computation // of the Newton-Raphson step is truncating at every step, this adjustment // is small; most of the work is already done. reciprocal -%= 2; // The numerical reciprocal is accurate to within 2^-56, lies in the // interval [0.5, 1.0), and is strictly smaller than the true reciprocal // of b. Multiplying a by this reciprocal thus gives a numerical q = a/b // in Q53 with the following properties: // // 1. q < a/b // 2. q is in the interval [0.5, 2.0) // 3. the error in q is bounded away from 2^-53 (actually, we have a // couple of bits to spare, but this is all we need). // We need a 64 x 64 multiply high to compute q, which isn't a basic // operation in C, so we need to be a little bit fussy. var quotient: Z = undefined; var quotientLo: Z = undefined; wideMultiply(Z, aSignificand << 2, reciprocal, &quotient, &quotientLo); // Two cases: quotient is in [0.5, 1.0) or quotient is in [1.0, 2.0). // In either case, we are going to compute a residual of the form // // r = a - q*b // // We know from the construction of q that r satisfies: // // 0 <= r < ulp(q)*b // // if r is greater than 1/2 ulp(q)*b, then q rounds up. Otherwise, we // already have the correct result. The exact halfway case cannot occur. // We also take this time to right shift quotient if it falls in the [1,2) // range and adjust the exponent accordingly. var residual: Z = undefined; if (quotient < (implicitBit << 1)) { residual = (aSignificand << 53) -% quotient *% bSignificand; quotientExponent -%= 1; } else { quotient >>= 1; residual = (aSignificand << 52) -% quotient *% bSignificand; } const writtenExponent = quotientExponent +% exponentBias; if (writtenExponent >= maxExponent) { // If we have overflowed the exponent, return infinity. return @as(f64, @bitCast(infRep | quotientSign)); } else if (writtenExponent < 1) { if (writtenExponent == 0) { // Check whether the rounded result is normal. const round = @intFromBool((residual << 1) > bSignificand); // Clear the implicit bit. var absResult = quotient & significandMask; // Round. absResult += round; if ((absResult & ~significandMask) != 0) { // The rounded result is normal; return it. return @as(f64, @bitCast(absResult | quotientSign)); } } // Flush denormals to zero. In the future, it would be nice to add // code to round them correctly. return @as(f64, @bitCast(quotientSign)); } else { const round = @intFromBool((residual << 1) > bSignificand); // Clear the implicit bit var absResult = quotient & significandMask; // Insert the exponent absResult |= @as(Z, @bitCast(@as(SignedZ, writtenExponent))) << significandBits; // Round absResult +%= round; // Insert the sign and return return @as(f64, @bitCast(absResult | quotientSign)); } } pub fn wideMultiply(comptime Z: type, a: Z, b: Z, hi: *Z, lo: *Z) void { @setRuntimeSafety(builtin.is_test); switch (Z) { u32 => { // 32x32 --> 64 bit multiply const product = @as(u64, a) * @as(u64, b); hi.* = @as(u32, @truncate(product >> 32)); lo.* = @as(u32, @truncate(product)); }, u64 => { const S = struct { fn loWord(x: u64) u64 { return @as(u32, @truncate(x)); } fn hiWord(x: u64) u64 { return @as(u32, @truncate(x >> 32)); } }; // 64x64 -> 128 wide multiply for platforms that don't have such an operation; // many 64-bit platforms have this operation, but they tend to have hardware // floating-point, so we don't bother with a special case for them here. // Each of the component 32x32 -> 64 products const plolo: u64 = S.loWord(a) * S.loWord(b); const plohi: u64 = S.loWord(a) * S.hiWord(b); const philo: u64 = S.hiWord(a) * S.loWord(b); const phihi: u64 = S.hiWord(a) * S.hiWord(b); // Sum terms that contribute to lo in a way that allows us to get the carry const r0: u64 = S.loWord(plolo); const r1: u64 = S.hiWord(plolo) +% S.loWord(plohi) +% S.loWord(philo); lo.* = r0 +% (r1 << 32); // Sum terms contributing to hi with the carry from lo hi.* = S.hiWord(plohi) +% S.hiWord(philo) +% S.hiWord(r1) +% phihi; }, u128 => { const Word_LoMask = @as(u64, 0x00000000ffffffff); const Word_HiMask = @as(u64, 0xffffffff00000000); const Word_FullMask = @as(u64, 0xffffffffffffffff); const S = struct { fn Word_1(x: u128) u64 { return @as(u32, @truncate(x >> 96)); } fn Word_2(x: u128) u64 { return @as(u32, @truncate(x >> 64)); } fn Word_3(x: u128) u64 { return @as(u32, @truncate(x >> 32)); } fn Word_4(x: u128) u64 { return @as(u32, @truncate(x)); } }; // 128x128 -> 256 wide multiply for platforms that don't have such an operation; // many 64-bit platforms have this operation, but they tend to have hardware // floating-point, so we don't bother with a special case for them here. const product11: u64 = S.Word_1(a) * S.Word_1(b); const product12: u64 = S.Word_1(a) * S.Word_2(b); const product13: u64 = S.Word_1(a) * S.Word_3(b); const product14: u64 = S.Word_1(a) * S.Word_4(b); const product21: u64 = S.Word_2(a) * S.Word_1(b); const product22: u64 = S.Word_2(a) * S.Word_2(b); const product23: u64 = S.Word_2(a) * S.Word_3(b); const product24: u64 = S.Word_2(a) * S.Word_4(b); const product31: u64 = S.Word_3(a) * S.Word_1(b); const product32: u64 = S.Word_3(a) * S.Word_2(b); const product33: u64 = S.Word_3(a) * S.Word_3(b); const product34: u64 = S.Word_3(a) * S.Word_4(b); const product41: u64 = S.Word_4(a) * S.Word_1(b); const product42: u64 = S.Word_4(a) * S.Word_2(b); const product43: u64 = S.Word_4(a) * S.Word_3(b); const product44: u64 = S.Word_4(a) * S.Word_4(b); const sum0: u128 = @as(u128, product44); const sum1: u128 = @as(u128, product34) +% @as(u128, product43); const sum2: u128 = @as(u128, product24) +% @as(u128, product33) +% @as(u128, product42); const sum3: u128 = @as(u128, product14) +% @as(u128, product23) +% @as(u128, product32) +% @as(u128, product41); const sum4: u128 = @as(u128, product13) +% @as(u128, product22) +% @as(u128, product31); const sum5: u128 = @as(u128, product12) +% @as(u128, product21); const sum6: u128 = @as(u128, product11); const r0: u128 = (sum0 & Word_FullMask) +% ((sum1 & Word_LoMask) << 32); const r1: u128 = (sum0 >> 64) +% ((sum1 >> 32) & Word_FullMask) +% (sum2 & Word_FullMask) +% ((sum3 << 32) & Word_HiMask); lo.* = r0 +% (r1 << 64); hi.* = (r1 >> 64) +% (sum1 >> 96) +% (sum2 >> 64) +% (sum3 >> 32) +% sum4 +% (sum5 << 32) +% (sum6 << 64); }, else => @compileError("unsupported"), } } pub fn normalize(comptime T: type, significand: *std.meta.Int(.unsigned, @typeInfo(T).Float.bits)) i32 { @setRuntimeSafety(builtin.is_test); const Z = std.meta.Int(.unsigned, @typeInfo(T).Float.bits); const significandBits = std.math.floatMantissaBits(T); const implicitBit = @as(Z, 1) << significandBits; const shift = @clz(significand.*) - @clz(implicitBit); significand.* <<= @as(std.math.Log2Int(Z), @intCast(shift)); return 1 - shift; } pub fn __aeabi_ddiv(a: f64, b: f64) callconv(.AAPCS) f64 { @setRuntimeSafety(false); return @call(.{ .modifier = .always_inline }, __divdf3, .{ a, b }); } test { _ = @import("divdf3_test.zig"); }
0
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special/compiler_rt/floatundidf.zig
const builtin = @import("builtin"); const std = @import("std"); const twop52: f64 = 0x1.0p52; const twop84: f64 = 0x1.0p84; const twop84_plus_twop52: f64 = 0x1.00000001p84; pub fn __floatundidf(a: u64) callconv(.C) f64 { @setRuntimeSafety(builtin.is_test); if (a == 0) return 0; var high = @as(u64, @bitCast(twop84)); var low = @as(u64, @bitCast(twop52)); high |= a >> 32; low |= a & 0xFFFFFFFF; return (@as(f64, @bitCast(high)) - twop84_plus_twop52) + @as(f64, @bitCast(low)); } pub fn __aeabi_ul2d(arg: u64) callconv(.AAPCS) f64 { @setRuntimeSafety(false); return @call(.{ .modifier = .always_inline }, __floatundidf, .{arg}); } test { _ = @import("floatundidf_test.zig"); }
0
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special/compiler_rt/fixdfti.zig
const fixint = @import("fixint.zig").fixint; const builtin = @import("builtin"); pub fn __fixdfti(a: f64) callconv(.C) i128 { @setRuntimeSafety(builtin.is_test); return fixint(f64, i128, a); } test { _ = @import("fixdfti_test.zig"); }
0
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special/compiler_rt/fixsfdi_test.zig
const __fixsfdi = @import("fixsfdi.zig").__fixsfdi; const std = @import("std"); const math = std.math; const testing = std.testing; const warn = std.debug.warn; fn test__fixsfdi(a: f32, expected: i64) !void { const x = __fixsfdi(a); //warn("a={}:{x} x={}:{x} expected={}:{x}:@as(u32, {x})\n", .{a, @bitCast(u32, a), x, x, expected, expected, @bitCast(u64, expected)}); try testing.expect(x == expected); } test "fixsfdi" { //warn("\n", .{}); try test__fixsfdi(-math.f32_max, math.minInt(i64)); try test__fixsfdi(-0x1.FFFFFFFFFFFFFp+1023, math.minInt(i64)); try test__fixsfdi(-0x1.FFFFFFFFFFFFFp+1023, -0x8000000000000000); try test__fixsfdi(-0x1.0000000000000p+127, -0x8000000000000000); try test__fixsfdi(-0x1.FFFFFFFFFFFFFp+126, -0x8000000000000000); try test__fixsfdi(-0x1.FFFFFFFFFFFFEp+126, -0x8000000000000000); try test__fixsfdi(-0x1.0000000000001p+63, -0x8000000000000000); try test__fixsfdi(-0x1.0000000000000p+63, -0x8000000000000000); try test__fixsfdi(-0x1.FFFFFFFFFFFFFp+62, -0x8000000000000000); try test__fixsfdi(-0x1.FFFFFFFFFFFFEp+62, -0x8000000000000000); try test__fixsfdi(-0x1.FFFFFFp+62, -0x8000000000000000); try test__fixsfdi(-0x1.FFFFFEp+62, -0x7fffff8000000000); try test__fixsfdi(-0x1.FFFFFCp+62, -0x7fffff0000000000); try test__fixsfdi(-2.01, -2); try test__fixsfdi(-2.0, -2); try test__fixsfdi(-1.99, -1); try test__fixsfdi(-1.0, -1); try test__fixsfdi(-0.99, 0); try test__fixsfdi(-0.5, 0); try test__fixsfdi(-math.f32_min, 0); try test__fixsfdi(0.0, 0); try test__fixsfdi(math.f32_min, 0); try test__fixsfdi(0.5, 0); try test__fixsfdi(0.99, 0); try test__fixsfdi(1.0, 1); try test__fixsfdi(1.5, 1); try test__fixsfdi(1.99, 1); try test__fixsfdi(2.0, 2); try test__fixsfdi(2.01, 2); try test__fixsfdi(0x1.FFFFFCp+62, 0x7FFFFF0000000000); try test__fixsfdi(0x1.FFFFFEp+62, 0x7FFFFF8000000000); try test__fixsfdi(0x1.FFFFFFp+62, 0x7FFFFFFFFFFFFFFF); try test__fixsfdi(0x1.FFFFFFFFFFFFEp+62, 0x7FFFFFFFFFFFFFFF); try test__fixsfdi(0x1.FFFFFFFFFFFFFp+62, 0x7FFFFFFFFFFFFFFF); try test__fixsfdi(0x1.0000000000000p+63, 0x7FFFFFFFFFFFFFFF); try test__fixsfdi(0x1.0000000000001p+63, 0x7FFFFFFFFFFFFFFF); try test__fixsfdi(0x1.FFFFFFFFFFFFEp+126, 0x7FFFFFFFFFFFFFFF); try test__fixsfdi(0x1.FFFFFFFFFFFFFp+126, 0x7FFFFFFFFFFFFFFF); try test__fixsfdi(0x1.0000000000000p+127, 0x7FFFFFFFFFFFFFFF); try test__fixsfdi(0x1.FFFFFFFFFFFFFp+1023, 0x7FFFFFFFFFFFFFFF); try test__fixsfdi(0x1.FFFFFFFFFFFFFp+1023, math.maxInt(i64)); try test__fixsfdi(math.f64_max, math.maxInt(i64)); }
0
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special/compiler_rt/ashlti3_test.zig
const __ashlti3 = @import("shift.zig").__ashlti3; const testing = @import("std").testing; fn test__ashlti3(a: i128, b: i32, expected: i128) !void { const x = __ashlti3(a, b); try testing.expectEqual(expected, x); } test "ashlti3" { try test__ashlti3(@as(i128, @bitCast(@as(u128, @intCast(0xFEDCBA9876543215FEDCBA9876543215)))), 0, @as(i128, @bitCast(@as(u128, @intCast(0xFEDCBA9876543215FEDCBA9876543215))))); try test__ashlti3(@as(i128, @bitCast(@as(u128, @intCast(0xFEDCBA9876543215FEDCBA9876543215)))), 1, @as(i128, @bitCast(@as(u128, @intCast(0xFDB97530ECA8642BFDB97530ECA8642A))))); try test__ashlti3(@as(i128, @bitCast(@as(u128, @intCast(0xFEDCBA9876543215FEDCBA9876543215)))), 2, @as(i128, @bitCast(@as(u128, @intCast(0xFB72EA61D950C857FB72EA61D950C854))))); try test__ashlti3(@as(i128, @bitCast(@as(u128, @intCast(0xFEDCBA9876543215FEDCBA9876543215)))), 3, @as(i128, @bitCast(@as(u128, @intCast(0xF6E5D4C3B2A190AFF6E5D4C3B2A190A8))))); try test__ashlti3(@as(i128, @bitCast(@as(u128, @intCast(0xFEDCBA9876543215FEDCBA9876543215)))), 4, @as(i128, @bitCast(@as(u128, @intCast(0xEDCBA9876543215FEDCBA98765432150))))); try test__ashlti3(@as(i128, @bitCast(@as(u128, @intCast(0xFEDCBA9876543215FEDCBA9876543215)))), 28, @as(i128, @bitCast(@as(u128, @intCast(0x876543215FEDCBA98765432150000000))))); try test__ashlti3(@as(i128, @bitCast(@as(u128, @intCast(0xFEDCBA9876543215FEDCBA9876543215)))), 29, @as(i128, @bitCast(@as(u128, @intCast(0x0ECA8642BFDB97530ECA8642A0000000))))); try test__ashlti3(@as(i128, @bitCast(@as(u128, @intCast(0xFEDCBA9876543215FEDCBA9876543215)))), 30, @as(i128, @bitCast(@as(u128, @intCast(0x1D950C857FB72EA61D950C8540000000))))); try test__ashlti3(@as(i128, @bitCast(@as(u128, @intCast(0xFEDCBA9876543215FEDCBA9876543215)))), 31, @as(i128, @bitCast(@as(u128, @intCast(0x3B2A190AFF6E5D4C3B2A190A80000000))))); try test__ashlti3(@as(i128, @bitCast(@as(u128, @intCast(0xFEDCBA9876543215FEDCBA9876543215)))), 32, @as(i128, @bitCast(@as(u128, @intCast(0x76543215FEDCBA987654321500000000))))); try test__ashlti3(@as(i128, @bitCast(@as(u128, @intCast(0xFEDCBA9876543215FEDCBA9876543215)))), 33, @as(i128, @bitCast(@as(u128, @intCast(0xECA8642BFDB97530ECA8642A00000000))))); try test__ashlti3(@as(i128, @bitCast(@as(u128, @intCast(0xFEDCBA9876543215FEDCBA9876543215)))), 34, @as(i128, @bitCast(@as(u128, @intCast(0xD950C857FB72EA61D950C85400000000))))); try test__ashlti3(@as(i128, @bitCast(@as(u128, @intCast(0xFEDCBA9876543215FEDCBA9876543215)))), 35, @as(i128, @bitCast(@as(u128, @intCast(0xB2A190AFF6E5D4C3B2A190A800000000))))); try test__ashlti3(@as(i128, @bitCast(@as(u128, @intCast(0xFEDCBA9876543215FEDCBA9876543215)))), 36, @as(i128, @bitCast(@as(u128, @intCast(0x6543215FEDCBA9876543215000000000))))); try test__ashlti3(@as(i128, @bitCast(@as(u128, @intCast(0xFEDCBA9876543215FEDCBA9876543215)))), 60, @as(i128, @bitCast(@as(u128, @intCast(0x5FEDCBA9876543215000000000000000))))); try test__ashlti3(@as(i128, @bitCast(@as(u128, @intCast(0xFEDCBA9876543215FEDCBA9876543215)))), 61, @as(i128, @bitCast(@as(u128, @intCast(0xBFDB97530ECA8642A000000000000000))))); try test__ashlti3(@as(i128, @bitCast(@as(u128, @intCast(0xFEDCBA9876543215FEDCBA9876543215)))), 62, @as(i128, @bitCast(@as(u128, @intCast(0x7FB72EA61D950C854000000000000000))))); try test__ashlti3(@as(i128, @bitCast(@as(u128, @intCast(0xFEDCBA9876543215FEDCBA9876543215)))), 63, @as(i128, @bitCast(@as(u128, @intCast(0xFF6E5D4C3B2A190A8000000000000000))))); try test__ashlti3(@as(i128, @bitCast(@as(u128, @intCast(0xFEDCBA9876543215FEDCBA9876543215)))), 64, @as(i128, @bitCast(@as(u128, @intCast(0xFEDCBA98765432150000000000000000))))); try test__ashlti3(@as(i128, @bitCast(@as(u128, @intCast(0xFEDCBA9876543215FEDCBA9876543215)))), 65, @as(i128, @bitCast(@as(u128, @intCast(0xFDB97530ECA8642A0000000000000000))))); try test__ashlti3(@as(i128, @bitCast(@as(u128, @intCast(0xFEDCBA9876543215FEDCBA9876543215)))), 66, @as(i128, @bitCast(@as(u128, @intCast(0xFB72EA61D950C8540000000000000000))))); try test__ashlti3(@as(i128, @bitCast(@as(u128, @intCast(0xFEDCBA9876543215FEDCBA9876543215)))), 67, @as(i128, @bitCast(@as(u128, @intCast(0xF6E5D4C3B2A190A80000000000000000))))); try test__ashlti3(@as(i128, @bitCast(@as(u128, @intCast(0xFEDCBA9876543215FEDCBA9876543215)))), 68, @as(i128, @bitCast(@as(u128, @intCast(0xEDCBA987654321500000000000000000))))); try test__ashlti3(@as(i128, @bitCast(@as(u128, @intCast(0xFEDCBA9876543215FEDCBA9876543215)))), 92, @as(i128, @bitCast(@as(u128, @intCast(0x87654321500000000000000000000000))))); try test__ashlti3(@as(i128, @bitCast(@as(u128, @intCast(0xFEDCBA9876543215FEDCBA9876543215)))), 93, @as(i128, @bitCast(@as(u128, @intCast(0x0ECA8642A00000000000000000000000))))); try test__ashlti3(@as(i128, @bitCast(@as(u128, @intCast(0xFEDCBA9876543215FEDCBA9876543215)))), 94, @as(i128, @bitCast(@as(u128, @intCast(0x1D950C85400000000000000000000000))))); try test__ashlti3(@as(i128, @bitCast(@as(u128, @intCast(0xFEDCBA9876543215FEDCBA9876543215)))), 95, @as(i128, @bitCast(@as(u128, @intCast(0x3B2A190A800000000000000000000000))))); try test__ashlti3(@as(i128, @bitCast(@as(u128, @intCast(0xFEDCBA9876543215FEDCBA9876543215)))), 96, @as(i128, @bitCast(@as(u128, @intCast(0x76543215000000000000000000000000))))); try test__ashlti3(@as(i128, @bitCast(@as(u128, @intCast(0xFEDCBA9876543215FEDCBA9876543215)))), 97, @as(i128, @bitCast(@as(u128, @intCast(0xECA8642A000000000000000000000000))))); try test__ashlti3(@as(i128, @bitCast(@as(u128, @intCast(0xFEDCBA9876543215FEDCBA9876543215)))), 98, @as(i128, @bitCast(@as(u128, @intCast(0xD950C854000000000000000000000000))))); try test__ashlti3(@as(i128, @bitCast(@as(u128, @intCast(0xFEDCBA9876543215FEDCBA9876543215)))), 99, @as(i128, @bitCast(@as(u128, @intCast(0xB2A190A8000000000000000000000000))))); try test__ashlti3(@as(i128, @bitCast(@as(u128, @intCast(0xFEDCBA9876543215FEDCBA9876543215)))), 100, @as(i128, @bitCast(@as(u128, @intCast(0x65432150000000000000000000000000))))); try test__ashlti3(@as(i128, @bitCast(@as(u128, @intCast(0xFEDCBA9876543215FEDCBA9876543215)))), 124, @as(i128, @bitCast(@as(u128, @intCast(0x50000000000000000000000000000000))))); try test__ashlti3(@as(i128, @bitCast(@as(u128, @intCast(0xFEDCBA9876543215FEDCBA9876543215)))), 125, @as(i128, @bitCast(@as(u128, @intCast(0xA0000000000000000000000000000000))))); try test__ashlti3(@as(i128, @bitCast(@as(u128, @intCast(0xFEDCBA9876543215FEDCBA9876543215)))), 126, @as(i128, @bitCast(@as(u128, @intCast(0x40000000000000000000000000000000))))); try test__ashlti3(@as(i128, @bitCast(@as(u128, @intCast(0xFEDCBA9876543215FEDCBA9876543215)))), 127, @as(i128, @bitCast(@as(u128, @intCast(0x80000000000000000000000000000000))))); }
0
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special/init-exe/build.zig
const std = @import("std"); pub fn build(b: *std.build.Builder) void { // Standard target options allows the person running `zig build` to choose // what target to build for. Here we do not override the defaults, which // means any target is allowed, and the default is native. Other options // for restricting supported target set are available. const target = b.standardTargetOptions(.{}); // Standard release options allow the person running `zig build` to select // between Debug, ReleaseSafe, ReleaseFast, and ReleaseSmall. const mode = b.standardReleaseOptions(); const exe = b.addExecutable("$", "src/main.zig"); exe.setTarget(target); exe.setBuildMode(mode); exe.install(); const run_cmd = exe.run(); run_cmd.step.dependOn(b.getInstallStep()); if (b.args) |args| { run_cmd.addArgs(args); } const run_step = b.step("run", "Run the app"); run_step.dependOn(&run_cmd.step); const exe_tests = b.addTest("src/main.zig"); exe_tests.setBuildMode(mode); const test_step = b.step("test", "Run unit tests"); test_step.dependOn(&exe_tests.step); }
0
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special/init-exe
repos/gotta-go-fast/src/self-hosted-parser/input_dir/special/init-exe/src/main.zig
const std = @import("std"); pub fn main() anyerror!void { std.log.info("All your codebase are belong to us.", .{}); } test "basic test" { try std.testing.expectEqual(10, 3 + 7); }
0
repos/gotta-go-fast/src
repos/gotta-go-fast/src/arena-allocator/main.zig
const std = @import("std"); const bench = @import("root"); var rng = std.rand.DefaultPrng.init(0x1234); pub fn setup(_: std.mem.Allocator, _: *bench.Options) !std.rand.Random { return rng.random(); } pub fn run(gpa: std.mem.Allocator, random: std.rand.Random) !void { var arena_state = std.heap.ArenaAllocator.init(gpa); defer arena_state.deinit(); const arena = arena_state.allocator(); const sizes = // Some few weird sizes [_]usize{1} ++ [_]usize{2} ++ [_]usize{6} ++ [_]usize{12} ++ [_]usize{24} ++ [_]usize{33} ++ [_]usize{100} ++ [_]usize{1000} ++ // Much more frequent common sizes ([_]usize{4} ** 10) ++ ([_]usize{8} ** 20) ++ ([_]usize{16} ** 100) ++ ([_]usize{32} ** 100) ++ ([_]usize{64} ** 50); var i: usize = 0; while (i < 10_000) : (i += 1) { const alloc_size = random.uintAtMostBiased(usize, sizes.len); const slice = try arena.alloc(u8, alloc_size); @memset(slice, 0xff); } }
0
repos/gotta-go-fast/src
repos/gotta-go-fast/src/guid/comptime-guid-parse-bench.zig
const std = @import("std"); const bench = @import("root"); pub fn setup(_: std.mem.Allocator, options: *bench.Options) ![]const u8 { options.useChildProcess(); return options.zig_exe; } pub fn run(gpa: std.mem.Allocator, zig_exe: []const u8) !void { return bench.exec(gpa, &.{ zig_exe, "build-obj", "src/guid/comptime-guid-parse.zig" }, .{}); }
0
repos/gotta-go-fast/src
repos/gotta-go-fast/src/guid/comptime-guid-parse.zig
const std = @import("std"); comptime { const count = 50; var guid: [38]u8 = "{00000000-98b5-11cf-bb82-00aa00bdce0b}".*; @setEvalBranchQuota(count * 2000); var i: usize = 0; while (i < count) : (i += 1) { _ = std.os.windows.GUID.parse(&guid); } }
0
repos/gotta-go-fast/src
repos/gotta-go-fast/src/hello-world/hello-x86_64-linux.zig
pub fn main() void { print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); } fn print() void { asm volatile ("syscall" : : [number] "{rax}" (1), [arg1] "{rdi}" (1), [arg2] "{rsi}" (@intFromPtr("Hello, World!\n")), [arg3] "{rdx}" (14), : "rcx", "r11", "memory" ); return; }
0
repos/gotta-go-fast/src
repos/gotta-go-fast/src/hello-world/hello-aarch64-linux.zig
pub export fn _start() noreturn { print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); print(); exit(); } fn print() void { asm volatile ("svc #0" : : [number] "{x8}" (64), [arg1] "{x0}" (1), [arg2] "{x1}" (@intFromPtr("Hello, World!\n")), [arg3] "{x2}" ("Hello, World!\n".len), : "memory", "cc" ); } fn exit() noreturn { asm volatile ("svc #0" : : [number] "{x8}" (93), [arg1] "{x0}" (0), : "memory", "cc" ); unreachable; }
0
repos/gotta-go-fast/src
repos/gotta-go-fast/src/hello-world/main-x86_64-linux.zig
const std = @import("std"); const bench = @import("root"); pub fn setup(_: std.mem.Allocator, options: *bench.Options) ![]const u8 { options.useChildProcess(); return options.zig_exe; } pub fn run(gpa: std.mem.Allocator, zig_exe: []const u8) !void { return bench.exec(gpa, &.{ zig_exe, "build-exe", "-target", "x86_64-linux", "src/hello-world/hello-x86_64-linux.zig", }, .{}); }
0
repos/gotta-go-fast/src
repos/gotta-go-fast/src/hello-world/main-aarch64-linux.zig
const std = @import("std"); const bench = @import("root"); pub fn setup(_: std.mem.Allocator, options: *bench.Options) ![]const u8 { options.useChildProcess(); return options.zig_exe; } pub fn run(gpa: std.mem.Allocator, zig_exe: []const u8) !void { return bench.exec(gpa, &.{ zig_exe, "build-exe", "-target", "aarch64-linux", "src/hello-world/hello-aarch64-linux.zig", }, .{}); }
0
repos/gotta-go-fast/src
repos/gotta-go-fast/src/tetris/glfw-and-epoxy-stubs.s
.data .globl epoxy_eglBindAPI .type epoxy_eglBindAPI, %object; epoxy_eglBindAPI: .globl epoxy_eglBindTexImage .type epoxy_eglBindTexImage, %object; epoxy_eglBindTexImage: .globl epoxy_eglChooseConfig .type epoxy_eglChooseConfig, %object; epoxy_eglChooseConfig: .globl epoxy_eglClientSignalSyncEXT .type epoxy_eglClientSignalSyncEXT, %object; epoxy_eglClientSignalSyncEXT: .globl epoxy_eglClientWaitSync .type epoxy_eglClientWaitSync, %object; epoxy_eglClientWaitSync: .globl epoxy_eglClientWaitSyncKHR .type epoxy_eglClientWaitSyncKHR, %object; epoxy_eglClientWaitSyncKHR: .globl epoxy_eglClientWaitSyncNV .type epoxy_eglClientWaitSyncNV, %object; epoxy_eglClientWaitSyncNV: .globl epoxy_eglCompositorBindTexWindowEXT .type epoxy_eglCompositorBindTexWindowEXT, %object; epoxy_eglCompositorBindTexWindowEXT: .globl epoxy_eglCompositorSetContextAttributesEXT .type epoxy_eglCompositorSetContextAttributesEXT, %object; epoxy_eglCompositorSetContextAttributesEXT: .globl epoxy_eglCompositorSetContextListEXT .type epoxy_eglCompositorSetContextListEXT, %object; epoxy_eglCompositorSetContextListEXT: .globl epoxy_eglCompositorSetSizeEXT .type epoxy_eglCompositorSetSizeEXT, %object; epoxy_eglCompositorSetSizeEXT: .globl epoxy_eglCompositorSetWindowAttributesEXT .type epoxy_eglCompositorSetWindowAttributesEXT, %object; epoxy_eglCompositorSetWindowAttributesEXT: .globl epoxy_eglCompositorSetWindowListEXT .type epoxy_eglCompositorSetWindowListEXT, %object; epoxy_eglCompositorSetWindowListEXT: .globl epoxy_eglCompositorSwapPolicyEXT .type epoxy_eglCompositorSwapPolicyEXT, %object; epoxy_eglCompositorSwapPolicyEXT: .globl epoxy_eglCopyBuffers .type epoxy_eglCopyBuffers, %object; epoxy_eglCopyBuffers: .globl epoxy_eglCreateContext .type epoxy_eglCreateContext, %object; epoxy_eglCreateContext: .globl epoxy_eglCreateDRMImageMESA .type epoxy_eglCreateDRMImageMESA, %object; epoxy_eglCreateDRMImageMESA: .globl epoxy_eglCreateFenceSyncNV .type epoxy_eglCreateFenceSyncNV, %object; epoxy_eglCreateFenceSyncNV: .globl epoxy_eglCreateImage .type epoxy_eglCreateImage, %object; epoxy_eglCreateImage: .globl epoxy_eglCreateImageKHR .type epoxy_eglCreateImageKHR, %object; epoxy_eglCreateImageKHR: .globl epoxy_eglCreateNativeClientBufferANDROID .type epoxy_eglCreateNativeClientBufferANDROID, %object; epoxy_eglCreateNativeClientBufferANDROID: .globl epoxy_eglCreatePbufferFromClientBuffer .type epoxy_eglCreatePbufferFromClientBuffer, %object; epoxy_eglCreatePbufferFromClientBuffer: .globl epoxy_eglCreatePbufferSurface .type epoxy_eglCreatePbufferSurface, %object; epoxy_eglCreatePbufferSurface: .globl epoxy_eglCreatePixmapSurface .type epoxy_eglCreatePixmapSurface, %object; epoxy_eglCreatePixmapSurface: .globl epoxy_eglCreatePixmapSurfaceHI .type epoxy_eglCreatePixmapSurfaceHI, %object; epoxy_eglCreatePixmapSurfaceHI: .globl epoxy_eglCreatePlatformPixmapSurface .type epoxy_eglCreatePlatformPixmapSurface, %object; epoxy_eglCreatePlatformPixmapSurface: .globl epoxy_eglCreatePlatformPixmapSurfaceEXT .type epoxy_eglCreatePlatformPixmapSurfaceEXT, %object; epoxy_eglCreatePlatformPixmapSurfaceEXT: .globl epoxy_eglCreatePlatformWindowSurface .type epoxy_eglCreatePlatformWindowSurface, %object; epoxy_eglCreatePlatformWindowSurface: .globl epoxy_eglCreatePlatformWindowSurfaceEXT .type epoxy_eglCreatePlatformWindowSurfaceEXT, %object; epoxy_eglCreatePlatformWindowSurfaceEXT: .globl epoxy_eglCreateStreamAttribKHR .type epoxy_eglCreateStreamAttribKHR, %object; epoxy_eglCreateStreamAttribKHR: .globl epoxy_eglCreateStreamFromFileDescriptorKHR .type epoxy_eglCreateStreamFromFileDescriptorKHR, %object; epoxy_eglCreateStreamFromFileDescriptorKHR: .globl epoxy_eglCreateStreamKHR .type epoxy_eglCreateStreamKHR, %object; epoxy_eglCreateStreamKHR: .globl epoxy_eglCreateStreamProducerSurfaceKHR .type epoxy_eglCreateStreamProducerSurfaceKHR, %object; epoxy_eglCreateStreamProducerSurfaceKHR: .globl epoxy_eglCreateStreamSyncNV .type epoxy_eglCreateStreamSyncNV, %object; epoxy_eglCreateStreamSyncNV: .globl epoxy_eglCreateSync .type epoxy_eglCreateSync, %object; epoxy_eglCreateSync: .globl epoxy_eglCreateSync64KHR .type epoxy_eglCreateSync64KHR, %object; epoxy_eglCreateSync64KHR: .globl epoxy_eglCreateSyncKHR .type epoxy_eglCreateSyncKHR, %object; epoxy_eglCreateSyncKHR: .globl epoxy_eglCreateWindowSurface .type epoxy_eglCreateWindowSurface, %object; epoxy_eglCreateWindowSurface: .globl epoxy_eglDebugMessageControlKHR .type epoxy_eglDebugMessageControlKHR, %object; epoxy_eglDebugMessageControlKHR: .globl epoxy_eglDestroyContext .type epoxy_eglDestroyContext, %object; epoxy_eglDestroyContext: .globl epoxy_eglDestroyImage .type epoxy_eglDestroyImage, %object; epoxy_eglDestroyImage: .globl epoxy_eglDestroyImageKHR .type epoxy_eglDestroyImageKHR, %object; epoxy_eglDestroyImageKHR: .globl epoxy_eglDestroyStreamKHR .type epoxy_eglDestroyStreamKHR, %object; epoxy_eglDestroyStreamKHR: .globl epoxy_eglDestroySurface .type epoxy_eglDestroySurface, %object; epoxy_eglDestroySurface: .globl epoxy_eglDestroySync .type epoxy_eglDestroySync, %object; epoxy_eglDestroySync: .globl epoxy_eglDestroySyncKHR .type epoxy_eglDestroySyncKHR, %object; epoxy_eglDestroySyncKHR: .globl epoxy_eglDestroySyncNV .type epoxy_eglDestroySyncNV, %object; epoxy_eglDestroySyncNV: .globl epoxy_eglDupNativeFenceFDANDROID .type epoxy_eglDupNativeFenceFDANDROID, %object; epoxy_eglDupNativeFenceFDANDROID: .globl epoxy_eglExportDMABUFImageMESA .type epoxy_eglExportDMABUFImageMESA, %object; epoxy_eglExportDMABUFImageMESA: .globl epoxy_eglExportDMABUFImageQueryMESA .type epoxy_eglExportDMABUFImageQueryMESA, %object; epoxy_eglExportDMABUFImageQueryMESA: .globl epoxy_eglExportDRMImageMESA .type epoxy_eglExportDRMImageMESA, %object; epoxy_eglExportDRMImageMESA: .globl epoxy_eglFenceNV .type epoxy_eglFenceNV, %object; epoxy_eglFenceNV: .globl epoxy_eglGetCompositorTimingANDROID .type epoxy_eglGetCompositorTimingANDROID, %object; epoxy_eglGetCompositorTimingANDROID: .globl epoxy_eglGetCompositorTimingSupportedANDROID .type epoxy_eglGetCompositorTimingSupportedANDROID, %object; epoxy_eglGetCompositorTimingSupportedANDROID: .globl epoxy_eglGetConfigAttrib .type epoxy_eglGetConfigAttrib, %object; epoxy_eglGetConfigAttrib: .globl epoxy_eglGetConfigs .type epoxy_eglGetConfigs, %object; epoxy_eglGetConfigs: .globl epoxy_eglGetCurrentContext .type epoxy_eglGetCurrentContext, %object; epoxy_eglGetCurrentContext: .globl epoxy_eglGetCurrentDisplay .type epoxy_eglGetCurrentDisplay, %object; epoxy_eglGetCurrentDisplay: .globl epoxy_eglGetCurrentSurface .type epoxy_eglGetCurrentSurface, %object; epoxy_eglGetCurrentSurface: .globl epoxy_eglGetDisplay .type epoxy_eglGetDisplay, %object; epoxy_eglGetDisplay: .globl epoxy_eglGetDisplayDriverConfig .type epoxy_eglGetDisplayDriverConfig, %object; epoxy_eglGetDisplayDriverConfig: .globl epoxy_eglGetDisplayDriverName .type epoxy_eglGetDisplayDriverName, %object; epoxy_eglGetDisplayDriverName: .globl epoxy_eglGetError .type epoxy_eglGetError, %object; epoxy_eglGetError: .globl epoxy_eglGetFrameTimestampSupportedANDROID .type epoxy_eglGetFrameTimestampSupportedANDROID, %object; epoxy_eglGetFrameTimestampSupportedANDROID: .globl epoxy_eglGetFrameTimestampsANDROID .type epoxy_eglGetFrameTimestampsANDROID, %object; epoxy_eglGetFrameTimestampsANDROID: .globl epoxy_eglGetNativeClientBufferANDROID .type epoxy_eglGetNativeClientBufferANDROID, %object; epoxy_eglGetNativeClientBufferANDROID: .globl epoxy_eglGetNextFrameIdANDROID .type epoxy_eglGetNextFrameIdANDROID, %object; epoxy_eglGetNextFrameIdANDROID: .globl epoxy_eglGetOutputLayersEXT .type epoxy_eglGetOutputLayersEXT, %object; epoxy_eglGetOutputLayersEXT: .globl epoxy_eglGetOutputPortsEXT .type epoxy_eglGetOutputPortsEXT, %object; epoxy_eglGetOutputPortsEXT: .globl epoxy_eglGetPlatformDisplay .type epoxy_eglGetPlatformDisplay, %object; epoxy_eglGetPlatformDisplay: .globl epoxy_eglGetPlatformDisplayEXT .type epoxy_eglGetPlatformDisplayEXT, %object; epoxy_eglGetPlatformDisplayEXT: .globl epoxy_eglGetProcAddress .type epoxy_eglGetProcAddress, %object; epoxy_eglGetProcAddress: .globl epoxy_eglGetStreamFileDescriptorKHR .type epoxy_eglGetStreamFileDescriptorKHR, %object; epoxy_eglGetStreamFileDescriptorKHR: .globl epoxy_eglGetSyncAttrib .type epoxy_eglGetSyncAttrib, %object; epoxy_eglGetSyncAttrib: .globl epoxy_eglGetSyncAttribKHR .type epoxy_eglGetSyncAttribKHR, %object; epoxy_eglGetSyncAttribKHR: .globl epoxy_eglGetSyncAttribNV .type epoxy_eglGetSyncAttribNV, %object; epoxy_eglGetSyncAttribNV: .globl epoxy_eglGetSystemTimeFrequencyNV .type epoxy_eglGetSystemTimeFrequencyNV, %object; epoxy_eglGetSystemTimeFrequencyNV: .globl epoxy_eglGetSystemTimeNV .type epoxy_eglGetSystemTimeNV, %object; epoxy_eglGetSystemTimeNV: .globl epoxy_eglInitialize .type epoxy_eglInitialize, %object; epoxy_eglInitialize: .globl epoxy_eglLabelObjectKHR .type epoxy_eglLabelObjectKHR, %object; epoxy_eglLabelObjectKHR: .globl epoxy_eglLockSurfaceKHR .type epoxy_eglLockSurfaceKHR, %object; epoxy_eglLockSurfaceKHR: .globl epoxy_eglMakeCurrent .type epoxy_eglMakeCurrent, %object; epoxy_eglMakeCurrent: .globl epoxy_eglOutputLayerAttribEXT .type epoxy_eglOutputLayerAttribEXT, %object; epoxy_eglOutputLayerAttribEXT: .globl epoxy_eglOutputPortAttribEXT .type epoxy_eglOutputPortAttribEXT, %object; epoxy_eglOutputPortAttribEXT: .globl epoxy_eglPostSubBufferNV .type epoxy_eglPostSubBufferNV, %object; epoxy_eglPostSubBufferNV: .globl epoxy_eglPresentationTimeANDROID .type epoxy_eglPresentationTimeANDROID, %object; epoxy_eglPresentationTimeANDROID: .globl epoxy_eglQueryAPI .type epoxy_eglQueryAPI, %object; epoxy_eglQueryAPI: .globl epoxy_eglQueryContext .type epoxy_eglQueryContext, %object; epoxy_eglQueryContext: .globl epoxy_eglQueryDebugKHR .type epoxy_eglQueryDebugKHR, %object; epoxy_eglQueryDebugKHR: .globl epoxy_eglQueryDeviceAttribEXT .type epoxy_eglQueryDeviceAttribEXT, %object; epoxy_eglQueryDeviceAttribEXT: .globl epoxy_eglQueryDeviceStringEXT .type epoxy_eglQueryDeviceStringEXT, %object; epoxy_eglQueryDeviceStringEXT: .globl epoxy_eglQueryDevicesEXT .type epoxy_eglQueryDevicesEXT, %object; epoxy_eglQueryDevicesEXT: .globl epoxy_eglQueryDisplayAttribEXT .type epoxy_eglQueryDisplayAttribEXT, %object; epoxy_eglQueryDisplayAttribEXT: .globl epoxy_eglQueryDisplayAttribKHR .type epoxy_eglQueryDisplayAttribKHR, %object; epoxy_eglQueryDisplayAttribKHR: .globl epoxy_eglQueryDisplayAttribNV .type epoxy_eglQueryDisplayAttribNV, %object; epoxy_eglQueryDisplayAttribNV: .globl epoxy_eglQueryDmaBufFormatsEXT .type epoxy_eglQueryDmaBufFormatsEXT, %object; epoxy_eglQueryDmaBufFormatsEXT: .globl epoxy_eglQueryDmaBufModifiersEXT .type epoxy_eglQueryDmaBufModifiersEXT, %object; epoxy_eglQueryDmaBufModifiersEXT: .globl epoxy_eglQueryNativeDisplayNV .type epoxy_eglQueryNativeDisplayNV, %object; epoxy_eglQueryNativeDisplayNV: .globl epoxy_eglQueryNativePixmapNV .type epoxy_eglQueryNativePixmapNV, %object; epoxy_eglQueryNativePixmapNV: .globl epoxy_eglQueryNativeWindowNV .type epoxy_eglQueryNativeWindowNV, %object; epoxy_eglQueryNativeWindowNV: .globl epoxy_eglQueryOutputLayerAttribEXT .type epoxy_eglQueryOutputLayerAttribEXT, %object; epoxy_eglQueryOutputLayerAttribEXT: .globl epoxy_eglQueryOutputLayerStringEXT .type epoxy_eglQueryOutputLayerStringEXT, %object; epoxy_eglQueryOutputLayerStringEXT: .globl epoxy_eglQueryOutputPortAttribEXT .type epoxy_eglQueryOutputPortAttribEXT, %object; epoxy_eglQueryOutputPortAttribEXT: .globl epoxy_eglQueryOutputPortStringEXT .type epoxy_eglQueryOutputPortStringEXT, %object; epoxy_eglQueryOutputPortStringEXT: .globl epoxy_eglQueryStreamAttribKHR .type epoxy_eglQueryStreamAttribKHR, %object; epoxy_eglQueryStreamAttribKHR: .globl epoxy_eglQueryStreamKHR .type epoxy_eglQueryStreamKHR, %object; epoxy_eglQueryStreamKHR: .globl epoxy_eglQueryStreamMetadataNV .type epoxy_eglQueryStreamMetadataNV, %object; epoxy_eglQueryStreamMetadataNV: .globl epoxy_eglQueryStreamTimeKHR .type epoxy_eglQueryStreamTimeKHR, %object; epoxy_eglQueryStreamTimeKHR: .globl epoxy_eglQueryStreamu64KHR .type epoxy_eglQueryStreamu64KHR, %object; epoxy_eglQueryStreamu64KHR: .globl epoxy_eglQueryString .type epoxy_eglQueryString, %object; epoxy_eglQueryString: .globl epoxy_eglQuerySurface .type epoxy_eglQuerySurface, %object; epoxy_eglQuerySurface: .globl epoxy_eglQuerySurface64KHR .type epoxy_eglQuerySurface64KHR, %object; epoxy_eglQuerySurface64KHR: .globl epoxy_eglQuerySurfacePointerANGLE .type epoxy_eglQuerySurfacePointerANGLE, %object; epoxy_eglQuerySurfacePointerANGLE: .globl epoxy_eglReleaseTexImage .type epoxy_eglReleaseTexImage, %object; epoxy_eglReleaseTexImage: .globl epoxy_eglReleaseThread .type epoxy_eglReleaseThread, %object; epoxy_eglReleaseThread: .globl epoxy_eglResetStreamNV .type epoxy_eglResetStreamNV, %object; epoxy_eglResetStreamNV: .globl epoxy_eglSetBlobCacheFuncsANDROID .type epoxy_eglSetBlobCacheFuncsANDROID, %object; epoxy_eglSetBlobCacheFuncsANDROID: .globl epoxy_eglSetDamageRegionKHR .type epoxy_eglSetDamageRegionKHR, %object; epoxy_eglSetDamageRegionKHR: .globl epoxy_eglSetStreamAttribKHR .type epoxy_eglSetStreamAttribKHR, %object; epoxy_eglSetStreamAttribKHR: .globl epoxy_eglSetStreamMetadataNV .type epoxy_eglSetStreamMetadataNV, %object; epoxy_eglSetStreamMetadataNV: .globl epoxy_eglSignalSyncKHR .type epoxy_eglSignalSyncKHR, %object; epoxy_eglSignalSyncKHR: .globl epoxy_eglSignalSyncNV .type epoxy_eglSignalSyncNV, %object; epoxy_eglSignalSyncNV: .globl epoxy_eglStreamAttribKHR .type epoxy_eglStreamAttribKHR, %object; epoxy_eglStreamAttribKHR: .globl epoxy_eglStreamConsumerAcquireAttribKHR .type epoxy_eglStreamConsumerAcquireAttribKHR, %object; epoxy_eglStreamConsumerAcquireAttribKHR: .globl epoxy_eglStreamConsumerAcquireKHR .type epoxy_eglStreamConsumerAcquireKHR, %object; epoxy_eglStreamConsumerAcquireKHR: .globl epoxy_eglStreamConsumerGLTextureExternalAttribsNV .type epoxy_eglStreamConsumerGLTextureExternalAttribsNV, %object; epoxy_eglStreamConsumerGLTextureExternalAttribsNV: .globl epoxy_eglStreamConsumerGLTextureExternalKHR .type epoxy_eglStreamConsumerGLTextureExternalKHR, %object; epoxy_eglStreamConsumerGLTextureExternalKHR: .globl epoxy_eglStreamConsumerOutputEXT .type epoxy_eglStreamConsumerOutputEXT, %object; epoxy_eglStreamConsumerOutputEXT: .globl epoxy_eglStreamConsumerReleaseAttribKHR .type epoxy_eglStreamConsumerReleaseAttribKHR, %object; epoxy_eglStreamConsumerReleaseAttribKHR: .globl epoxy_eglStreamConsumerReleaseKHR .type epoxy_eglStreamConsumerReleaseKHR, %object; epoxy_eglStreamConsumerReleaseKHR: .globl epoxy_eglStreamFlushNV .type epoxy_eglStreamFlushNV, %object; epoxy_eglStreamFlushNV: .globl epoxy_eglSurfaceAttrib .type epoxy_eglSurfaceAttrib, %object; epoxy_eglSurfaceAttrib: .globl epoxy_eglSwapBuffers .type epoxy_eglSwapBuffers, %object; epoxy_eglSwapBuffers: .globl epoxy_eglSwapBuffersRegion2NOK .type epoxy_eglSwapBuffersRegion2NOK, %object; epoxy_eglSwapBuffersRegion2NOK: .globl epoxy_eglSwapBuffersRegionNOK .type epoxy_eglSwapBuffersRegionNOK, %object; epoxy_eglSwapBuffersRegionNOK: .globl epoxy_eglSwapBuffersWithDamageEXT .type epoxy_eglSwapBuffersWithDamageEXT, %object; epoxy_eglSwapBuffersWithDamageEXT: .globl epoxy_eglSwapBuffersWithDamageKHR .type epoxy_eglSwapBuffersWithDamageKHR, %object; epoxy_eglSwapBuffersWithDamageKHR: .globl epoxy_eglSwapInterval .type epoxy_eglSwapInterval, %object; epoxy_eglSwapInterval: .globl epoxy_eglTerminate .type epoxy_eglTerminate, %object; epoxy_eglTerminate: .globl epoxy_eglUnlockSurfaceKHR .type epoxy_eglUnlockSurfaceKHR, %object; epoxy_eglUnlockSurfaceKHR: .globl epoxy_eglUnsignalSyncEXT .type epoxy_eglUnsignalSyncEXT, %object; epoxy_eglUnsignalSyncEXT: .globl epoxy_eglWaitClient .type epoxy_eglWaitClient, %object; epoxy_eglWaitClient: .globl epoxy_eglWaitGL .type epoxy_eglWaitGL, %object; epoxy_eglWaitGL: .globl epoxy_eglWaitNative .type epoxy_eglWaitNative, %object; epoxy_eglWaitNative: .globl epoxy_eglWaitSync .type epoxy_eglWaitSync, %object; epoxy_eglWaitSync: .globl epoxy_eglWaitSyncKHR .type epoxy_eglWaitSyncKHR, %object; epoxy_eglWaitSyncKHR: .globl epoxy_glAccum .type epoxy_glAccum, %object; epoxy_glAccum: .globl epoxy_glAccumxOES .type epoxy_glAccumxOES, %object; epoxy_glAccumxOES: .globl epoxy_glAcquireKeyedMutexWin32EXT .type epoxy_glAcquireKeyedMutexWin32EXT, %object; epoxy_glAcquireKeyedMutexWin32EXT: .globl epoxy_glActiveProgramEXT .type epoxy_glActiveProgramEXT, %object; epoxy_glActiveProgramEXT: .globl epoxy_glActiveShaderProgram .type epoxy_glActiveShaderProgram, %object; epoxy_glActiveShaderProgram: .globl epoxy_glActiveShaderProgramEXT .type epoxy_glActiveShaderProgramEXT, %object; epoxy_glActiveShaderProgramEXT: .globl epoxy_glActiveStencilFaceEXT .type epoxy_glActiveStencilFaceEXT, %object; epoxy_glActiveStencilFaceEXT: .globl epoxy_glActiveTexture .type epoxy_glActiveTexture, %object; epoxy_glActiveTexture: .globl epoxy_glActiveTextureARB .type epoxy_glActiveTextureARB, %object; epoxy_glActiveTextureARB: .globl epoxy_glActiveVaryingNV .type epoxy_glActiveVaryingNV, %object; epoxy_glActiveVaryingNV: .globl epoxy_glAlphaFragmentOp1ATI .type epoxy_glAlphaFragmentOp1ATI, %object; epoxy_glAlphaFragmentOp1ATI: .globl epoxy_glAlphaFragmentOp2ATI .type epoxy_glAlphaFragmentOp2ATI, %object; epoxy_glAlphaFragmentOp2ATI: .globl epoxy_glAlphaFragmentOp3ATI .type epoxy_glAlphaFragmentOp3ATI, %object; epoxy_glAlphaFragmentOp3ATI: .globl epoxy_glAlphaFunc .type epoxy_glAlphaFunc, %object; epoxy_glAlphaFunc: .globl epoxy_glAlphaFuncQCOM .type epoxy_glAlphaFuncQCOM, %object; epoxy_glAlphaFuncQCOM: .globl epoxy_glAlphaFuncx .type epoxy_glAlphaFuncx, %object; epoxy_glAlphaFuncx: .globl epoxy_glAlphaFuncxOES .type epoxy_glAlphaFuncxOES, %object; epoxy_glAlphaFuncxOES: .globl epoxy_glAlphaToCoverageDitherControlNV .type epoxy_glAlphaToCoverageDitherControlNV, %object; epoxy_glAlphaToCoverageDitherControlNV: .globl epoxy_glApplyFramebufferAttachmentCMAAINTEL .type epoxy_glApplyFramebufferAttachmentCMAAINTEL, %object; epoxy_glApplyFramebufferAttachmentCMAAINTEL: .globl epoxy_glApplyTextureEXT .type epoxy_glApplyTextureEXT, %object; epoxy_glApplyTextureEXT: .globl epoxy_glAreProgramsResidentNV .type epoxy_glAreProgramsResidentNV, %object; epoxy_glAreProgramsResidentNV: .globl epoxy_glAreTexturesResident .type epoxy_glAreTexturesResident, %object; epoxy_glAreTexturesResident: .globl epoxy_glAreTexturesResidentEXT .type epoxy_glAreTexturesResidentEXT, %object; epoxy_glAreTexturesResidentEXT: .globl epoxy_glArrayElement .type epoxy_glArrayElement, %object; epoxy_glArrayElement: .globl epoxy_glArrayElementEXT .type epoxy_glArrayElementEXT, %object; epoxy_glArrayElementEXT: .globl epoxy_glArrayObjectATI .type epoxy_glArrayObjectATI, %object; epoxy_glArrayObjectATI: .globl epoxy_glAsyncCopyBufferSubDataNVX .type epoxy_glAsyncCopyBufferSubDataNVX, %object; epoxy_glAsyncCopyBufferSubDataNVX: .globl epoxy_glAsyncCopyImageSubDataNVX .type epoxy_glAsyncCopyImageSubDataNVX, %object; epoxy_glAsyncCopyImageSubDataNVX: .globl epoxy_glAsyncMarkerSGIX .type epoxy_glAsyncMarkerSGIX, %object; epoxy_glAsyncMarkerSGIX: .globl epoxy_glAttachObjectARB .type epoxy_glAttachObjectARB, %object; epoxy_glAttachObjectARB: .globl epoxy_glAttachShader .type epoxy_glAttachShader, %object; epoxy_glAttachShader: .globl epoxy_glBegin .type epoxy_glBegin, %object; epoxy_glBegin: .globl epoxy_glBeginConditionalRender .type epoxy_glBeginConditionalRender, %object; epoxy_glBeginConditionalRender: .globl epoxy_glBeginConditionalRenderNV .type epoxy_glBeginConditionalRenderNV, %object; epoxy_glBeginConditionalRenderNV: .globl epoxy_glBeginConditionalRenderNVX .type epoxy_glBeginConditionalRenderNVX, %object; epoxy_glBeginConditionalRenderNVX: .globl epoxy_glBeginFragmentShaderATI .type epoxy_glBeginFragmentShaderATI, %object; epoxy_glBeginFragmentShaderATI: .globl epoxy_glBeginOcclusionQueryNV .type epoxy_glBeginOcclusionQueryNV, %object; epoxy_glBeginOcclusionQueryNV: .globl epoxy_glBeginPerfMonitorAMD .type epoxy_glBeginPerfMonitorAMD, %object; epoxy_glBeginPerfMonitorAMD: .globl epoxy_glBeginPerfQueryINTEL .type epoxy_glBeginPerfQueryINTEL, %object; epoxy_glBeginPerfQueryINTEL: .globl epoxy_glBeginQuery .type epoxy_glBeginQuery, %object; epoxy_glBeginQuery: .globl epoxy_glBeginQueryARB .type epoxy_glBeginQueryARB, %object; epoxy_glBeginQueryARB: .globl epoxy_glBeginQueryEXT .type epoxy_glBeginQueryEXT, %object; epoxy_glBeginQueryEXT: .globl epoxy_glBeginQueryIndexed .type epoxy_glBeginQueryIndexed, %object; epoxy_glBeginQueryIndexed: .globl epoxy_glBeginTransformFeedback .type epoxy_glBeginTransformFeedback, %object; epoxy_glBeginTransformFeedback: .globl epoxy_glBeginTransformFeedbackEXT .type epoxy_glBeginTransformFeedbackEXT, %object; epoxy_glBeginTransformFeedbackEXT: .globl epoxy_glBeginTransformFeedbackNV .type epoxy_glBeginTransformFeedbackNV, %object; epoxy_glBeginTransformFeedbackNV: .globl epoxy_glBeginVertexShaderEXT .type epoxy_glBeginVertexShaderEXT, %object; epoxy_glBeginVertexShaderEXT: .globl epoxy_glBeginVideoCaptureNV .type epoxy_glBeginVideoCaptureNV, %object; epoxy_glBeginVideoCaptureNV: .globl epoxy_glBindAttribLocation .type epoxy_glBindAttribLocation, %object; epoxy_glBindAttribLocation: .globl epoxy_glBindAttribLocationARB .type epoxy_glBindAttribLocationARB, %object; epoxy_glBindAttribLocationARB: .globl epoxy_glBindBuffer .type epoxy_glBindBuffer, %object; epoxy_glBindBuffer: .globl epoxy_glBindBufferARB .type epoxy_glBindBufferARB, %object; epoxy_glBindBufferARB: .globl epoxy_glBindBufferBase .type epoxy_glBindBufferBase, %object; epoxy_glBindBufferBase: .globl epoxy_glBindBufferBaseEXT .type epoxy_glBindBufferBaseEXT, %object; epoxy_glBindBufferBaseEXT: .globl epoxy_glBindBufferBaseNV .type epoxy_glBindBufferBaseNV, %object; epoxy_glBindBufferBaseNV: .globl epoxy_glBindBufferOffsetEXT .type epoxy_glBindBufferOffsetEXT, %object; epoxy_glBindBufferOffsetEXT: .globl epoxy_glBindBufferOffsetNV .type epoxy_glBindBufferOffsetNV, %object; epoxy_glBindBufferOffsetNV: .globl epoxy_glBindBufferRange .type epoxy_glBindBufferRange, %object; epoxy_glBindBufferRange: .globl epoxy_glBindBufferRangeEXT .type epoxy_glBindBufferRangeEXT, %object; epoxy_glBindBufferRangeEXT: .globl epoxy_glBindBufferRangeNV .type epoxy_glBindBufferRangeNV, %object; epoxy_glBindBufferRangeNV: .globl epoxy_glBindBuffersBase .type epoxy_glBindBuffersBase, %object; epoxy_glBindBuffersBase: .globl epoxy_glBindBuffersRange .type epoxy_glBindBuffersRange, %object; epoxy_glBindBuffersRange: .globl epoxy_glBindFragDataLocation .type epoxy_glBindFragDataLocation, %object; epoxy_glBindFragDataLocation: .globl epoxy_glBindFragDataLocationEXT .type epoxy_glBindFragDataLocationEXT, %object; epoxy_glBindFragDataLocationEXT: .globl epoxy_glBindFragDataLocationIndexed .type epoxy_glBindFragDataLocationIndexed, %object; epoxy_glBindFragDataLocationIndexed: .globl epoxy_glBindFragDataLocationIndexedEXT .type epoxy_glBindFragDataLocationIndexedEXT, %object; epoxy_glBindFragDataLocationIndexedEXT: .globl epoxy_glBindFragmentShaderATI .type epoxy_glBindFragmentShaderATI, %object; epoxy_glBindFragmentShaderATI: .globl epoxy_glBindFramebuffer .type epoxy_glBindFramebuffer, %object; epoxy_glBindFramebuffer: .globl epoxy_glBindFramebufferEXT .type epoxy_glBindFramebufferEXT, %object; epoxy_glBindFramebufferEXT: .globl epoxy_glBindFramebufferOES .type epoxy_glBindFramebufferOES, %object; epoxy_glBindFramebufferOES: .globl epoxy_glBindImageTexture .type epoxy_glBindImageTexture, %object; epoxy_glBindImageTexture: .globl epoxy_glBindImageTextureEXT .type epoxy_glBindImageTextureEXT, %object; epoxy_glBindImageTextureEXT: .globl epoxy_glBindImageTextures .type epoxy_glBindImageTextures, %object; epoxy_glBindImageTextures: .globl epoxy_glBindLightParameterEXT .type epoxy_glBindLightParameterEXT, %object; epoxy_glBindLightParameterEXT: .globl epoxy_glBindMaterialParameterEXT .type epoxy_glBindMaterialParameterEXT, %object; epoxy_glBindMaterialParameterEXT: .globl epoxy_glBindMultiTextureEXT .type epoxy_glBindMultiTextureEXT, %object; epoxy_glBindMultiTextureEXT: .globl epoxy_glBindParameterEXT .type epoxy_glBindParameterEXT, %object; epoxy_glBindParameterEXT: .globl epoxy_glBindProgramARB .type epoxy_glBindProgramARB, %object; epoxy_glBindProgramARB: .globl epoxy_glBindProgramNV .type epoxy_glBindProgramNV, %object; epoxy_glBindProgramNV: .globl epoxy_glBindProgramPipeline .type epoxy_glBindProgramPipeline, %object; epoxy_glBindProgramPipeline: .globl epoxy_glBindProgramPipelineEXT .type epoxy_glBindProgramPipelineEXT, %object; epoxy_glBindProgramPipelineEXT: .globl epoxy_glBindRenderbuffer .type epoxy_glBindRenderbuffer, %object; epoxy_glBindRenderbuffer: .globl epoxy_glBindRenderbufferEXT .type epoxy_glBindRenderbufferEXT, %object; epoxy_glBindRenderbufferEXT: .globl epoxy_glBindRenderbufferOES .type epoxy_glBindRenderbufferOES, %object; epoxy_glBindRenderbufferOES: .globl epoxy_glBindSampler .type epoxy_glBindSampler, %object; epoxy_glBindSampler: .globl epoxy_glBindSamplers .type epoxy_glBindSamplers, %object; epoxy_glBindSamplers: .globl epoxy_glBindShadingRateImageNV .type epoxy_glBindShadingRateImageNV, %object; epoxy_glBindShadingRateImageNV: .globl epoxy_glBindTexGenParameterEXT .type epoxy_glBindTexGenParameterEXT, %object; epoxy_glBindTexGenParameterEXT: .globl epoxy_glBindTexture .type epoxy_glBindTexture, %object; epoxy_glBindTexture: .globl epoxy_glBindTextureEXT .type epoxy_glBindTextureEXT, %object; epoxy_glBindTextureEXT: .globl epoxy_glBindTextureUnit .type epoxy_glBindTextureUnit, %object; epoxy_glBindTextureUnit: .globl epoxy_glBindTextureUnitParameterEXT .type epoxy_glBindTextureUnitParameterEXT, %object; epoxy_glBindTextureUnitParameterEXT: .globl epoxy_glBindTextures .type epoxy_glBindTextures, %object; epoxy_glBindTextures: .globl epoxy_glBindTransformFeedback .type epoxy_glBindTransformFeedback, %object; epoxy_glBindTransformFeedback: .globl epoxy_glBindTransformFeedbackNV .type epoxy_glBindTransformFeedbackNV, %object; epoxy_glBindTransformFeedbackNV: .globl epoxy_glBindVertexArray .type epoxy_glBindVertexArray, %object; epoxy_glBindVertexArray: .globl epoxy_glBindVertexArrayAPPLE .type epoxy_glBindVertexArrayAPPLE, %object; epoxy_glBindVertexArrayAPPLE: .globl epoxy_glBindVertexArrayOES .type epoxy_glBindVertexArrayOES, %object; epoxy_glBindVertexArrayOES: .globl epoxy_glBindVertexBuffer .type epoxy_glBindVertexBuffer, %object; epoxy_glBindVertexBuffer: .globl epoxy_glBindVertexBuffers .type epoxy_glBindVertexBuffers, %object; epoxy_glBindVertexBuffers: .globl epoxy_glBindVertexShaderEXT .type epoxy_glBindVertexShaderEXT, %object; epoxy_glBindVertexShaderEXT: .globl epoxy_glBindVideoCaptureStreamBufferNV .type epoxy_glBindVideoCaptureStreamBufferNV, %object; epoxy_glBindVideoCaptureStreamBufferNV: .globl epoxy_glBindVideoCaptureStreamTextureNV .type epoxy_glBindVideoCaptureStreamTextureNV, %object; epoxy_glBindVideoCaptureStreamTextureNV: .globl epoxy_glBinormal3bEXT .type epoxy_glBinormal3bEXT, %object; epoxy_glBinormal3bEXT: .globl epoxy_glBinormal3bvEXT .type epoxy_glBinormal3bvEXT, %object; epoxy_glBinormal3bvEXT: .globl epoxy_glBinormal3dEXT .type epoxy_glBinormal3dEXT, %object; epoxy_glBinormal3dEXT: .globl epoxy_glBinormal3dvEXT .type epoxy_glBinormal3dvEXT, %object; epoxy_glBinormal3dvEXT: .globl epoxy_glBinormal3fEXT .type epoxy_glBinormal3fEXT, %object; epoxy_glBinormal3fEXT: .globl epoxy_glBinormal3fvEXT .type epoxy_glBinormal3fvEXT, %object; epoxy_glBinormal3fvEXT: .globl epoxy_glBinormal3iEXT .type epoxy_glBinormal3iEXT, %object; epoxy_glBinormal3iEXT: .globl epoxy_glBinormal3ivEXT .type epoxy_glBinormal3ivEXT, %object; epoxy_glBinormal3ivEXT: .globl epoxy_glBinormal3sEXT .type epoxy_glBinormal3sEXT, %object; epoxy_glBinormal3sEXT: .globl epoxy_glBinormal3svEXT .type epoxy_glBinormal3svEXT, %object; epoxy_glBinormal3svEXT: .globl epoxy_glBinormalPointerEXT .type epoxy_glBinormalPointerEXT, %object; epoxy_glBinormalPointerEXT: .globl epoxy_glBitmap .type epoxy_glBitmap, %object; epoxy_glBitmap: .globl epoxy_glBitmapxOES .type epoxy_glBitmapxOES, %object; epoxy_glBitmapxOES: .globl epoxy_glBlendBarrier .type epoxy_glBlendBarrier, %object; epoxy_glBlendBarrier: .globl epoxy_glBlendBarrierKHR .type epoxy_glBlendBarrierKHR, %object; epoxy_glBlendBarrierKHR: .globl epoxy_glBlendBarrierNV .type epoxy_glBlendBarrierNV, %object; epoxy_glBlendBarrierNV: .globl epoxy_glBlendColor .type epoxy_glBlendColor, %object; epoxy_glBlendColor: .globl epoxy_glBlendColorEXT .type epoxy_glBlendColorEXT, %object; epoxy_glBlendColorEXT: .globl epoxy_glBlendColorxOES .type epoxy_glBlendColorxOES, %object; epoxy_glBlendColorxOES: .globl epoxy_glBlendEquation .type epoxy_glBlendEquation, %object; epoxy_glBlendEquation: .globl epoxy_glBlendEquationEXT .type epoxy_glBlendEquationEXT, %object; epoxy_glBlendEquationEXT: .globl epoxy_glBlendEquationIndexedAMD .type epoxy_glBlendEquationIndexedAMD, %object; epoxy_glBlendEquationIndexedAMD: .globl epoxy_glBlendEquationOES .type epoxy_glBlendEquationOES, %object; epoxy_glBlendEquationOES: .globl epoxy_glBlendEquationSeparate .type epoxy_glBlendEquationSeparate, %object; epoxy_glBlendEquationSeparate: .globl epoxy_glBlendEquationSeparateEXT .type epoxy_glBlendEquationSeparateEXT, %object; epoxy_glBlendEquationSeparateEXT: .globl epoxy_glBlendEquationSeparateIndexedAMD .type epoxy_glBlendEquationSeparateIndexedAMD, %object; epoxy_glBlendEquationSeparateIndexedAMD: .globl epoxy_glBlendEquationSeparateOES .type epoxy_glBlendEquationSeparateOES, %object; epoxy_glBlendEquationSeparateOES: .globl epoxy_glBlendEquationSeparatei .type epoxy_glBlendEquationSeparatei, %object; epoxy_glBlendEquationSeparatei: .globl epoxy_glBlendEquationSeparateiARB .type epoxy_glBlendEquationSeparateiARB, %object; epoxy_glBlendEquationSeparateiARB: .globl epoxy_glBlendEquationSeparateiEXT .type epoxy_glBlendEquationSeparateiEXT, %object; epoxy_glBlendEquationSeparateiEXT: .globl epoxy_glBlendEquationSeparateiOES .type epoxy_glBlendEquationSeparateiOES, %object; epoxy_glBlendEquationSeparateiOES: .globl epoxy_glBlendEquationi .type epoxy_glBlendEquationi, %object; epoxy_glBlendEquationi: .globl epoxy_glBlendEquationiARB .type epoxy_glBlendEquationiARB, %object; epoxy_glBlendEquationiARB: .globl epoxy_glBlendEquationiEXT .type epoxy_glBlendEquationiEXT, %object; epoxy_glBlendEquationiEXT: .globl epoxy_glBlendEquationiOES .type epoxy_glBlendEquationiOES, %object; epoxy_glBlendEquationiOES: .globl epoxy_glBlendFunc .type epoxy_glBlendFunc, %object; epoxy_glBlendFunc: .globl epoxy_glBlendFuncIndexedAMD .type epoxy_glBlendFuncIndexedAMD, %object; epoxy_glBlendFuncIndexedAMD: .globl epoxy_glBlendFuncSeparate .type epoxy_glBlendFuncSeparate, %object; epoxy_glBlendFuncSeparate: .globl epoxy_glBlendFuncSeparateEXT .type epoxy_glBlendFuncSeparateEXT, %object; epoxy_glBlendFuncSeparateEXT: .globl epoxy_glBlendFuncSeparateINGR .type epoxy_glBlendFuncSeparateINGR, %object; epoxy_glBlendFuncSeparateINGR: .globl epoxy_glBlendFuncSeparateIndexedAMD .type epoxy_glBlendFuncSeparateIndexedAMD, %object; epoxy_glBlendFuncSeparateIndexedAMD: .globl epoxy_glBlendFuncSeparateOES .type epoxy_glBlendFuncSeparateOES, %object; epoxy_glBlendFuncSeparateOES: .globl epoxy_glBlendFuncSeparatei .type epoxy_glBlendFuncSeparatei, %object; epoxy_glBlendFuncSeparatei: .globl epoxy_glBlendFuncSeparateiARB .type epoxy_glBlendFuncSeparateiARB, %object; epoxy_glBlendFuncSeparateiARB: .globl epoxy_glBlendFuncSeparateiEXT .type epoxy_glBlendFuncSeparateiEXT, %object; epoxy_glBlendFuncSeparateiEXT: .globl epoxy_glBlendFuncSeparateiOES .type epoxy_glBlendFuncSeparateiOES, %object; epoxy_glBlendFuncSeparateiOES: .globl epoxy_glBlendFunci .type epoxy_glBlendFunci, %object; epoxy_glBlendFunci: .globl epoxy_glBlendFunciARB .type epoxy_glBlendFunciARB, %object; epoxy_glBlendFunciARB: .globl epoxy_glBlendFunciEXT .type epoxy_glBlendFunciEXT, %object; epoxy_glBlendFunciEXT: .globl epoxy_glBlendFunciOES .type epoxy_glBlendFunciOES, %object; epoxy_glBlendFunciOES: .globl epoxy_glBlendParameteriNV .type epoxy_glBlendParameteriNV, %object; epoxy_glBlendParameteriNV: .globl epoxy_glBlitFramebuffer .type epoxy_glBlitFramebuffer, %object; epoxy_glBlitFramebuffer: .globl epoxy_glBlitFramebufferANGLE .type epoxy_glBlitFramebufferANGLE, %object; epoxy_glBlitFramebufferANGLE: .globl epoxy_glBlitFramebufferEXT .type epoxy_glBlitFramebufferEXT, %object; epoxy_glBlitFramebufferEXT: .globl epoxy_glBlitFramebufferNV .type epoxy_glBlitFramebufferNV, %object; epoxy_glBlitFramebufferNV: .globl epoxy_glBlitNamedFramebuffer .type epoxy_glBlitNamedFramebuffer, %object; epoxy_glBlitNamedFramebuffer: .globl epoxy_glBufferAddressRangeNV .type epoxy_glBufferAddressRangeNV, %object; epoxy_glBufferAddressRangeNV: .globl epoxy_glBufferAttachMemoryNV .type epoxy_glBufferAttachMemoryNV, %object; epoxy_glBufferAttachMemoryNV: .globl epoxy_glBufferData .type epoxy_glBufferData, %object; epoxy_glBufferData: .globl epoxy_glBufferDataARB .type epoxy_glBufferDataARB, %object; epoxy_glBufferDataARB: .globl epoxy_glBufferPageCommitmentARB .type epoxy_glBufferPageCommitmentARB, %object; epoxy_glBufferPageCommitmentARB: .globl epoxy_glBufferParameteriAPPLE .type epoxy_glBufferParameteriAPPLE, %object; epoxy_glBufferParameteriAPPLE: .globl epoxy_glBufferStorage .type epoxy_glBufferStorage, %object; epoxy_glBufferStorage: .globl epoxy_glBufferStorageEXT .type epoxy_glBufferStorageEXT, %object; epoxy_glBufferStorageEXT: .globl epoxy_glBufferStorageExternalEXT .type epoxy_glBufferStorageExternalEXT, %object; epoxy_glBufferStorageExternalEXT: .globl epoxy_glBufferStorageMemEXT .type epoxy_glBufferStorageMemEXT, %object; epoxy_glBufferStorageMemEXT: .globl epoxy_glBufferSubData .type epoxy_glBufferSubData, %object; epoxy_glBufferSubData: .globl epoxy_glBufferSubDataARB .type epoxy_glBufferSubDataARB, %object; epoxy_glBufferSubDataARB: .globl epoxy_glCallCommandListNV .type epoxy_glCallCommandListNV, %object; epoxy_glCallCommandListNV: .globl epoxy_glCallList .type epoxy_glCallList, %object; epoxy_glCallList: .globl epoxy_glCallLists .type epoxy_glCallLists, %object; epoxy_glCallLists: .globl epoxy_glCheckFramebufferStatus .type epoxy_glCheckFramebufferStatus, %object; epoxy_glCheckFramebufferStatus: .globl epoxy_glCheckFramebufferStatusEXT .type epoxy_glCheckFramebufferStatusEXT, %object; epoxy_glCheckFramebufferStatusEXT: .globl epoxy_glCheckFramebufferStatusOES .type epoxy_glCheckFramebufferStatusOES, %object; epoxy_glCheckFramebufferStatusOES: .globl epoxy_glCheckNamedFramebufferStatus .type epoxy_glCheckNamedFramebufferStatus, %object; epoxy_glCheckNamedFramebufferStatus: .globl epoxy_glCheckNamedFramebufferStatusEXT .type epoxy_glCheckNamedFramebufferStatusEXT, %object; epoxy_glCheckNamedFramebufferStatusEXT: .globl epoxy_glClampColor .type epoxy_glClampColor, %object; epoxy_glClampColor: .globl epoxy_glClampColorARB .type epoxy_glClampColorARB, %object; epoxy_glClampColorARB: .globl epoxy_glClear .type epoxy_glClear, %object; epoxy_glClear: .globl epoxy_glClearAccum .type epoxy_glClearAccum, %object; epoxy_glClearAccum: .globl epoxy_glClearAccumxOES .type epoxy_glClearAccumxOES, %object; epoxy_glClearAccumxOES: .globl epoxy_glClearBufferData .type epoxy_glClearBufferData, %object; epoxy_glClearBufferData: .globl epoxy_glClearBufferSubData .type epoxy_glClearBufferSubData, %object; epoxy_glClearBufferSubData: .globl epoxy_glClearBufferfi .type epoxy_glClearBufferfi, %object; epoxy_glClearBufferfi: .globl epoxy_glClearBufferfv .type epoxy_glClearBufferfv, %object; epoxy_glClearBufferfv: .globl epoxy_glClearBufferiv .type epoxy_glClearBufferiv, %object; epoxy_glClearBufferiv: .globl epoxy_glClearBufferuiv .type epoxy_glClearBufferuiv, %object; epoxy_glClearBufferuiv: .globl epoxy_glClearColor .type epoxy_glClearColor, %object; epoxy_glClearColor: .globl epoxy_glClearColorIiEXT .type epoxy_glClearColorIiEXT, %object; epoxy_glClearColorIiEXT: .globl epoxy_glClearColorIuiEXT .type epoxy_glClearColorIuiEXT, %object; epoxy_glClearColorIuiEXT: .globl epoxy_glClearColorx .type epoxy_glClearColorx, %object; epoxy_glClearColorx: .globl epoxy_glClearColorxOES .type epoxy_glClearColorxOES, %object; epoxy_glClearColorxOES: .globl epoxy_glClearDepth .type epoxy_glClearDepth, %object; epoxy_glClearDepth: .globl epoxy_glClearDepthdNV .type epoxy_glClearDepthdNV, %object; epoxy_glClearDepthdNV: .globl epoxy_glClearDepthf .type epoxy_glClearDepthf, %object; epoxy_glClearDepthf: .globl epoxy_glClearDepthfOES .type epoxy_glClearDepthfOES, %object; epoxy_glClearDepthfOES: .globl epoxy_glClearDepthx .type epoxy_glClearDepthx, %object; epoxy_glClearDepthx: .globl epoxy_glClearDepthxOES .type epoxy_glClearDepthxOES, %object; epoxy_glClearDepthxOES: .globl epoxy_glClearIndex .type epoxy_glClearIndex, %object; epoxy_glClearIndex: .globl epoxy_glClearNamedBufferData .type epoxy_glClearNamedBufferData, %object; epoxy_glClearNamedBufferData: .globl epoxy_glClearNamedBufferDataEXT .type epoxy_glClearNamedBufferDataEXT, %object; epoxy_glClearNamedBufferDataEXT: .globl epoxy_glClearNamedBufferSubData .type epoxy_glClearNamedBufferSubData, %object; epoxy_glClearNamedBufferSubData: .globl epoxy_glClearNamedBufferSubDataEXT .type epoxy_glClearNamedBufferSubDataEXT, %object; epoxy_glClearNamedBufferSubDataEXT: .globl epoxy_glClearNamedFramebufferfi .type epoxy_glClearNamedFramebufferfi, %object; epoxy_glClearNamedFramebufferfi: .globl epoxy_glClearNamedFramebufferfv .type epoxy_glClearNamedFramebufferfv, %object; epoxy_glClearNamedFramebufferfv: .globl epoxy_glClearNamedFramebufferiv .type epoxy_glClearNamedFramebufferiv, %object; epoxy_glClearNamedFramebufferiv: .globl epoxy_glClearNamedFramebufferuiv .type epoxy_glClearNamedFramebufferuiv, %object; epoxy_glClearNamedFramebufferuiv: .globl epoxy_glClearPixelLocalStorageuiEXT .type epoxy_glClearPixelLocalStorageuiEXT, %object; epoxy_glClearPixelLocalStorageuiEXT: .globl epoxy_glClearStencil .type epoxy_glClearStencil, %object; epoxy_glClearStencil: .globl epoxy_glClearTexImage .type epoxy_glClearTexImage, %object; epoxy_glClearTexImage: .globl epoxy_glClearTexImageEXT .type epoxy_glClearTexImageEXT, %object; epoxy_glClearTexImageEXT: .globl epoxy_glClearTexSubImage .type epoxy_glClearTexSubImage, %object; epoxy_glClearTexSubImage: .globl epoxy_glClearTexSubImageEXT .type epoxy_glClearTexSubImageEXT, %object; epoxy_glClearTexSubImageEXT: .globl epoxy_glClientActiveTexture .type epoxy_glClientActiveTexture, %object; epoxy_glClientActiveTexture: .globl epoxy_glClientActiveTextureARB .type epoxy_glClientActiveTextureARB, %object; epoxy_glClientActiveTextureARB: .globl epoxy_glClientActiveVertexStreamATI .type epoxy_glClientActiveVertexStreamATI, %object; epoxy_glClientActiveVertexStreamATI: .globl epoxy_glClientAttribDefaultEXT .type epoxy_glClientAttribDefaultEXT, %object; epoxy_glClientAttribDefaultEXT: .globl epoxy_glClientWaitSemaphoreui64NVX .type epoxy_glClientWaitSemaphoreui64NVX, %object; epoxy_glClientWaitSemaphoreui64NVX: .globl epoxy_glClientWaitSync .type epoxy_glClientWaitSync, %object; epoxy_glClientWaitSync: .globl epoxy_glClientWaitSyncAPPLE .type epoxy_glClientWaitSyncAPPLE, %object; epoxy_glClientWaitSyncAPPLE: .globl epoxy_glClipControl .type epoxy_glClipControl, %object; epoxy_glClipControl: .globl epoxy_glClipControlEXT .type epoxy_glClipControlEXT, %object; epoxy_glClipControlEXT: .globl epoxy_glClipPlane .type epoxy_glClipPlane, %object; epoxy_glClipPlane: .globl epoxy_glClipPlanef .type epoxy_glClipPlanef, %object; epoxy_glClipPlanef: .globl epoxy_glClipPlanefIMG .type epoxy_glClipPlanefIMG, %object; epoxy_glClipPlanefIMG: .globl epoxy_glClipPlanefOES .type epoxy_glClipPlanefOES, %object; epoxy_glClipPlanefOES: .globl epoxy_glClipPlanex .type epoxy_glClipPlanex, %object; epoxy_glClipPlanex: .globl epoxy_glClipPlanexIMG .type epoxy_glClipPlanexIMG, %object; epoxy_glClipPlanexIMG: .globl epoxy_glClipPlanexOES .type epoxy_glClipPlanexOES, %object; epoxy_glClipPlanexOES: .globl epoxy_glColor3b .type epoxy_glColor3b, %object; epoxy_glColor3b: .globl epoxy_glColor3bv .type epoxy_glColor3bv, %object; epoxy_glColor3bv: .globl epoxy_glColor3d .type epoxy_glColor3d, %object; epoxy_glColor3d: .globl epoxy_glColor3dv .type epoxy_glColor3dv, %object; epoxy_glColor3dv: .globl epoxy_glColor3f .type epoxy_glColor3f, %object; epoxy_glColor3f: .globl epoxy_glColor3fVertex3fSUN .type epoxy_glColor3fVertex3fSUN, %object; epoxy_glColor3fVertex3fSUN: .globl epoxy_glColor3fVertex3fvSUN .type epoxy_glColor3fVertex3fvSUN, %object; epoxy_glColor3fVertex3fvSUN: .globl epoxy_glColor3fv .type epoxy_glColor3fv, %object; epoxy_glColor3fv: .globl epoxy_glColor3hNV .type epoxy_glColor3hNV, %object; epoxy_glColor3hNV: .globl epoxy_glColor3hvNV .type epoxy_glColor3hvNV, %object; epoxy_glColor3hvNV: .globl epoxy_glColor3i .type epoxy_glColor3i, %object; epoxy_glColor3i: .globl epoxy_glColor3iv .type epoxy_glColor3iv, %object; epoxy_glColor3iv: .globl epoxy_glColor3s .type epoxy_glColor3s, %object; epoxy_glColor3s: .globl epoxy_glColor3sv .type epoxy_glColor3sv, %object; epoxy_glColor3sv: .globl epoxy_glColor3ub .type epoxy_glColor3ub, %object; epoxy_glColor3ub: .globl epoxy_glColor3ubv .type epoxy_glColor3ubv, %object; epoxy_glColor3ubv: .globl epoxy_glColor3ui .type epoxy_glColor3ui, %object; epoxy_glColor3ui: .globl epoxy_glColor3uiv .type epoxy_glColor3uiv, %object; epoxy_glColor3uiv: .globl epoxy_glColor3us .type epoxy_glColor3us, %object; epoxy_glColor3us: .globl epoxy_glColor3usv .type epoxy_glColor3usv, %object; epoxy_glColor3usv: .globl epoxy_glColor3xOES .type epoxy_glColor3xOES, %object; epoxy_glColor3xOES: .globl epoxy_glColor3xvOES .type epoxy_glColor3xvOES, %object; epoxy_glColor3xvOES: .globl epoxy_glColor4b .type epoxy_glColor4b, %object; epoxy_glColor4b: .globl epoxy_glColor4bv .type epoxy_glColor4bv, %object; epoxy_glColor4bv: .globl epoxy_glColor4d .type epoxy_glColor4d, %object; epoxy_glColor4d: .globl epoxy_glColor4dv .type epoxy_glColor4dv, %object; epoxy_glColor4dv: .globl epoxy_glColor4f .type epoxy_glColor4f, %object; epoxy_glColor4f: .globl epoxy_glColor4fNormal3fVertex3fSUN .type epoxy_glColor4fNormal3fVertex3fSUN, %object; epoxy_glColor4fNormal3fVertex3fSUN: .globl epoxy_glColor4fNormal3fVertex3fvSUN .type epoxy_glColor4fNormal3fVertex3fvSUN, %object; epoxy_glColor4fNormal3fVertex3fvSUN: .globl epoxy_glColor4fv .type epoxy_glColor4fv, %object; epoxy_glColor4fv: .globl epoxy_glColor4hNV .type epoxy_glColor4hNV, %object; epoxy_glColor4hNV: .globl epoxy_glColor4hvNV .type epoxy_glColor4hvNV, %object; epoxy_glColor4hvNV: .globl epoxy_glColor4i .type epoxy_glColor4i, %object; epoxy_glColor4i: .globl epoxy_glColor4iv .type epoxy_glColor4iv, %object; epoxy_glColor4iv: .globl epoxy_glColor4s .type epoxy_glColor4s, %object; epoxy_glColor4s: .globl epoxy_glColor4sv .type epoxy_glColor4sv, %object; epoxy_glColor4sv: .globl epoxy_glColor4ub .type epoxy_glColor4ub, %object; epoxy_glColor4ub: .globl epoxy_glColor4ubVertex2fSUN .type epoxy_glColor4ubVertex2fSUN, %object; epoxy_glColor4ubVertex2fSUN: .globl epoxy_glColor4ubVertex2fvSUN .type epoxy_glColor4ubVertex2fvSUN, %object; epoxy_glColor4ubVertex2fvSUN: .globl epoxy_glColor4ubVertex3fSUN .type epoxy_glColor4ubVertex3fSUN, %object; epoxy_glColor4ubVertex3fSUN: .globl epoxy_glColor4ubVertex3fvSUN .type epoxy_glColor4ubVertex3fvSUN, %object; epoxy_glColor4ubVertex3fvSUN: .globl epoxy_glColor4ubv .type epoxy_glColor4ubv, %object; epoxy_glColor4ubv: .globl epoxy_glColor4ui .type epoxy_glColor4ui, %object; epoxy_glColor4ui: .globl epoxy_glColor4uiv .type epoxy_glColor4uiv, %object; epoxy_glColor4uiv: .globl epoxy_glColor4us .type epoxy_glColor4us, %object; epoxy_glColor4us: .globl epoxy_glColor4usv .type epoxy_glColor4usv, %object; epoxy_glColor4usv: .globl epoxy_glColor4x .type epoxy_glColor4x, %object; epoxy_glColor4x: .globl epoxy_glColor4xOES .type epoxy_glColor4xOES, %object; epoxy_glColor4xOES: .globl epoxy_glColor4xvOES .type epoxy_glColor4xvOES, %object; epoxy_glColor4xvOES: .globl epoxy_glColorFormatNV .type epoxy_glColorFormatNV, %object; epoxy_glColorFormatNV: .globl epoxy_glColorFragmentOp1ATI .type epoxy_glColorFragmentOp1ATI, %object; epoxy_glColorFragmentOp1ATI: .globl epoxy_glColorFragmentOp2ATI .type epoxy_glColorFragmentOp2ATI, %object; epoxy_glColorFragmentOp2ATI: .globl epoxy_glColorFragmentOp3ATI .type epoxy_glColorFragmentOp3ATI, %object; epoxy_glColorFragmentOp3ATI: .globl epoxy_glColorMask .type epoxy_glColorMask, %object; epoxy_glColorMask: .globl epoxy_glColorMaskIndexedEXT .type epoxy_glColorMaskIndexedEXT, %object; epoxy_glColorMaskIndexedEXT: .globl epoxy_glColorMaski .type epoxy_glColorMaski, %object; epoxy_glColorMaski: .globl epoxy_glColorMaskiEXT .type epoxy_glColorMaskiEXT, %object; epoxy_glColorMaskiEXT: .globl epoxy_glColorMaskiOES .type epoxy_glColorMaskiOES, %object; epoxy_glColorMaskiOES: .globl epoxy_glColorMaterial .type epoxy_glColorMaterial, %object; epoxy_glColorMaterial: .globl epoxy_glColorP3ui .type epoxy_glColorP3ui, %object; epoxy_glColorP3ui: .globl epoxy_glColorP3uiv .type epoxy_glColorP3uiv, %object; epoxy_glColorP3uiv: .globl epoxy_glColorP4ui .type epoxy_glColorP4ui, %object; epoxy_glColorP4ui: .globl epoxy_glColorP4uiv .type epoxy_glColorP4uiv, %object; epoxy_glColorP4uiv: .globl epoxy_glColorPointer .type epoxy_glColorPointer, %object; epoxy_glColorPointer: .globl epoxy_glColorPointerEXT .type epoxy_glColorPointerEXT, %object; epoxy_glColorPointerEXT: .globl epoxy_glColorPointerListIBM .type epoxy_glColorPointerListIBM, %object; epoxy_glColorPointerListIBM: .globl epoxy_glColorPointervINTEL .type epoxy_glColorPointervINTEL, %object; epoxy_glColorPointervINTEL: .globl epoxy_glColorSubTable .type epoxy_glColorSubTable, %object; epoxy_glColorSubTable: .globl epoxy_glColorSubTableEXT .type epoxy_glColorSubTableEXT, %object; epoxy_glColorSubTableEXT: .globl epoxy_glColorTable .type epoxy_glColorTable, %object; epoxy_glColorTable: .globl epoxy_glColorTableEXT .type epoxy_glColorTableEXT, %object; epoxy_glColorTableEXT: .globl epoxy_glColorTableParameterfv .type epoxy_glColorTableParameterfv, %object; epoxy_glColorTableParameterfv: .globl epoxy_glColorTableParameterfvSGI .type epoxy_glColorTableParameterfvSGI, %object; epoxy_glColorTableParameterfvSGI: .globl epoxy_glColorTableParameteriv .type epoxy_glColorTableParameteriv, %object; epoxy_glColorTableParameteriv: .globl epoxy_glColorTableParameterivSGI .type epoxy_glColorTableParameterivSGI, %object; epoxy_glColorTableParameterivSGI: .globl epoxy_glColorTableSGI .type epoxy_glColorTableSGI, %object; epoxy_glColorTableSGI: .globl epoxy_glCombinerInputNV .type epoxy_glCombinerInputNV, %object; epoxy_glCombinerInputNV: .globl epoxy_glCombinerOutputNV .type epoxy_glCombinerOutputNV, %object; epoxy_glCombinerOutputNV: .globl epoxy_glCombinerParameterfNV .type epoxy_glCombinerParameterfNV, %object; epoxy_glCombinerParameterfNV: .globl epoxy_glCombinerParameterfvNV .type epoxy_glCombinerParameterfvNV, %object; epoxy_glCombinerParameterfvNV: .globl epoxy_glCombinerParameteriNV .type epoxy_glCombinerParameteriNV, %object; epoxy_glCombinerParameteriNV: .globl epoxy_glCombinerParameterivNV .type epoxy_glCombinerParameterivNV, %object; epoxy_glCombinerParameterivNV: .globl epoxy_glCombinerStageParameterfvNV .type epoxy_glCombinerStageParameterfvNV, %object; epoxy_glCombinerStageParameterfvNV: .globl epoxy_glCommandListSegmentsNV .type epoxy_glCommandListSegmentsNV, %object; epoxy_glCommandListSegmentsNV: .globl epoxy_glCompileCommandListNV .type epoxy_glCompileCommandListNV, %object; epoxy_glCompileCommandListNV: .globl epoxy_glCompileShader .type epoxy_glCompileShader, %object; epoxy_glCompileShader: .globl epoxy_glCompileShaderARB .type epoxy_glCompileShaderARB, %object; epoxy_glCompileShaderARB: .globl epoxy_glCompileShaderIncludeARB .type epoxy_glCompileShaderIncludeARB, %object; epoxy_glCompileShaderIncludeARB: .globl epoxy_glCompressedMultiTexImage1DEXT .type epoxy_glCompressedMultiTexImage1DEXT, %object; epoxy_glCompressedMultiTexImage1DEXT: .globl epoxy_glCompressedMultiTexImage2DEXT .type epoxy_glCompressedMultiTexImage2DEXT, %object; epoxy_glCompressedMultiTexImage2DEXT: .globl epoxy_glCompressedMultiTexImage3DEXT .type epoxy_glCompressedMultiTexImage3DEXT, %object; epoxy_glCompressedMultiTexImage3DEXT: .globl epoxy_glCompressedMultiTexSubImage1DEXT .type epoxy_glCompressedMultiTexSubImage1DEXT, %object; epoxy_glCompressedMultiTexSubImage1DEXT: .globl epoxy_glCompressedMultiTexSubImage2DEXT .type epoxy_glCompressedMultiTexSubImage2DEXT, %object; epoxy_glCompressedMultiTexSubImage2DEXT: .globl epoxy_glCompressedMultiTexSubImage3DEXT .type epoxy_glCompressedMultiTexSubImage3DEXT, %object; epoxy_glCompressedMultiTexSubImage3DEXT: .globl epoxy_glCompressedTexImage1D .type epoxy_glCompressedTexImage1D, %object; epoxy_glCompressedTexImage1D: .globl epoxy_glCompressedTexImage1DARB .type epoxy_glCompressedTexImage1DARB, %object; epoxy_glCompressedTexImage1DARB: .globl epoxy_glCompressedTexImage2D .type epoxy_glCompressedTexImage2D, %object; epoxy_glCompressedTexImage2D: .globl epoxy_glCompressedTexImage2DARB .type epoxy_glCompressedTexImage2DARB, %object; epoxy_glCompressedTexImage2DARB: .globl epoxy_glCompressedTexImage3D .type epoxy_glCompressedTexImage3D, %object; epoxy_glCompressedTexImage3D: .globl epoxy_glCompressedTexImage3DARB .type epoxy_glCompressedTexImage3DARB, %object; epoxy_glCompressedTexImage3DARB: .globl epoxy_glCompressedTexImage3DOES .type epoxy_glCompressedTexImage3DOES, %object; epoxy_glCompressedTexImage3DOES: .globl epoxy_glCompressedTexSubImage1D .type epoxy_glCompressedTexSubImage1D, %object; epoxy_glCompressedTexSubImage1D: .globl epoxy_glCompressedTexSubImage1DARB .type epoxy_glCompressedTexSubImage1DARB, %object; epoxy_glCompressedTexSubImage1DARB: .globl epoxy_glCompressedTexSubImage2D .type epoxy_glCompressedTexSubImage2D, %object; epoxy_glCompressedTexSubImage2D: .globl epoxy_glCompressedTexSubImage2DARB .type epoxy_glCompressedTexSubImage2DARB, %object; epoxy_glCompressedTexSubImage2DARB: .globl epoxy_glCompressedTexSubImage3D .type epoxy_glCompressedTexSubImage3D, %object; epoxy_glCompressedTexSubImage3D: .globl epoxy_glCompressedTexSubImage3DARB .type epoxy_glCompressedTexSubImage3DARB, %object; epoxy_glCompressedTexSubImage3DARB: .globl epoxy_glCompressedTexSubImage3DOES .type epoxy_glCompressedTexSubImage3DOES, %object; epoxy_glCompressedTexSubImage3DOES: .globl epoxy_glCompressedTextureImage1DEXT .type epoxy_glCompressedTextureImage1DEXT, %object; epoxy_glCompressedTextureImage1DEXT: .globl epoxy_glCompressedTextureImage2DEXT .type epoxy_glCompressedTextureImage2DEXT, %object; epoxy_glCompressedTextureImage2DEXT: .globl epoxy_glCompressedTextureImage3DEXT .type epoxy_glCompressedTextureImage3DEXT, %object; epoxy_glCompressedTextureImage3DEXT: .globl epoxy_glCompressedTextureSubImage1D .type epoxy_glCompressedTextureSubImage1D, %object; epoxy_glCompressedTextureSubImage1D: .globl epoxy_glCompressedTextureSubImage1DEXT .type epoxy_glCompressedTextureSubImage1DEXT, %object; epoxy_glCompressedTextureSubImage1DEXT: .globl epoxy_glCompressedTextureSubImage2D .type epoxy_glCompressedTextureSubImage2D, %object; epoxy_glCompressedTextureSubImage2D: .globl epoxy_glCompressedTextureSubImage2DEXT .type epoxy_glCompressedTextureSubImage2DEXT, %object; epoxy_glCompressedTextureSubImage2DEXT: .globl epoxy_glCompressedTextureSubImage3D .type epoxy_glCompressedTextureSubImage3D, %object; epoxy_glCompressedTextureSubImage3D: .globl epoxy_glCompressedTextureSubImage3DEXT .type epoxy_glCompressedTextureSubImage3DEXT, %object; epoxy_glCompressedTextureSubImage3DEXT: .globl epoxy_glConservativeRasterParameterfNV .type epoxy_glConservativeRasterParameterfNV, %object; epoxy_glConservativeRasterParameterfNV: .globl epoxy_glConservativeRasterParameteriNV .type epoxy_glConservativeRasterParameteriNV, %object; epoxy_glConservativeRasterParameteriNV: .globl epoxy_glConvolutionFilter1D .type epoxy_glConvolutionFilter1D, %object; epoxy_glConvolutionFilter1D: .globl epoxy_glConvolutionFilter1DEXT .type epoxy_glConvolutionFilter1DEXT, %object; epoxy_glConvolutionFilter1DEXT: .globl epoxy_glConvolutionFilter2D .type epoxy_glConvolutionFilter2D, %object; epoxy_glConvolutionFilter2D: .globl epoxy_glConvolutionFilter2DEXT .type epoxy_glConvolutionFilter2DEXT, %object; epoxy_glConvolutionFilter2DEXT: .globl epoxy_glConvolutionParameterf .type epoxy_glConvolutionParameterf, %object; epoxy_glConvolutionParameterf: .globl epoxy_glConvolutionParameterfEXT .type epoxy_glConvolutionParameterfEXT, %object; epoxy_glConvolutionParameterfEXT: .globl epoxy_glConvolutionParameterfv .type epoxy_glConvolutionParameterfv, %object; epoxy_glConvolutionParameterfv: .globl epoxy_glConvolutionParameterfvEXT .type epoxy_glConvolutionParameterfvEXT, %object; epoxy_glConvolutionParameterfvEXT: .globl epoxy_glConvolutionParameteri .type epoxy_glConvolutionParameteri, %object; epoxy_glConvolutionParameteri: .globl epoxy_glConvolutionParameteriEXT .type epoxy_glConvolutionParameteriEXT, %object; epoxy_glConvolutionParameteriEXT: .globl epoxy_glConvolutionParameteriv .type epoxy_glConvolutionParameteriv, %object; epoxy_glConvolutionParameteriv: .globl epoxy_glConvolutionParameterivEXT .type epoxy_glConvolutionParameterivEXT, %object; epoxy_glConvolutionParameterivEXT: .globl epoxy_glConvolutionParameterxOES .type epoxy_glConvolutionParameterxOES, %object; epoxy_glConvolutionParameterxOES: .globl epoxy_glConvolutionParameterxvOES .type epoxy_glConvolutionParameterxvOES, %object; epoxy_glConvolutionParameterxvOES: .globl epoxy_glCopyBufferSubData .type epoxy_glCopyBufferSubData, %object; epoxy_glCopyBufferSubData: .globl epoxy_glCopyBufferSubDataNV .type epoxy_glCopyBufferSubDataNV, %object; epoxy_glCopyBufferSubDataNV: .globl epoxy_glCopyColorSubTable .type epoxy_glCopyColorSubTable, %object; epoxy_glCopyColorSubTable: .globl epoxy_glCopyColorSubTableEXT .type epoxy_glCopyColorSubTableEXT, %object; epoxy_glCopyColorSubTableEXT: .globl epoxy_glCopyColorTable .type epoxy_glCopyColorTable, %object; epoxy_glCopyColorTable: .globl epoxy_glCopyColorTableSGI .type epoxy_glCopyColorTableSGI, %object; epoxy_glCopyColorTableSGI: .globl epoxy_glCopyConvolutionFilter1D .type epoxy_glCopyConvolutionFilter1D, %object; epoxy_glCopyConvolutionFilter1D: .globl epoxy_glCopyConvolutionFilter1DEXT .type epoxy_glCopyConvolutionFilter1DEXT, %object; epoxy_glCopyConvolutionFilter1DEXT: .globl epoxy_glCopyConvolutionFilter2D .type epoxy_glCopyConvolutionFilter2D, %object; epoxy_glCopyConvolutionFilter2D: .globl epoxy_glCopyConvolutionFilter2DEXT .type epoxy_glCopyConvolutionFilter2DEXT, %object; epoxy_glCopyConvolutionFilter2DEXT: .globl epoxy_glCopyImageSubData .type epoxy_glCopyImageSubData, %object; epoxy_glCopyImageSubData: .globl epoxy_glCopyImageSubDataEXT .type epoxy_glCopyImageSubDataEXT, %object; epoxy_glCopyImageSubDataEXT: .globl epoxy_glCopyImageSubDataNV .type epoxy_glCopyImageSubDataNV, %object; epoxy_glCopyImageSubDataNV: .globl epoxy_glCopyImageSubDataOES .type epoxy_glCopyImageSubDataOES, %object; epoxy_glCopyImageSubDataOES: .globl epoxy_glCopyMultiTexImage1DEXT .type epoxy_glCopyMultiTexImage1DEXT, %object; epoxy_glCopyMultiTexImage1DEXT: .globl epoxy_glCopyMultiTexImage2DEXT .type epoxy_glCopyMultiTexImage2DEXT, %object; epoxy_glCopyMultiTexImage2DEXT: .globl epoxy_glCopyMultiTexSubImage1DEXT .type epoxy_glCopyMultiTexSubImage1DEXT, %object; epoxy_glCopyMultiTexSubImage1DEXT: .globl epoxy_glCopyMultiTexSubImage2DEXT .type epoxy_glCopyMultiTexSubImage2DEXT, %object; epoxy_glCopyMultiTexSubImage2DEXT: .globl epoxy_glCopyMultiTexSubImage3DEXT .type epoxy_glCopyMultiTexSubImage3DEXT, %object; epoxy_glCopyMultiTexSubImage3DEXT: .globl epoxy_glCopyNamedBufferSubData .type epoxy_glCopyNamedBufferSubData, %object; epoxy_glCopyNamedBufferSubData: .globl epoxy_glCopyPathNV .type epoxy_glCopyPathNV, %object; epoxy_glCopyPathNV: .globl epoxy_glCopyPixels .type epoxy_glCopyPixels, %object; epoxy_glCopyPixels: .globl epoxy_glCopyTexImage1D .type epoxy_glCopyTexImage1D, %object; epoxy_glCopyTexImage1D: .globl epoxy_glCopyTexImage1DEXT .type epoxy_glCopyTexImage1DEXT, %object; epoxy_glCopyTexImage1DEXT: .globl epoxy_glCopyTexImage2D .type epoxy_glCopyTexImage2D, %object; epoxy_glCopyTexImage2D: .globl epoxy_glCopyTexImage2DEXT .type epoxy_glCopyTexImage2DEXT, %object; epoxy_glCopyTexImage2DEXT: .globl epoxy_glCopyTexSubImage1D .type epoxy_glCopyTexSubImage1D, %object; epoxy_glCopyTexSubImage1D: .globl epoxy_glCopyTexSubImage1DEXT .type epoxy_glCopyTexSubImage1DEXT, %object; epoxy_glCopyTexSubImage1DEXT: .globl epoxy_glCopyTexSubImage2D .type epoxy_glCopyTexSubImage2D, %object; epoxy_glCopyTexSubImage2D: .globl epoxy_glCopyTexSubImage2DEXT .type epoxy_glCopyTexSubImage2DEXT, %object; epoxy_glCopyTexSubImage2DEXT: .globl epoxy_glCopyTexSubImage3D .type epoxy_glCopyTexSubImage3D, %object; epoxy_glCopyTexSubImage3D: .globl epoxy_glCopyTexSubImage3DEXT .type epoxy_glCopyTexSubImage3DEXT, %object; epoxy_glCopyTexSubImage3DEXT: .globl epoxy_glCopyTexSubImage3DOES .type epoxy_glCopyTexSubImage3DOES, %object; epoxy_glCopyTexSubImage3DOES: .globl epoxy_glCopyTextureImage1DEXT .type epoxy_glCopyTextureImage1DEXT, %object; epoxy_glCopyTextureImage1DEXT: .globl epoxy_glCopyTextureImage2DEXT .type epoxy_glCopyTextureImage2DEXT, %object; epoxy_glCopyTextureImage2DEXT: .globl epoxy_glCopyTextureLevelsAPPLE .type epoxy_glCopyTextureLevelsAPPLE, %object; epoxy_glCopyTextureLevelsAPPLE: .globl epoxy_glCopyTextureSubImage1D .type epoxy_glCopyTextureSubImage1D, %object; epoxy_glCopyTextureSubImage1D: .globl epoxy_glCopyTextureSubImage1DEXT .type epoxy_glCopyTextureSubImage1DEXT, %object; epoxy_glCopyTextureSubImage1DEXT: .globl epoxy_glCopyTextureSubImage2D .type epoxy_glCopyTextureSubImage2D, %object; epoxy_glCopyTextureSubImage2D: .globl epoxy_glCopyTextureSubImage2DEXT .type epoxy_glCopyTextureSubImage2DEXT, %object; epoxy_glCopyTextureSubImage2DEXT: .globl epoxy_glCopyTextureSubImage3D .type epoxy_glCopyTextureSubImage3D, %object; epoxy_glCopyTextureSubImage3D: .globl epoxy_glCopyTextureSubImage3DEXT .type epoxy_glCopyTextureSubImage3DEXT, %object; epoxy_glCopyTextureSubImage3DEXT: .globl epoxy_glCoverFillPathInstancedNV .type epoxy_glCoverFillPathInstancedNV, %object; epoxy_glCoverFillPathInstancedNV: .globl epoxy_glCoverFillPathNV .type epoxy_glCoverFillPathNV, %object; epoxy_glCoverFillPathNV: .globl epoxy_glCoverStrokePathInstancedNV .type epoxy_glCoverStrokePathInstancedNV, %object; epoxy_glCoverStrokePathInstancedNV: .globl epoxy_glCoverStrokePathNV .type epoxy_glCoverStrokePathNV, %object; epoxy_glCoverStrokePathNV: .globl epoxy_glCoverageMaskNV .type epoxy_glCoverageMaskNV, %object; epoxy_glCoverageMaskNV: .globl epoxy_glCoverageModulationNV .type epoxy_glCoverageModulationNV, %object; epoxy_glCoverageModulationNV: .globl epoxy_glCoverageModulationTableNV .type epoxy_glCoverageModulationTableNV, %object; epoxy_glCoverageModulationTableNV: .globl epoxy_glCoverageOperationNV .type epoxy_glCoverageOperationNV, %object; epoxy_glCoverageOperationNV: .globl epoxy_glCreateBuffers .type epoxy_glCreateBuffers, %object; epoxy_glCreateBuffers: .globl epoxy_glCreateCommandListsNV .type epoxy_glCreateCommandListsNV, %object; epoxy_glCreateCommandListsNV: .globl epoxy_glCreateFramebuffers .type epoxy_glCreateFramebuffers, %object; epoxy_glCreateFramebuffers: .globl epoxy_glCreateMemoryObjectsEXT .type epoxy_glCreateMemoryObjectsEXT, %object; epoxy_glCreateMemoryObjectsEXT: .globl epoxy_glCreatePerfQueryINTEL .type epoxy_glCreatePerfQueryINTEL, %object; epoxy_glCreatePerfQueryINTEL: .globl epoxy_glCreateProgram .type epoxy_glCreateProgram, %object; epoxy_glCreateProgram: .globl epoxy_glCreateProgramObjectARB .type epoxy_glCreateProgramObjectARB, %object; epoxy_glCreateProgramObjectARB: .globl epoxy_glCreateProgramPipelines .type epoxy_glCreateProgramPipelines, %object; epoxy_glCreateProgramPipelines: .globl epoxy_glCreateProgressFenceNVX .type epoxy_glCreateProgressFenceNVX, %object; epoxy_glCreateProgressFenceNVX: .globl epoxy_glCreateQueries .type epoxy_glCreateQueries, %object; epoxy_glCreateQueries: .globl epoxy_glCreateRenderbuffers .type epoxy_glCreateRenderbuffers, %object; epoxy_glCreateRenderbuffers: .globl epoxy_glCreateSamplers .type epoxy_glCreateSamplers, %object; epoxy_glCreateSamplers: .globl epoxy_glCreateShader .type epoxy_glCreateShader, %object; epoxy_glCreateShader: .globl epoxy_glCreateShaderObjectARB .type epoxy_glCreateShaderObjectARB, %object; epoxy_glCreateShaderObjectARB: .globl epoxy_glCreateShaderProgramEXT .type epoxy_glCreateShaderProgramEXT, %object; epoxy_glCreateShaderProgramEXT: .globl epoxy_glCreateShaderProgramv .type epoxy_glCreateShaderProgramv, %object; epoxy_glCreateShaderProgramv: .globl epoxy_glCreateShaderProgramvEXT .type epoxy_glCreateShaderProgramvEXT, %object; epoxy_glCreateShaderProgramvEXT: .globl epoxy_glCreateStatesNV .type epoxy_glCreateStatesNV, %object; epoxy_glCreateStatesNV: .globl epoxy_glCreateSyncFromCLeventARB .type epoxy_glCreateSyncFromCLeventARB, %object; epoxy_glCreateSyncFromCLeventARB: .globl epoxy_glCreateTextures .type epoxy_glCreateTextures, %object; epoxy_glCreateTextures: .globl epoxy_glCreateTransformFeedbacks .type epoxy_glCreateTransformFeedbacks, %object; epoxy_glCreateTransformFeedbacks: .globl epoxy_glCreateVertexArrays .type epoxy_glCreateVertexArrays, %object; epoxy_glCreateVertexArrays: .globl epoxy_glCullFace .type epoxy_glCullFace, %object; epoxy_glCullFace: .globl epoxy_glCullParameterdvEXT .type epoxy_glCullParameterdvEXT, %object; epoxy_glCullParameterdvEXT: .globl epoxy_glCullParameterfvEXT .type epoxy_glCullParameterfvEXT, %object; epoxy_glCullParameterfvEXT: .globl epoxy_glCurrentPaletteMatrixARB .type epoxy_glCurrentPaletteMatrixARB, %object; epoxy_glCurrentPaletteMatrixARB: .globl epoxy_glCurrentPaletteMatrixOES .type epoxy_glCurrentPaletteMatrixOES, %object; epoxy_glCurrentPaletteMatrixOES: .globl epoxy_glDebugMessageCallback .type epoxy_glDebugMessageCallback, %object; epoxy_glDebugMessageCallback: .globl epoxy_glDebugMessageCallbackAMD .type epoxy_glDebugMessageCallbackAMD, %object; epoxy_glDebugMessageCallbackAMD: .globl epoxy_glDebugMessageCallbackARB .type epoxy_glDebugMessageCallbackARB, %object; epoxy_glDebugMessageCallbackARB: .globl epoxy_glDebugMessageCallbackKHR .type epoxy_glDebugMessageCallbackKHR, %object; epoxy_glDebugMessageCallbackKHR: .globl epoxy_glDebugMessageControl .type epoxy_glDebugMessageControl, %object; epoxy_glDebugMessageControl: .globl epoxy_glDebugMessageControlARB .type epoxy_glDebugMessageControlARB, %object; epoxy_glDebugMessageControlARB: .globl epoxy_glDebugMessageControlKHR .type epoxy_glDebugMessageControlKHR, %object; epoxy_glDebugMessageControlKHR: .globl epoxy_glDebugMessageEnableAMD .type epoxy_glDebugMessageEnableAMD, %object; epoxy_glDebugMessageEnableAMD: .globl epoxy_glDebugMessageInsert .type epoxy_glDebugMessageInsert, %object; epoxy_glDebugMessageInsert: .globl epoxy_glDebugMessageInsertAMD .type epoxy_glDebugMessageInsertAMD, %object; epoxy_glDebugMessageInsertAMD: .globl epoxy_glDebugMessageInsertARB .type epoxy_glDebugMessageInsertARB, %object; epoxy_glDebugMessageInsertARB: .globl epoxy_glDebugMessageInsertKHR .type epoxy_glDebugMessageInsertKHR, %object; epoxy_glDebugMessageInsertKHR: .globl epoxy_glDeformSGIX .type epoxy_glDeformSGIX, %object; epoxy_glDeformSGIX: .globl epoxy_glDeformationMap3dSGIX .type epoxy_glDeformationMap3dSGIX, %object; epoxy_glDeformationMap3dSGIX: .globl epoxy_glDeformationMap3fSGIX .type epoxy_glDeformationMap3fSGIX, %object; epoxy_glDeformationMap3fSGIX: .globl epoxy_glDeleteAsyncMarkersSGIX .type epoxy_glDeleteAsyncMarkersSGIX, %object; epoxy_glDeleteAsyncMarkersSGIX: .globl epoxy_glDeleteBuffers .type epoxy_glDeleteBuffers, %object; epoxy_glDeleteBuffers: .globl epoxy_glDeleteBuffersARB .type epoxy_glDeleteBuffersARB, %object; epoxy_glDeleteBuffersARB: .globl epoxy_glDeleteCommandListsNV .type epoxy_glDeleteCommandListsNV, %object; epoxy_glDeleteCommandListsNV: .globl epoxy_glDeleteFencesAPPLE .type epoxy_glDeleteFencesAPPLE, %object; epoxy_glDeleteFencesAPPLE: .globl epoxy_glDeleteFencesNV .type epoxy_glDeleteFencesNV, %object; epoxy_glDeleteFencesNV: .globl epoxy_glDeleteFragmentShaderATI .type epoxy_glDeleteFragmentShaderATI, %object; epoxy_glDeleteFragmentShaderATI: .globl epoxy_glDeleteFramebuffers .type epoxy_glDeleteFramebuffers, %object; epoxy_glDeleteFramebuffers: .globl epoxy_glDeleteFramebuffersEXT .type epoxy_glDeleteFramebuffersEXT, %object; epoxy_glDeleteFramebuffersEXT: .globl epoxy_glDeleteFramebuffersOES .type epoxy_glDeleteFramebuffersOES, %object; epoxy_glDeleteFramebuffersOES: .globl epoxy_glDeleteLists .type epoxy_glDeleteLists, %object; epoxy_glDeleteLists: .globl epoxy_glDeleteMemoryObjectsEXT .type epoxy_glDeleteMemoryObjectsEXT, %object; epoxy_glDeleteMemoryObjectsEXT: .globl epoxy_glDeleteNamedStringARB .type epoxy_glDeleteNamedStringARB, %object; epoxy_glDeleteNamedStringARB: .globl epoxy_glDeleteNamesAMD .type epoxy_glDeleteNamesAMD, %object; epoxy_glDeleteNamesAMD: .globl epoxy_glDeleteObjectARB .type epoxy_glDeleteObjectARB, %object; epoxy_glDeleteObjectARB: .globl epoxy_glDeleteOcclusionQueriesNV .type epoxy_glDeleteOcclusionQueriesNV, %object; epoxy_glDeleteOcclusionQueriesNV: .globl epoxy_glDeletePathsNV .type epoxy_glDeletePathsNV, %object; epoxy_glDeletePathsNV: .globl epoxy_glDeletePerfMonitorsAMD .type epoxy_glDeletePerfMonitorsAMD, %object; epoxy_glDeletePerfMonitorsAMD: .globl epoxy_glDeletePerfQueryINTEL .type epoxy_glDeletePerfQueryINTEL, %object; epoxy_glDeletePerfQueryINTEL: .globl epoxy_glDeleteProgram .type epoxy_glDeleteProgram, %object; epoxy_glDeleteProgram: .globl epoxy_glDeleteProgramPipelines .type epoxy_glDeleteProgramPipelines, %object; epoxy_glDeleteProgramPipelines: .globl epoxy_glDeleteProgramPipelinesEXT .type epoxy_glDeleteProgramPipelinesEXT, %object; epoxy_glDeleteProgramPipelinesEXT: .globl epoxy_glDeleteProgramsARB .type epoxy_glDeleteProgramsARB, %object; epoxy_glDeleteProgramsARB: .globl epoxy_glDeleteProgramsNV .type epoxy_glDeleteProgramsNV, %object; epoxy_glDeleteProgramsNV: .globl epoxy_glDeleteQueries .type epoxy_glDeleteQueries, %object; epoxy_glDeleteQueries: .globl epoxy_glDeleteQueriesARB .type epoxy_glDeleteQueriesARB, %object; epoxy_glDeleteQueriesARB: .globl epoxy_glDeleteQueriesEXT .type epoxy_glDeleteQueriesEXT, %object; epoxy_glDeleteQueriesEXT: .globl epoxy_glDeleteQueryResourceTagNV .type epoxy_glDeleteQueryResourceTagNV, %object; epoxy_glDeleteQueryResourceTagNV: .globl epoxy_glDeleteRenderbuffers .type epoxy_glDeleteRenderbuffers, %object; epoxy_glDeleteRenderbuffers: .globl epoxy_glDeleteRenderbuffersEXT .type epoxy_glDeleteRenderbuffersEXT, %object; epoxy_glDeleteRenderbuffersEXT: .globl epoxy_glDeleteRenderbuffersOES .type epoxy_glDeleteRenderbuffersOES, %object; epoxy_glDeleteRenderbuffersOES: .globl epoxy_glDeleteSamplers .type epoxy_glDeleteSamplers, %object; epoxy_glDeleteSamplers: .globl epoxy_glDeleteSemaphoresEXT .type epoxy_glDeleteSemaphoresEXT, %object; epoxy_glDeleteSemaphoresEXT: .globl epoxy_glDeleteShader .type epoxy_glDeleteShader, %object; epoxy_glDeleteShader: .globl epoxy_glDeleteStatesNV .type epoxy_glDeleteStatesNV, %object; epoxy_glDeleteStatesNV: .globl epoxy_glDeleteSync .type epoxy_glDeleteSync, %object; epoxy_glDeleteSync: .globl epoxy_glDeleteSyncAPPLE .type epoxy_glDeleteSyncAPPLE, %object; epoxy_glDeleteSyncAPPLE: .globl epoxy_glDeleteTextures .type epoxy_glDeleteTextures, %object; epoxy_glDeleteTextures: .globl epoxy_glDeleteTexturesEXT .type epoxy_glDeleteTexturesEXT, %object; epoxy_glDeleteTexturesEXT: .globl epoxy_glDeleteTransformFeedbacks .type epoxy_glDeleteTransformFeedbacks, %object; epoxy_glDeleteTransformFeedbacks: .globl epoxy_glDeleteTransformFeedbacksNV .type epoxy_glDeleteTransformFeedbacksNV, %object; epoxy_glDeleteTransformFeedbacksNV: .globl epoxy_glDeleteVertexArrays .type epoxy_glDeleteVertexArrays, %object; epoxy_glDeleteVertexArrays: .globl epoxy_glDeleteVertexArraysAPPLE .type epoxy_glDeleteVertexArraysAPPLE, %object; epoxy_glDeleteVertexArraysAPPLE: .globl epoxy_glDeleteVertexArraysOES .type epoxy_glDeleteVertexArraysOES, %object; epoxy_glDeleteVertexArraysOES: .globl epoxy_glDeleteVertexShaderEXT .type epoxy_glDeleteVertexShaderEXT, %object; epoxy_glDeleteVertexShaderEXT: .globl epoxy_glDepthBoundsEXT .type epoxy_glDepthBoundsEXT, %object; epoxy_glDepthBoundsEXT: .globl epoxy_glDepthBoundsdNV .type epoxy_glDepthBoundsdNV, %object; epoxy_glDepthBoundsdNV: .globl epoxy_glDepthFunc .type epoxy_glDepthFunc, %object; epoxy_glDepthFunc: .globl epoxy_glDepthMask .type epoxy_glDepthMask, %object; epoxy_glDepthMask: .globl epoxy_glDepthRange .type epoxy_glDepthRange, %object; epoxy_glDepthRange: .globl epoxy_glDepthRangeArrayfvNV .type epoxy_glDepthRangeArrayfvNV, %object; epoxy_glDepthRangeArrayfvNV: .globl epoxy_glDepthRangeArrayfvOES .type epoxy_glDepthRangeArrayfvOES, %object; epoxy_glDepthRangeArrayfvOES: .globl epoxy_glDepthRangeArrayv .type epoxy_glDepthRangeArrayv, %object; epoxy_glDepthRangeArrayv: .globl epoxy_glDepthRangeIndexed .type epoxy_glDepthRangeIndexed, %object; epoxy_glDepthRangeIndexed: .globl epoxy_glDepthRangeIndexedfNV .type epoxy_glDepthRangeIndexedfNV, %object; epoxy_glDepthRangeIndexedfNV: .globl epoxy_glDepthRangeIndexedfOES .type epoxy_glDepthRangeIndexedfOES, %object; epoxy_glDepthRangeIndexedfOES: .globl epoxy_glDepthRangedNV .type epoxy_glDepthRangedNV, %object; epoxy_glDepthRangedNV: .globl epoxy_glDepthRangef .type epoxy_glDepthRangef, %object; epoxy_glDepthRangef: .globl epoxy_glDepthRangefOES .type epoxy_glDepthRangefOES, %object; epoxy_glDepthRangefOES: .globl epoxy_glDepthRangex .type epoxy_glDepthRangex, %object; epoxy_glDepthRangex: .globl epoxy_glDepthRangexOES .type epoxy_glDepthRangexOES, %object; epoxy_glDepthRangexOES: .globl epoxy_glDetachObjectARB .type epoxy_glDetachObjectARB, %object; epoxy_glDetachObjectARB: .globl epoxy_glDetachShader .type epoxy_glDetachShader, %object; epoxy_glDetachShader: .globl epoxy_glDetailTexFuncSGIS .type epoxy_glDetailTexFuncSGIS, %object; epoxy_glDetailTexFuncSGIS: .globl epoxy_glDisable .type epoxy_glDisable, %object; epoxy_glDisable: .globl epoxy_glDisableClientState .type epoxy_glDisableClientState, %object; epoxy_glDisableClientState: .globl epoxy_glDisableClientStateIndexedEXT .type epoxy_glDisableClientStateIndexedEXT, %object; epoxy_glDisableClientStateIndexedEXT: .globl epoxy_glDisableClientStateiEXT .type epoxy_glDisableClientStateiEXT, %object; epoxy_glDisableClientStateiEXT: .globl epoxy_glDisableDriverControlQCOM .type epoxy_glDisableDriverControlQCOM, %object; epoxy_glDisableDriverControlQCOM: .globl epoxy_glDisableIndexedEXT .type epoxy_glDisableIndexedEXT, %object; epoxy_glDisableIndexedEXT: .globl epoxy_glDisableVariantClientStateEXT .type epoxy_glDisableVariantClientStateEXT, %object; epoxy_glDisableVariantClientStateEXT: .globl epoxy_glDisableVertexArrayAttrib .type epoxy_glDisableVertexArrayAttrib, %object; epoxy_glDisableVertexArrayAttrib: .globl epoxy_glDisableVertexArrayAttribEXT .type epoxy_glDisableVertexArrayAttribEXT, %object; epoxy_glDisableVertexArrayAttribEXT: .globl epoxy_glDisableVertexArrayEXT .type epoxy_glDisableVertexArrayEXT, %object; epoxy_glDisableVertexArrayEXT: .globl epoxy_glDisableVertexAttribAPPLE .type epoxy_glDisableVertexAttribAPPLE, %object; epoxy_glDisableVertexAttribAPPLE: .globl epoxy_glDisableVertexAttribArray .type epoxy_glDisableVertexAttribArray, %object; epoxy_glDisableVertexAttribArray: .globl epoxy_glDisableVertexAttribArrayARB .type epoxy_glDisableVertexAttribArrayARB, %object; epoxy_glDisableVertexAttribArrayARB: .globl epoxy_glDisablei .type epoxy_glDisablei, %object; epoxy_glDisablei: .globl epoxy_glDisableiEXT .type epoxy_glDisableiEXT, %object; epoxy_glDisableiEXT: .globl epoxy_glDisableiNV .type epoxy_glDisableiNV, %object; epoxy_glDisableiNV: .globl epoxy_glDisableiOES .type epoxy_glDisableiOES, %object; epoxy_glDisableiOES: .globl epoxy_glDiscardFramebufferEXT .type epoxy_glDiscardFramebufferEXT, %object; epoxy_glDiscardFramebufferEXT: .globl epoxy_glDispatchCompute .type epoxy_glDispatchCompute, %object; epoxy_glDispatchCompute: .globl epoxy_glDispatchComputeGroupSizeARB .type epoxy_glDispatchComputeGroupSizeARB, %object; epoxy_glDispatchComputeGroupSizeARB: .globl epoxy_glDispatchComputeIndirect .type epoxy_glDispatchComputeIndirect, %object; epoxy_glDispatchComputeIndirect: .globl epoxy_glDrawArrays .type epoxy_glDrawArrays, %object; epoxy_glDrawArrays: .globl epoxy_glDrawArraysEXT .type epoxy_glDrawArraysEXT, %object; epoxy_glDrawArraysEXT: .globl epoxy_glDrawArraysIndirect .type epoxy_glDrawArraysIndirect, %object; epoxy_glDrawArraysIndirect: .globl epoxy_glDrawArraysInstanced .type epoxy_glDrawArraysInstanced, %object; epoxy_glDrawArraysInstanced: .globl epoxy_glDrawArraysInstancedANGLE .type epoxy_glDrawArraysInstancedANGLE, %object; epoxy_glDrawArraysInstancedANGLE: .globl epoxy_glDrawArraysInstancedARB .type epoxy_glDrawArraysInstancedARB, %object; epoxy_glDrawArraysInstancedARB: .globl epoxy_glDrawArraysInstancedBaseInstance .type epoxy_glDrawArraysInstancedBaseInstance, %object; epoxy_glDrawArraysInstancedBaseInstance: .globl epoxy_glDrawArraysInstancedBaseInstanceEXT .type epoxy_glDrawArraysInstancedBaseInstanceEXT, %object; epoxy_glDrawArraysInstancedBaseInstanceEXT: .globl epoxy_glDrawArraysInstancedEXT .type epoxy_glDrawArraysInstancedEXT, %object; epoxy_glDrawArraysInstancedEXT: .globl epoxy_glDrawArraysInstancedNV .type epoxy_glDrawArraysInstancedNV, %object; epoxy_glDrawArraysInstancedNV: .globl epoxy_glDrawBuffer .type epoxy_glDrawBuffer, %object; epoxy_glDrawBuffer: .globl epoxy_glDrawBuffers .type epoxy_glDrawBuffers, %object; epoxy_glDrawBuffers: .globl epoxy_glDrawBuffersARB .type epoxy_glDrawBuffersARB, %object; epoxy_glDrawBuffersARB: .globl epoxy_glDrawBuffersATI .type epoxy_glDrawBuffersATI, %object; epoxy_glDrawBuffersATI: .globl epoxy_glDrawBuffersEXT .type epoxy_glDrawBuffersEXT, %object; epoxy_glDrawBuffersEXT: .globl epoxy_glDrawBuffersIndexedEXT .type epoxy_glDrawBuffersIndexedEXT, %object; epoxy_glDrawBuffersIndexedEXT: .globl epoxy_glDrawBuffersNV .type epoxy_glDrawBuffersNV, %object; epoxy_glDrawBuffersNV: .globl epoxy_glDrawCommandsAddressNV .type epoxy_glDrawCommandsAddressNV, %object; epoxy_glDrawCommandsAddressNV: .globl epoxy_glDrawCommandsNV .type epoxy_glDrawCommandsNV, %object; epoxy_glDrawCommandsNV: .globl epoxy_glDrawCommandsStatesAddressNV .type epoxy_glDrawCommandsStatesAddressNV, %object; epoxy_glDrawCommandsStatesAddressNV: .globl epoxy_glDrawCommandsStatesNV .type epoxy_glDrawCommandsStatesNV, %object; epoxy_glDrawCommandsStatesNV: .globl epoxy_glDrawElementArrayAPPLE .type epoxy_glDrawElementArrayAPPLE, %object; epoxy_glDrawElementArrayAPPLE: .globl epoxy_glDrawElementArrayATI .type epoxy_glDrawElementArrayATI, %object; epoxy_glDrawElementArrayATI: .globl epoxy_glDrawElements .type epoxy_glDrawElements, %object; epoxy_glDrawElements: .globl epoxy_glDrawElementsBaseVertex .type epoxy_glDrawElementsBaseVertex, %object; epoxy_glDrawElementsBaseVertex: .globl epoxy_glDrawElementsBaseVertexEXT .type epoxy_glDrawElementsBaseVertexEXT, %object; epoxy_glDrawElementsBaseVertexEXT: .globl epoxy_glDrawElementsBaseVertexOES .type epoxy_glDrawElementsBaseVertexOES, %object; epoxy_glDrawElementsBaseVertexOES: .globl epoxy_glDrawElementsIndirect .type epoxy_glDrawElementsIndirect, %object; epoxy_glDrawElementsIndirect: .globl epoxy_glDrawElementsInstanced .type epoxy_glDrawElementsInstanced, %object; epoxy_glDrawElementsInstanced: .globl epoxy_glDrawElementsInstancedANGLE .type epoxy_glDrawElementsInstancedANGLE, %object; epoxy_glDrawElementsInstancedANGLE: .globl epoxy_glDrawElementsInstancedARB .type epoxy_glDrawElementsInstancedARB, %object; epoxy_glDrawElementsInstancedARB: .globl epoxy_glDrawElementsInstancedBaseInstance .type epoxy_glDrawElementsInstancedBaseInstance, %object; epoxy_glDrawElementsInstancedBaseInstance: .globl epoxy_glDrawElementsInstancedBaseInstanceEXT .type epoxy_glDrawElementsInstancedBaseInstanceEXT, %object; epoxy_glDrawElementsInstancedBaseInstanceEXT: .globl epoxy_glDrawElementsInstancedBaseVertex .type epoxy_glDrawElementsInstancedBaseVertex, %object; epoxy_glDrawElementsInstancedBaseVertex: .globl epoxy_glDrawElementsInstancedBaseVertexBaseInstance .type epoxy_glDrawElementsInstancedBaseVertexBaseInstance, %object; epoxy_glDrawElementsInstancedBaseVertexBaseInstance: .globl epoxy_glDrawElementsInstancedBaseVertexBaseInstanceEXT .type epoxy_glDrawElementsInstancedBaseVertexBaseInstanceEXT, %object; epoxy_glDrawElementsInstancedBaseVertexBaseInstanceEXT: .globl epoxy_glDrawElementsInstancedBaseVertexEXT .type epoxy_glDrawElementsInstancedBaseVertexEXT, %object; epoxy_glDrawElementsInstancedBaseVertexEXT: .globl epoxy_glDrawElementsInstancedBaseVertexOES .type epoxy_glDrawElementsInstancedBaseVertexOES, %object; epoxy_glDrawElementsInstancedBaseVertexOES: .globl epoxy_glDrawElementsInstancedEXT .type epoxy_glDrawElementsInstancedEXT, %object; epoxy_glDrawElementsInstancedEXT: .globl epoxy_glDrawElementsInstancedNV .type epoxy_glDrawElementsInstancedNV, %object; epoxy_glDrawElementsInstancedNV: .globl epoxy_glDrawMeshArraysSUN .type epoxy_glDrawMeshArraysSUN, %object; epoxy_glDrawMeshArraysSUN: .globl epoxy_glDrawMeshTasksIndirectNV .type epoxy_glDrawMeshTasksIndirectNV, %object; epoxy_glDrawMeshTasksIndirectNV: .globl epoxy_glDrawMeshTasksNV .type epoxy_glDrawMeshTasksNV, %object; epoxy_glDrawMeshTasksNV: .globl epoxy_glDrawPixels .type epoxy_glDrawPixels, %object; epoxy_glDrawPixels: .globl epoxy_glDrawRangeElementArrayAPPLE .type epoxy_glDrawRangeElementArrayAPPLE, %object; epoxy_glDrawRangeElementArrayAPPLE: .globl epoxy_glDrawRangeElementArrayATI .type epoxy_glDrawRangeElementArrayATI, %object; epoxy_glDrawRangeElementArrayATI: .globl epoxy_glDrawRangeElements .type epoxy_glDrawRangeElements, %object; epoxy_glDrawRangeElements: .globl epoxy_glDrawRangeElementsBaseVertex .type epoxy_glDrawRangeElementsBaseVertex, %object; epoxy_glDrawRangeElementsBaseVertex: .globl epoxy_glDrawRangeElementsBaseVertexEXT .type epoxy_glDrawRangeElementsBaseVertexEXT, %object; epoxy_glDrawRangeElementsBaseVertexEXT: .globl epoxy_glDrawRangeElementsBaseVertexOES .type epoxy_glDrawRangeElementsBaseVertexOES, %object; epoxy_glDrawRangeElementsBaseVertexOES: .globl epoxy_glDrawRangeElementsEXT .type epoxy_glDrawRangeElementsEXT, %object; epoxy_glDrawRangeElementsEXT: .globl epoxy_glDrawTexfOES .type epoxy_glDrawTexfOES, %object; epoxy_glDrawTexfOES: .globl epoxy_glDrawTexfvOES .type epoxy_glDrawTexfvOES, %object; epoxy_glDrawTexfvOES: .globl epoxy_glDrawTexiOES .type epoxy_glDrawTexiOES, %object; epoxy_glDrawTexiOES: .globl epoxy_glDrawTexivOES .type epoxy_glDrawTexivOES, %object; epoxy_glDrawTexivOES: .globl epoxy_glDrawTexsOES .type epoxy_glDrawTexsOES, %object; epoxy_glDrawTexsOES: .globl epoxy_glDrawTexsvOES .type epoxy_glDrawTexsvOES, %object; epoxy_glDrawTexsvOES: .globl epoxy_glDrawTextureNV .type epoxy_glDrawTextureNV, %object; epoxy_glDrawTextureNV: .globl epoxy_glDrawTexxOES .type epoxy_glDrawTexxOES, %object; epoxy_glDrawTexxOES: .globl epoxy_glDrawTexxvOES .type epoxy_glDrawTexxvOES, %object; epoxy_glDrawTexxvOES: .globl epoxy_glDrawTransformFeedback .type epoxy_glDrawTransformFeedback, %object; epoxy_glDrawTransformFeedback: .globl epoxy_glDrawTransformFeedbackEXT .type epoxy_glDrawTransformFeedbackEXT, %object; epoxy_glDrawTransformFeedbackEXT: .globl epoxy_glDrawTransformFeedbackInstanced .type epoxy_glDrawTransformFeedbackInstanced, %object; epoxy_glDrawTransformFeedbackInstanced: .globl epoxy_glDrawTransformFeedbackInstancedEXT .type epoxy_glDrawTransformFeedbackInstancedEXT, %object; epoxy_glDrawTransformFeedbackInstancedEXT: .globl epoxy_glDrawTransformFeedbackNV .type epoxy_glDrawTransformFeedbackNV, %object; epoxy_glDrawTransformFeedbackNV: .globl epoxy_glDrawTransformFeedbackStream .type epoxy_glDrawTransformFeedbackStream, %object; epoxy_glDrawTransformFeedbackStream: .globl epoxy_glDrawTransformFeedbackStreamInstanced .type epoxy_glDrawTransformFeedbackStreamInstanced, %object; epoxy_glDrawTransformFeedbackStreamInstanced: .globl epoxy_glDrawVkImageNV .type epoxy_glDrawVkImageNV, %object; epoxy_glDrawVkImageNV: .globl epoxy_glEGLImageTargetRenderbufferStorageOES .type epoxy_glEGLImageTargetRenderbufferStorageOES, %object; epoxy_glEGLImageTargetRenderbufferStorageOES: .globl epoxy_glEGLImageTargetTexStorageEXT .type epoxy_glEGLImageTargetTexStorageEXT, %object; epoxy_glEGLImageTargetTexStorageEXT: .globl epoxy_glEGLImageTargetTexture2DOES .type epoxy_glEGLImageTargetTexture2DOES, %object; epoxy_glEGLImageTargetTexture2DOES: .globl epoxy_glEGLImageTargetTextureStorageEXT .type epoxy_glEGLImageTargetTextureStorageEXT, %object; epoxy_glEGLImageTargetTextureStorageEXT: .globl epoxy_glEdgeFlag .type epoxy_glEdgeFlag, %object; epoxy_glEdgeFlag: .globl epoxy_glEdgeFlagFormatNV .type epoxy_glEdgeFlagFormatNV, %object; epoxy_glEdgeFlagFormatNV: .globl epoxy_glEdgeFlagPointer .type epoxy_glEdgeFlagPointer, %object; epoxy_glEdgeFlagPointer: .globl epoxy_glEdgeFlagPointerEXT .type epoxy_glEdgeFlagPointerEXT, %object; epoxy_glEdgeFlagPointerEXT: .globl epoxy_glEdgeFlagPointerListIBM .type epoxy_glEdgeFlagPointerListIBM, %object; epoxy_glEdgeFlagPointerListIBM: .globl epoxy_glEdgeFlagv .type epoxy_glEdgeFlagv, %object; epoxy_glEdgeFlagv: .globl epoxy_glElementPointerAPPLE .type epoxy_glElementPointerAPPLE, %object; epoxy_glElementPointerAPPLE: .globl epoxy_glElementPointerATI .type epoxy_glElementPointerATI, %object; epoxy_glElementPointerATI: .globl epoxy_glEnable .type epoxy_glEnable, %object; epoxy_glEnable: .globl epoxy_glEnableClientState .type epoxy_glEnableClientState, %object; epoxy_glEnableClientState: .globl epoxy_glEnableClientStateIndexedEXT .type epoxy_glEnableClientStateIndexedEXT, %object; epoxy_glEnableClientStateIndexedEXT: .globl epoxy_glEnableClientStateiEXT .type epoxy_glEnableClientStateiEXT, %object; epoxy_glEnableClientStateiEXT: .globl epoxy_glEnableDriverControlQCOM .type epoxy_glEnableDriverControlQCOM, %object; epoxy_glEnableDriverControlQCOM: .globl epoxy_glEnableIndexedEXT .type epoxy_glEnableIndexedEXT, %object; epoxy_glEnableIndexedEXT: .globl epoxy_glEnableVariantClientStateEXT .type epoxy_glEnableVariantClientStateEXT, %object; epoxy_glEnableVariantClientStateEXT: .globl epoxy_glEnableVertexArrayAttrib .type epoxy_glEnableVertexArrayAttrib, %object; epoxy_glEnableVertexArrayAttrib: .globl epoxy_glEnableVertexArrayAttribEXT .type epoxy_glEnableVertexArrayAttribEXT, %object; epoxy_glEnableVertexArrayAttribEXT: .globl epoxy_glEnableVertexArrayEXT .type epoxy_glEnableVertexArrayEXT, %object; epoxy_glEnableVertexArrayEXT: .globl epoxy_glEnableVertexAttribAPPLE .type epoxy_glEnableVertexAttribAPPLE, %object; epoxy_glEnableVertexAttribAPPLE: .globl epoxy_glEnableVertexAttribArray .type epoxy_glEnableVertexAttribArray, %object; epoxy_glEnableVertexAttribArray: .globl epoxy_glEnableVertexAttribArrayARB .type epoxy_glEnableVertexAttribArrayARB, %object; epoxy_glEnableVertexAttribArrayARB: .globl epoxy_glEnablei .type epoxy_glEnablei, %object; epoxy_glEnablei: .globl epoxy_glEnableiEXT .type epoxy_glEnableiEXT, %object; epoxy_glEnableiEXT: .globl epoxy_glEnableiNV .type epoxy_glEnableiNV, %object; epoxy_glEnableiNV: .globl epoxy_glEnableiOES .type epoxy_glEnableiOES, %object; epoxy_glEnableiOES: .globl epoxy_glEnd .type epoxy_glEnd, %object; epoxy_glEnd: .globl epoxy_glEndConditionalRender .type epoxy_glEndConditionalRender, %object; epoxy_glEndConditionalRender: .globl epoxy_glEndConditionalRenderNV .type epoxy_glEndConditionalRenderNV, %object; epoxy_glEndConditionalRenderNV: .globl epoxy_glEndConditionalRenderNVX .type epoxy_glEndConditionalRenderNVX, %object; epoxy_glEndConditionalRenderNVX: .globl epoxy_glEndFragmentShaderATI .type epoxy_glEndFragmentShaderATI, %object; epoxy_glEndFragmentShaderATI: .globl epoxy_glEndList .type epoxy_glEndList, %object; epoxy_glEndList: .globl epoxy_glEndOcclusionQueryNV .type epoxy_glEndOcclusionQueryNV, %object; epoxy_glEndOcclusionQueryNV: .globl epoxy_glEndPerfMonitorAMD .type epoxy_glEndPerfMonitorAMD, %object; epoxy_glEndPerfMonitorAMD: .globl epoxy_glEndPerfQueryINTEL .type epoxy_glEndPerfQueryINTEL, %object; epoxy_glEndPerfQueryINTEL: .globl epoxy_glEndQuery .type epoxy_glEndQuery, %object; epoxy_glEndQuery: .globl epoxy_glEndQueryARB .type epoxy_glEndQueryARB, %object; epoxy_glEndQueryARB: .globl epoxy_glEndQueryEXT .type epoxy_glEndQueryEXT, %object; epoxy_glEndQueryEXT: .globl epoxy_glEndQueryIndexed .type epoxy_glEndQueryIndexed, %object; epoxy_glEndQueryIndexed: .globl epoxy_glEndTilingQCOM .type epoxy_glEndTilingQCOM, %object; epoxy_glEndTilingQCOM: .globl epoxy_glEndTransformFeedback .type epoxy_glEndTransformFeedback, %object; epoxy_glEndTransformFeedback: .globl epoxy_glEndTransformFeedbackEXT .type epoxy_glEndTransformFeedbackEXT, %object; epoxy_glEndTransformFeedbackEXT: .globl epoxy_glEndTransformFeedbackNV .type epoxy_glEndTransformFeedbackNV, %object; epoxy_glEndTransformFeedbackNV: .globl epoxy_glEndVertexShaderEXT .type epoxy_glEndVertexShaderEXT, %object; epoxy_glEndVertexShaderEXT: .globl epoxy_glEndVideoCaptureNV .type epoxy_glEndVideoCaptureNV, %object; epoxy_glEndVideoCaptureNV: .globl epoxy_glEvalCoord1d .type epoxy_glEvalCoord1d, %object; epoxy_glEvalCoord1d: .globl epoxy_glEvalCoord1dv .type epoxy_glEvalCoord1dv, %object; epoxy_glEvalCoord1dv: .globl epoxy_glEvalCoord1f .type epoxy_glEvalCoord1f, %object; epoxy_glEvalCoord1f: .globl epoxy_glEvalCoord1fv .type epoxy_glEvalCoord1fv, %object; epoxy_glEvalCoord1fv: .globl epoxy_glEvalCoord1xOES .type epoxy_glEvalCoord1xOES, %object; epoxy_glEvalCoord1xOES: .globl epoxy_glEvalCoord1xvOES .type epoxy_glEvalCoord1xvOES, %object; epoxy_glEvalCoord1xvOES: .globl epoxy_glEvalCoord2d .type epoxy_glEvalCoord2d, %object; epoxy_glEvalCoord2d: .globl epoxy_glEvalCoord2dv .type epoxy_glEvalCoord2dv, %object; epoxy_glEvalCoord2dv: .globl epoxy_glEvalCoord2f .type epoxy_glEvalCoord2f, %object; epoxy_glEvalCoord2f: .globl epoxy_glEvalCoord2fv .type epoxy_glEvalCoord2fv, %object; epoxy_glEvalCoord2fv: .globl epoxy_glEvalCoord2xOES .type epoxy_glEvalCoord2xOES, %object; epoxy_glEvalCoord2xOES: .globl epoxy_glEvalCoord2xvOES .type epoxy_glEvalCoord2xvOES, %object; epoxy_glEvalCoord2xvOES: .globl epoxy_glEvalMapsNV .type epoxy_glEvalMapsNV, %object; epoxy_glEvalMapsNV: .globl epoxy_glEvalMesh1 .type epoxy_glEvalMesh1, %object; epoxy_glEvalMesh1: .globl epoxy_glEvalMesh2 .type epoxy_glEvalMesh2, %object; epoxy_glEvalMesh2: .globl epoxy_glEvalPoint1 .type epoxy_glEvalPoint1, %object; epoxy_glEvalPoint1: .globl epoxy_glEvalPoint2 .type epoxy_glEvalPoint2, %object; epoxy_glEvalPoint2: .globl epoxy_glEvaluateDepthValuesARB .type epoxy_glEvaluateDepthValuesARB, %object; epoxy_glEvaluateDepthValuesARB: .globl epoxy_glExecuteProgramNV .type epoxy_glExecuteProgramNV, %object; epoxy_glExecuteProgramNV: .globl epoxy_glExtGetBufferPointervQCOM .type epoxy_glExtGetBufferPointervQCOM, %object; epoxy_glExtGetBufferPointervQCOM: .globl epoxy_glExtGetBuffersQCOM .type epoxy_glExtGetBuffersQCOM, %object; epoxy_glExtGetBuffersQCOM: .globl epoxy_glExtGetFramebuffersQCOM .type epoxy_glExtGetFramebuffersQCOM, %object; epoxy_glExtGetFramebuffersQCOM: .globl epoxy_glExtGetProgramBinarySourceQCOM .type epoxy_glExtGetProgramBinarySourceQCOM, %object; epoxy_glExtGetProgramBinarySourceQCOM: .globl epoxy_glExtGetProgramsQCOM .type epoxy_glExtGetProgramsQCOM, %object; epoxy_glExtGetProgramsQCOM: .globl epoxy_glExtGetRenderbuffersQCOM .type epoxy_glExtGetRenderbuffersQCOM, %object; epoxy_glExtGetRenderbuffersQCOM: .globl epoxy_glExtGetShadersQCOM .type epoxy_glExtGetShadersQCOM, %object; epoxy_glExtGetShadersQCOM: .globl epoxy_glExtGetTexLevelParameterivQCOM .type epoxy_glExtGetTexLevelParameterivQCOM, %object; epoxy_glExtGetTexLevelParameterivQCOM: .globl epoxy_glExtGetTexSubImageQCOM .type epoxy_glExtGetTexSubImageQCOM, %object; epoxy_glExtGetTexSubImageQCOM: .globl epoxy_glExtGetTexturesQCOM .type epoxy_glExtGetTexturesQCOM, %object; epoxy_glExtGetTexturesQCOM: .globl epoxy_glExtIsProgramBinaryQCOM .type epoxy_glExtIsProgramBinaryQCOM, %object; epoxy_glExtIsProgramBinaryQCOM: .globl epoxy_glExtTexObjectStateOverrideiQCOM .type epoxy_glExtTexObjectStateOverrideiQCOM, %object; epoxy_glExtTexObjectStateOverrideiQCOM: .globl epoxy_glExtractComponentEXT .type epoxy_glExtractComponentEXT, %object; epoxy_glExtractComponentEXT: .globl epoxy_glFeedbackBuffer .type epoxy_glFeedbackBuffer, %object; epoxy_glFeedbackBuffer: .globl epoxy_glFeedbackBufferxOES .type epoxy_glFeedbackBufferxOES, %object; epoxy_glFeedbackBufferxOES: .globl epoxy_glFenceSync .type epoxy_glFenceSync, %object; epoxy_glFenceSync: .globl epoxy_glFenceSyncAPPLE .type epoxy_glFenceSyncAPPLE, %object; epoxy_glFenceSyncAPPLE: .globl epoxy_glFinalCombinerInputNV .type epoxy_glFinalCombinerInputNV, %object; epoxy_glFinalCombinerInputNV: .globl epoxy_glFinish .type epoxy_glFinish, %object; epoxy_glFinish: .globl epoxy_glFinishAsyncSGIX .type epoxy_glFinishAsyncSGIX, %object; epoxy_glFinishAsyncSGIX: .globl epoxy_glFinishFenceAPPLE .type epoxy_glFinishFenceAPPLE, %object; epoxy_glFinishFenceAPPLE: .globl epoxy_glFinishFenceNV .type epoxy_glFinishFenceNV, %object; epoxy_glFinishFenceNV: .globl epoxy_glFinishObjectAPPLE .type epoxy_glFinishObjectAPPLE, %object; epoxy_glFinishObjectAPPLE: .globl epoxy_glFinishTextureSUNX .type epoxy_glFinishTextureSUNX, %object; epoxy_glFinishTextureSUNX: .globl epoxy_glFlush .type epoxy_glFlush, %object; epoxy_glFlush: .globl epoxy_glFlushMappedBufferRange .type epoxy_glFlushMappedBufferRange, %object; epoxy_glFlushMappedBufferRange: .globl epoxy_glFlushMappedBufferRangeAPPLE .type epoxy_glFlushMappedBufferRangeAPPLE, %object; epoxy_glFlushMappedBufferRangeAPPLE: .globl epoxy_glFlushMappedBufferRangeEXT .type epoxy_glFlushMappedBufferRangeEXT, %object; epoxy_glFlushMappedBufferRangeEXT: .globl epoxy_glFlushMappedNamedBufferRange .type epoxy_glFlushMappedNamedBufferRange, %object; epoxy_glFlushMappedNamedBufferRange: .globl epoxy_glFlushMappedNamedBufferRangeEXT .type epoxy_glFlushMappedNamedBufferRangeEXT, %object; epoxy_glFlushMappedNamedBufferRangeEXT: .globl epoxy_glFlushPixelDataRangeNV .type epoxy_glFlushPixelDataRangeNV, %object; epoxy_glFlushPixelDataRangeNV: .globl epoxy_glFlushRasterSGIX .type epoxy_glFlushRasterSGIX, %object; epoxy_glFlushRasterSGIX: .globl epoxy_glFlushStaticDataIBM .type epoxy_glFlushStaticDataIBM, %object; epoxy_glFlushStaticDataIBM: .globl epoxy_glFlushVertexArrayRangeAPPLE .type epoxy_glFlushVertexArrayRangeAPPLE, %object; epoxy_glFlushVertexArrayRangeAPPLE: .globl epoxy_glFlushVertexArrayRangeNV .type epoxy_glFlushVertexArrayRangeNV, %object; epoxy_glFlushVertexArrayRangeNV: .globl epoxy_glFogCoordFormatNV .type epoxy_glFogCoordFormatNV, %object; epoxy_glFogCoordFormatNV: .globl epoxy_glFogCoordPointer .type epoxy_glFogCoordPointer, %object; epoxy_glFogCoordPointer: .globl epoxy_glFogCoordPointerEXT .type epoxy_glFogCoordPointerEXT, %object; epoxy_glFogCoordPointerEXT: .globl epoxy_glFogCoordPointerListIBM .type epoxy_glFogCoordPointerListIBM, %object; epoxy_glFogCoordPointerListIBM: .globl epoxy_glFogCoordd .type epoxy_glFogCoordd, %object; epoxy_glFogCoordd: .globl epoxy_glFogCoorddEXT .type epoxy_glFogCoorddEXT, %object; epoxy_glFogCoorddEXT: .globl epoxy_glFogCoorddv .type epoxy_glFogCoorddv, %object; epoxy_glFogCoorddv: .globl epoxy_glFogCoorddvEXT .type epoxy_glFogCoorddvEXT, %object; epoxy_glFogCoorddvEXT: .globl epoxy_glFogCoordf .type epoxy_glFogCoordf, %object; epoxy_glFogCoordf: .globl epoxy_glFogCoordfEXT .type epoxy_glFogCoordfEXT, %object; epoxy_glFogCoordfEXT: .globl epoxy_glFogCoordfv .type epoxy_glFogCoordfv, %object; epoxy_glFogCoordfv: .globl epoxy_glFogCoordfvEXT .type epoxy_glFogCoordfvEXT, %object; epoxy_glFogCoordfvEXT: .globl epoxy_glFogCoordhNV .type epoxy_glFogCoordhNV, %object; epoxy_glFogCoordhNV: .globl epoxy_glFogCoordhvNV .type epoxy_glFogCoordhvNV, %object; epoxy_glFogCoordhvNV: .globl epoxy_glFogFuncSGIS .type epoxy_glFogFuncSGIS, %object; epoxy_glFogFuncSGIS: .globl epoxy_glFogf .type epoxy_glFogf, %object; epoxy_glFogf: .globl epoxy_glFogfv .type epoxy_glFogfv, %object; epoxy_glFogfv: .globl epoxy_glFogi .type epoxy_glFogi, %object; epoxy_glFogi: .globl epoxy_glFogiv .type epoxy_glFogiv, %object; epoxy_glFogiv: .globl epoxy_glFogx .type epoxy_glFogx, %object; epoxy_glFogx: .globl epoxy_glFogxOES .type epoxy_glFogxOES, %object; epoxy_glFogxOES: .globl epoxy_glFogxv .type epoxy_glFogxv, %object; epoxy_glFogxv: .globl epoxy_glFogxvOES .type epoxy_glFogxvOES, %object; epoxy_glFogxvOES: .globl epoxy_glFragmentColorMaterialSGIX .type epoxy_glFragmentColorMaterialSGIX, %object; epoxy_glFragmentColorMaterialSGIX: .globl epoxy_glFragmentCoverageColorNV .type epoxy_glFragmentCoverageColorNV, %object; epoxy_glFragmentCoverageColorNV: .globl epoxy_glFragmentLightModelfSGIX .type epoxy_glFragmentLightModelfSGIX, %object; epoxy_glFragmentLightModelfSGIX: .globl epoxy_glFragmentLightModelfvSGIX .type epoxy_glFragmentLightModelfvSGIX, %object; epoxy_glFragmentLightModelfvSGIX: .globl epoxy_glFragmentLightModeliSGIX .type epoxy_glFragmentLightModeliSGIX, %object; epoxy_glFragmentLightModeliSGIX: .globl epoxy_glFragmentLightModelivSGIX .type epoxy_glFragmentLightModelivSGIX, %object; epoxy_glFragmentLightModelivSGIX: .globl epoxy_glFragmentLightfSGIX .type epoxy_glFragmentLightfSGIX, %object; epoxy_glFragmentLightfSGIX: .globl epoxy_glFragmentLightfvSGIX .type epoxy_glFragmentLightfvSGIX, %object; epoxy_glFragmentLightfvSGIX: .globl epoxy_glFragmentLightiSGIX .type epoxy_glFragmentLightiSGIX, %object; epoxy_glFragmentLightiSGIX: .globl epoxy_glFragmentLightivSGIX .type epoxy_glFragmentLightivSGIX, %object; epoxy_glFragmentLightivSGIX: .globl epoxy_glFragmentMaterialfSGIX .type epoxy_glFragmentMaterialfSGIX, %object; epoxy_glFragmentMaterialfSGIX: .globl epoxy_glFragmentMaterialfvSGIX .type epoxy_glFragmentMaterialfvSGIX, %object; epoxy_glFragmentMaterialfvSGIX: .globl epoxy_glFragmentMaterialiSGIX .type epoxy_glFragmentMaterialiSGIX, %object; epoxy_glFragmentMaterialiSGIX: .globl epoxy_glFragmentMaterialivSGIX .type epoxy_glFragmentMaterialivSGIX, %object; epoxy_glFragmentMaterialivSGIX: .globl epoxy_glFrameTerminatorGREMEDY .type epoxy_glFrameTerminatorGREMEDY, %object; epoxy_glFrameTerminatorGREMEDY: .globl epoxy_glFrameZoomSGIX .type epoxy_glFrameZoomSGIX, %object; epoxy_glFrameZoomSGIX: .globl epoxy_glFramebufferDrawBufferEXT .type epoxy_glFramebufferDrawBufferEXT, %object; epoxy_glFramebufferDrawBufferEXT: .globl epoxy_glFramebufferDrawBuffersEXT .type epoxy_glFramebufferDrawBuffersEXT, %object; epoxy_glFramebufferDrawBuffersEXT: .globl epoxy_glFramebufferFetchBarrierEXT .type epoxy_glFramebufferFetchBarrierEXT, %object; epoxy_glFramebufferFetchBarrierEXT: .globl epoxy_glFramebufferFetchBarrierQCOM .type epoxy_glFramebufferFetchBarrierQCOM, %object; epoxy_glFramebufferFetchBarrierQCOM: .globl epoxy_glFramebufferFoveationConfigQCOM .type epoxy_glFramebufferFoveationConfigQCOM, %object; epoxy_glFramebufferFoveationConfigQCOM: .globl epoxy_glFramebufferFoveationParametersQCOM .type epoxy_glFramebufferFoveationParametersQCOM, %object; epoxy_glFramebufferFoveationParametersQCOM: .globl epoxy_glFramebufferParameteri .type epoxy_glFramebufferParameteri, %object; epoxy_glFramebufferParameteri: .globl epoxy_glFramebufferParameteriMESA .type epoxy_glFramebufferParameteriMESA, %object; epoxy_glFramebufferParameteriMESA: .globl epoxy_glFramebufferPixelLocalStorageSizeEXT .type epoxy_glFramebufferPixelLocalStorageSizeEXT, %object; epoxy_glFramebufferPixelLocalStorageSizeEXT: .globl epoxy_glFramebufferReadBufferEXT .type epoxy_glFramebufferReadBufferEXT, %object; epoxy_glFramebufferReadBufferEXT: .globl epoxy_glFramebufferRenderbuffer .type epoxy_glFramebufferRenderbuffer, %object; epoxy_glFramebufferRenderbuffer: .globl epoxy_glFramebufferRenderbufferEXT .type epoxy_glFramebufferRenderbufferEXT, %object; epoxy_glFramebufferRenderbufferEXT: .globl epoxy_glFramebufferRenderbufferOES .type epoxy_glFramebufferRenderbufferOES, %object; epoxy_glFramebufferRenderbufferOES: .globl epoxy_glFramebufferSampleLocationsfvARB .type epoxy_glFramebufferSampleLocationsfvARB, %object; epoxy_glFramebufferSampleLocationsfvARB: .globl epoxy_glFramebufferSampleLocationsfvNV .type epoxy_glFramebufferSampleLocationsfvNV, %object; epoxy_glFramebufferSampleLocationsfvNV: .globl epoxy_glFramebufferSamplePositionsfvAMD .type epoxy_glFramebufferSamplePositionsfvAMD, %object; epoxy_glFramebufferSamplePositionsfvAMD: .globl epoxy_glFramebufferTexture .type epoxy_glFramebufferTexture, %object; epoxy_glFramebufferTexture: .globl epoxy_glFramebufferTexture1D .type epoxy_glFramebufferTexture1D, %object; epoxy_glFramebufferTexture1D: .globl epoxy_glFramebufferTexture1DEXT .type epoxy_glFramebufferTexture1DEXT, %object; epoxy_glFramebufferTexture1DEXT: .globl epoxy_glFramebufferTexture2D .type epoxy_glFramebufferTexture2D, %object; epoxy_glFramebufferTexture2D: .globl epoxy_glFramebufferTexture2DDownsampleIMG .type epoxy_glFramebufferTexture2DDownsampleIMG, %object; epoxy_glFramebufferTexture2DDownsampleIMG: .globl epoxy_glFramebufferTexture2DEXT .type epoxy_glFramebufferTexture2DEXT, %object; epoxy_glFramebufferTexture2DEXT: .globl epoxy_glFramebufferTexture2DMultisampleEXT .type epoxy_glFramebufferTexture2DMultisampleEXT, %object; epoxy_glFramebufferTexture2DMultisampleEXT: .globl epoxy_glFramebufferTexture2DMultisampleIMG .type epoxy_glFramebufferTexture2DMultisampleIMG, %object; epoxy_glFramebufferTexture2DMultisampleIMG: .globl epoxy_glFramebufferTexture2DOES .type epoxy_glFramebufferTexture2DOES, %object; epoxy_glFramebufferTexture2DOES: .globl epoxy_glFramebufferTexture3D .type epoxy_glFramebufferTexture3D, %object; epoxy_glFramebufferTexture3D: .globl epoxy_glFramebufferTexture3DEXT .type epoxy_glFramebufferTexture3DEXT, %object; epoxy_glFramebufferTexture3DEXT: .globl epoxy_glFramebufferTexture3DOES .type epoxy_glFramebufferTexture3DOES, %object; epoxy_glFramebufferTexture3DOES: .globl epoxy_glFramebufferTextureARB .type epoxy_glFramebufferTextureARB, %object; epoxy_glFramebufferTextureARB: .globl epoxy_glFramebufferTextureEXT .type epoxy_glFramebufferTextureEXT, %object; epoxy_glFramebufferTextureEXT: .globl epoxy_glFramebufferTextureFaceARB .type epoxy_glFramebufferTextureFaceARB, %object; epoxy_glFramebufferTextureFaceARB: .globl epoxy_glFramebufferTextureFaceEXT .type epoxy_glFramebufferTextureFaceEXT, %object; epoxy_glFramebufferTextureFaceEXT: .globl epoxy_glFramebufferTextureLayer .type epoxy_glFramebufferTextureLayer, %object; epoxy_glFramebufferTextureLayer: .globl epoxy_glFramebufferTextureLayerARB .type epoxy_glFramebufferTextureLayerARB, %object; epoxy_glFramebufferTextureLayerARB: .globl epoxy_glFramebufferTextureLayerDownsampleIMG .type epoxy_glFramebufferTextureLayerDownsampleIMG, %object; epoxy_glFramebufferTextureLayerDownsampleIMG: .globl epoxy_glFramebufferTextureLayerEXT .type epoxy_glFramebufferTextureLayerEXT, %object; epoxy_glFramebufferTextureLayerEXT: .globl epoxy_glFramebufferTextureMultisampleMultiviewOVR .type epoxy_glFramebufferTextureMultisampleMultiviewOVR, %object; epoxy_glFramebufferTextureMultisampleMultiviewOVR: .globl epoxy_glFramebufferTextureMultiviewOVR .type epoxy_glFramebufferTextureMultiviewOVR, %object; epoxy_glFramebufferTextureMultiviewOVR: .globl epoxy_glFramebufferTextureOES .type epoxy_glFramebufferTextureOES, %object; epoxy_glFramebufferTextureOES: .globl epoxy_glFreeObjectBufferATI .type epoxy_glFreeObjectBufferATI, %object; epoxy_glFreeObjectBufferATI: .globl epoxy_glFrontFace .type epoxy_glFrontFace, %object; epoxy_glFrontFace: .globl epoxy_glFrustum .type epoxy_glFrustum, %object; epoxy_glFrustum: .globl epoxy_glFrustumf .type epoxy_glFrustumf, %object; epoxy_glFrustumf: .globl epoxy_glFrustumfOES .type epoxy_glFrustumfOES, %object; epoxy_glFrustumfOES: .globl epoxy_glFrustumx .type epoxy_glFrustumx, %object; epoxy_glFrustumx: .globl epoxy_glFrustumxOES .type epoxy_glFrustumxOES, %object; epoxy_glFrustumxOES: .globl epoxy_glGenAsyncMarkersSGIX .type epoxy_glGenAsyncMarkersSGIX, %object; epoxy_glGenAsyncMarkersSGIX: .globl epoxy_glGenBuffers .type epoxy_glGenBuffers, %object; epoxy_glGenBuffers: .globl epoxy_glGenBuffersARB .type epoxy_glGenBuffersARB, %object; epoxy_glGenBuffersARB: .globl epoxy_glGenFencesAPPLE .type epoxy_glGenFencesAPPLE, %object; epoxy_glGenFencesAPPLE: .globl epoxy_glGenFencesNV .type epoxy_glGenFencesNV, %object; epoxy_glGenFencesNV: .globl epoxy_glGenFragmentShadersATI .type epoxy_glGenFragmentShadersATI, %object; epoxy_glGenFragmentShadersATI: .globl epoxy_glGenFramebuffers .type epoxy_glGenFramebuffers, %object; epoxy_glGenFramebuffers: .globl epoxy_glGenFramebuffersEXT .type epoxy_glGenFramebuffersEXT, %object; epoxy_glGenFramebuffersEXT: .globl epoxy_glGenFramebuffersOES .type epoxy_glGenFramebuffersOES, %object; epoxy_glGenFramebuffersOES: .globl epoxy_glGenLists .type epoxy_glGenLists, %object; epoxy_glGenLists: .globl epoxy_glGenNamesAMD .type epoxy_glGenNamesAMD, %object; epoxy_glGenNamesAMD: .globl epoxy_glGenOcclusionQueriesNV .type epoxy_glGenOcclusionQueriesNV, %object; epoxy_glGenOcclusionQueriesNV: .globl epoxy_glGenPathsNV .type epoxy_glGenPathsNV, %object; epoxy_glGenPathsNV: .globl epoxy_glGenPerfMonitorsAMD .type epoxy_glGenPerfMonitorsAMD, %object; epoxy_glGenPerfMonitorsAMD: .globl epoxy_glGenProgramPipelines .type epoxy_glGenProgramPipelines, %object; epoxy_glGenProgramPipelines: .globl epoxy_glGenProgramPipelinesEXT .type epoxy_glGenProgramPipelinesEXT, %object; epoxy_glGenProgramPipelinesEXT: .globl epoxy_glGenProgramsARB .type epoxy_glGenProgramsARB, %object; epoxy_glGenProgramsARB: .globl epoxy_glGenProgramsNV .type epoxy_glGenProgramsNV, %object; epoxy_glGenProgramsNV: .globl epoxy_glGenQueries .type epoxy_glGenQueries, %object; epoxy_glGenQueries: .globl epoxy_glGenQueriesARB .type epoxy_glGenQueriesARB, %object; epoxy_glGenQueriesARB: .globl epoxy_glGenQueriesEXT .type epoxy_glGenQueriesEXT, %object; epoxy_glGenQueriesEXT: .globl epoxy_glGenQueryResourceTagNV .type epoxy_glGenQueryResourceTagNV, %object; epoxy_glGenQueryResourceTagNV: .globl epoxy_glGenRenderbuffers .type epoxy_glGenRenderbuffers, %object; epoxy_glGenRenderbuffers: .globl epoxy_glGenRenderbuffersEXT .type epoxy_glGenRenderbuffersEXT, %object; epoxy_glGenRenderbuffersEXT: .globl epoxy_glGenRenderbuffersOES .type epoxy_glGenRenderbuffersOES, %object; epoxy_glGenRenderbuffersOES: .globl epoxy_glGenSamplers .type epoxy_glGenSamplers, %object; epoxy_glGenSamplers: .globl epoxy_glGenSemaphoresEXT .type epoxy_glGenSemaphoresEXT, %object; epoxy_glGenSemaphoresEXT: .globl epoxy_glGenSymbolsEXT .type epoxy_glGenSymbolsEXT, %object; epoxy_glGenSymbolsEXT: .globl epoxy_glGenTextures .type epoxy_glGenTextures, %object; epoxy_glGenTextures: .globl epoxy_glGenTexturesEXT .type epoxy_glGenTexturesEXT, %object; epoxy_glGenTexturesEXT: .globl epoxy_glGenTransformFeedbacks .type epoxy_glGenTransformFeedbacks, %object; epoxy_glGenTransformFeedbacks: .globl epoxy_glGenTransformFeedbacksNV .type epoxy_glGenTransformFeedbacksNV, %object; epoxy_glGenTransformFeedbacksNV: .globl epoxy_glGenVertexArrays .type epoxy_glGenVertexArrays, %object; epoxy_glGenVertexArrays: .globl epoxy_glGenVertexArraysAPPLE .type epoxy_glGenVertexArraysAPPLE, %object; epoxy_glGenVertexArraysAPPLE: .globl epoxy_glGenVertexArraysOES .type epoxy_glGenVertexArraysOES, %object; epoxy_glGenVertexArraysOES: .globl epoxy_glGenVertexShadersEXT .type epoxy_glGenVertexShadersEXT, %object; epoxy_glGenVertexShadersEXT: .globl epoxy_glGenerateMipmap .type epoxy_glGenerateMipmap, %object; epoxy_glGenerateMipmap: .globl epoxy_glGenerateMipmapEXT .type epoxy_glGenerateMipmapEXT, %object; epoxy_glGenerateMipmapEXT: .globl epoxy_glGenerateMipmapOES .type epoxy_glGenerateMipmapOES, %object; epoxy_glGenerateMipmapOES: .globl epoxy_glGenerateMultiTexMipmapEXT .type epoxy_glGenerateMultiTexMipmapEXT, %object; epoxy_glGenerateMultiTexMipmapEXT: .globl epoxy_glGenerateTextureMipmap .type epoxy_glGenerateTextureMipmap, %object; epoxy_glGenerateTextureMipmap: .globl epoxy_glGenerateTextureMipmapEXT .type epoxy_glGenerateTextureMipmapEXT, %object; epoxy_glGenerateTextureMipmapEXT: .globl epoxy_glGetActiveAtomicCounterBufferiv .type epoxy_glGetActiveAtomicCounterBufferiv, %object; epoxy_glGetActiveAtomicCounterBufferiv: .globl epoxy_glGetActiveAttrib .type epoxy_glGetActiveAttrib, %object; epoxy_glGetActiveAttrib: .globl epoxy_glGetActiveAttribARB .type epoxy_glGetActiveAttribARB, %object; epoxy_glGetActiveAttribARB: .globl epoxy_glGetActiveSubroutineName .type epoxy_glGetActiveSubroutineName, %object; epoxy_glGetActiveSubroutineName: .globl epoxy_glGetActiveSubroutineUniformName .type epoxy_glGetActiveSubroutineUniformName, %object; epoxy_glGetActiveSubroutineUniformName: .globl epoxy_glGetActiveSubroutineUniformiv .type epoxy_glGetActiveSubroutineUniformiv, %object; epoxy_glGetActiveSubroutineUniformiv: .globl epoxy_glGetActiveUniform .type epoxy_glGetActiveUniform, %object; epoxy_glGetActiveUniform: .globl epoxy_glGetActiveUniformARB .type epoxy_glGetActiveUniformARB, %object; epoxy_glGetActiveUniformARB: .globl epoxy_glGetActiveUniformBlockName .type epoxy_glGetActiveUniformBlockName, %object; epoxy_glGetActiveUniformBlockName: .globl epoxy_glGetActiveUniformBlockiv .type epoxy_glGetActiveUniformBlockiv, %object; epoxy_glGetActiveUniformBlockiv: .globl epoxy_glGetActiveUniformName .type epoxy_glGetActiveUniformName, %object; epoxy_glGetActiveUniformName: .globl epoxy_glGetActiveUniformsiv .type epoxy_glGetActiveUniformsiv, %object; epoxy_glGetActiveUniformsiv: .globl epoxy_glGetActiveVaryingNV .type epoxy_glGetActiveVaryingNV, %object; epoxy_glGetActiveVaryingNV: .globl epoxy_glGetArrayObjectfvATI .type epoxy_glGetArrayObjectfvATI, %object; epoxy_glGetArrayObjectfvATI: .globl epoxy_glGetArrayObjectivATI .type epoxy_glGetArrayObjectivATI, %object; epoxy_glGetArrayObjectivATI: .globl epoxy_glGetAttachedObjectsARB .type epoxy_glGetAttachedObjectsARB, %object; epoxy_glGetAttachedObjectsARB: .globl epoxy_glGetAttachedShaders .type epoxy_glGetAttachedShaders, %object; epoxy_glGetAttachedShaders: .globl epoxy_glGetAttribLocation .type epoxy_glGetAttribLocation, %object; epoxy_glGetAttribLocation: .globl epoxy_glGetAttribLocationARB .type epoxy_glGetAttribLocationARB, %object; epoxy_glGetAttribLocationARB: .globl epoxy_glGetBooleanIndexedvEXT .type epoxy_glGetBooleanIndexedvEXT, %object; epoxy_glGetBooleanIndexedvEXT: .globl epoxy_glGetBooleani_v .type epoxy_glGetBooleani_v, %object; epoxy_glGetBooleani_v: .globl epoxy_glGetBooleanv .type epoxy_glGetBooleanv, %object; epoxy_glGetBooleanv: .globl epoxy_glGetBufferParameteri64v .type epoxy_glGetBufferParameteri64v, %object; epoxy_glGetBufferParameteri64v: .globl epoxy_glGetBufferParameteriv .type epoxy_glGetBufferParameteriv, %object; epoxy_glGetBufferParameteriv: .globl epoxy_glGetBufferParameterivARB .type epoxy_glGetBufferParameterivARB, %object; epoxy_glGetBufferParameterivARB: .globl epoxy_glGetBufferParameterui64vNV .type epoxy_glGetBufferParameterui64vNV, %object; epoxy_glGetBufferParameterui64vNV: .globl epoxy_glGetBufferPointerv .type epoxy_glGetBufferPointerv, %object; epoxy_glGetBufferPointerv: .globl epoxy_glGetBufferPointervARB .type epoxy_glGetBufferPointervARB, %object; epoxy_glGetBufferPointervARB: .globl epoxy_glGetBufferPointervOES .type epoxy_glGetBufferPointervOES, %object; epoxy_glGetBufferPointervOES: .globl epoxy_glGetBufferSubData .type epoxy_glGetBufferSubData, %object; epoxy_glGetBufferSubData: .globl epoxy_glGetBufferSubDataARB .type epoxy_glGetBufferSubDataARB, %object; epoxy_glGetBufferSubDataARB: .globl epoxy_glGetClipPlane .type epoxy_glGetClipPlane, %object; epoxy_glGetClipPlane: .globl epoxy_glGetClipPlanef .type epoxy_glGetClipPlanef, %object; epoxy_glGetClipPlanef: .globl epoxy_glGetClipPlanefOES .type epoxy_glGetClipPlanefOES, %object; epoxy_glGetClipPlanefOES: .globl epoxy_glGetClipPlanex .type epoxy_glGetClipPlanex, %object; epoxy_glGetClipPlanex: .globl epoxy_glGetClipPlanexOES .type epoxy_glGetClipPlanexOES, %object; epoxy_glGetClipPlanexOES: .globl epoxy_glGetColorTable .type epoxy_glGetColorTable, %object; epoxy_glGetColorTable: .globl epoxy_glGetColorTableEXT .type epoxy_glGetColorTableEXT, %object; epoxy_glGetColorTableEXT: .globl epoxy_glGetColorTableParameterfv .type epoxy_glGetColorTableParameterfv, %object; epoxy_glGetColorTableParameterfv: .globl epoxy_glGetColorTableParameterfvEXT .type epoxy_glGetColorTableParameterfvEXT, %object; epoxy_glGetColorTableParameterfvEXT: .globl epoxy_glGetColorTableParameterfvSGI .type epoxy_glGetColorTableParameterfvSGI, %object; epoxy_glGetColorTableParameterfvSGI: .globl epoxy_glGetColorTableParameteriv .type epoxy_glGetColorTableParameteriv, %object; epoxy_glGetColorTableParameteriv: .globl epoxy_glGetColorTableParameterivEXT .type epoxy_glGetColorTableParameterivEXT, %object; epoxy_glGetColorTableParameterivEXT: .globl epoxy_glGetColorTableParameterivSGI .type epoxy_glGetColorTableParameterivSGI, %object; epoxy_glGetColorTableParameterivSGI: .globl epoxy_glGetColorTableSGI .type epoxy_glGetColorTableSGI, %object; epoxy_glGetColorTableSGI: .globl epoxy_glGetCombinerInputParameterfvNV .type epoxy_glGetCombinerInputParameterfvNV, %object; epoxy_glGetCombinerInputParameterfvNV: .globl epoxy_glGetCombinerInputParameterivNV .type epoxy_glGetCombinerInputParameterivNV, %object; epoxy_glGetCombinerInputParameterivNV: .globl epoxy_glGetCombinerOutputParameterfvNV .type epoxy_glGetCombinerOutputParameterfvNV, %object; epoxy_glGetCombinerOutputParameterfvNV: .globl epoxy_glGetCombinerOutputParameterivNV .type epoxy_glGetCombinerOutputParameterivNV, %object; epoxy_glGetCombinerOutputParameterivNV: .globl epoxy_glGetCombinerStageParameterfvNV .type epoxy_glGetCombinerStageParameterfvNV, %object; epoxy_glGetCombinerStageParameterfvNV: .globl epoxy_glGetCommandHeaderNV .type epoxy_glGetCommandHeaderNV, %object; epoxy_glGetCommandHeaderNV: .globl epoxy_glGetCompressedMultiTexImageEXT .type epoxy_glGetCompressedMultiTexImageEXT, %object; epoxy_glGetCompressedMultiTexImageEXT: .globl epoxy_glGetCompressedTexImage .type epoxy_glGetCompressedTexImage, %object; epoxy_glGetCompressedTexImage: .globl epoxy_glGetCompressedTexImageARB .type epoxy_glGetCompressedTexImageARB, %object; epoxy_glGetCompressedTexImageARB: .globl epoxy_glGetCompressedTextureImage .type epoxy_glGetCompressedTextureImage, %object; epoxy_glGetCompressedTextureImage: .globl epoxy_glGetCompressedTextureImageEXT .type epoxy_glGetCompressedTextureImageEXT, %object; epoxy_glGetCompressedTextureImageEXT: .globl epoxy_glGetCompressedTextureSubImage .type epoxy_glGetCompressedTextureSubImage, %object; epoxy_glGetCompressedTextureSubImage: .globl epoxy_glGetConvolutionFilter .type epoxy_glGetConvolutionFilter, %object; epoxy_glGetConvolutionFilter: .globl epoxy_glGetConvolutionFilterEXT .type epoxy_glGetConvolutionFilterEXT, %object; epoxy_glGetConvolutionFilterEXT: .globl epoxy_glGetConvolutionParameterfv .type epoxy_glGetConvolutionParameterfv, %object; epoxy_glGetConvolutionParameterfv: .globl epoxy_glGetConvolutionParameterfvEXT .type epoxy_glGetConvolutionParameterfvEXT, %object; epoxy_glGetConvolutionParameterfvEXT: .globl epoxy_glGetConvolutionParameteriv .type epoxy_glGetConvolutionParameteriv, %object; epoxy_glGetConvolutionParameteriv: .globl epoxy_glGetConvolutionParameterivEXT .type epoxy_glGetConvolutionParameterivEXT, %object; epoxy_glGetConvolutionParameterivEXT: .globl epoxy_glGetConvolutionParameterxvOES .type epoxy_glGetConvolutionParameterxvOES, %object; epoxy_glGetConvolutionParameterxvOES: .globl epoxy_glGetCoverageModulationTableNV .type epoxy_glGetCoverageModulationTableNV, %object; epoxy_glGetCoverageModulationTableNV: .globl epoxy_glGetDebugMessageLog .type epoxy_glGetDebugMessageLog, %object; epoxy_glGetDebugMessageLog: .globl epoxy_glGetDebugMessageLogAMD .type epoxy_glGetDebugMessageLogAMD, %object; epoxy_glGetDebugMessageLogAMD: .globl epoxy_glGetDebugMessageLogARB .type epoxy_glGetDebugMessageLogARB, %object; epoxy_glGetDebugMessageLogARB: .globl epoxy_glGetDebugMessageLogKHR .type epoxy_glGetDebugMessageLogKHR, %object; epoxy_glGetDebugMessageLogKHR: .globl epoxy_glGetDetailTexFuncSGIS .type epoxy_glGetDetailTexFuncSGIS, %object; epoxy_glGetDetailTexFuncSGIS: .globl epoxy_glGetDoubleIndexedvEXT .type epoxy_glGetDoubleIndexedvEXT, %object; epoxy_glGetDoubleIndexedvEXT: .globl epoxy_glGetDoublei_v .type epoxy_glGetDoublei_v, %object; epoxy_glGetDoublei_v: .globl epoxy_glGetDoublei_vEXT .type epoxy_glGetDoublei_vEXT, %object; epoxy_glGetDoublei_vEXT: .globl epoxy_glGetDoublev .type epoxy_glGetDoublev, %object; epoxy_glGetDoublev: .globl epoxy_glGetDriverControlStringQCOM .type epoxy_glGetDriverControlStringQCOM, %object; epoxy_glGetDriverControlStringQCOM: .globl epoxy_glGetDriverControlsQCOM .type epoxy_glGetDriverControlsQCOM, %object; epoxy_glGetDriverControlsQCOM: .globl epoxy_glGetError .type epoxy_glGetError, %object; epoxy_glGetError: .globl epoxy_glGetFenceivNV .type epoxy_glGetFenceivNV, %object; epoxy_glGetFenceivNV: .globl epoxy_glGetFinalCombinerInputParameterfvNV .type epoxy_glGetFinalCombinerInputParameterfvNV, %object; epoxy_glGetFinalCombinerInputParameterfvNV: .globl epoxy_glGetFinalCombinerInputParameterivNV .type epoxy_glGetFinalCombinerInputParameterivNV, %object; epoxy_glGetFinalCombinerInputParameterivNV: .globl epoxy_glGetFirstPerfQueryIdINTEL .type epoxy_glGetFirstPerfQueryIdINTEL, %object; epoxy_glGetFirstPerfQueryIdINTEL: .globl epoxy_glGetFixedv .type epoxy_glGetFixedv, %object; epoxy_glGetFixedv: .globl epoxy_glGetFixedvOES .type epoxy_glGetFixedvOES, %object; epoxy_glGetFixedvOES: .globl epoxy_glGetFloatIndexedvEXT .type epoxy_glGetFloatIndexedvEXT, %object; epoxy_glGetFloatIndexedvEXT: .globl epoxy_glGetFloati_v .type epoxy_glGetFloati_v, %object; epoxy_glGetFloati_v: .globl epoxy_glGetFloati_vEXT .type epoxy_glGetFloati_vEXT, %object; epoxy_glGetFloati_vEXT: .globl epoxy_glGetFloati_vNV .type epoxy_glGetFloati_vNV, %object; epoxy_glGetFloati_vNV: .globl epoxy_glGetFloati_vOES .type epoxy_glGetFloati_vOES, %object; epoxy_glGetFloati_vOES: .globl epoxy_glGetFloatv .type epoxy_glGetFloatv, %object; epoxy_glGetFloatv: .globl epoxy_glGetFogFuncSGIS .type epoxy_glGetFogFuncSGIS, %object; epoxy_glGetFogFuncSGIS: .globl epoxy_glGetFragDataIndex .type epoxy_glGetFragDataIndex, %object; epoxy_glGetFragDataIndex: .globl epoxy_glGetFragDataIndexEXT .type epoxy_glGetFragDataIndexEXT, %object; epoxy_glGetFragDataIndexEXT: .globl epoxy_glGetFragDataLocation .type epoxy_glGetFragDataLocation, %object; epoxy_glGetFragDataLocation: .globl epoxy_glGetFragDataLocationEXT .type epoxy_glGetFragDataLocationEXT, %object; epoxy_glGetFragDataLocationEXT: .globl epoxy_glGetFragmentLightfvSGIX .type epoxy_glGetFragmentLightfvSGIX, %object; epoxy_glGetFragmentLightfvSGIX: .globl epoxy_glGetFragmentLightivSGIX .type epoxy_glGetFragmentLightivSGIX, %object; epoxy_glGetFragmentLightivSGIX: .globl epoxy_glGetFragmentMaterialfvSGIX .type epoxy_glGetFragmentMaterialfvSGIX, %object; epoxy_glGetFragmentMaterialfvSGIX: .globl epoxy_glGetFragmentMaterialivSGIX .type epoxy_glGetFragmentMaterialivSGIX, %object; epoxy_glGetFragmentMaterialivSGIX: .globl epoxy_glGetFramebufferAttachmentParameteriv .type epoxy_glGetFramebufferAttachmentParameteriv, %object; epoxy_glGetFramebufferAttachmentParameteriv: .globl epoxy_glGetFramebufferAttachmentParameterivEXT .type epoxy_glGetFramebufferAttachmentParameterivEXT, %object; epoxy_glGetFramebufferAttachmentParameterivEXT: .globl epoxy_glGetFramebufferAttachmentParameterivOES .type epoxy_glGetFramebufferAttachmentParameterivOES, %object; epoxy_glGetFramebufferAttachmentParameterivOES: .globl epoxy_glGetFramebufferParameterfvAMD .type epoxy_glGetFramebufferParameterfvAMD, %object; epoxy_glGetFramebufferParameterfvAMD: .globl epoxy_glGetFramebufferParameteriv .type epoxy_glGetFramebufferParameteriv, %object; epoxy_glGetFramebufferParameteriv: .globl epoxy_glGetFramebufferParameterivEXT .type epoxy_glGetFramebufferParameterivEXT, %object; epoxy_glGetFramebufferParameterivEXT: .globl epoxy_glGetFramebufferParameterivMESA .type epoxy_glGetFramebufferParameterivMESA, %object; epoxy_glGetFramebufferParameterivMESA: .globl epoxy_glGetFramebufferPixelLocalStorageSizeEXT .type epoxy_glGetFramebufferPixelLocalStorageSizeEXT, %object; epoxy_glGetFramebufferPixelLocalStorageSizeEXT: .globl epoxy_glGetGraphicsResetStatus .type epoxy_glGetGraphicsResetStatus, %object; epoxy_glGetGraphicsResetStatus: .globl epoxy_glGetGraphicsResetStatusARB .type epoxy_glGetGraphicsResetStatusARB, %object; epoxy_glGetGraphicsResetStatusARB: .globl epoxy_glGetGraphicsResetStatusEXT .type epoxy_glGetGraphicsResetStatusEXT, %object; epoxy_glGetGraphicsResetStatusEXT: .globl epoxy_glGetGraphicsResetStatusKHR .type epoxy_glGetGraphicsResetStatusKHR, %object; epoxy_glGetGraphicsResetStatusKHR: .globl epoxy_glGetHandleARB .type epoxy_glGetHandleARB, %object; epoxy_glGetHandleARB: .globl epoxy_glGetHistogram .type epoxy_glGetHistogram, %object; epoxy_glGetHistogram: .globl epoxy_glGetHistogramEXT .type epoxy_glGetHistogramEXT, %object; epoxy_glGetHistogramEXT: .globl epoxy_glGetHistogramParameterfv .type epoxy_glGetHistogramParameterfv, %object; epoxy_glGetHistogramParameterfv: .globl epoxy_glGetHistogramParameterfvEXT .type epoxy_glGetHistogramParameterfvEXT, %object; epoxy_glGetHistogramParameterfvEXT: .globl epoxy_glGetHistogramParameteriv .type epoxy_glGetHistogramParameteriv, %object; epoxy_glGetHistogramParameteriv: .globl epoxy_glGetHistogramParameterivEXT .type epoxy_glGetHistogramParameterivEXT, %object; epoxy_glGetHistogramParameterivEXT: .globl epoxy_glGetHistogramParameterxvOES .type epoxy_glGetHistogramParameterxvOES, %object; epoxy_glGetHistogramParameterxvOES: .globl epoxy_glGetImageHandleARB .type epoxy_glGetImageHandleARB, %object; epoxy_glGetImageHandleARB: .globl epoxy_glGetImageHandleNV .type epoxy_glGetImageHandleNV, %object; epoxy_glGetImageHandleNV: .globl epoxy_glGetImageTransformParameterfvHP .type epoxy_glGetImageTransformParameterfvHP, %object; epoxy_glGetImageTransformParameterfvHP: .globl epoxy_glGetImageTransformParameterivHP .type epoxy_glGetImageTransformParameterivHP, %object; epoxy_glGetImageTransformParameterivHP: .globl epoxy_glGetInfoLogARB .type epoxy_glGetInfoLogARB, %object; epoxy_glGetInfoLogARB: .globl epoxy_glGetInstrumentsSGIX .type epoxy_glGetInstrumentsSGIX, %object; epoxy_glGetInstrumentsSGIX: .globl epoxy_glGetInteger64i_v .type epoxy_glGetInteger64i_v, %object; epoxy_glGetInteger64i_v: .globl epoxy_glGetInteger64v .type epoxy_glGetInteger64v, %object; epoxy_glGetInteger64v: .globl epoxy_glGetInteger64vAPPLE .type epoxy_glGetInteger64vAPPLE, %object; epoxy_glGetInteger64vAPPLE: .globl epoxy_glGetIntegerIndexedvEXT .type epoxy_glGetIntegerIndexedvEXT, %object; epoxy_glGetIntegerIndexedvEXT: .globl epoxy_glGetIntegeri_v .type epoxy_glGetIntegeri_v, %object; epoxy_glGetIntegeri_v: .globl epoxy_glGetIntegeri_vEXT .type epoxy_glGetIntegeri_vEXT, %object; epoxy_glGetIntegeri_vEXT: .globl epoxy_glGetIntegerui64i_vNV .type epoxy_glGetIntegerui64i_vNV, %object; epoxy_glGetIntegerui64i_vNV: .globl epoxy_glGetIntegerui64vNV .type epoxy_glGetIntegerui64vNV, %object; epoxy_glGetIntegerui64vNV: .globl epoxy_glGetIntegerv .type epoxy_glGetIntegerv, %object; epoxy_glGetIntegerv: .globl epoxy_glGetInternalformatSampleivNV .type epoxy_glGetInternalformatSampleivNV, %object; epoxy_glGetInternalformatSampleivNV: .globl epoxy_glGetInternalformati64v .type epoxy_glGetInternalformati64v, %object; epoxy_glGetInternalformati64v: .globl epoxy_glGetInternalformativ .type epoxy_glGetInternalformativ, %object; epoxy_glGetInternalformativ: .globl epoxy_glGetInvariantBooleanvEXT .type epoxy_glGetInvariantBooleanvEXT, %object; epoxy_glGetInvariantBooleanvEXT: .globl epoxy_glGetInvariantFloatvEXT .type epoxy_glGetInvariantFloatvEXT, %object; epoxy_glGetInvariantFloatvEXT: .globl epoxy_glGetInvariantIntegervEXT .type epoxy_glGetInvariantIntegervEXT, %object; epoxy_glGetInvariantIntegervEXT: .globl epoxy_glGetLightfv .type epoxy_glGetLightfv, %object; epoxy_glGetLightfv: .globl epoxy_glGetLightiv .type epoxy_glGetLightiv, %object; epoxy_glGetLightiv: .globl epoxy_glGetLightxOES .type epoxy_glGetLightxOES, %object; epoxy_glGetLightxOES: .globl epoxy_glGetLightxv .type epoxy_glGetLightxv, %object; epoxy_glGetLightxv: .globl epoxy_glGetLightxvOES .type epoxy_glGetLightxvOES, %object; epoxy_glGetLightxvOES: .globl epoxy_glGetListParameterfvSGIX .type epoxy_glGetListParameterfvSGIX, %object; epoxy_glGetListParameterfvSGIX: .globl epoxy_glGetListParameterivSGIX .type epoxy_glGetListParameterivSGIX, %object; epoxy_glGetListParameterivSGIX: .globl epoxy_glGetLocalConstantBooleanvEXT .type epoxy_glGetLocalConstantBooleanvEXT, %object; epoxy_glGetLocalConstantBooleanvEXT: .globl epoxy_glGetLocalConstantFloatvEXT .type epoxy_glGetLocalConstantFloatvEXT, %object; epoxy_glGetLocalConstantFloatvEXT: .globl epoxy_glGetLocalConstantIntegervEXT .type epoxy_glGetLocalConstantIntegervEXT, %object; epoxy_glGetLocalConstantIntegervEXT: .globl epoxy_glGetMapAttribParameterfvNV .type epoxy_glGetMapAttribParameterfvNV, %object; epoxy_glGetMapAttribParameterfvNV: .globl epoxy_glGetMapAttribParameterivNV .type epoxy_glGetMapAttribParameterivNV, %object; epoxy_glGetMapAttribParameterivNV: .globl epoxy_glGetMapControlPointsNV .type epoxy_glGetMapControlPointsNV, %object; epoxy_glGetMapControlPointsNV: .globl epoxy_glGetMapParameterfvNV .type epoxy_glGetMapParameterfvNV, %object; epoxy_glGetMapParameterfvNV: .globl epoxy_glGetMapParameterivNV .type epoxy_glGetMapParameterivNV, %object; epoxy_glGetMapParameterivNV: .globl epoxy_glGetMapdv .type epoxy_glGetMapdv, %object; epoxy_glGetMapdv: .globl epoxy_glGetMapfv .type epoxy_glGetMapfv, %object; epoxy_glGetMapfv: .globl epoxy_glGetMapiv .type epoxy_glGetMapiv, %object; epoxy_glGetMapiv: .globl epoxy_glGetMapxvOES .type epoxy_glGetMapxvOES, %object; epoxy_glGetMapxvOES: .globl epoxy_glGetMaterialfv .type epoxy_glGetMaterialfv, %object; epoxy_glGetMaterialfv: .globl epoxy_glGetMaterialiv .type epoxy_glGetMaterialiv, %object; epoxy_glGetMaterialiv: .globl epoxy_glGetMaterialxOES .type epoxy_glGetMaterialxOES, %object; epoxy_glGetMaterialxOES: .globl epoxy_glGetMaterialxv .type epoxy_glGetMaterialxv, %object; epoxy_glGetMaterialxv: .globl epoxy_glGetMaterialxvOES .type epoxy_glGetMaterialxvOES, %object; epoxy_glGetMaterialxvOES: .globl epoxy_glGetMemoryObjectDetachedResourcesuivNV .type epoxy_glGetMemoryObjectDetachedResourcesuivNV, %object; epoxy_glGetMemoryObjectDetachedResourcesuivNV: .globl epoxy_glGetMemoryObjectParameterivEXT .type epoxy_glGetMemoryObjectParameterivEXT, %object; epoxy_glGetMemoryObjectParameterivEXT: .globl epoxy_glGetMinmax .type epoxy_glGetMinmax, %object; epoxy_glGetMinmax: .globl epoxy_glGetMinmaxEXT .type epoxy_glGetMinmaxEXT, %object; epoxy_glGetMinmaxEXT: .globl epoxy_glGetMinmaxParameterfv .type epoxy_glGetMinmaxParameterfv, %object; epoxy_glGetMinmaxParameterfv: .globl epoxy_glGetMinmaxParameterfvEXT .type epoxy_glGetMinmaxParameterfvEXT, %object; epoxy_glGetMinmaxParameterfvEXT: .globl epoxy_glGetMinmaxParameteriv .type epoxy_glGetMinmaxParameteriv, %object; epoxy_glGetMinmaxParameteriv: .globl epoxy_glGetMinmaxParameterivEXT .type epoxy_glGetMinmaxParameterivEXT, %object; epoxy_glGetMinmaxParameterivEXT: .globl epoxy_glGetMultiTexEnvfvEXT .type epoxy_glGetMultiTexEnvfvEXT, %object; epoxy_glGetMultiTexEnvfvEXT: .globl epoxy_glGetMultiTexEnvivEXT .type epoxy_glGetMultiTexEnvivEXT, %object; epoxy_glGetMultiTexEnvivEXT: .globl epoxy_glGetMultiTexGendvEXT .type epoxy_glGetMultiTexGendvEXT, %object; epoxy_glGetMultiTexGendvEXT: .globl epoxy_glGetMultiTexGenfvEXT .type epoxy_glGetMultiTexGenfvEXT, %object; epoxy_glGetMultiTexGenfvEXT: .globl epoxy_glGetMultiTexGenivEXT .type epoxy_glGetMultiTexGenivEXT, %object; epoxy_glGetMultiTexGenivEXT: .globl epoxy_glGetMultiTexImageEXT .type epoxy_glGetMultiTexImageEXT, %object; epoxy_glGetMultiTexImageEXT: .globl epoxy_glGetMultiTexLevelParameterfvEXT .type epoxy_glGetMultiTexLevelParameterfvEXT, %object; epoxy_glGetMultiTexLevelParameterfvEXT: .globl epoxy_glGetMultiTexLevelParameterivEXT .type epoxy_glGetMultiTexLevelParameterivEXT, %object; epoxy_glGetMultiTexLevelParameterivEXT: .globl epoxy_glGetMultiTexParameterIivEXT .type epoxy_glGetMultiTexParameterIivEXT, %object; epoxy_glGetMultiTexParameterIivEXT: .globl epoxy_glGetMultiTexParameterIuivEXT .type epoxy_glGetMultiTexParameterIuivEXT, %object; epoxy_glGetMultiTexParameterIuivEXT: .globl epoxy_glGetMultiTexParameterfvEXT .type epoxy_glGetMultiTexParameterfvEXT, %object; epoxy_glGetMultiTexParameterfvEXT: .globl epoxy_glGetMultiTexParameterivEXT .type epoxy_glGetMultiTexParameterivEXT, %object; epoxy_glGetMultiTexParameterivEXT: .globl epoxy_glGetMultisamplefv .type epoxy_glGetMultisamplefv, %object; epoxy_glGetMultisamplefv: .globl epoxy_glGetMultisamplefvNV .type epoxy_glGetMultisamplefvNV, %object; epoxy_glGetMultisamplefvNV: .globl epoxy_glGetNamedBufferParameteri64v .type epoxy_glGetNamedBufferParameteri64v, %object; epoxy_glGetNamedBufferParameteri64v: .globl epoxy_glGetNamedBufferParameteriv .type epoxy_glGetNamedBufferParameteriv, %object; epoxy_glGetNamedBufferParameteriv: .globl epoxy_glGetNamedBufferParameterivEXT .type epoxy_glGetNamedBufferParameterivEXT, %object; epoxy_glGetNamedBufferParameterivEXT: .globl epoxy_glGetNamedBufferParameterui64vNV .type epoxy_glGetNamedBufferParameterui64vNV, %object; epoxy_glGetNamedBufferParameterui64vNV: .globl epoxy_glGetNamedBufferPointerv .type epoxy_glGetNamedBufferPointerv, %object; epoxy_glGetNamedBufferPointerv: .globl epoxy_glGetNamedBufferPointervEXT .type epoxy_glGetNamedBufferPointervEXT, %object; epoxy_glGetNamedBufferPointervEXT: .globl epoxy_glGetNamedBufferSubData .type epoxy_glGetNamedBufferSubData, %object; epoxy_glGetNamedBufferSubData: .globl epoxy_glGetNamedBufferSubDataEXT .type epoxy_glGetNamedBufferSubDataEXT, %object; epoxy_glGetNamedBufferSubDataEXT: .globl epoxy_glGetNamedFramebufferAttachmentParameteriv .type epoxy_glGetNamedFramebufferAttachmentParameteriv, %object; epoxy_glGetNamedFramebufferAttachmentParameteriv: .globl epoxy_glGetNamedFramebufferAttachmentParameterivEXT .type epoxy_glGetNamedFramebufferAttachmentParameterivEXT, %object; epoxy_glGetNamedFramebufferAttachmentParameterivEXT: .globl epoxy_glGetNamedFramebufferParameterfvAMD .type epoxy_glGetNamedFramebufferParameterfvAMD, %object; epoxy_glGetNamedFramebufferParameterfvAMD: .globl epoxy_glGetNamedFramebufferParameteriv .type epoxy_glGetNamedFramebufferParameteriv, %object; epoxy_glGetNamedFramebufferParameteriv: .globl epoxy_glGetNamedFramebufferParameterivEXT .type epoxy_glGetNamedFramebufferParameterivEXT, %object; epoxy_glGetNamedFramebufferParameterivEXT: .globl epoxy_glGetNamedProgramLocalParameterIivEXT .type epoxy_glGetNamedProgramLocalParameterIivEXT, %object; epoxy_glGetNamedProgramLocalParameterIivEXT: .globl epoxy_glGetNamedProgramLocalParameterIuivEXT .type epoxy_glGetNamedProgramLocalParameterIuivEXT, %object; epoxy_glGetNamedProgramLocalParameterIuivEXT: .globl epoxy_glGetNamedProgramLocalParameterdvEXT .type epoxy_glGetNamedProgramLocalParameterdvEXT, %object; epoxy_glGetNamedProgramLocalParameterdvEXT: .globl epoxy_glGetNamedProgramLocalParameterfvEXT .type epoxy_glGetNamedProgramLocalParameterfvEXT, %object; epoxy_glGetNamedProgramLocalParameterfvEXT: .globl epoxy_glGetNamedProgramStringEXT .type epoxy_glGetNamedProgramStringEXT, %object; epoxy_glGetNamedProgramStringEXT: .globl epoxy_glGetNamedProgramivEXT .type epoxy_glGetNamedProgramivEXT, %object; epoxy_glGetNamedProgramivEXT: .globl epoxy_glGetNamedRenderbufferParameteriv .type epoxy_glGetNamedRenderbufferParameteriv, %object; epoxy_glGetNamedRenderbufferParameteriv: .globl epoxy_glGetNamedRenderbufferParameterivEXT .type epoxy_glGetNamedRenderbufferParameterivEXT, %object; epoxy_glGetNamedRenderbufferParameterivEXT: .globl epoxy_glGetNamedStringARB .type epoxy_glGetNamedStringARB, %object; epoxy_glGetNamedStringARB: .globl epoxy_glGetNamedStringivARB .type epoxy_glGetNamedStringivARB, %object; epoxy_glGetNamedStringivARB: .globl epoxy_glGetNextPerfQueryIdINTEL .type epoxy_glGetNextPerfQueryIdINTEL, %object; epoxy_glGetNextPerfQueryIdINTEL: .globl epoxy_glGetObjectBufferfvATI .type epoxy_glGetObjectBufferfvATI, %object; epoxy_glGetObjectBufferfvATI: .globl epoxy_glGetObjectBufferivATI .type epoxy_glGetObjectBufferivATI, %object; epoxy_glGetObjectBufferivATI: .globl epoxy_glGetObjectLabel .type epoxy_glGetObjectLabel, %object; epoxy_glGetObjectLabel: .globl epoxy_glGetObjectLabelEXT .type epoxy_glGetObjectLabelEXT, %object; epoxy_glGetObjectLabelEXT: .globl epoxy_glGetObjectLabelKHR .type epoxy_glGetObjectLabelKHR, %object; epoxy_glGetObjectLabelKHR: .globl epoxy_glGetObjectParameterfvARB .type epoxy_glGetObjectParameterfvARB, %object; epoxy_glGetObjectParameterfvARB: .globl epoxy_glGetObjectParameterivAPPLE .type epoxy_glGetObjectParameterivAPPLE, %object; epoxy_glGetObjectParameterivAPPLE: .globl epoxy_glGetObjectParameterivARB .type epoxy_glGetObjectParameterivARB, %object; epoxy_glGetObjectParameterivARB: .globl epoxy_glGetObjectPtrLabel .type epoxy_glGetObjectPtrLabel, %object; epoxy_glGetObjectPtrLabel: .globl epoxy_glGetObjectPtrLabelKHR .type epoxy_glGetObjectPtrLabelKHR, %object; epoxy_glGetObjectPtrLabelKHR: .globl epoxy_glGetOcclusionQueryivNV .type epoxy_glGetOcclusionQueryivNV, %object; epoxy_glGetOcclusionQueryivNV: .globl epoxy_glGetOcclusionQueryuivNV .type epoxy_glGetOcclusionQueryuivNV, %object; epoxy_glGetOcclusionQueryuivNV: .globl epoxy_glGetPathColorGenfvNV .type epoxy_glGetPathColorGenfvNV, %object; epoxy_glGetPathColorGenfvNV: .globl epoxy_glGetPathColorGenivNV .type epoxy_glGetPathColorGenivNV, %object; epoxy_glGetPathColorGenivNV: .globl epoxy_glGetPathCommandsNV .type epoxy_glGetPathCommandsNV, %object; epoxy_glGetPathCommandsNV: .globl epoxy_glGetPathCoordsNV .type epoxy_glGetPathCoordsNV, %object; epoxy_glGetPathCoordsNV: .globl epoxy_glGetPathDashArrayNV .type epoxy_glGetPathDashArrayNV, %object; epoxy_glGetPathDashArrayNV: .globl epoxy_glGetPathLengthNV .type epoxy_glGetPathLengthNV, %object; epoxy_glGetPathLengthNV: .globl epoxy_glGetPathMetricRangeNV .type epoxy_glGetPathMetricRangeNV, %object; epoxy_glGetPathMetricRangeNV: .globl epoxy_glGetPathMetricsNV .type epoxy_glGetPathMetricsNV, %object; epoxy_glGetPathMetricsNV: .globl epoxy_glGetPathParameterfvNV .type epoxy_glGetPathParameterfvNV, %object; epoxy_glGetPathParameterfvNV: .globl epoxy_glGetPathParameterivNV .type epoxy_glGetPathParameterivNV, %object; epoxy_glGetPathParameterivNV: .globl epoxy_glGetPathSpacingNV .type epoxy_glGetPathSpacingNV, %object; epoxy_glGetPathSpacingNV: .globl epoxy_glGetPathTexGenfvNV .type epoxy_glGetPathTexGenfvNV, %object; epoxy_glGetPathTexGenfvNV: .globl epoxy_glGetPathTexGenivNV .type epoxy_glGetPathTexGenivNV, %object; epoxy_glGetPathTexGenivNV: .globl epoxy_glGetPerfCounterInfoINTEL .type epoxy_glGetPerfCounterInfoINTEL, %object; epoxy_glGetPerfCounterInfoINTEL: .globl epoxy_glGetPerfMonitorCounterDataAMD .type epoxy_glGetPerfMonitorCounterDataAMD, %object; epoxy_glGetPerfMonitorCounterDataAMD: .globl epoxy_glGetPerfMonitorCounterInfoAMD .type epoxy_glGetPerfMonitorCounterInfoAMD, %object; epoxy_glGetPerfMonitorCounterInfoAMD: .globl epoxy_glGetPerfMonitorCounterStringAMD .type epoxy_glGetPerfMonitorCounterStringAMD, %object; epoxy_glGetPerfMonitorCounterStringAMD: .globl epoxy_glGetPerfMonitorCountersAMD .type epoxy_glGetPerfMonitorCountersAMD, %object; epoxy_glGetPerfMonitorCountersAMD: .globl epoxy_glGetPerfMonitorGroupStringAMD .type epoxy_glGetPerfMonitorGroupStringAMD, %object; epoxy_glGetPerfMonitorGroupStringAMD: .globl epoxy_glGetPerfMonitorGroupsAMD .type epoxy_glGetPerfMonitorGroupsAMD, %object; epoxy_glGetPerfMonitorGroupsAMD: .globl epoxy_glGetPerfQueryDataINTEL .type epoxy_glGetPerfQueryDataINTEL, %object; epoxy_glGetPerfQueryDataINTEL: .globl epoxy_glGetPerfQueryIdByNameINTEL .type epoxy_glGetPerfQueryIdByNameINTEL, %object; epoxy_glGetPerfQueryIdByNameINTEL: .globl epoxy_glGetPerfQueryInfoINTEL .type epoxy_glGetPerfQueryInfoINTEL, %object; epoxy_glGetPerfQueryInfoINTEL: .globl epoxy_glGetPixelMapfv .type epoxy_glGetPixelMapfv, %object; epoxy_glGetPixelMapfv: .globl epoxy_glGetPixelMapuiv .type epoxy_glGetPixelMapuiv, %object; epoxy_glGetPixelMapuiv: .globl epoxy_glGetPixelMapusv .type epoxy_glGetPixelMapusv, %object; epoxy_glGetPixelMapusv: .globl epoxy_glGetPixelMapxv .type epoxy_glGetPixelMapxv, %object; epoxy_glGetPixelMapxv: .globl epoxy_glGetPixelTexGenParameterfvSGIS .type epoxy_glGetPixelTexGenParameterfvSGIS, %object; epoxy_glGetPixelTexGenParameterfvSGIS: .globl epoxy_glGetPixelTexGenParameterivSGIS .type epoxy_glGetPixelTexGenParameterivSGIS, %object; epoxy_glGetPixelTexGenParameterivSGIS: .globl epoxy_glGetPixelTransformParameterfvEXT .type epoxy_glGetPixelTransformParameterfvEXT, %object; epoxy_glGetPixelTransformParameterfvEXT: .globl epoxy_glGetPixelTransformParameterivEXT .type epoxy_glGetPixelTransformParameterivEXT, %object; epoxy_glGetPixelTransformParameterivEXT: .globl epoxy_glGetPointerIndexedvEXT .type epoxy_glGetPointerIndexedvEXT, %object; epoxy_glGetPointerIndexedvEXT: .globl epoxy_glGetPointeri_vEXT .type epoxy_glGetPointeri_vEXT, %object; epoxy_glGetPointeri_vEXT: .globl epoxy_glGetPointerv .type epoxy_glGetPointerv, %object; epoxy_glGetPointerv: .globl epoxy_glGetPointervEXT .type epoxy_glGetPointervEXT, %object; epoxy_glGetPointervEXT: .globl epoxy_glGetPointervKHR .type epoxy_glGetPointervKHR, %object; epoxy_glGetPointervKHR: .globl epoxy_glGetPolygonStipple .type epoxy_glGetPolygonStipple, %object; epoxy_glGetPolygonStipple: .globl epoxy_glGetProgramBinary .type epoxy_glGetProgramBinary, %object; epoxy_glGetProgramBinary: .globl epoxy_glGetProgramBinaryOES .type epoxy_glGetProgramBinaryOES, %object; epoxy_glGetProgramBinaryOES: .globl epoxy_glGetProgramEnvParameterIivNV .type epoxy_glGetProgramEnvParameterIivNV, %object; epoxy_glGetProgramEnvParameterIivNV: .globl epoxy_glGetProgramEnvParameterIuivNV .type epoxy_glGetProgramEnvParameterIuivNV, %object; epoxy_glGetProgramEnvParameterIuivNV: .globl epoxy_glGetProgramEnvParameterdvARB .type epoxy_glGetProgramEnvParameterdvARB, %object; epoxy_glGetProgramEnvParameterdvARB: .globl epoxy_glGetProgramEnvParameterfvARB .type epoxy_glGetProgramEnvParameterfvARB, %object; epoxy_glGetProgramEnvParameterfvARB: .globl epoxy_glGetProgramInfoLog .type epoxy_glGetProgramInfoLog, %object; epoxy_glGetProgramInfoLog: .globl epoxy_glGetProgramInterfaceiv .type epoxy_glGetProgramInterfaceiv, %object; epoxy_glGetProgramInterfaceiv: .globl epoxy_glGetProgramLocalParameterIivNV .type epoxy_glGetProgramLocalParameterIivNV, %object; epoxy_glGetProgramLocalParameterIivNV: .globl epoxy_glGetProgramLocalParameterIuivNV .type epoxy_glGetProgramLocalParameterIuivNV, %object; epoxy_glGetProgramLocalParameterIuivNV: .globl epoxy_glGetProgramLocalParameterdvARB .type epoxy_glGetProgramLocalParameterdvARB, %object; epoxy_glGetProgramLocalParameterdvARB: .globl epoxy_glGetProgramLocalParameterfvARB .type epoxy_glGetProgramLocalParameterfvARB, %object; epoxy_glGetProgramLocalParameterfvARB: .globl epoxy_glGetProgramNamedParameterdvNV .type epoxy_glGetProgramNamedParameterdvNV, %object; epoxy_glGetProgramNamedParameterdvNV: .globl epoxy_glGetProgramNamedParameterfvNV .type epoxy_glGetProgramNamedParameterfvNV, %object; epoxy_glGetProgramNamedParameterfvNV: .globl epoxy_glGetProgramParameterdvNV .type epoxy_glGetProgramParameterdvNV, %object; epoxy_glGetProgramParameterdvNV: .globl epoxy_glGetProgramParameterfvNV .type epoxy_glGetProgramParameterfvNV, %object; epoxy_glGetProgramParameterfvNV: .globl epoxy_glGetProgramPipelineInfoLog .type epoxy_glGetProgramPipelineInfoLog, %object; epoxy_glGetProgramPipelineInfoLog: .globl epoxy_glGetProgramPipelineInfoLogEXT .type epoxy_glGetProgramPipelineInfoLogEXT, %object; epoxy_glGetProgramPipelineInfoLogEXT: .globl epoxy_glGetProgramPipelineiv .type epoxy_glGetProgramPipelineiv, %object; epoxy_glGetProgramPipelineiv: .globl epoxy_glGetProgramPipelineivEXT .type epoxy_glGetProgramPipelineivEXT, %object; epoxy_glGetProgramPipelineivEXT: .globl epoxy_glGetProgramResourceIndex .type epoxy_glGetProgramResourceIndex, %object; epoxy_glGetProgramResourceIndex: .globl epoxy_glGetProgramResourceLocation .type epoxy_glGetProgramResourceLocation, %object; epoxy_glGetProgramResourceLocation: .globl epoxy_glGetProgramResourceLocationIndex .type epoxy_glGetProgramResourceLocationIndex, %object; epoxy_glGetProgramResourceLocationIndex: .globl epoxy_glGetProgramResourceLocationIndexEXT .type epoxy_glGetProgramResourceLocationIndexEXT, %object; epoxy_glGetProgramResourceLocationIndexEXT: .globl epoxy_glGetProgramResourceName .type epoxy_glGetProgramResourceName, %object; epoxy_glGetProgramResourceName: .globl epoxy_glGetProgramResourcefvNV .type epoxy_glGetProgramResourcefvNV, %object; epoxy_glGetProgramResourcefvNV: .globl epoxy_glGetProgramResourceiv .type epoxy_glGetProgramResourceiv, %object; epoxy_glGetProgramResourceiv: .globl epoxy_glGetProgramStageiv .type epoxy_glGetProgramStageiv, %object; epoxy_glGetProgramStageiv: .globl epoxy_glGetProgramStringARB .type epoxy_glGetProgramStringARB, %object; epoxy_glGetProgramStringARB: .globl epoxy_glGetProgramStringNV .type epoxy_glGetProgramStringNV, %object; epoxy_glGetProgramStringNV: .globl epoxy_glGetProgramSubroutineParameteruivNV .type epoxy_glGetProgramSubroutineParameteruivNV, %object; epoxy_glGetProgramSubroutineParameteruivNV: .globl epoxy_glGetProgramiv .type epoxy_glGetProgramiv, %object; epoxy_glGetProgramiv: .globl epoxy_glGetProgramivARB .type epoxy_glGetProgramivARB, %object; epoxy_glGetProgramivARB: .globl epoxy_glGetProgramivNV .type epoxy_glGetProgramivNV, %object; epoxy_glGetProgramivNV: .globl epoxy_glGetQueryBufferObjecti64v .type epoxy_glGetQueryBufferObjecti64v, %object; epoxy_glGetQueryBufferObjecti64v: .globl epoxy_glGetQueryBufferObjectiv .type epoxy_glGetQueryBufferObjectiv, %object; epoxy_glGetQueryBufferObjectiv: .globl epoxy_glGetQueryBufferObjectui64v .type epoxy_glGetQueryBufferObjectui64v, %object; epoxy_glGetQueryBufferObjectui64v: .globl epoxy_glGetQueryBufferObjectuiv .type epoxy_glGetQueryBufferObjectuiv, %object; epoxy_glGetQueryBufferObjectuiv: .globl epoxy_glGetQueryIndexediv .type epoxy_glGetQueryIndexediv, %object; epoxy_glGetQueryIndexediv: .globl epoxy_glGetQueryObjecti64v .type epoxy_glGetQueryObjecti64v, %object; epoxy_glGetQueryObjecti64v: .globl epoxy_glGetQueryObjecti64vEXT .type epoxy_glGetQueryObjecti64vEXT, %object; epoxy_glGetQueryObjecti64vEXT: .globl epoxy_glGetQueryObjectiv .type epoxy_glGetQueryObjectiv, %object; epoxy_glGetQueryObjectiv: .globl epoxy_glGetQueryObjectivARB .type epoxy_glGetQueryObjectivARB, %object; epoxy_glGetQueryObjectivARB: .globl epoxy_glGetQueryObjectivEXT .type epoxy_glGetQueryObjectivEXT, %object; epoxy_glGetQueryObjectivEXT: .globl epoxy_glGetQueryObjectui64v .type epoxy_glGetQueryObjectui64v, %object; epoxy_glGetQueryObjectui64v: .globl epoxy_glGetQueryObjectui64vEXT .type epoxy_glGetQueryObjectui64vEXT, %object; epoxy_glGetQueryObjectui64vEXT: .globl epoxy_glGetQueryObjectuiv .type epoxy_glGetQueryObjectuiv, %object; epoxy_glGetQueryObjectuiv: .globl epoxy_glGetQueryObjectuivARB .type epoxy_glGetQueryObjectuivARB, %object; epoxy_glGetQueryObjectuivARB: .globl epoxy_glGetQueryObjectuivEXT .type epoxy_glGetQueryObjectuivEXT, %object; epoxy_glGetQueryObjectuivEXT: .globl epoxy_glGetQueryiv .type epoxy_glGetQueryiv, %object; epoxy_glGetQueryiv: .globl epoxy_glGetQueryivARB .type epoxy_glGetQueryivARB, %object; epoxy_glGetQueryivARB: .globl epoxy_glGetQueryivEXT .type epoxy_glGetQueryivEXT, %object; epoxy_glGetQueryivEXT: .globl epoxy_glGetRenderbufferParameteriv .type epoxy_glGetRenderbufferParameteriv, %object; epoxy_glGetRenderbufferParameteriv: .globl epoxy_glGetRenderbufferParameterivEXT .type epoxy_glGetRenderbufferParameterivEXT, %object; epoxy_glGetRenderbufferParameterivEXT: .globl epoxy_glGetRenderbufferParameterivOES .type epoxy_glGetRenderbufferParameterivOES, %object; epoxy_glGetRenderbufferParameterivOES: .globl epoxy_glGetSamplerParameterIiv .type epoxy_glGetSamplerParameterIiv, %object; epoxy_glGetSamplerParameterIiv: .globl epoxy_glGetSamplerParameterIivEXT .type epoxy_glGetSamplerParameterIivEXT, %object; epoxy_glGetSamplerParameterIivEXT: .globl epoxy_glGetSamplerParameterIivOES .type epoxy_glGetSamplerParameterIivOES, %object; epoxy_glGetSamplerParameterIivOES: .globl epoxy_glGetSamplerParameterIuiv .type epoxy_glGetSamplerParameterIuiv, %object; epoxy_glGetSamplerParameterIuiv: .globl epoxy_glGetSamplerParameterIuivEXT .type epoxy_glGetSamplerParameterIuivEXT, %object; epoxy_glGetSamplerParameterIuivEXT: .globl epoxy_glGetSamplerParameterIuivOES .type epoxy_glGetSamplerParameterIuivOES, %object; epoxy_glGetSamplerParameterIuivOES: .globl epoxy_glGetSamplerParameterfv .type epoxy_glGetSamplerParameterfv, %object; epoxy_glGetSamplerParameterfv: .globl epoxy_glGetSamplerParameteriv .type epoxy_glGetSamplerParameteriv, %object; epoxy_glGetSamplerParameteriv: .globl epoxy_glGetSemaphoreParameterui64vEXT .type epoxy_glGetSemaphoreParameterui64vEXT, %object; epoxy_glGetSemaphoreParameterui64vEXT: .globl epoxy_glGetSeparableFilter .type epoxy_glGetSeparableFilter, %object; epoxy_glGetSeparableFilter: .globl epoxy_glGetSeparableFilterEXT .type epoxy_glGetSeparableFilterEXT, %object; epoxy_glGetSeparableFilterEXT: .globl epoxy_glGetShaderInfoLog .type epoxy_glGetShaderInfoLog, %object; epoxy_glGetShaderInfoLog: .globl epoxy_glGetShaderPrecisionFormat .type epoxy_glGetShaderPrecisionFormat, %object; epoxy_glGetShaderPrecisionFormat: .globl epoxy_glGetShaderSource .type epoxy_glGetShaderSource, %object; epoxy_glGetShaderSource: .globl epoxy_glGetShaderSourceARB .type epoxy_glGetShaderSourceARB, %object; epoxy_glGetShaderSourceARB: .globl epoxy_glGetShaderiv .type epoxy_glGetShaderiv, %object; epoxy_glGetShaderiv: .globl epoxy_glGetShadingRateImagePaletteNV .type epoxy_glGetShadingRateImagePaletteNV, %object; epoxy_glGetShadingRateImagePaletteNV: .globl epoxy_glGetShadingRateSampleLocationivNV .type epoxy_glGetShadingRateSampleLocationivNV, %object; epoxy_glGetShadingRateSampleLocationivNV: .globl epoxy_glGetSharpenTexFuncSGIS .type epoxy_glGetSharpenTexFuncSGIS, %object; epoxy_glGetSharpenTexFuncSGIS: .globl epoxy_glGetStageIndexNV .type epoxy_glGetStageIndexNV, %object; epoxy_glGetStageIndexNV: .globl epoxy_glGetString .type epoxy_glGetString, %object; epoxy_glGetString: .globl epoxy_glGetStringi .type epoxy_glGetStringi, %object; epoxy_glGetStringi: .globl epoxy_glGetSubroutineIndex .type epoxy_glGetSubroutineIndex, %object; epoxy_glGetSubroutineIndex: .globl epoxy_glGetSubroutineUniformLocation .type epoxy_glGetSubroutineUniformLocation, %object; epoxy_glGetSubroutineUniformLocation: .globl epoxy_glGetSynciv .type epoxy_glGetSynciv, %object; epoxy_glGetSynciv: .globl epoxy_glGetSyncivAPPLE .type epoxy_glGetSyncivAPPLE, %object; epoxy_glGetSyncivAPPLE: .globl epoxy_glGetTexBumpParameterfvATI .type epoxy_glGetTexBumpParameterfvATI, %object; epoxy_glGetTexBumpParameterfvATI: .globl epoxy_glGetTexBumpParameterivATI .type epoxy_glGetTexBumpParameterivATI, %object; epoxy_glGetTexBumpParameterivATI: .globl epoxy_glGetTexEnvfv .type epoxy_glGetTexEnvfv, %object; epoxy_glGetTexEnvfv: .globl epoxy_glGetTexEnviv .type epoxy_glGetTexEnviv, %object; epoxy_glGetTexEnviv: .globl epoxy_glGetTexEnvxv .type epoxy_glGetTexEnvxv, %object; epoxy_glGetTexEnvxv: .globl epoxy_glGetTexEnvxvOES .type epoxy_glGetTexEnvxvOES, %object; epoxy_glGetTexEnvxvOES: .globl epoxy_glGetTexFilterFuncSGIS .type epoxy_glGetTexFilterFuncSGIS, %object; epoxy_glGetTexFilterFuncSGIS: .globl epoxy_glGetTexGendv .type epoxy_glGetTexGendv, %object; epoxy_glGetTexGendv: .globl epoxy_glGetTexGenfv .type epoxy_glGetTexGenfv, %object; epoxy_glGetTexGenfv: .globl epoxy_glGetTexGenfvOES .type epoxy_glGetTexGenfvOES, %object; epoxy_glGetTexGenfvOES: .globl epoxy_glGetTexGeniv .type epoxy_glGetTexGeniv, %object; epoxy_glGetTexGeniv: .globl epoxy_glGetTexGenivOES .type epoxy_glGetTexGenivOES, %object; epoxy_glGetTexGenivOES: .globl epoxy_glGetTexGenxvOES .type epoxy_glGetTexGenxvOES, %object; epoxy_glGetTexGenxvOES: .globl epoxy_glGetTexImage .type epoxy_glGetTexImage, %object; epoxy_glGetTexImage: .globl epoxy_glGetTexLevelParameterfv .type epoxy_glGetTexLevelParameterfv, %object; epoxy_glGetTexLevelParameterfv: .globl epoxy_glGetTexLevelParameteriv .type epoxy_glGetTexLevelParameteriv, %object; epoxy_glGetTexLevelParameteriv: .globl epoxy_glGetTexLevelParameterxvOES .type epoxy_glGetTexLevelParameterxvOES, %object; epoxy_glGetTexLevelParameterxvOES: .globl epoxy_glGetTexParameterIiv .type epoxy_glGetTexParameterIiv, %object; epoxy_glGetTexParameterIiv: .globl epoxy_glGetTexParameterIivEXT .type epoxy_glGetTexParameterIivEXT, %object; epoxy_glGetTexParameterIivEXT: .globl epoxy_glGetTexParameterIivOES .type epoxy_glGetTexParameterIivOES, %object; epoxy_glGetTexParameterIivOES: .globl epoxy_glGetTexParameterIuiv .type epoxy_glGetTexParameterIuiv, %object; epoxy_glGetTexParameterIuiv: .globl epoxy_glGetTexParameterIuivEXT .type epoxy_glGetTexParameterIuivEXT, %object; epoxy_glGetTexParameterIuivEXT: .globl epoxy_glGetTexParameterIuivOES .type epoxy_glGetTexParameterIuivOES, %object; epoxy_glGetTexParameterIuivOES: .globl epoxy_glGetTexParameterPointervAPPLE .type epoxy_glGetTexParameterPointervAPPLE, %object; epoxy_glGetTexParameterPointervAPPLE: .globl epoxy_glGetTexParameterfv .type epoxy_glGetTexParameterfv, %object; epoxy_glGetTexParameterfv: .globl epoxy_glGetTexParameteriv .type epoxy_glGetTexParameteriv, %object; epoxy_glGetTexParameteriv: .globl epoxy_glGetTexParameterxv .type epoxy_glGetTexParameterxv, %object; epoxy_glGetTexParameterxv: .globl epoxy_glGetTexParameterxvOES .type epoxy_glGetTexParameterxvOES, %object; epoxy_glGetTexParameterxvOES: .globl epoxy_glGetTextureHandleARB .type epoxy_glGetTextureHandleARB, %object; epoxy_glGetTextureHandleARB: .globl epoxy_glGetTextureHandleIMG .type epoxy_glGetTextureHandleIMG, %object; epoxy_glGetTextureHandleIMG: .globl epoxy_glGetTextureHandleNV .type epoxy_glGetTextureHandleNV, %object; epoxy_glGetTextureHandleNV: .globl epoxy_glGetTextureImage .type epoxy_glGetTextureImage, %object; epoxy_glGetTextureImage: .globl epoxy_glGetTextureImageEXT .type epoxy_glGetTextureImageEXT, %object; epoxy_glGetTextureImageEXT: .globl epoxy_glGetTextureLevelParameterfv .type epoxy_glGetTextureLevelParameterfv, %object; epoxy_glGetTextureLevelParameterfv: .globl epoxy_glGetTextureLevelParameterfvEXT .type epoxy_glGetTextureLevelParameterfvEXT, %object; epoxy_glGetTextureLevelParameterfvEXT: .globl epoxy_glGetTextureLevelParameteriv .type epoxy_glGetTextureLevelParameteriv, %object; epoxy_glGetTextureLevelParameteriv: .globl epoxy_glGetTextureLevelParameterivEXT .type epoxy_glGetTextureLevelParameterivEXT, %object; epoxy_glGetTextureLevelParameterivEXT: .globl epoxy_glGetTextureParameterIiv .type epoxy_glGetTextureParameterIiv, %object; epoxy_glGetTextureParameterIiv: .globl epoxy_glGetTextureParameterIivEXT .type epoxy_glGetTextureParameterIivEXT, %object; epoxy_glGetTextureParameterIivEXT: .globl epoxy_glGetTextureParameterIuiv .type epoxy_glGetTextureParameterIuiv, %object; epoxy_glGetTextureParameterIuiv: .globl epoxy_glGetTextureParameterIuivEXT .type epoxy_glGetTextureParameterIuivEXT, %object; epoxy_glGetTextureParameterIuivEXT: .globl epoxy_glGetTextureParameterfv .type epoxy_glGetTextureParameterfv, %object; epoxy_glGetTextureParameterfv: .globl epoxy_glGetTextureParameterfvEXT .type epoxy_glGetTextureParameterfvEXT, %object; epoxy_glGetTextureParameterfvEXT: .globl epoxy_glGetTextureParameteriv .type epoxy_glGetTextureParameteriv, %object; epoxy_glGetTextureParameteriv: .globl epoxy_glGetTextureParameterivEXT .type epoxy_glGetTextureParameterivEXT, %object; epoxy_glGetTextureParameterivEXT: .globl epoxy_glGetTextureSamplerHandleARB .type epoxy_glGetTextureSamplerHandleARB, %object; epoxy_glGetTextureSamplerHandleARB: .globl epoxy_glGetTextureSamplerHandleIMG .type epoxy_glGetTextureSamplerHandleIMG, %object; epoxy_glGetTextureSamplerHandleIMG: .globl epoxy_glGetTextureSamplerHandleNV .type epoxy_glGetTextureSamplerHandleNV, %object; epoxy_glGetTextureSamplerHandleNV: .globl epoxy_glGetTextureSubImage .type epoxy_glGetTextureSubImage, %object; epoxy_glGetTextureSubImage: .globl epoxy_glGetTrackMatrixivNV .type epoxy_glGetTrackMatrixivNV, %object; epoxy_glGetTrackMatrixivNV: .globl epoxy_glGetTransformFeedbackVarying .type epoxy_glGetTransformFeedbackVarying, %object; epoxy_glGetTransformFeedbackVarying: .globl epoxy_glGetTransformFeedbackVaryingEXT .type epoxy_glGetTransformFeedbackVaryingEXT, %object; epoxy_glGetTransformFeedbackVaryingEXT: .globl epoxy_glGetTransformFeedbackVaryingNV .type epoxy_glGetTransformFeedbackVaryingNV, %object; epoxy_glGetTransformFeedbackVaryingNV: .globl epoxy_glGetTransformFeedbacki64_v .type epoxy_glGetTransformFeedbacki64_v, %object; epoxy_glGetTransformFeedbacki64_v: .globl epoxy_glGetTransformFeedbacki_v .type epoxy_glGetTransformFeedbacki_v, %object; epoxy_glGetTransformFeedbacki_v: .globl epoxy_glGetTransformFeedbackiv .type epoxy_glGetTransformFeedbackiv, %object; epoxy_glGetTransformFeedbackiv: .globl epoxy_glGetTranslatedShaderSourceANGLE .type epoxy_glGetTranslatedShaderSourceANGLE, %object; epoxy_glGetTranslatedShaderSourceANGLE: .globl epoxy_glGetUniformBlockIndex .type epoxy_glGetUniformBlockIndex, %object; epoxy_glGetUniformBlockIndex: .globl epoxy_glGetUniformBufferSizeEXT .type epoxy_glGetUniformBufferSizeEXT, %object; epoxy_glGetUniformBufferSizeEXT: .globl epoxy_glGetUniformIndices .type epoxy_glGetUniformIndices, %object; epoxy_glGetUniformIndices: .globl epoxy_glGetUniformLocation .type epoxy_glGetUniformLocation, %object; epoxy_glGetUniformLocation: .globl epoxy_glGetUniformLocationARB .type epoxy_glGetUniformLocationARB, %object; epoxy_glGetUniformLocationARB: .globl epoxy_glGetUniformOffsetEXT .type epoxy_glGetUniformOffsetEXT, %object; epoxy_glGetUniformOffsetEXT: .globl epoxy_glGetUniformSubroutineuiv .type epoxy_glGetUniformSubroutineuiv, %object; epoxy_glGetUniformSubroutineuiv: .globl epoxy_glGetUniformdv .type epoxy_glGetUniformdv, %object; epoxy_glGetUniformdv: .globl epoxy_glGetUniformfv .type epoxy_glGetUniformfv, %object; epoxy_glGetUniformfv: .globl epoxy_glGetUniformfvARB .type epoxy_glGetUniformfvARB, %object; epoxy_glGetUniformfvARB: .globl epoxy_glGetUniformi64vARB .type epoxy_glGetUniformi64vARB, %object; epoxy_glGetUniformi64vARB: .globl epoxy_glGetUniformi64vNV .type epoxy_glGetUniformi64vNV, %object; epoxy_glGetUniformi64vNV: .globl epoxy_glGetUniformiv .type epoxy_glGetUniformiv, %object; epoxy_glGetUniformiv: .globl epoxy_glGetUniformivARB .type epoxy_glGetUniformivARB, %object; epoxy_glGetUniformivARB: .globl epoxy_glGetUniformui64vARB .type epoxy_glGetUniformui64vARB, %object; epoxy_glGetUniformui64vARB: .globl epoxy_glGetUniformui64vNV .type epoxy_glGetUniformui64vNV, %object; epoxy_glGetUniformui64vNV: .globl epoxy_glGetUniformuiv .type epoxy_glGetUniformuiv, %object; epoxy_glGetUniformuiv: .globl epoxy_glGetUniformuivEXT .type epoxy_glGetUniformuivEXT, %object; epoxy_glGetUniformuivEXT: .globl epoxy_glGetUnsignedBytei_vEXT .type epoxy_glGetUnsignedBytei_vEXT, %object; epoxy_glGetUnsignedBytei_vEXT: .globl epoxy_glGetUnsignedBytevEXT .type epoxy_glGetUnsignedBytevEXT, %object; epoxy_glGetUnsignedBytevEXT: .globl epoxy_glGetVariantArrayObjectfvATI .type epoxy_glGetVariantArrayObjectfvATI, %object; epoxy_glGetVariantArrayObjectfvATI: .globl epoxy_glGetVariantArrayObjectivATI .type epoxy_glGetVariantArrayObjectivATI, %object; epoxy_glGetVariantArrayObjectivATI: .globl epoxy_glGetVariantBooleanvEXT .type epoxy_glGetVariantBooleanvEXT, %object; epoxy_glGetVariantBooleanvEXT: .globl epoxy_glGetVariantFloatvEXT .type epoxy_glGetVariantFloatvEXT, %object; epoxy_glGetVariantFloatvEXT: .globl epoxy_glGetVariantIntegervEXT .type epoxy_glGetVariantIntegervEXT, %object; epoxy_glGetVariantIntegervEXT: .globl epoxy_glGetVariantPointervEXT .type epoxy_glGetVariantPointervEXT, %object; epoxy_glGetVariantPointervEXT: .globl epoxy_glGetVaryingLocationNV .type epoxy_glGetVaryingLocationNV, %object; epoxy_glGetVaryingLocationNV: .globl epoxy_glGetVertexArrayIndexed64iv .type epoxy_glGetVertexArrayIndexed64iv, %object; epoxy_glGetVertexArrayIndexed64iv: .globl epoxy_glGetVertexArrayIndexediv .type epoxy_glGetVertexArrayIndexediv, %object; epoxy_glGetVertexArrayIndexediv: .globl epoxy_glGetVertexArrayIntegeri_vEXT .type epoxy_glGetVertexArrayIntegeri_vEXT, %object; epoxy_glGetVertexArrayIntegeri_vEXT: .globl epoxy_glGetVertexArrayIntegervEXT .type epoxy_glGetVertexArrayIntegervEXT, %object; epoxy_glGetVertexArrayIntegervEXT: .globl epoxy_glGetVertexArrayPointeri_vEXT .type epoxy_glGetVertexArrayPointeri_vEXT, %object; epoxy_glGetVertexArrayPointeri_vEXT: .globl epoxy_glGetVertexArrayPointervEXT .type epoxy_glGetVertexArrayPointervEXT, %object; epoxy_glGetVertexArrayPointervEXT: .globl epoxy_glGetVertexArrayiv .type epoxy_glGetVertexArrayiv, %object; epoxy_glGetVertexArrayiv: .globl epoxy_glGetVertexAttribArrayObjectfvATI .type epoxy_glGetVertexAttribArrayObjectfvATI, %object; epoxy_glGetVertexAttribArrayObjectfvATI: .globl epoxy_glGetVertexAttribArrayObjectivATI .type epoxy_glGetVertexAttribArrayObjectivATI, %object; epoxy_glGetVertexAttribArrayObjectivATI: .globl epoxy_glGetVertexAttribIiv .type epoxy_glGetVertexAttribIiv, %object; epoxy_glGetVertexAttribIiv: .globl epoxy_glGetVertexAttribIivEXT .type epoxy_glGetVertexAttribIivEXT, %object; epoxy_glGetVertexAttribIivEXT: .globl epoxy_glGetVertexAttribIuiv .type epoxy_glGetVertexAttribIuiv, %object; epoxy_glGetVertexAttribIuiv: .globl epoxy_glGetVertexAttribIuivEXT .type epoxy_glGetVertexAttribIuivEXT, %object; epoxy_glGetVertexAttribIuivEXT: .globl epoxy_glGetVertexAttribLdv .type epoxy_glGetVertexAttribLdv, %object; epoxy_glGetVertexAttribLdv: .globl epoxy_glGetVertexAttribLdvEXT .type epoxy_glGetVertexAttribLdvEXT, %object; epoxy_glGetVertexAttribLdvEXT: .globl epoxy_glGetVertexAttribLi64vNV .type epoxy_glGetVertexAttribLi64vNV, %object; epoxy_glGetVertexAttribLi64vNV: .globl epoxy_glGetVertexAttribLui64vARB .type epoxy_glGetVertexAttribLui64vARB, %object; epoxy_glGetVertexAttribLui64vARB: .globl epoxy_glGetVertexAttribLui64vNV .type epoxy_glGetVertexAttribLui64vNV, %object; epoxy_glGetVertexAttribLui64vNV: .globl epoxy_glGetVertexAttribPointerv .type epoxy_glGetVertexAttribPointerv, %object; epoxy_glGetVertexAttribPointerv: .globl epoxy_glGetVertexAttribPointervARB .type epoxy_glGetVertexAttribPointervARB, %object; epoxy_glGetVertexAttribPointervARB: .globl epoxy_glGetVertexAttribPointervNV .type epoxy_glGetVertexAttribPointervNV, %object; epoxy_glGetVertexAttribPointervNV: .globl epoxy_glGetVertexAttribdv .type epoxy_glGetVertexAttribdv, %object; epoxy_glGetVertexAttribdv: .globl epoxy_glGetVertexAttribdvARB .type epoxy_glGetVertexAttribdvARB, %object; epoxy_glGetVertexAttribdvARB: .globl epoxy_glGetVertexAttribdvNV .type epoxy_glGetVertexAttribdvNV, %object; epoxy_glGetVertexAttribdvNV: .globl epoxy_glGetVertexAttribfv .type epoxy_glGetVertexAttribfv, %object; epoxy_glGetVertexAttribfv: .globl epoxy_glGetVertexAttribfvARB .type epoxy_glGetVertexAttribfvARB, %object; epoxy_glGetVertexAttribfvARB: .globl epoxy_glGetVertexAttribfvNV .type epoxy_glGetVertexAttribfvNV, %object; epoxy_glGetVertexAttribfvNV: .globl epoxy_glGetVertexAttribiv .type epoxy_glGetVertexAttribiv, %object; epoxy_glGetVertexAttribiv: .globl epoxy_glGetVertexAttribivARB .type epoxy_glGetVertexAttribivARB, %object; epoxy_glGetVertexAttribivARB: .globl epoxy_glGetVertexAttribivNV .type epoxy_glGetVertexAttribivNV, %object; epoxy_glGetVertexAttribivNV: .globl epoxy_glGetVideoCaptureStreamdvNV .type epoxy_glGetVideoCaptureStreamdvNV, %object; epoxy_glGetVideoCaptureStreamdvNV: .globl epoxy_glGetVideoCaptureStreamfvNV .type epoxy_glGetVideoCaptureStreamfvNV, %object; epoxy_glGetVideoCaptureStreamfvNV: .globl epoxy_glGetVideoCaptureStreamivNV .type epoxy_glGetVideoCaptureStreamivNV, %object; epoxy_glGetVideoCaptureStreamivNV: .globl epoxy_glGetVideoCaptureivNV .type epoxy_glGetVideoCaptureivNV, %object; epoxy_glGetVideoCaptureivNV: .globl epoxy_glGetVideoi64vNV .type epoxy_glGetVideoi64vNV, %object; epoxy_glGetVideoi64vNV: .globl epoxy_glGetVideoivNV .type epoxy_glGetVideoivNV, %object; epoxy_glGetVideoivNV: .globl epoxy_glGetVideoui64vNV .type epoxy_glGetVideoui64vNV, %object; epoxy_glGetVideoui64vNV: .globl epoxy_glGetVideouivNV .type epoxy_glGetVideouivNV, %object; epoxy_glGetVideouivNV: .globl epoxy_glGetVkProcAddrNV .type epoxy_glGetVkProcAddrNV, %object; epoxy_glGetVkProcAddrNV: .globl epoxy_glGetnColorTable .type epoxy_glGetnColorTable, %object; epoxy_glGetnColorTable: .globl epoxy_glGetnColorTableARB .type epoxy_glGetnColorTableARB, %object; epoxy_glGetnColorTableARB: .globl epoxy_glGetnCompressedTexImage .type epoxy_glGetnCompressedTexImage, %object; epoxy_glGetnCompressedTexImage: .globl epoxy_glGetnCompressedTexImageARB .type epoxy_glGetnCompressedTexImageARB, %object; epoxy_glGetnCompressedTexImageARB: .globl epoxy_glGetnConvolutionFilter .type epoxy_glGetnConvolutionFilter, %object; epoxy_glGetnConvolutionFilter: .globl epoxy_glGetnConvolutionFilterARB .type epoxy_glGetnConvolutionFilterARB, %object; epoxy_glGetnConvolutionFilterARB: .globl epoxy_glGetnHistogram .type epoxy_glGetnHistogram, %object; epoxy_glGetnHistogram: .globl epoxy_glGetnHistogramARB .type epoxy_glGetnHistogramARB, %object; epoxy_glGetnHistogramARB: .globl epoxy_glGetnMapdv .type epoxy_glGetnMapdv, %object; epoxy_glGetnMapdv: .globl epoxy_glGetnMapdvARB .type epoxy_glGetnMapdvARB, %object; epoxy_glGetnMapdvARB: .globl epoxy_glGetnMapfv .type epoxy_glGetnMapfv, %object; epoxy_glGetnMapfv: .globl epoxy_glGetnMapfvARB .type epoxy_glGetnMapfvARB, %object; epoxy_glGetnMapfvARB: .globl epoxy_glGetnMapiv .type epoxy_glGetnMapiv, %object; epoxy_glGetnMapiv: .globl epoxy_glGetnMapivARB .type epoxy_glGetnMapivARB, %object; epoxy_glGetnMapivARB: .globl epoxy_glGetnMinmax .type epoxy_glGetnMinmax, %object; epoxy_glGetnMinmax: .globl epoxy_glGetnMinmaxARB .type epoxy_glGetnMinmaxARB, %object; epoxy_glGetnMinmaxARB: .globl epoxy_glGetnPixelMapfv .type epoxy_glGetnPixelMapfv, %object; epoxy_glGetnPixelMapfv: .globl epoxy_glGetnPixelMapfvARB .type epoxy_glGetnPixelMapfvARB, %object; epoxy_glGetnPixelMapfvARB: .globl epoxy_glGetnPixelMapuiv .type epoxy_glGetnPixelMapuiv, %object; epoxy_glGetnPixelMapuiv: .globl epoxy_glGetnPixelMapuivARB .type epoxy_glGetnPixelMapuivARB, %object; epoxy_glGetnPixelMapuivARB: .globl epoxy_glGetnPixelMapusv .type epoxy_glGetnPixelMapusv, %object; epoxy_glGetnPixelMapusv: .globl epoxy_glGetnPixelMapusvARB .type epoxy_glGetnPixelMapusvARB, %object; epoxy_glGetnPixelMapusvARB: .globl epoxy_glGetnPolygonStipple .type epoxy_glGetnPolygonStipple, %object; epoxy_glGetnPolygonStipple: .globl epoxy_glGetnPolygonStippleARB .type epoxy_glGetnPolygonStippleARB, %object; epoxy_glGetnPolygonStippleARB: .globl epoxy_glGetnSeparableFilter .type epoxy_glGetnSeparableFilter, %object; epoxy_glGetnSeparableFilter: .globl epoxy_glGetnSeparableFilterARB .type epoxy_glGetnSeparableFilterARB, %object; epoxy_glGetnSeparableFilterARB: .globl epoxy_glGetnTexImage .type epoxy_glGetnTexImage, %object; epoxy_glGetnTexImage: .globl epoxy_glGetnTexImageARB .type epoxy_glGetnTexImageARB, %object; epoxy_glGetnTexImageARB: .globl epoxy_glGetnUniformdv .type epoxy_glGetnUniformdv, %object; epoxy_glGetnUniformdv: .globl epoxy_glGetnUniformdvARB .type epoxy_glGetnUniformdvARB, %object; epoxy_glGetnUniformdvARB: .globl epoxy_glGetnUniformfv .type epoxy_glGetnUniformfv, %object; epoxy_glGetnUniformfv: .globl epoxy_glGetnUniformfvARB .type epoxy_glGetnUniformfvARB, %object; epoxy_glGetnUniformfvARB: .globl epoxy_glGetnUniformfvEXT .type epoxy_glGetnUniformfvEXT, %object; epoxy_glGetnUniformfvEXT: .globl epoxy_glGetnUniformfvKHR .type epoxy_glGetnUniformfvKHR, %object; epoxy_glGetnUniformfvKHR: .globl epoxy_glGetnUniformi64vARB .type epoxy_glGetnUniformi64vARB, %object; epoxy_glGetnUniformi64vARB: .globl epoxy_glGetnUniformiv .type epoxy_glGetnUniformiv, %object; epoxy_glGetnUniformiv: .globl epoxy_glGetnUniformivARB .type epoxy_glGetnUniformivARB, %object; epoxy_glGetnUniformivARB: .globl epoxy_glGetnUniformivEXT .type epoxy_glGetnUniformivEXT, %object; epoxy_glGetnUniformivEXT: .globl epoxy_glGetnUniformivKHR .type epoxy_glGetnUniformivKHR, %object; epoxy_glGetnUniformivKHR: .globl epoxy_glGetnUniformui64vARB .type epoxy_glGetnUniformui64vARB, %object; epoxy_glGetnUniformui64vARB: .globl epoxy_glGetnUniformuiv .type epoxy_glGetnUniformuiv, %object; epoxy_glGetnUniformuiv: .globl epoxy_glGetnUniformuivARB .type epoxy_glGetnUniformuivARB, %object; epoxy_glGetnUniformuivARB: .globl epoxy_glGetnUniformuivKHR .type epoxy_glGetnUniformuivKHR, %object; epoxy_glGetnUniformuivKHR: .globl epoxy_glGlobalAlphaFactorbSUN .type epoxy_glGlobalAlphaFactorbSUN, %object; epoxy_glGlobalAlphaFactorbSUN: .globl epoxy_glGlobalAlphaFactordSUN .type epoxy_glGlobalAlphaFactordSUN, %object; epoxy_glGlobalAlphaFactordSUN: .globl epoxy_glGlobalAlphaFactorfSUN .type epoxy_glGlobalAlphaFactorfSUN, %object; epoxy_glGlobalAlphaFactorfSUN: .globl epoxy_glGlobalAlphaFactoriSUN .type epoxy_glGlobalAlphaFactoriSUN, %object; epoxy_glGlobalAlphaFactoriSUN: .globl epoxy_glGlobalAlphaFactorsSUN .type epoxy_glGlobalAlphaFactorsSUN, %object; epoxy_glGlobalAlphaFactorsSUN: .globl epoxy_glGlobalAlphaFactorubSUN .type epoxy_glGlobalAlphaFactorubSUN, %object; epoxy_glGlobalAlphaFactorubSUN: .globl epoxy_glGlobalAlphaFactoruiSUN .type epoxy_glGlobalAlphaFactoruiSUN, %object; epoxy_glGlobalAlphaFactoruiSUN: .globl epoxy_glGlobalAlphaFactorusSUN .type epoxy_glGlobalAlphaFactorusSUN, %object; epoxy_glGlobalAlphaFactorusSUN: .globl epoxy_glHint .type epoxy_glHint, %object; epoxy_glHint: .globl epoxy_glHintPGI .type epoxy_glHintPGI, %object; epoxy_glHintPGI: .globl epoxy_glHistogram .type epoxy_glHistogram, %object; epoxy_glHistogram: .globl epoxy_glHistogramEXT .type epoxy_glHistogramEXT, %object; epoxy_glHistogramEXT: .globl epoxy_glIglooInterfaceSGIX .type epoxy_glIglooInterfaceSGIX, %object; epoxy_glIglooInterfaceSGIX: .globl epoxy_glImageTransformParameterfHP .type epoxy_glImageTransformParameterfHP, %object; epoxy_glImageTransformParameterfHP: .globl epoxy_glImageTransformParameterfvHP .type epoxy_glImageTransformParameterfvHP, %object; epoxy_glImageTransformParameterfvHP: .globl epoxy_glImageTransformParameteriHP .type epoxy_glImageTransformParameteriHP, %object; epoxy_glImageTransformParameteriHP: .globl epoxy_glImageTransformParameterivHP .type epoxy_glImageTransformParameterivHP, %object; epoxy_glImageTransformParameterivHP: .globl epoxy_glImportMemoryFdEXT .type epoxy_glImportMemoryFdEXT, %object; epoxy_glImportMemoryFdEXT: .globl epoxy_glImportMemoryWin32HandleEXT .type epoxy_glImportMemoryWin32HandleEXT, %object; epoxy_glImportMemoryWin32HandleEXT: .globl epoxy_glImportMemoryWin32NameEXT .type epoxy_glImportMemoryWin32NameEXT, %object; epoxy_glImportMemoryWin32NameEXT: .globl epoxy_glImportSemaphoreFdEXT .type epoxy_glImportSemaphoreFdEXT, %object; epoxy_glImportSemaphoreFdEXT: .globl epoxy_glImportSemaphoreWin32HandleEXT .type epoxy_glImportSemaphoreWin32HandleEXT, %object; epoxy_glImportSemaphoreWin32HandleEXT: .globl epoxy_glImportSemaphoreWin32NameEXT .type epoxy_glImportSemaphoreWin32NameEXT, %object; epoxy_glImportSemaphoreWin32NameEXT: .globl epoxy_glImportSyncEXT .type epoxy_glImportSyncEXT, %object; epoxy_glImportSyncEXT: .globl epoxy_glIndexFormatNV .type epoxy_glIndexFormatNV, %object; epoxy_glIndexFormatNV: .globl epoxy_glIndexFuncEXT .type epoxy_glIndexFuncEXT, %object; epoxy_glIndexFuncEXT: .globl epoxy_glIndexMask .type epoxy_glIndexMask, %object; epoxy_glIndexMask: .globl epoxy_glIndexMaterialEXT .type epoxy_glIndexMaterialEXT, %object; epoxy_glIndexMaterialEXT: .globl epoxy_glIndexPointer .type epoxy_glIndexPointer, %object; epoxy_glIndexPointer: .globl epoxy_glIndexPointerEXT .type epoxy_glIndexPointerEXT, %object; epoxy_glIndexPointerEXT: .globl epoxy_glIndexPointerListIBM .type epoxy_glIndexPointerListIBM, %object; epoxy_glIndexPointerListIBM: .globl epoxy_glIndexd .type epoxy_glIndexd, %object; epoxy_glIndexd: .globl epoxy_glIndexdv .type epoxy_glIndexdv, %object; epoxy_glIndexdv: .globl epoxy_glIndexf .type epoxy_glIndexf, %object; epoxy_glIndexf: .globl epoxy_glIndexfv .type epoxy_glIndexfv, %object; epoxy_glIndexfv: .globl epoxy_glIndexi .type epoxy_glIndexi, %object; epoxy_glIndexi: .globl epoxy_glIndexiv .type epoxy_glIndexiv, %object; epoxy_glIndexiv: .globl epoxy_glIndexs .type epoxy_glIndexs, %object; epoxy_glIndexs: .globl epoxy_glIndexsv .type epoxy_glIndexsv, %object; epoxy_glIndexsv: .globl epoxy_glIndexub .type epoxy_glIndexub, %object; epoxy_glIndexub: .globl epoxy_glIndexubv .type epoxy_glIndexubv, %object; epoxy_glIndexubv: .globl epoxy_glIndexxOES .type epoxy_glIndexxOES, %object; epoxy_glIndexxOES: .globl epoxy_glIndexxvOES .type epoxy_glIndexxvOES, %object; epoxy_glIndexxvOES: .globl epoxy_glInitNames .type epoxy_glInitNames, %object; epoxy_glInitNames: .globl epoxy_glInsertComponentEXT .type epoxy_glInsertComponentEXT, %object; epoxy_glInsertComponentEXT: .globl epoxy_glInsertEventMarkerEXT .type epoxy_glInsertEventMarkerEXT, %object; epoxy_glInsertEventMarkerEXT: .globl epoxy_glInstrumentsBufferSGIX .type epoxy_glInstrumentsBufferSGIX, %object; epoxy_glInstrumentsBufferSGIX: .globl epoxy_glInterleavedArrays .type epoxy_glInterleavedArrays, %object; epoxy_glInterleavedArrays: .globl epoxy_glInterpolatePathsNV .type epoxy_glInterpolatePathsNV, %object; epoxy_glInterpolatePathsNV: .globl epoxy_glInvalidateBufferData .type epoxy_glInvalidateBufferData, %object; epoxy_glInvalidateBufferData: .globl epoxy_glInvalidateBufferSubData .type epoxy_glInvalidateBufferSubData, %object; epoxy_glInvalidateBufferSubData: .globl epoxy_glInvalidateFramebuffer .type epoxy_glInvalidateFramebuffer, %object; epoxy_glInvalidateFramebuffer: .globl epoxy_glInvalidateNamedFramebufferData .type epoxy_glInvalidateNamedFramebufferData, %object; epoxy_glInvalidateNamedFramebufferData: .globl epoxy_glInvalidateNamedFramebufferSubData .type epoxy_glInvalidateNamedFramebufferSubData, %object; epoxy_glInvalidateNamedFramebufferSubData: .globl epoxy_glInvalidateSubFramebuffer .type epoxy_glInvalidateSubFramebuffer, %object; epoxy_glInvalidateSubFramebuffer: .globl epoxy_glInvalidateTexImage .type epoxy_glInvalidateTexImage, %object; epoxy_glInvalidateTexImage: .globl epoxy_glInvalidateTexSubImage .type epoxy_glInvalidateTexSubImage, %object; epoxy_glInvalidateTexSubImage: .globl epoxy_glIsAsyncMarkerSGIX .type epoxy_glIsAsyncMarkerSGIX, %object; epoxy_glIsAsyncMarkerSGIX: .globl epoxy_glIsBuffer .type epoxy_glIsBuffer, %object; epoxy_glIsBuffer: .globl epoxy_glIsBufferARB .type epoxy_glIsBufferARB, %object; epoxy_glIsBufferARB: .globl epoxy_glIsBufferResidentNV .type epoxy_glIsBufferResidentNV, %object; epoxy_glIsBufferResidentNV: .globl epoxy_glIsCommandListNV .type epoxy_glIsCommandListNV, %object; epoxy_glIsCommandListNV: .globl epoxy_glIsEnabled .type epoxy_glIsEnabled, %object; epoxy_glIsEnabled: .globl epoxy_glIsEnabledIndexedEXT .type epoxy_glIsEnabledIndexedEXT, %object; epoxy_glIsEnabledIndexedEXT: .globl epoxy_glIsEnabledi .type epoxy_glIsEnabledi, %object; epoxy_glIsEnabledi: .globl epoxy_glIsEnablediEXT .type epoxy_glIsEnablediEXT, %object; epoxy_glIsEnablediEXT: .globl epoxy_glIsEnablediNV .type epoxy_glIsEnablediNV, %object; epoxy_glIsEnablediNV: .globl epoxy_glIsEnablediOES .type epoxy_glIsEnablediOES, %object; epoxy_glIsEnablediOES: .globl epoxy_glIsFenceAPPLE .type epoxy_glIsFenceAPPLE, %object; epoxy_glIsFenceAPPLE: .globl epoxy_glIsFenceNV .type epoxy_glIsFenceNV, %object; epoxy_glIsFenceNV: .globl epoxy_glIsFramebuffer .type epoxy_glIsFramebuffer, %object; epoxy_glIsFramebuffer: .globl epoxy_glIsFramebufferEXT .type epoxy_glIsFramebufferEXT, %object; epoxy_glIsFramebufferEXT: .globl epoxy_glIsFramebufferOES .type epoxy_glIsFramebufferOES, %object; epoxy_glIsFramebufferOES: .globl epoxy_glIsImageHandleResidentARB .type epoxy_glIsImageHandleResidentARB, %object; epoxy_glIsImageHandleResidentARB: .globl epoxy_glIsImageHandleResidentNV .type epoxy_glIsImageHandleResidentNV, %object; epoxy_glIsImageHandleResidentNV: .globl epoxy_glIsList .type epoxy_glIsList, %object; epoxy_glIsList: .globl epoxy_glIsMemoryObjectEXT .type epoxy_glIsMemoryObjectEXT, %object; epoxy_glIsMemoryObjectEXT: .globl epoxy_glIsNameAMD .type epoxy_glIsNameAMD, %object; epoxy_glIsNameAMD: .globl epoxy_glIsNamedBufferResidentNV .type epoxy_glIsNamedBufferResidentNV, %object; epoxy_glIsNamedBufferResidentNV: .globl epoxy_glIsNamedStringARB .type epoxy_glIsNamedStringARB, %object; epoxy_glIsNamedStringARB: .globl epoxy_glIsObjectBufferATI .type epoxy_glIsObjectBufferATI, %object; epoxy_glIsObjectBufferATI: .globl epoxy_glIsOcclusionQueryNV .type epoxy_glIsOcclusionQueryNV, %object; epoxy_glIsOcclusionQueryNV: .globl epoxy_glIsPathNV .type epoxy_glIsPathNV, %object; epoxy_glIsPathNV: .globl epoxy_glIsPointInFillPathNV .type epoxy_glIsPointInFillPathNV, %object; epoxy_glIsPointInFillPathNV: .globl epoxy_glIsPointInStrokePathNV .type epoxy_glIsPointInStrokePathNV, %object; epoxy_glIsPointInStrokePathNV: .globl epoxy_glIsProgram .type epoxy_glIsProgram, %object; epoxy_glIsProgram: .globl epoxy_glIsProgramARB .type epoxy_glIsProgramARB, %object; epoxy_glIsProgramARB: .globl epoxy_glIsProgramNV .type epoxy_glIsProgramNV, %object; epoxy_glIsProgramNV: .globl epoxy_glIsProgramPipeline .type epoxy_glIsProgramPipeline, %object; epoxy_glIsProgramPipeline: .globl epoxy_glIsProgramPipelineEXT .type epoxy_glIsProgramPipelineEXT, %object; epoxy_glIsProgramPipelineEXT: .globl epoxy_glIsQuery .type epoxy_glIsQuery, %object; epoxy_glIsQuery: .globl epoxy_glIsQueryARB .type epoxy_glIsQueryARB, %object; epoxy_glIsQueryARB: .globl epoxy_glIsQueryEXT .type epoxy_glIsQueryEXT, %object; epoxy_glIsQueryEXT: .globl epoxy_glIsRenderbuffer .type epoxy_glIsRenderbuffer, %object; epoxy_glIsRenderbuffer: .globl epoxy_glIsRenderbufferEXT .type epoxy_glIsRenderbufferEXT, %object; epoxy_glIsRenderbufferEXT: .globl epoxy_glIsRenderbufferOES .type epoxy_glIsRenderbufferOES, %object; epoxy_glIsRenderbufferOES: .globl epoxy_glIsSampler .type epoxy_glIsSampler, %object; epoxy_glIsSampler: .globl epoxy_glIsSemaphoreEXT .type epoxy_glIsSemaphoreEXT, %object; epoxy_glIsSemaphoreEXT: .globl epoxy_glIsShader .type epoxy_glIsShader, %object; epoxy_glIsShader: .globl epoxy_glIsStateNV .type epoxy_glIsStateNV, %object; epoxy_glIsStateNV: .globl epoxy_glIsSync .type epoxy_glIsSync, %object; epoxy_glIsSync: .globl epoxy_glIsSyncAPPLE .type epoxy_glIsSyncAPPLE, %object; epoxy_glIsSyncAPPLE: .globl epoxy_glIsTexture .type epoxy_glIsTexture, %object; epoxy_glIsTexture: .globl epoxy_glIsTextureEXT .type epoxy_glIsTextureEXT, %object; epoxy_glIsTextureEXT: .globl epoxy_glIsTextureHandleResidentARB .type epoxy_glIsTextureHandleResidentARB, %object; epoxy_glIsTextureHandleResidentARB: .globl epoxy_glIsTextureHandleResidentNV .type epoxy_glIsTextureHandleResidentNV, %object; epoxy_glIsTextureHandleResidentNV: .globl epoxy_glIsTransformFeedback .type epoxy_glIsTransformFeedback, %object; epoxy_glIsTransformFeedback: .globl epoxy_glIsTransformFeedbackNV .type epoxy_glIsTransformFeedbackNV, %object; epoxy_glIsTransformFeedbackNV: .globl epoxy_glIsVariantEnabledEXT .type epoxy_glIsVariantEnabledEXT, %object; epoxy_glIsVariantEnabledEXT: .globl epoxy_glIsVertexArray .type epoxy_glIsVertexArray, %object; epoxy_glIsVertexArray: .globl epoxy_glIsVertexArrayAPPLE .type epoxy_glIsVertexArrayAPPLE, %object; epoxy_glIsVertexArrayAPPLE: .globl epoxy_glIsVertexArrayOES .type epoxy_glIsVertexArrayOES, %object; epoxy_glIsVertexArrayOES: .globl epoxy_glIsVertexAttribEnabledAPPLE .type epoxy_glIsVertexAttribEnabledAPPLE, %object; epoxy_glIsVertexAttribEnabledAPPLE: .globl epoxy_glLGPUCopyImageSubDataNVX .type epoxy_glLGPUCopyImageSubDataNVX, %object; epoxy_glLGPUCopyImageSubDataNVX: .globl epoxy_glLGPUInterlockNVX .type epoxy_glLGPUInterlockNVX, %object; epoxy_glLGPUInterlockNVX: .globl epoxy_glLGPUNamedBufferSubDataNVX .type epoxy_glLGPUNamedBufferSubDataNVX, %object; epoxy_glLGPUNamedBufferSubDataNVX: .globl epoxy_glLabelObjectEXT .type epoxy_glLabelObjectEXT, %object; epoxy_glLabelObjectEXT: .globl epoxy_glLightEnviSGIX .type epoxy_glLightEnviSGIX, %object; epoxy_glLightEnviSGIX: .globl epoxy_glLightModelf .type epoxy_glLightModelf, %object; epoxy_glLightModelf: .globl epoxy_glLightModelfv .type epoxy_glLightModelfv, %object; epoxy_glLightModelfv: .globl epoxy_glLightModeli .type epoxy_glLightModeli, %object; epoxy_glLightModeli: .globl epoxy_glLightModeliv .type epoxy_glLightModeliv, %object; epoxy_glLightModeliv: .globl epoxy_glLightModelx .type epoxy_glLightModelx, %object; epoxy_glLightModelx: .globl epoxy_glLightModelxOES .type epoxy_glLightModelxOES, %object; epoxy_glLightModelxOES: .globl epoxy_glLightModelxv .type epoxy_glLightModelxv, %object; epoxy_glLightModelxv: .globl epoxy_glLightModelxvOES .type epoxy_glLightModelxvOES, %object; epoxy_glLightModelxvOES: .globl epoxy_glLightf .type epoxy_glLightf, %object; epoxy_glLightf: .globl epoxy_glLightfv .type epoxy_glLightfv, %object; epoxy_glLightfv: .globl epoxy_glLighti .type epoxy_glLighti, %object; epoxy_glLighti: .globl epoxy_glLightiv .type epoxy_glLightiv, %object; epoxy_glLightiv: .globl epoxy_glLightx .type epoxy_glLightx, %object; epoxy_glLightx: .globl epoxy_glLightxOES .type epoxy_glLightxOES, %object; epoxy_glLightxOES: .globl epoxy_glLightxv .type epoxy_glLightxv, %object; epoxy_glLightxv: .globl epoxy_glLightxvOES .type epoxy_glLightxvOES, %object; epoxy_glLightxvOES: .globl epoxy_glLineStipple .type epoxy_glLineStipple, %object; epoxy_glLineStipple: .globl epoxy_glLineWidth .type epoxy_glLineWidth, %object; epoxy_glLineWidth: .globl epoxy_glLineWidthx .type epoxy_glLineWidthx, %object; epoxy_glLineWidthx: .globl epoxy_glLineWidthxOES .type epoxy_glLineWidthxOES, %object; epoxy_glLineWidthxOES: .globl epoxy_glLinkProgram .type epoxy_glLinkProgram, %object; epoxy_glLinkProgram: .globl epoxy_glLinkProgramARB .type epoxy_glLinkProgramARB, %object; epoxy_glLinkProgramARB: .globl epoxy_glListBase .type epoxy_glListBase, %object; epoxy_glListBase: .globl epoxy_glListDrawCommandsStatesClientNV .type epoxy_glListDrawCommandsStatesClientNV, %object; epoxy_glListDrawCommandsStatesClientNV: .globl epoxy_glListParameterfSGIX .type epoxy_glListParameterfSGIX, %object; epoxy_glListParameterfSGIX: .globl epoxy_glListParameterfvSGIX .type epoxy_glListParameterfvSGIX, %object; epoxy_glListParameterfvSGIX: .globl epoxy_glListParameteriSGIX .type epoxy_glListParameteriSGIX, %object; epoxy_glListParameteriSGIX: .globl epoxy_glListParameterivSGIX .type epoxy_glListParameterivSGIX, %object; epoxy_glListParameterivSGIX: .globl epoxy_glLoadIdentity .type epoxy_glLoadIdentity, %object; epoxy_glLoadIdentity: .globl epoxy_glLoadIdentityDeformationMapSGIX .type epoxy_glLoadIdentityDeformationMapSGIX, %object; epoxy_glLoadIdentityDeformationMapSGIX: .globl epoxy_glLoadMatrixd .type epoxy_glLoadMatrixd, %object; epoxy_glLoadMatrixd: .globl epoxy_glLoadMatrixf .type epoxy_glLoadMatrixf, %object; epoxy_glLoadMatrixf: .globl epoxy_glLoadMatrixx .type epoxy_glLoadMatrixx, %object; epoxy_glLoadMatrixx: .globl epoxy_glLoadMatrixxOES .type epoxy_glLoadMatrixxOES, %object; epoxy_glLoadMatrixxOES: .globl epoxy_glLoadName .type epoxy_glLoadName, %object; epoxy_glLoadName: .globl epoxy_glLoadPaletteFromModelViewMatrixOES .type epoxy_glLoadPaletteFromModelViewMatrixOES, %object; epoxy_glLoadPaletteFromModelViewMatrixOES: .globl epoxy_glLoadProgramNV .type epoxy_glLoadProgramNV, %object; epoxy_glLoadProgramNV: .globl epoxy_glLoadTransposeMatrixd .type epoxy_glLoadTransposeMatrixd, %object; epoxy_glLoadTransposeMatrixd: .globl epoxy_glLoadTransposeMatrixdARB .type epoxy_glLoadTransposeMatrixdARB, %object; epoxy_glLoadTransposeMatrixdARB: .globl epoxy_glLoadTransposeMatrixf .type epoxy_glLoadTransposeMatrixf, %object; epoxy_glLoadTransposeMatrixf: .globl epoxy_glLoadTransposeMatrixfARB .type epoxy_glLoadTransposeMatrixfARB, %object; epoxy_glLoadTransposeMatrixfARB: .globl epoxy_glLoadTransposeMatrixxOES .type epoxy_glLoadTransposeMatrixxOES, %object; epoxy_glLoadTransposeMatrixxOES: .globl epoxy_glLockArraysEXT .type epoxy_glLockArraysEXT, %object; epoxy_glLockArraysEXT: .globl epoxy_glLogicOp .type epoxy_glLogicOp, %object; epoxy_glLogicOp: .globl epoxy_glMakeBufferNonResidentNV .type epoxy_glMakeBufferNonResidentNV, %object; epoxy_glMakeBufferNonResidentNV: .globl epoxy_glMakeBufferResidentNV .type epoxy_glMakeBufferResidentNV, %object; epoxy_glMakeBufferResidentNV: .globl epoxy_glMakeImageHandleNonResidentARB .type epoxy_glMakeImageHandleNonResidentARB, %object; epoxy_glMakeImageHandleNonResidentARB: .globl epoxy_glMakeImageHandleNonResidentNV .type epoxy_glMakeImageHandleNonResidentNV, %object; epoxy_glMakeImageHandleNonResidentNV: .globl epoxy_glMakeImageHandleResidentARB .type epoxy_glMakeImageHandleResidentARB, %object; epoxy_glMakeImageHandleResidentARB: .globl epoxy_glMakeImageHandleResidentNV .type epoxy_glMakeImageHandleResidentNV, %object; epoxy_glMakeImageHandleResidentNV: .globl epoxy_glMakeNamedBufferNonResidentNV .type epoxy_glMakeNamedBufferNonResidentNV, %object; epoxy_glMakeNamedBufferNonResidentNV: .globl epoxy_glMakeNamedBufferResidentNV .type epoxy_glMakeNamedBufferResidentNV, %object; epoxy_glMakeNamedBufferResidentNV: .globl epoxy_glMakeTextureHandleNonResidentARB .type epoxy_glMakeTextureHandleNonResidentARB, %object; epoxy_glMakeTextureHandleNonResidentARB: .globl epoxy_glMakeTextureHandleNonResidentNV .type epoxy_glMakeTextureHandleNonResidentNV, %object; epoxy_glMakeTextureHandleNonResidentNV: .globl epoxy_glMakeTextureHandleResidentARB .type epoxy_glMakeTextureHandleResidentARB, %object; epoxy_glMakeTextureHandleResidentARB: .globl epoxy_glMakeTextureHandleResidentNV .type epoxy_glMakeTextureHandleResidentNV, %object; epoxy_glMakeTextureHandleResidentNV: .globl epoxy_glMap1d .type epoxy_glMap1d, %object; epoxy_glMap1d: .globl epoxy_glMap1f .type epoxy_glMap1f, %object; epoxy_glMap1f: .globl epoxy_glMap1xOES .type epoxy_glMap1xOES, %object; epoxy_glMap1xOES: .globl epoxy_glMap2d .type epoxy_glMap2d, %object; epoxy_glMap2d: .globl epoxy_glMap2f .type epoxy_glMap2f, %object; epoxy_glMap2f: .globl epoxy_glMap2xOES .type epoxy_glMap2xOES, %object; epoxy_glMap2xOES: .globl epoxy_glMapBuffer .type epoxy_glMapBuffer, %object; epoxy_glMapBuffer: .globl epoxy_glMapBufferARB .type epoxy_glMapBufferARB, %object; epoxy_glMapBufferARB: .globl epoxy_glMapBufferOES .type epoxy_glMapBufferOES, %object; epoxy_glMapBufferOES: .globl epoxy_glMapBufferRange .type epoxy_glMapBufferRange, %object; epoxy_glMapBufferRange: .globl epoxy_glMapBufferRangeEXT .type epoxy_glMapBufferRangeEXT, %object; epoxy_glMapBufferRangeEXT: .globl epoxy_glMapControlPointsNV .type epoxy_glMapControlPointsNV, %object; epoxy_glMapControlPointsNV: .globl epoxy_glMapGrid1d .type epoxy_glMapGrid1d, %object; epoxy_glMapGrid1d: .globl epoxy_glMapGrid1f .type epoxy_glMapGrid1f, %object; epoxy_glMapGrid1f: .globl epoxy_glMapGrid1xOES .type epoxy_glMapGrid1xOES, %object; epoxy_glMapGrid1xOES: .globl epoxy_glMapGrid2d .type epoxy_glMapGrid2d, %object; epoxy_glMapGrid2d: .globl epoxy_glMapGrid2f .type epoxy_glMapGrid2f, %object; epoxy_glMapGrid2f: .globl epoxy_glMapGrid2xOES .type epoxy_glMapGrid2xOES, %object; epoxy_glMapGrid2xOES: .globl epoxy_glMapNamedBuffer .type epoxy_glMapNamedBuffer, %object; epoxy_glMapNamedBuffer: .globl epoxy_glMapNamedBufferEXT .type epoxy_glMapNamedBufferEXT, %object; epoxy_glMapNamedBufferEXT: .globl epoxy_glMapNamedBufferRange .type epoxy_glMapNamedBufferRange, %object; epoxy_glMapNamedBufferRange: .globl epoxy_glMapNamedBufferRangeEXT .type epoxy_glMapNamedBufferRangeEXT, %object; epoxy_glMapNamedBufferRangeEXT: .globl epoxy_glMapObjectBufferATI .type epoxy_glMapObjectBufferATI, %object; epoxy_glMapObjectBufferATI: .globl epoxy_glMapParameterfvNV .type epoxy_glMapParameterfvNV, %object; epoxy_glMapParameterfvNV: .globl epoxy_glMapParameterivNV .type epoxy_glMapParameterivNV, %object; epoxy_glMapParameterivNV: .globl epoxy_glMapTexture2DINTEL .type epoxy_glMapTexture2DINTEL, %object; epoxy_glMapTexture2DINTEL: .globl epoxy_glMapVertexAttrib1dAPPLE .type epoxy_glMapVertexAttrib1dAPPLE, %object; epoxy_glMapVertexAttrib1dAPPLE: .globl epoxy_glMapVertexAttrib1fAPPLE .type epoxy_glMapVertexAttrib1fAPPLE, %object; epoxy_glMapVertexAttrib1fAPPLE: .globl epoxy_glMapVertexAttrib2dAPPLE .type epoxy_glMapVertexAttrib2dAPPLE, %object; epoxy_glMapVertexAttrib2dAPPLE: .globl epoxy_glMapVertexAttrib2fAPPLE .type epoxy_glMapVertexAttrib2fAPPLE, %object; epoxy_glMapVertexAttrib2fAPPLE: .globl epoxy_glMaterialf .type epoxy_glMaterialf, %object; epoxy_glMaterialf: .globl epoxy_glMaterialfv .type epoxy_glMaterialfv, %object; epoxy_glMaterialfv: .globl epoxy_glMateriali .type epoxy_glMateriali, %object; epoxy_glMateriali: .globl epoxy_glMaterialiv .type epoxy_glMaterialiv, %object; epoxy_glMaterialiv: .globl epoxy_glMaterialx .type epoxy_glMaterialx, %object; epoxy_glMaterialx: .globl epoxy_glMaterialxOES .type epoxy_glMaterialxOES, %object; epoxy_glMaterialxOES: .globl epoxy_glMaterialxv .type epoxy_glMaterialxv, %object; epoxy_glMaterialxv: .globl epoxy_glMaterialxvOES .type epoxy_glMaterialxvOES, %object; epoxy_glMaterialxvOES: .globl epoxy_glMatrixFrustumEXT .type epoxy_glMatrixFrustumEXT, %object; epoxy_glMatrixFrustumEXT: .globl epoxy_glMatrixIndexPointerARB .type epoxy_glMatrixIndexPointerARB, %object; epoxy_glMatrixIndexPointerARB: .globl epoxy_glMatrixIndexPointerOES .type epoxy_glMatrixIndexPointerOES, %object; epoxy_glMatrixIndexPointerOES: .globl epoxy_glMatrixIndexubvARB .type epoxy_glMatrixIndexubvARB, %object; epoxy_glMatrixIndexubvARB: .globl epoxy_glMatrixIndexuivARB .type epoxy_glMatrixIndexuivARB, %object; epoxy_glMatrixIndexuivARB: .globl epoxy_glMatrixIndexusvARB .type epoxy_glMatrixIndexusvARB, %object; epoxy_glMatrixIndexusvARB: .globl epoxy_glMatrixLoad3x2fNV .type epoxy_glMatrixLoad3x2fNV, %object; epoxy_glMatrixLoad3x2fNV: .globl epoxy_glMatrixLoad3x3fNV .type epoxy_glMatrixLoad3x3fNV, %object; epoxy_glMatrixLoad3x3fNV: .globl epoxy_glMatrixLoadIdentityEXT .type epoxy_glMatrixLoadIdentityEXT, %object; epoxy_glMatrixLoadIdentityEXT: .globl epoxy_glMatrixLoadTranspose3x3fNV .type epoxy_glMatrixLoadTranspose3x3fNV, %object; epoxy_glMatrixLoadTranspose3x3fNV: .globl epoxy_glMatrixLoadTransposedEXT .type epoxy_glMatrixLoadTransposedEXT, %object; epoxy_glMatrixLoadTransposedEXT: .globl epoxy_glMatrixLoadTransposefEXT .type epoxy_glMatrixLoadTransposefEXT, %object; epoxy_glMatrixLoadTransposefEXT: .globl epoxy_glMatrixLoaddEXT .type epoxy_glMatrixLoaddEXT, %object; epoxy_glMatrixLoaddEXT: .globl epoxy_glMatrixLoadfEXT .type epoxy_glMatrixLoadfEXT, %object; epoxy_glMatrixLoadfEXT: .globl epoxy_glMatrixMode .type epoxy_glMatrixMode, %object; epoxy_glMatrixMode: .globl epoxy_glMatrixMult3x2fNV .type epoxy_glMatrixMult3x2fNV, %object; epoxy_glMatrixMult3x2fNV: .globl epoxy_glMatrixMult3x3fNV .type epoxy_glMatrixMult3x3fNV, %object; epoxy_glMatrixMult3x3fNV: .globl epoxy_glMatrixMultTranspose3x3fNV .type epoxy_glMatrixMultTranspose3x3fNV, %object; epoxy_glMatrixMultTranspose3x3fNV: .globl epoxy_glMatrixMultTransposedEXT .type epoxy_glMatrixMultTransposedEXT, %object; epoxy_glMatrixMultTransposedEXT: .globl epoxy_glMatrixMultTransposefEXT .type epoxy_glMatrixMultTransposefEXT, %object; epoxy_glMatrixMultTransposefEXT: .globl epoxy_glMatrixMultdEXT .type epoxy_glMatrixMultdEXT, %object; epoxy_glMatrixMultdEXT: .globl epoxy_glMatrixMultfEXT .type epoxy_glMatrixMultfEXT, %object; epoxy_glMatrixMultfEXT: .globl epoxy_glMatrixOrthoEXT .type epoxy_glMatrixOrthoEXT, %object; epoxy_glMatrixOrthoEXT: .globl epoxy_glMatrixPopEXT .type epoxy_glMatrixPopEXT, %object; epoxy_glMatrixPopEXT: .globl epoxy_glMatrixPushEXT .type epoxy_glMatrixPushEXT, %object; epoxy_glMatrixPushEXT: .globl epoxy_glMatrixRotatedEXT .type epoxy_glMatrixRotatedEXT, %object; epoxy_glMatrixRotatedEXT: .globl epoxy_glMatrixRotatefEXT .type epoxy_glMatrixRotatefEXT, %object; epoxy_glMatrixRotatefEXT: .globl epoxy_glMatrixScaledEXT .type epoxy_glMatrixScaledEXT, %object; epoxy_glMatrixScaledEXT: .globl epoxy_glMatrixScalefEXT .type epoxy_glMatrixScalefEXT, %object; epoxy_glMatrixScalefEXT: .globl epoxy_glMatrixTranslatedEXT .type epoxy_glMatrixTranslatedEXT, %object; epoxy_glMatrixTranslatedEXT: .globl epoxy_glMatrixTranslatefEXT .type epoxy_glMatrixTranslatefEXT, %object; epoxy_glMatrixTranslatefEXT: .globl epoxy_glMaxShaderCompilerThreadsARB .type epoxy_glMaxShaderCompilerThreadsARB, %object; epoxy_glMaxShaderCompilerThreadsARB: .globl epoxy_glMaxShaderCompilerThreadsKHR .type epoxy_glMaxShaderCompilerThreadsKHR, %object; epoxy_glMaxShaderCompilerThreadsKHR: .globl epoxy_glMemoryBarrier .type epoxy_glMemoryBarrier, %object; epoxy_glMemoryBarrier: .globl epoxy_glMemoryBarrierByRegion .type epoxy_glMemoryBarrierByRegion, %object; epoxy_glMemoryBarrierByRegion: .globl epoxy_glMemoryBarrierEXT .type epoxy_glMemoryBarrierEXT, %object; epoxy_glMemoryBarrierEXT: .globl epoxy_glMemoryObjectParameterivEXT .type epoxy_glMemoryObjectParameterivEXT, %object; epoxy_glMemoryObjectParameterivEXT: .globl epoxy_glMinSampleShading .type epoxy_glMinSampleShading, %object; epoxy_glMinSampleShading: .globl epoxy_glMinSampleShadingARB .type epoxy_glMinSampleShadingARB, %object; epoxy_glMinSampleShadingARB: .globl epoxy_glMinSampleShadingOES .type epoxy_glMinSampleShadingOES, %object; epoxy_glMinSampleShadingOES: .globl epoxy_glMinmax .type epoxy_glMinmax, %object; epoxy_glMinmax: .globl epoxy_glMinmaxEXT .type epoxy_glMinmaxEXT, %object; epoxy_glMinmaxEXT: .globl epoxy_glMultMatrixd .type epoxy_glMultMatrixd, %object; epoxy_glMultMatrixd: .globl epoxy_glMultMatrixf .type epoxy_glMultMatrixf, %object; epoxy_glMultMatrixf: .globl epoxy_glMultMatrixx .type epoxy_glMultMatrixx, %object; epoxy_glMultMatrixx: .globl epoxy_glMultMatrixxOES .type epoxy_glMultMatrixxOES, %object; epoxy_glMultMatrixxOES: .globl epoxy_glMultTransposeMatrixd .type epoxy_glMultTransposeMatrixd, %object; epoxy_glMultTransposeMatrixd: .globl epoxy_glMultTransposeMatrixdARB .type epoxy_glMultTransposeMatrixdARB, %object; epoxy_glMultTransposeMatrixdARB: .globl epoxy_glMultTransposeMatrixf .type epoxy_glMultTransposeMatrixf, %object; epoxy_glMultTransposeMatrixf: .globl epoxy_glMultTransposeMatrixfARB .type epoxy_glMultTransposeMatrixfARB, %object; epoxy_glMultTransposeMatrixfARB: .globl epoxy_glMultTransposeMatrixxOES .type epoxy_glMultTransposeMatrixxOES, %object; epoxy_glMultTransposeMatrixxOES: .globl epoxy_glMultiDrawArrays .type epoxy_glMultiDrawArrays, %object; epoxy_glMultiDrawArrays: .globl epoxy_glMultiDrawArraysEXT .type epoxy_glMultiDrawArraysEXT, %object; epoxy_glMultiDrawArraysEXT: .globl epoxy_glMultiDrawArraysIndirect .type epoxy_glMultiDrawArraysIndirect, %object; epoxy_glMultiDrawArraysIndirect: .globl epoxy_glMultiDrawArraysIndirectAMD .type epoxy_glMultiDrawArraysIndirectAMD, %object; epoxy_glMultiDrawArraysIndirectAMD: .globl epoxy_glMultiDrawArraysIndirectBindlessCountNV .type epoxy_glMultiDrawArraysIndirectBindlessCountNV, %object; epoxy_glMultiDrawArraysIndirectBindlessCountNV: .globl epoxy_glMultiDrawArraysIndirectBindlessNV .type epoxy_glMultiDrawArraysIndirectBindlessNV, %object; epoxy_glMultiDrawArraysIndirectBindlessNV: .globl epoxy_glMultiDrawArraysIndirectCount .type epoxy_glMultiDrawArraysIndirectCount, %object; epoxy_glMultiDrawArraysIndirectCount: .globl epoxy_glMultiDrawArraysIndirectCountARB .type epoxy_glMultiDrawArraysIndirectCountARB, %object; epoxy_glMultiDrawArraysIndirectCountARB: .globl epoxy_glMultiDrawArraysIndirectEXT .type epoxy_glMultiDrawArraysIndirectEXT, %object; epoxy_glMultiDrawArraysIndirectEXT: .globl epoxy_glMultiDrawElementArrayAPPLE .type epoxy_glMultiDrawElementArrayAPPLE, %object; epoxy_glMultiDrawElementArrayAPPLE: .globl epoxy_glMultiDrawElements .type epoxy_glMultiDrawElements, %object; epoxy_glMultiDrawElements: .globl epoxy_glMultiDrawElementsBaseVertex .type epoxy_glMultiDrawElementsBaseVertex, %object; epoxy_glMultiDrawElementsBaseVertex: .globl epoxy_glMultiDrawElementsBaseVertexEXT .type epoxy_glMultiDrawElementsBaseVertexEXT, %object; epoxy_glMultiDrawElementsBaseVertexEXT: .globl epoxy_glMultiDrawElementsEXT .type epoxy_glMultiDrawElementsEXT, %object; epoxy_glMultiDrawElementsEXT: .globl epoxy_glMultiDrawElementsIndirect .type epoxy_glMultiDrawElementsIndirect, %object; epoxy_glMultiDrawElementsIndirect: .globl epoxy_glMultiDrawElementsIndirectAMD .type epoxy_glMultiDrawElementsIndirectAMD, %object; epoxy_glMultiDrawElementsIndirectAMD: .globl epoxy_glMultiDrawElementsIndirectBindlessCountNV .type epoxy_glMultiDrawElementsIndirectBindlessCountNV, %object; epoxy_glMultiDrawElementsIndirectBindlessCountNV: .globl epoxy_glMultiDrawElementsIndirectBindlessNV .type epoxy_glMultiDrawElementsIndirectBindlessNV, %object; epoxy_glMultiDrawElementsIndirectBindlessNV: .globl epoxy_glMultiDrawElementsIndirectCount .type epoxy_glMultiDrawElementsIndirectCount, %object; epoxy_glMultiDrawElementsIndirectCount: .globl epoxy_glMultiDrawElementsIndirectCountARB .type epoxy_glMultiDrawElementsIndirectCountARB, %object; epoxy_glMultiDrawElementsIndirectCountARB: .globl epoxy_glMultiDrawElementsIndirectEXT .type epoxy_glMultiDrawElementsIndirectEXT, %object; epoxy_glMultiDrawElementsIndirectEXT: .globl epoxy_glMultiDrawMeshTasksIndirectCountNV .type epoxy_glMultiDrawMeshTasksIndirectCountNV, %object; epoxy_glMultiDrawMeshTasksIndirectCountNV: .globl epoxy_glMultiDrawMeshTasksIndirectNV .type epoxy_glMultiDrawMeshTasksIndirectNV, %object; epoxy_glMultiDrawMeshTasksIndirectNV: .globl epoxy_glMultiDrawRangeElementArrayAPPLE .type epoxy_glMultiDrawRangeElementArrayAPPLE, %object; epoxy_glMultiDrawRangeElementArrayAPPLE: .globl epoxy_glMultiModeDrawArraysIBM .type epoxy_glMultiModeDrawArraysIBM, %object; epoxy_glMultiModeDrawArraysIBM: .globl epoxy_glMultiModeDrawElementsIBM .type epoxy_glMultiModeDrawElementsIBM, %object; epoxy_glMultiModeDrawElementsIBM: .globl epoxy_glMultiTexBufferEXT .type epoxy_glMultiTexBufferEXT, %object; epoxy_glMultiTexBufferEXT: .globl epoxy_glMultiTexCoord1bOES .type epoxy_glMultiTexCoord1bOES, %object; epoxy_glMultiTexCoord1bOES: .globl epoxy_glMultiTexCoord1bvOES .type epoxy_glMultiTexCoord1bvOES, %object; epoxy_glMultiTexCoord1bvOES: .globl epoxy_glMultiTexCoord1d .type epoxy_glMultiTexCoord1d, %object; epoxy_glMultiTexCoord1d: .globl epoxy_glMultiTexCoord1dARB .type epoxy_glMultiTexCoord1dARB, %object; epoxy_glMultiTexCoord1dARB: .globl epoxy_glMultiTexCoord1dv .type epoxy_glMultiTexCoord1dv, %object; epoxy_glMultiTexCoord1dv: .globl epoxy_glMultiTexCoord1dvARB .type epoxy_glMultiTexCoord1dvARB, %object; epoxy_glMultiTexCoord1dvARB: .globl epoxy_glMultiTexCoord1f .type epoxy_glMultiTexCoord1f, %object; epoxy_glMultiTexCoord1f: .globl epoxy_glMultiTexCoord1fARB .type epoxy_glMultiTexCoord1fARB, %object; epoxy_glMultiTexCoord1fARB: .globl epoxy_glMultiTexCoord1fv .type epoxy_glMultiTexCoord1fv, %object; epoxy_glMultiTexCoord1fv: .globl epoxy_glMultiTexCoord1fvARB .type epoxy_glMultiTexCoord1fvARB, %object; epoxy_glMultiTexCoord1fvARB: .globl epoxy_glMultiTexCoord1hNV .type epoxy_glMultiTexCoord1hNV, %object; epoxy_glMultiTexCoord1hNV: .globl epoxy_glMultiTexCoord1hvNV .type epoxy_glMultiTexCoord1hvNV, %object; epoxy_glMultiTexCoord1hvNV: .globl epoxy_glMultiTexCoord1i .type epoxy_glMultiTexCoord1i, %object; epoxy_glMultiTexCoord1i: .globl epoxy_glMultiTexCoord1iARB .type epoxy_glMultiTexCoord1iARB, %object; epoxy_glMultiTexCoord1iARB: .globl epoxy_glMultiTexCoord1iv .type epoxy_glMultiTexCoord1iv, %object; epoxy_glMultiTexCoord1iv: .globl epoxy_glMultiTexCoord1ivARB .type epoxy_glMultiTexCoord1ivARB, %object; epoxy_glMultiTexCoord1ivARB: .globl epoxy_glMultiTexCoord1s .type epoxy_glMultiTexCoord1s, %object; epoxy_glMultiTexCoord1s: .globl epoxy_glMultiTexCoord1sARB .type epoxy_glMultiTexCoord1sARB, %object; epoxy_glMultiTexCoord1sARB: .globl epoxy_glMultiTexCoord1sv .type epoxy_glMultiTexCoord1sv, %object; epoxy_glMultiTexCoord1sv: .globl epoxy_glMultiTexCoord1svARB .type epoxy_glMultiTexCoord1svARB, %object; epoxy_glMultiTexCoord1svARB: .globl epoxy_glMultiTexCoord1xOES .type epoxy_glMultiTexCoord1xOES, %object; epoxy_glMultiTexCoord1xOES: .globl epoxy_glMultiTexCoord1xvOES .type epoxy_glMultiTexCoord1xvOES, %object; epoxy_glMultiTexCoord1xvOES: .globl epoxy_glMultiTexCoord2bOES .type epoxy_glMultiTexCoord2bOES, %object; epoxy_glMultiTexCoord2bOES: .globl epoxy_glMultiTexCoord2bvOES .type epoxy_glMultiTexCoord2bvOES, %object; epoxy_glMultiTexCoord2bvOES: .globl epoxy_glMultiTexCoord2d .type epoxy_glMultiTexCoord2d, %object; epoxy_glMultiTexCoord2d: .globl epoxy_glMultiTexCoord2dARB .type epoxy_glMultiTexCoord2dARB, %object; epoxy_glMultiTexCoord2dARB: .globl epoxy_glMultiTexCoord2dv .type epoxy_glMultiTexCoord2dv, %object; epoxy_glMultiTexCoord2dv: .globl epoxy_glMultiTexCoord2dvARB .type epoxy_glMultiTexCoord2dvARB, %object; epoxy_glMultiTexCoord2dvARB: .globl epoxy_glMultiTexCoord2f .type epoxy_glMultiTexCoord2f, %object; epoxy_glMultiTexCoord2f: .globl epoxy_glMultiTexCoord2fARB .type epoxy_glMultiTexCoord2fARB, %object; epoxy_glMultiTexCoord2fARB: .globl epoxy_glMultiTexCoord2fv .type epoxy_glMultiTexCoord2fv, %object; epoxy_glMultiTexCoord2fv: .globl epoxy_glMultiTexCoord2fvARB .type epoxy_glMultiTexCoord2fvARB, %object; epoxy_glMultiTexCoord2fvARB: .globl epoxy_glMultiTexCoord2hNV .type epoxy_glMultiTexCoord2hNV, %object; epoxy_glMultiTexCoord2hNV: .globl epoxy_glMultiTexCoord2hvNV .type epoxy_glMultiTexCoord2hvNV, %object; epoxy_glMultiTexCoord2hvNV: .globl epoxy_glMultiTexCoord2i .type epoxy_glMultiTexCoord2i, %object; epoxy_glMultiTexCoord2i: .globl epoxy_glMultiTexCoord2iARB .type epoxy_glMultiTexCoord2iARB, %object; epoxy_glMultiTexCoord2iARB: .globl epoxy_glMultiTexCoord2iv .type epoxy_glMultiTexCoord2iv, %object; epoxy_glMultiTexCoord2iv: .globl epoxy_glMultiTexCoord2ivARB .type epoxy_glMultiTexCoord2ivARB, %object; epoxy_glMultiTexCoord2ivARB: .globl epoxy_glMultiTexCoord2s .type epoxy_glMultiTexCoord2s, %object; epoxy_glMultiTexCoord2s: .globl epoxy_glMultiTexCoord2sARB .type epoxy_glMultiTexCoord2sARB, %object; epoxy_glMultiTexCoord2sARB: .globl epoxy_glMultiTexCoord2sv .type epoxy_glMultiTexCoord2sv, %object; epoxy_glMultiTexCoord2sv: .globl epoxy_glMultiTexCoord2svARB .type epoxy_glMultiTexCoord2svARB, %object; epoxy_glMultiTexCoord2svARB: .globl epoxy_glMultiTexCoord2xOES .type epoxy_glMultiTexCoord2xOES, %object; epoxy_glMultiTexCoord2xOES: .globl epoxy_glMultiTexCoord2xvOES .type epoxy_glMultiTexCoord2xvOES, %object; epoxy_glMultiTexCoord2xvOES: .globl epoxy_glMultiTexCoord3bOES .type epoxy_glMultiTexCoord3bOES, %object; epoxy_glMultiTexCoord3bOES: .globl epoxy_glMultiTexCoord3bvOES .type epoxy_glMultiTexCoord3bvOES, %object; epoxy_glMultiTexCoord3bvOES: .globl epoxy_glMultiTexCoord3d .type epoxy_glMultiTexCoord3d, %object; epoxy_glMultiTexCoord3d: .globl epoxy_glMultiTexCoord3dARB .type epoxy_glMultiTexCoord3dARB, %object; epoxy_glMultiTexCoord3dARB: .globl epoxy_glMultiTexCoord3dv .type epoxy_glMultiTexCoord3dv, %object; epoxy_glMultiTexCoord3dv: .globl epoxy_glMultiTexCoord3dvARB .type epoxy_glMultiTexCoord3dvARB, %object; epoxy_glMultiTexCoord3dvARB: .globl epoxy_glMultiTexCoord3f .type epoxy_glMultiTexCoord3f, %object; epoxy_glMultiTexCoord3f: .globl epoxy_glMultiTexCoord3fARB .type epoxy_glMultiTexCoord3fARB, %object; epoxy_glMultiTexCoord3fARB: .globl epoxy_glMultiTexCoord3fv .type epoxy_glMultiTexCoord3fv, %object; epoxy_glMultiTexCoord3fv: .globl epoxy_glMultiTexCoord3fvARB .type epoxy_glMultiTexCoord3fvARB, %object; epoxy_glMultiTexCoord3fvARB: .globl epoxy_glMultiTexCoord3hNV .type epoxy_glMultiTexCoord3hNV, %object; epoxy_glMultiTexCoord3hNV: .globl epoxy_glMultiTexCoord3hvNV .type epoxy_glMultiTexCoord3hvNV, %object; epoxy_glMultiTexCoord3hvNV: .globl epoxy_glMultiTexCoord3i .type epoxy_glMultiTexCoord3i, %object; epoxy_glMultiTexCoord3i: .globl epoxy_glMultiTexCoord3iARB .type epoxy_glMultiTexCoord3iARB, %object; epoxy_glMultiTexCoord3iARB: .globl epoxy_glMultiTexCoord3iv .type epoxy_glMultiTexCoord3iv, %object; epoxy_glMultiTexCoord3iv: .globl epoxy_glMultiTexCoord3ivARB .type epoxy_glMultiTexCoord3ivARB, %object; epoxy_glMultiTexCoord3ivARB: .globl epoxy_glMultiTexCoord3s .type epoxy_glMultiTexCoord3s, %object; epoxy_glMultiTexCoord3s: .globl epoxy_glMultiTexCoord3sARB .type epoxy_glMultiTexCoord3sARB, %object; epoxy_glMultiTexCoord3sARB: .globl epoxy_glMultiTexCoord3sv .type epoxy_glMultiTexCoord3sv, %object; epoxy_glMultiTexCoord3sv: .globl epoxy_glMultiTexCoord3svARB .type epoxy_glMultiTexCoord3svARB, %object; epoxy_glMultiTexCoord3svARB: .globl epoxy_glMultiTexCoord3xOES .type epoxy_glMultiTexCoord3xOES, %object; epoxy_glMultiTexCoord3xOES: .globl epoxy_glMultiTexCoord3xvOES .type epoxy_glMultiTexCoord3xvOES, %object; epoxy_glMultiTexCoord3xvOES: .globl epoxy_glMultiTexCoord4bOES .type epoxy_glMultiTexCoord4bOES, %object; epoxy_glMultiTexCoord4bOES: .globl epoxy_glMultiTexCoord4bvOES .type epoxy_glMultiTexCoord4bvOES, %object; epoxy_glMultiTexCoord4bvOES: .globl epoxy_glMultiTexCoord4d .type epoxy_glMultiTexCoord4d, %object; epoxy_glMultiTexCoord4d: .globl epoxy_glMultiTexCoord4dARB .type epoxy_glMultiTexCoord4dARB, %object; epoxy_glMultiTexCoord4dARB: .globl epoxy_glMultiTexCoord4dv .type epoxy_glMultiTexCoord4dv, %object; epoxy_glMultiTexCoord4dv: .globl epoxy_glMultiTexCoord4dvARB .type epoxy_glMultiTexCoord4dvARB, %object; epoxy_glMultiTexCoord4dvARB: .globl epoxy_glMultiTexCoord4f .type epoxy_glMultiTexCoord4f, %object; epoxy_glMultiTexCoord4f: .globl epoxy_glMultiTexCoord4fARB .type epoxy_glMultiTexCoord4fARB, %object; epoxy_glMultiTexCoord4fARB: .globl epoxy_glMultiTexCoord4fv .type epoxy_glMultiTexCoord4fv, %object; epoxy_glMultiTexCoord4fv: .globl epoxy_glMultiTexCoord4fvARB .type epoxy_glMultiTexCoord4fvARB, %object; epoxy_glMultiTexCoord4fvARB: .globl epoxy_glMultiTexCoord4hNV .type epoxy_glMultiTexCoord4hNV, %object; epoxy_glMultiTexCoord4hNV: .globl epoxy_glMultiTexCoord4hvNV .type epoxy_glMultiTexCoord4hvNV, %object; epoxy_glMultiTexCoord4hvNV: .globl epoxy_glMultiTexCoord4i .type epoxy_glMultiTexCoord4i, %object; epoxy_glMultiTexCoord4i: .globl epoxy_glMultiTexCoord4iARB .type epoxy_glMultiTexCoord4iARB, %object; epoxy_glMultiTexCoord4iARB: .globl epoxy_glMultiTexCoord4iv .type epoxy_glMultiTexCoord4iv, %object; epoxy_glMultiTexCoord4iv: .globl epoxy_glMultiTexCoord4ivARB .type epoxy_glMultiTexCoord4ivARB, %object; epoxy_glMultiTexCoord4ivARB: .globl epoxy_glMultiTexCoord4s .type epoxy_glMultiTexCoord4s, %object; epoxy_glMultiTexCoord4s: .globl epoxy_glMultiTexCoord4sARB .type epoxy_glMultiTexCoord4sARB, %object; epoxy_glMultiTexCoord4sARB: .globl epoxy_glMultiTexCoord4sv .type epoxy_glMultiTexCoord4sv, %object; epoxy_glMultiTexCoord4sv: .globl epoxy_glMultiTexCoord4svARB .type epoxy_glMultiTexCoord4svARB, %object; epoxy_glMultiTexCoord4svARB: .globl epoxy_glMultiTexCoord4x .type epoxy_glMultiTexCoord4x, %object; epoxy_glMultiTexCoord4x: .globl epoxy_glMultiTexCoord4xOES .type epoxy_glMultiTexCoord4xOES, %object; epoxy_glMultiTexCoord4xOES: .globl epoxy_glMultiTexCoord4xvOES .type epoxy_glMultiTexCoord4xvOES, %object; epoxy_glMultiTexCoord4xvOES: .globl epoxy_glMultiTexCoordP1ui .type epoxy_glMultiTexCoordP1ui, %object; epoxy_glMultiTexCoordP1ui: .globl epoxy_glMultiTexCoordP1uiv .type epoxy_glMultiTexCoordP1uiv, %object; epoxy_glMultiTexCoordP1uiv: .globl epoxy_glMultiTexCoordP2ui .type epoxy_glMultiTexCoordP2ui, %object; epoxy_glMultiTexCoordP2ui: .globl epoxy_glMultiTexCoordP2uiv .type epoxy_glMultiTexCoordP2uiv, %object; epoxy_glMultiTexCoordP2uiv: .globl epoxy_glMultiTexCoordP3ui .type epoxy_glMultiTexCoordP3ui, %object; epoxy_glMultiTexCoordP3ui: .globl epoxy_glMultiTexCoordP3uiv .type epoxy_glMultiTexCoordP3uiv, %object; epoxy_glMultiTexCoordP3uiv: .globl epoxy_glMultiTexCoordP4ui .type epoxy_glMultiTexCoordP4ui, %object; epoxy_glMultiTexCoordP4ui: .globl epoxy_glMultiTexCoordP4uiv .type epoxy_glMultiTexCoordP4uiv, %object; epoxy_glMultiTexCoordP4uiv: .globl epoxy_glMultiTexCoordPointerEXT .type epoxy_glMultiTexCoordPointerEXT, %object; epoxy_glMultiTexCoordPointerEXT: .globl epoxy_glMultiTexEnvfEXT .type epoxy_glMultiTexEnvfEXT, %object; epoxy_glMultiTexEnvfEXT: .globl epoxy_glMultiTexEnvfvEXT .type epoxy_glMultiTexEnvfvEXT, %object; epoxy_glMultiTexEnvfvEXT: .globl epoxy_glMultiTexEnviEXT .type epoxy_glMultiTexEnviEXT, %object; epoxy_glMultiTexEnviEXT: .globl epoxy_glMultiTexEnvivEXT .type epoxy_glMultiTexEnvivEXT, %object; epoxy_glMultiTexEnvivEXT: .globl epoxy_glMultiTexGendEXT .type epoxy_glMultiTexGendEXT, %object; epoxy_glMultiTexGendEXT: .globl epoxy_glMultiTexGendvEXT .type epoxy_glMultiTexGendvEXT, %object; epoxy_glMultiTexGendvEXT: .globl epoxy_glMultiTexGenfEXT .type epoxy_glMultiTexGenfEXT, %object; epoxy_glMultiTexGenfEXT: .globl epoxy_glMultiTexGenfvEXT .type epoxy_glMultiTexGenfvEXT, %object; epoxy_glMultiTexGenfvEXT: .globl epoxy_glMultiTexGeniEXT .type epoxy_glMultiTexGeniEXT, %object; epoxy_glMultiTexGeniEXT: .globl epoxy_glMultiTexGenivEXT .type epoxy_glMultiTexGenivEXT, %object; epoxy_glMultiTexGenivEXT: .globl epoxy_glMultiTexImage1DEXT .type epoxy_glMultiTexImage1DEXT, %object; epoxy_glMultiTexImage1DEXT: .globl epoxy_glMultiTexImage2DEXT .type epoxy_glMultiTexImage2DEXT, %object; epoxy_glMultiTexImage2DEXT: .globl epoxy_glMultiTexImage3DEXT .type epoxy_glMultiTexImage3DEXT, %object; epoxy_glMultiTexImage3DEXT: .globl epoxy_glMultiTexParameterIivEXT .type epoxy_glMultiTexParameterIivEXT, %object; epoxy_glMultiTexParameterIivEXT: .globl epoxy_glMultiTexParameterIuivEXT .type epoxy_glMultiTexParameterIuivEXT, %object; epoxy_glMultiTexParameterIuivEXT: .globl epoxy_glMultiTexParameterfEXT .type epoxy_glMultiTexParameterfEXT, %object; epoxy_glMultiTexParameterfEXT: .globl epoxy_glMultiTexParameterfvEXT .type epoxy_glMultiTexParameterfvEXT, %object; epoxy_glMultiTexParameterfvEXT: .globl epoxy_glMultiTexParameteriEXT .type epoxy_glMultiTexParameteriEXT, %object; epoxy_glMultiTexParameteriEXT: .globl epoxy_glMultiTexParameterivEXT .type epoxy_glMultiTexParameterivEXT, %object; epoxy_glMultiTexParameterivEXT: .globl epoxy_glMultiTexRenderbufferEXT .type epoxy_glMultiTexRenderbufferEXT, %object; epoxy_glMultiTexRenderbufferEXT: .globl epoxy_glMultiTexSubImage1DEXT .type epoxy_glMultiTexSubImage1DEXT, %object; epoxy_glMultiTexSubImage1DEXT: .globl epoxy_glMultiTexSubImage2DEXT .type epoxy_glMultiTexSubImage2DEXT, %object; epoxy_glMultiTexSubImage2DEXT: .globl epoxy_glMultiTexSubImage3DEXT .type epoxy_glMultiTexSubImage3DEXT, %object; epoxy_glMultiTexSubImage3DEXT: .globl epoxy_glMulticastBarrierNV .type epoxy_glMulticastBarrierNV, %object; epoxy_glMulticastBarrierNV: .globl epoxy_glMulticastBlitFramebufferNV .type epoxy_glMulticastBlitFramebufferNV, %object; epoxy_glMulticastBlitFramebufferNV: .globl epoxy_glMulticastBufferSubDataNV .type epoxy_glMulticastBufferSubDataNV, %object; epoxy_glMulticastBufferSubDataNV: .globl epoxy_glMulticastCopyBufferSubDataNV .type epoxy_glMulticastCopyBufferSubDataNV, %object; epoxy_glMulticastCopyBufferSubDataNV: .globl epoxy_glMulticastCopyImageSubDataNV .type epoxy_glMulticastCopyImageSubDataNV, %object; epoxy_glMulticastCopyImageSubDataNV: .globl epoxy_glMulticastFramebufferSampleLocationsfvNV .type epoxy_glMulticastFramebufferSampleLocationsfvNV, %object; epoxy_glMulticastFramebufferSampleLocationsfvNV: .globl epoxy_glMulticastGetQueryObjecti64vNV .type epoxy_glMulticastGetQueryObjecti64vNV, %object; epoxy_glMulticastGetQueryObjecti64vNV: .globl epoxy_glMulticastGetQueryObjectivNV .type epoxy_glMulticastGetQueryObjectivNV, %object; epoxy_glMulticastGetQueryObjectivNV: .globl epoxy_glMulticastGetQueryObjectui64vNV .type epoxy_glMulticastGetQueryObjectui64vNV, %object; epoxy_glMulticastGetQueryObjectui64vNV: .globl epoxy_glMulticastGetQueryObjectuivNV .type epoxy_glMulticastGetQueryObjectuivNV, %object; epoxy_glMulticastGetQueryObjectuivNV: .globl epoxy_glMulticastScissorArrayvNVX .type epoxy_glMulticastScissorArrayvNVX, %object; epoxy_glMulticastScissorArrayvNVX: .globl epoxy_glMulticastViewportArrayvNVX .type epoxy_glMulticastViewportArrayvNVX, %object; epoxy_glMulticastViewportArrayvNVX: .globl epoxy_glMulticastViewportPositionWScaleNVX .type epoxy_glMulticastViewportPositionWScaleNVX, %object; epoxy_glMulticastViewportPositionWScaleNVX: .globl epoxy_glMulticastWaitSyncNV .type epoxy_glMulticastWaitSyncNV, %object; epoxy_glMulticastWaitSyncNV: .globl epoxy_glNamedBufferAttachMemoryNV .type epoxy_glNamedBufferAttachMemoryNV, %object; epoxy_glNamedBufferAttachMemoryNV: .globl epoxy_glNamedBufferData .type epoxy_glNamedBufferData, %object; epoxy_glNamedBufferData: .globl epoxy_glNamedBufferDataEXT .type epoxy_glNamedBufferDataEXT, %object; epoxy_glNamedBufferDataEXT: .globl epoxy_glNamedBufferPageCommitmentARB .type epoxy_glNamedBufferPageCommitmentARB, %object; epoxy_glNamedBufferPageCommitmentARB: .globl epoxy_glNamedBufferPageCommitmentEXT .type epoxy_glNamedBufferPageCommitmentEXT, %object; epoxy_glNamedBufferPageCommitmentEXT: .globl epoxy_glNamedBufferStorage .type epoxy_glNamedBufferStorage, %object; epoxy_glNamedBufferStorage: .globl epoxy_glNamedBufferStorageEXT .type epoxy_glNamedBufferStorageEXT, %object; epoxy_glNamedBufferStorageEXT: .globl epoxy_glNamedBufferStorageExternalEXT .type epoxy_glNamedBufferStorageExternalEXT, %object; epoxy_glNamedBufferStorageExternalEXT: .globl epoxy_glNamedBufferStorageMemEXT .type epoxy_glNamedBufferStorageMemEXT, %object; epoxy_glNamedBufferStorageMemEXT: .globl epoxy_glNamedBufferSubData .type epoxy_glNamedBufferSubData, %object; epoxy_glNamedBufferSubData: .globl epoxy_glNamedBufferSubDataEXT .type epoxy_glNamedBufferSubDataEXT, %object; epoxy_glNamedBufferSubDataEXT: .globl epoxy_glNamedCopyBufferSubDataEXT .type epoxy_glNamedCopyBufferSubDataEXT, %object; epoxy_glNamedCopyBufferSubDataEXT: .globl epoxy_glNamedFramebufferDrawBuffer .type epoxy_glNamedFramebufferDrawBuffer, %object; epoxy_glNamedFramebufferDrawBuffer: .globl epoxy_glNamedFramebufferDrawBuffers .type epoxy_glNamedFramebufferDrawBuffers, %object; epoxy_glNamedFramebufferDrawBuffers: .globl epoxy_glNamedFramebufferParameteri .type epoxy_glNamedFramebufferParameteri, %object; epoxy_glNamedFramebufferParameteri: .globl epoxy_glNamedFramebufferParameteriEXT .type epoxy_glNamedFramebufferParameteriEXT, %object; epoxy_glNamedFramebufferParameteriEXT: .globl epoxy_glNamedFramebufferReadBuffer .type epoxy_glNamedFramebufferReadBuffer, %object; epoxy_glNamedFramebufferReadBuffer: .globl epoxy_glNamedFramebufferRenderbuffer .type epoxy_glNamedFramebufferRenderbuffer, %object; epoxy_glNamedFramebufferRenderbuffer: .globl epoxy_glNamedFramebufferRenderbufferEXT .type epoxy_glNamedFramebufferRenderbufferEXT, %object; epoxy_glNamedFramebufferRenderbufferEXT: .globl epoxy_glNamedFramebufferSampleLocationsfvARB .type epoxy_glNamedFramebufferSampleLocationsfvARB, %object; epoxy_glNamedFramebufferSampleLocationsfvARB: .globl epoxy_glNamedFramebufferSampleLocationsfvNV .type epoxy_glNamedFramebufferSampleLocationsfvNV, %object; epoxy_glNamedFramebufferSampleLocationsfvNV: .globl epoxy_glNamedFramebufferSamplePositionsfvAMD .type epoxy_glNamedFramebufferSamplePositionsfvAMD, %object; epoxy_glNamedFramebufferSamplePositionsfvAMD: .globl epoxy_glNamedFramebufferTexture .type epoxy_glNamedFramebufferTexture, %object; epoxy_glNamedFramebufferTexture: .globl epoxy_glNamedFramebufferTexture1DEXT .type epoxy_glNamedFramebufferTexture1DEXT, %object; epoxy_glNamedFramebufferTexture1DEXT: .globl epoxy_glNamedFramebufferTexture2DEXT .type epoxy_glNamedFramebufferTexture2DEXT, %object; epoxy_glNamedFramebufferTexture2DEXT: .globl epoxy_glNamedFramebufferTexture3DEXT .type epoxy_glNamedFramebufferTexture3DEXT, %object; epoxy_glNamedFramebufferTexture3DEXT: .globl epoxy_glNamedFramebufferTextureEXT .type epoxy_glNamedFramebufferTextureEXT, %object; epoxy_glNamedFramebufferTextureEXT: .globl epoxy_glNamedFramebufferTextureFaceEXT .type epoxy_glNamedFramebufferTextureFaceEXT, %object; epoxy_glNamedFramebufferTextureFaceEXT: .globl epoxy_glNamedFramebufferTextureLayer .type epoxy_glNamedFramebufferTextureLayer, %object; epoxy_glNamedFramebufferTextureLayer: .globl epoxy_glNamedFramebufferTextureLayerEXT .type epoxy_glNamedFramebufferTextureLayerEXT, %object; epoxy_glNamedFramebufferTextureLayerEXT: .globl epoxy_glNamedProgramLocalParameter4dEXT .type epoxy_glNamedProgramLocalParameter4dEXT, %object; epoxy_glNamedProgramLocalParameter4dEXT: .globl epoxy_glNamedProgramLocalParameter4dvEXT .type epoxy_glNamedProgramLocalParameter4dvEXT, %object; epoxy_glNamedProgramLocalParameter4dvEXT: .globl epoxy_glNamedProgramLocalParameter4fEXT .type epoxy_glNamedProgramLocalParameter4fEXT, %object; epoxy_glNamedProgramLocalParameter4fEXT: .globl epoxy_glNamedProgramLocalParameter4fvEXT .type epoxy_glNamedProgramLocalParameter4fvEXT, %object; epoxy_glNamedProgramLocalParameter4fvEXT: .globl epoxy_glNamedProgramLocalParameterI4iEXT .type epoxy_glNamedProgramLocalParameterI4iEXT, %object; epoxy_glNamedProgramLocalParameterI4iEXT: .globl epoxy_glNamedProgramLocalParameterI4ivEXT .type epoxy_glNamedProgramLocalParameterI4ivEXT, %object; epoxy_glNamedProgramLocalParameterI4ivEXT: .globl epoxy_glNamedProgramLocalParameterI4uiEXT .type epoxy_glNamedProgramLocalParameterI4uiEXT, %object; epoxy_glNamedProgramLocalParameterI4uiEXT: .globl epoxy_glNamedProgramLocalParameterI4uivEXT .type epoxy_glNamedProgramLocalParameterI4uivEXT, %object; epoxy_glNamedProgramLocalParameterI4uivEXT: .globl epoxy_glNamedProgramLocalParameters4fvEXT .type epoxy_glNamedProgramLocalParameters4fvEXT, %object; epoxy_glNamedProgramLocalParameters4fvEXT: .globl epoxy_glNamedProgramLocalParametersI4ivEXT .type epoxy_glNamedProgramLocalParametersI4ivEXT, %object; epoxy_glNamedProgramLocalParametersI4ivEXT: .globl epoxy_glNamedProgramLocalParametersI4uivEXT .type epoxy_glNamedProgramLocalParametersI4uivEXT, %object; epoxy_glNamedProgramLocalParametersI4uivEXT: .globl epoxy_glNamedProgramStringEXT .type epoxy_glNamedProgramStringEXT, %object; epoxy_glNamedProgramStringEXT: .globl epoxy_glNamedRenderbufferStorage .type epoxy_glNamedRenderbufferStorage, %object; epoxy_glNamedRenderbufferStorage: .globl epoxy_glNamedRenderbufferStorageEXT .type epoxy_glNamedRenderbufferStorageEXT, %object; epoxy_glNamedRenderbufferStorageEXT: .globl epoxy_glNamedRenderbufferStorageMultisample .type epoxy_glNamedRenderbufferStorageMultisample, %object; epoxy_glNamedRenderbufferStorageMultisample: .globl epoxy_glNamedRenderbufferStorageMultisampleAdvancedAMD .type epoxy_glNamedRenderbufferStorageMultisampleAdvancedAMD, %object; epoxy_glNamedRenderbufferStorageMultisampleAdvancedAMD: .globl epoxy_glNamedRenderbufferStorageMultisampleCoverageEXT .type epoxy_glNamedRenderbufferStorageMultisampleCoverageEXT, %object; epoxy_glNamedRenderbufferStorageMultisampleCoverageEXT: .globl epoxy_glNamedRenderbufferStorageMultisampleEXT .type epoxy_glNamedRenderbufferStorageMultisampleEXT, %object; epoxy_glNamedRenderbufferStorageMultisampleEXT: .globl epoxy_glNamedStringARB .type epoxy_glNamedStringARB, %object; epoxy_glNamedStringARB: .globl epoxy_glNewList .type epoxy_glNewList, %object; epoxy_glNewList: .globl epoxy_glNewObjectBufferATI .type epoxy_glNewObjectBufferATI, %object; epoxy_glNewObjectBufferATI: .globl epoxy_glNormal3b .type epoxy_glNormal3b, %object; epoxy_glNormal3b: .globl epoxy_glNormal3bv .type epoxy_glNormal3bv, %object; epoxy_glNormal3bv: .globl epoxy_glNormal3d .type epoxy_glNormal3d, %object; epoxy_glNormal3d: .globl epoxy_glNormal3dv .type epoxy_glNormal3dv, %object; epoxy_glNormal3dv: .globl epoxy_glNormal3f .type epoxy_glNormal3f, %object; epoxy_glNormal3f: .globl epoxy_glNormal3fVertex3fSUN .type epoxy_glNormal3fVertex3fSUN, %object; epoxy_glNormal3fVertex3fSUN: .globl epoxy_glNormal3fVertex3fvSUN .type epoxy_glNormal3fVertex3fvSUN, %object; epoxy_glNormal3fVertex3fvSUN: .globl epoxy_glNormal3fv .type epoxy_glNormal3fv, %object; epoxy_glNormal3fv: .globl epoxy_glNormal3hNV .type epoxy_glNormal3hNV, %object; epoxy_glNormal3hNV: .globl epoxy_glNormal3hvNV .type epoxy_glNormal3hvNV, %object; epoxy_glNormal3hvNV: .globl epoxy_glNormal3i .type epoxy_glNormal3i, %object; epoxy_glNormal3i: .globl epoxy_glNormal3iv .type epoxy_glNormal3iv, %object; epoxy_glNormal3iv: .globl epoxy_glNormal3s .type epoxy_glNormal3s, %object; epoxy_glNormal3s: .globl epoxy_glNormal3sv .type epoxy_glNormal3sv, %object; epoxy_glNormal3sv: .globl epoxy_glNormal3x .type epoxy_glNormal3x, %object; epoxy_glNormal3x: .globl epoxy_glNormal3xOES .type epoxy_glNormal3xOES, %object; epoxy_glNormal3xOES: .globl epoxy_glNormal3xvOES .type epoxy_glNormal3xvOES, %object; epoxy_glNormal3xvOES: .globl epoxy_glNormalFormatNV .type epoxy_glNormalFormatNV, %object; epoxy_glNormalFormatNV: .globl epoxy_glNormalP3ui .type epoxy_glNormalP3ui, %object; epoxy_glNormalP3ui: .globl epoxy_glNormalP3uiv .type epoxy_glNormalP3uiv, %object; epoxy_glNormalP3uiv: .globl epoxy_glNormalPointer .type epoxy_glNormalPointer, %object; epoxy_glNormalPointer: .globl epoxy_glNormalPointerEXT .type epoxy_glNormalPointerEXT, %object; epoxy_glNormalPointerEXT: .globl epoxy_glNormalPointerListIBM .type epoxy_glNormalPointerListIBM, %object; epoxy_glNormalPointerListIBM: .globl epoxy_glNormalPointervINTEL .type epoxy_glNormalPointervINTEL, %object; epoxy_glNormalPointervINTEL: .globl epoxy_glNormalStream3bATI .type epoxy_glNormalStream3bATI, %object; epoxy_glNormalStream3bATI: .globl epoxy_glNormalStream3bvATI .type epoxy_glNormalStream3bvATI, %object; epoxy_glNormalStream3bvATI: .globl epoxy_glNormalStream3dATI .type epoxy_glNormalStream3dATI, %object; epoxy_glNormalStream3dATI: .globl epoxy_glNormalStream3dvATI .type epoxy_glNormalStream3dvATI, %object; epoxy_glNormalStream3dvATI: .globl epoxy_glNormalStream3fATI .type epoxy_glNormalStream3fATI, %object; epoxy_glNormalStream3fATI: .globl epoxy_glNormalStream3fvATI .type epoxy_glNormalStream3fvATI, %object; epoxy_glNormalStream3fvATI: .globl epoxy_glNormalStream3iATI .type epoxy_glNormalStream3iATI, %object; epoxy_glNormalStream3iATI: .globl epoxy_glNormalStream3ivATI .type epoxy_glNormalStream3ivATI, %object; epoxy_glNormalStream3ivATI: .globl epoxy_glNormalStream3sATI .type epoxy_glNormalStream3sATI, %object; epoxy_glNormalStream3sATI: .globl epoxy_glNormalStream3svATI .type epoxy_glNormalStream3svATI, %object; epoxy_glNormalStream3svATI: .globl epoxy_glObjectLabel .type epoxy_glObjectLabel, %object; epoxy_glObjectLabel: .globl epoxy_glObjectLabelKHR .type epoxy_glObjectLabelKHR, %object; epoxy_glObjectLabelKHR: .globl epoxy_glObjectPtrLabel .type epoxy_glObjectPtrLabel, %object; epoxy_glObjectPtrLabel: .globl epoxy_glObjectPtrLabelKHR .type epoxy_glObjectPtrLabelKHR, %object; epoxy_glObjectPtrLabelKHR: .globl epoxy_glObjectPurgeableAPPLE .type epoxy_glObjectPurgeableAPPLE, %object; epoxy_glObjectPurgeableAPPLE: .globl epoxy_glObjectUnpurgeableAPPLE .type epoxy_glObjectUnpurgeableAPPLE, %object; epoxy_glObjectUnpurgeableAPPLE: .globl epoxy_glOrtho .type epoxy_glOrtho, %object; epoxy_glOrtho: .globl epoxy_glOrthof .type epoxy_glOrthof, %object; epoxy_glOrthof: .globl epoxy_glOrthofOES .type epoxy_glOrthofOES, %object; epoxy_glOrthofOES: .globl epoxy_glOrthox .type epoxy_glOrthox, %object; epoxy_glOrthox: .globl epoxy_glOrthoxOES .type epoxy_glOrthoxOES, %object; epoxy_glOrthoxOES: .globl epoxy_glPNTrianglesfATI .type epoxy_glPNTrianglesfATI, %object; epoxy_glPNTrianglesfATI: .globl epoxy_glPNTrianglesiATI .type epoxy_glPNTrianglesiATI, %object; epoxy_glPNTrianglesiATI: .globl epoxy_glPassTexCoordATI .type epoxy_glPassTexCoordATI, %object; epoxy_glPassTexCoordATI: .globl epoxy_glPassThrough .type epoxy_glPassThrough, %object; epoxy_glPassThrough: .globl epoxy_glPassThroughxOES .type epoxy_glPassThroughxOES, %object; epoxy_glPassThroughxOES: .globl epoxy_glPatchParameterfv .type epoxy_glPatchParameterfv, %object; epoxy_glPatchParameterfv: .globl epoxy_glPatchParameteri .type epoxy_glPatchParameteri, %object; epoxy_glPatchParameteri: .globl epoxy_glPatchParameteriEXT .type epoxy_glPatchParameteriEXT, %object; epoxy_glPatchParameteriEXT: .globl epoxy_glPatchParameteriOES .type epoxy_glPatchParameteriOES, %object; epoxy_glPatchParameteriOES: .globl epoxy_glPathColorGenNV .type epoxy_glPathColorGenNV, %object; epoxy_glPathColorGenNV: .globl epoxy_glPathCommandsNV .type epoxy_glPathCommandsNV, %object; epoxy_glPathCommandsNV: .globl epoxy_glPathCoordsNV .type epoxy_glPathCoordsNV, %object; epoxy_glPathCoordsNV: .globl epoxy_glPathCoverDepthFuncNV .type epoxy_glPathCoverDepthFuncNV, %object; epoxy_glPathCoverDepthFuncNV: .globl epoxy_glPathDashArrayNV .type epoxy_glPathDashArrayNV, %object; epoxy_glPathDashArrayNV: .globl epoxy_glPathFogGenNV .type epoxy_glPathFogGenNV, %object; epoxy_glPathFogGenNV: .globl epoxy_glPathGlyphIndexArrayNV .type epoxy_glPathGlyphIndexArrayNV, %object; epoxy_glPathGlyphIndexArrayNV: .globl epoxy_glPathGlyphIndexRangeNV .type epoxy_glPathGlyphIndexRangeNV, %object; epoxy_glPathGlyphIndexRangeNV: .globl epoxy_glPathGlyphRangeNV .type epoxy_glPathGlyphRangeNV, %object; epoxy_glPathGlyphRangeNV: .globl epoxy_glPathGlyphsNV .type epoxy_glPathGlyphsNV, %object; epoxy_glPathGlyphsNV: .globl epoxy_glPathMemoryGlyphIndexArrayNV .type epoxy_glPathMemoryGlyphIndexArrayNV, %object; epoxy_glPathMemoryGlyphIndexArrayNV: .globl epoxy_glPathParameterfNV .type epoxy_glPathParameterfNV, %object; epoxy_glPathParameterfNV: .globl epoxy_glPathParameterfvNV .type epoxy_glPathParameterfvNV, %object; epoxy_glPathParameterfvNV: .globl epoxy_glPathParameteriNV .type epoxy_glPathParameteriNV, %object; epoxy_glPathParameteriNV: .globl epoxy_glPathParameterivNV .type epoxy_glPathParameterivNV, %object; epoxy_glPathParameterivNV: .globl epoxy_glPathStencilDepthOffsetNV .type epoxy_glPathStencilDepthOffsetNV, %object; epoxy_glPathStencilDepthOffsetNV: .globl epoxy_glPathStencilFuncNV .type epoxy_glPathStencilFuncNV, %object; epoxy_glPathStencilFuncNV: .globl epoxy_glPathStringNV .type epoxy_glPathStringNV, %object; epoxy_glPathStringNV: .globl epoxy_glPathSubCommandsNV .type epoxy_glPathSubCommandsNV, %object; epoxy_glPathSubCommandsNV: .globl epoxy_glPathSubCoordsNV .type epoxy_glPathSubCoordsNV, %object; epoxy_glPathSubCoordsNV: .globl epoxy_glPathTexGenNV .type epoxy_glPathTexGenNV, %object; epoxy_glPathTexGenNV: .globl epoxy_glPauseTransformFeedback .type epoxy_glPauseTransformFeedback, %object; epoxy_glPauseTransformFeedback: .globl epoxy_glPauseTransformFeedbackNV .type epoxy_glPauseTransformFeedbackNV, %object; epoxy_glPauseTransformFeedbackNV: .globl epoxy_glPixelDataRangeNV .type epoxy_glPixelDataRangeNV, %object; epoxy_glPixelDataRangeNV: .globl epoxy_glPixelMapfv .type epoxy_glPixelMapfv, %object; epoxy_glPixelMapfv: .globl epoxy_glPixelMapuiv .type epoxy_glPixelMapuiv, %object; epoxy_glPixelMapuiv: .globl epoxy_glPixelMapusv .type epoxy_glPixelMapusv, %object; epoxy_glPixelMapusv: .globl epoxy_glPixelMapx .type epoxy_glPixelMapx, %object; epoxy_glPixelMapx: .globl epoxy_glPixelStoref .type epoxy_glPixelStoref, %object; epoxy_glPixelStoref: .globl epoxy_glPixelStorei .type epoxy_glPixelStorei, %object; epoxy_glPixelStorei: .globl epoxy_glPixelStorex .type epoxy_glPixelStorex, %object; epoxy_glPixelStorex: .globl epoxy_glPixelTexGenParameterfSGIS .type epoxy_glPixelTexGenParameterfSGIS, %object; epoxy_glPixelTexGenParameterfSGIS: .globl epoxy_glPixelTexGenParameterfvSGIS .type epoxy_glPixelTexGenParameterfvSGIS, %object; epoxy_glPixelTexGenParameterfvSGIS: .globl epoxy_glPixelTexGenParameteriSGIS .type epoxy_glPixelTexGenParameteriSGIS, %object; epoxy_glPixelTexGenParameteriSGIS: .globl epoxy_glPixelTexGenParameterivSGIS .type epoxy_glPixelTexGenParameterivSGIS, %object; epoxy_glPixelTexGenParameterivSGIS: .globl epoxy_glPixelTexGenSGIX .type epoxy_glPixelTexGenSGIX, %object; epoxy_glPixelTexGenSGIX: .globl epoxy_glPixelTransferf .type epoxy_glPixelTransferf, %object; epoxy_glPixelTransferf: .globl epoxy_glPixelTransferi .type epoxy_glPixelTransferi, %object; epoxy_glPixelTransferi: .globl epoxy_glPixelTransferxOES .type epoxy_glPixelTransferxOES, %object; epoxy_glPixelTransferxOES: .globl epoxy_glPixelTransformParameterfEXT .type epoxy_glPixelTransformParameterfEXT, %object; epoxy_glPixelTransformParameterfEXT: .globl epoxy_glPixelTransformParameterfvEXT .type epoxy_glPixelTransformParameterfvEXT, %object; epoxy_glPixelTransformParameterfvEXT: .globl epoxy_glPixelTransformParameteriEXT .type epoxy_glPixelTransformParameteriEXT, %object; epoxy_glPixelTransformParameteriEXT: .globl epoxy_glPixelTransformParameterivEXT .type epoxy_glPixelTransformParameterivEXT, %object; epoxy_glPixelTransformParameterivEXT: .globl epoxy_glPixelZoom .type epoxy_glPixelZoom, %object; epoxy_glPixelZoom: .globl epoxy_glPixelZoomxOES .type epoxy_glPixelZoomxOES, %object; epoxy_glPixelZoomxOES: .globl epoxy_glPointAlongPathNV .type epoxy_glPointAlongPathNV, %object; epoxy_glPointAlongPathNV: .globl epoxy_glPointParameterf .type epoxy_glPointParameterf, %object; epoxy_glPointParameterf: .globl epoxy_glPointParameterfARB .type epoxy_glPointParameterfARB, %object; epoxy_glPointParameterfARB: .globl epoxy_glPointParameterfEXT .type epoxy_glPointParameterfEXT, %object; epoxy_glPointParameterfEXT: .globl epoxy_glPointParameterfSGIS .type epoxy_glPointParameterfSGIS, %object; epoxy_glPointParameterfSGIS: .globl epoxy_glPointParameterfv .type epoxy_glPointParameterfv, %object; epoxy_glPointParameterfv: .globl epoxy_glPointParameterfvARB .type epoxy_glPointParameterfvARB, %object; epoxy_glPointParameterfvARB: .globl epoxy_glPointParameterfvEXT .type epoxy_glPointParameterfvEXT, %object; epoxy_glPointParameterfvEXT: .globl epoxy_glPointParameterfvSGIS .type epoxy_glPointParameterfvSGIS, %object; epoxy_glPointParameterfvSGIS: .globl epoxy_glPointParameteri .type epoxy_glPointParameteri, %object; epoxy_glPointParameteri: .globl epoxy_glPointParameteriNV .type epoxy_glPointParameteriNV, %object; epoxy_glPointParameteriNV: .globl epoxy_glPointParameteriv .type epoxy_glPointParameteriv, %object; epoxy_glPointParameteriv: .globl epoxy_glPointParameterivNV .type epoxy_glPointParameterivNV, %object; epoxy_glPointParameterivNV: .globl epoxy_glPointParameterx .type epoxy_glPointParameterx, %object; epoxy_glPointParameterx: .globl epoxy_glPointParameterxOES .type epoxy_glPointParameterxOES, %object; epoxy_glPointParameterxOES: .globl epoxy_glPointParameterxv .type epoxy_glPointParameterxv, %object; epoxy_glPointParameterxv: .globl epoxy_glPointParameterxvOES .type epoxy_glPointParameterxvOES, %object; epoxy_glPointParameterxvOES: .globl epoxy_glPointSize .type epoxy_glPointSize, %object; epoxy_glPointSize: .globl epoxy_glPointSizePointerOES .type epoxy_glPointSizePointerOES, %object; epoxy_glPointSizePointerOES: .globl epoxy_glPointSizex .type epoxy_glPointSizex, %object; epoxy_glPointSizex: .globl epoxy_glPointSizexOES .type epoxy_glPointSizexOES, %object; epoxy_glPointSizexOES: .globl epoxy_glPollAsyncSGIX .type epoxy_glPollAsyncSGIX, %object; epoxy_glPollAsyncSGIX: .globl epoxy_glPollInstrumentsSGIX .type epoxy_glPollInstrumentsSGIX, %object; epoxy_glPollInstrumentsSGIX: .globl epoxy_glPolygonMode .type epoxy_glPolygonMode, %object; epoxy_glPolygonMode: .globl epoxy_glPolygonModeNV .type epoxy_glPolygonModeNV, %object; epoxy_glPolygonModeNV: .globl epoxy_glPolygonOffset .type epoxy_glPolygonOffset, %object; epoxy_glPolygonOffset: .globl epoxy_glPolygonOffsetClamp .type epoxy_glPolygonOffsetClamp, %object; epoxy_glPolygonOffsetClamp: .globl epoxy_glPolygonOffsetClampEXT .type epoxy_glPolygonOffsetClampEXT, %object; epoxy_glPolygonOffsetClampEXT: .globl epoxy_glPolygonOffsetEXT .type epoxy_glPolygonOffsetEXT, %object; epoxy_glPolygonOffsetEXT: .globl epoxy_glPolygonOffsetx .type epoxy_glPolygonOffsetx, %object; epoxy_glPolygonOffsetx: .globl epoxy_glPolygonOffsetxOES .type epoxy_glPolygonOffsetxOES, %object; epoxy_glPolygonOffsetxOES: .globl epoxy_glPolygonStipple .type epoxy_glPolygonStipple, %object; epoxy_glPolygonStipple: .globl epoxy_glPopAttrib .type epoxy_glPopAttrib, %object; epoxy_glPopAttrib: .globl epoxy_glPopClientAttrib .type epoxy_glPopClientAttrib, %object; epoxy_glPopClientAttrib: .globl epoxy_glPopDebugGroup .type epoxy_glPopDebugGroup, %object; epoxy_glPopDebugGroup: .globl epoxy_glPopDebugGroupKHR .type epoxy_glPopDebugGroupKHR, %object; epoxy_glPopDebugGroupKHR: .globl epoxy_glPopGroupMarkerEXT .type epoxy_glPopGroupMarkerEXT, %object; epoxy_glPopGroupMarkerEXT: .globl epoxy_glPopMatrix .type epoxy_glPopMatrix, %object; epoxy_glPopMatrix: .globl epoxy_glPopName .type epoxy_glPopName, %object; epoxy_glPopName: .globl epoxy_glPresentFrameDualFillNV .type epoxy_glPresentFrameDualFillNV, %object; epoxy_glPresentFrameDualFillNV: .globl epoxy_glPresentFrameKeyedNV .type epoxy_glPresentFrameKeyedNV, %object; epoxy_glPresentFrameKeyedNV: .globl epoxy_glPrimitiveBoundingBox .type epoxy_glPrimitiveBoundingBox, %object; epoxy_glPrimitiveBoundingBox: .globl epoxy_glPrimitiveBoundingBoxARB .type epoxy_glPrimitiveBoundingBoxARB, %object; epoxy_glPrimitiveBoundingBoxARB: .globl epoxy_glPrimitiveBoundingBoxEXT .type epoxy_glPrimitiveBoundingBoxEXT, %object; epoxy_glPrimitiveBoundingBoxEXT: .globl epoxy_glPrimitiveBoundingBoxOES .type epoxy_glPrimitiveBoundingBoxOES, %object; epoxy_glPrimitiveBoundingBoxOES: .globl epoxy_glPrimitiveRestartIndex .type epoxy_glPrimitiveRestartIndex, %object; epoxy_glPrimitiveRestartIndex: .globl epoxy_glPrimitiveRestartIndexNV .type epoxy_glPrimitiveRestartIndexNV, %object; epoxy_glPrimitiveRestartIndexNV: .globl epoxy_glPrimitiveRestartNV .type epoxy_glPrimitiveRestartNV, %object; epoxy_glPrimitiveRestartNV: .globl epoxy_glPrioritizeTextures .type epoxy_glPrioritizeTextures, %object; epoxy_glPrioritizeTextures: .globl epoxy_glPrioritizeTexturesEXT .type epoxy_glPrioritizeTexturesEXT, %object; epoxy_glPrioritizeTexturesEXT: .globl epoxy_glPrioritizeTexturesxOES .type epoxy_glPrioritizeTexturesxOES, %object; epoxy_glPrioritizeTexturesxOES: .globl epoxy_glProgramBinary .type epoxy_glProgramBinary, %object; epoxy_glProgramBinary: .globl epoxy_glProgramBinaryOES .type epoxy_glProgramBinaryOES, %object; epoxy_glProgramBinaryOES: .globl epoxy_glProgramBufferParametersIivNV .type epoxy_glProgramBufferParametersIivNV, %object; epoxy_glProgramBufferParametersIivNV: .globl epoxy_glProgramBufferParametersIuivNV .type epoxy_glProgramBufferParametersIuivNV, %object; epoxy_glProgramBufferParametersIuivNV: .globl epoxy_glProgramBufferParametersfvNV .type epoxy_glProgramBufferParametersfvNV, %object; epoxy_glProgramBufferParametersfvNV: .globl epoxy_glProgramEnvParameter4dARB .type epoxy_glProgramEnvParameter4dARB, %object; epoxy_glProgramEnvParameter4dARB: .globl epoxy_glProgramEnvParameter4dvARB .type epoxy_glProgramEnvParameter4dvARB, %object; epoxy_glProgramEnvParameter4dvARB: .globl epoxy_glProgramEnvParameter4fARB .type epoxy_glProgramEnvParameter4fARB, %object; epoxy_glProgramEnvParameter4fARB: .globl epoxy_glProgramEnvParameter4fvARB .type epoxy_glProgramEnvParameter4fvARB, %object; epoxy_glProgramEnvParameter4fvARB: .globl epoxy_glProgramEnvParameterI4iNV .type epoxy_glProgramEnvParameterI4iNV, %object; epoxy_glProgramEnvParameterI4iNV: .globl epoxy_glProgramEnvParameterI4ivNV .type epoxy_glProgramEnvParameterI4ivNV, %object; epoxy_glProgramEnvParameterI4ivNV: .globl epoxy_glProgramEnvParameterI4uiNV .type epoxy_glProgramEnvParameterI4uiNV, %object; epoxy_glProgramEnvParameterI4uiNV: .globl epoxy_glProgramEnvParameterI4uivNV .type epoxy_glProgramEnvParameterI4uivNV, %object; epoxy_glProgramEnvParameterI4uivNV: .globl epoxy_glProgramEnvParameters4fvEXT .type epoxy_glProgramEnvParameters4fvEXT, %object; epoxy_glProgramEnvParameters4fvEXT: .globl epoxy_glProgramEnvParametersI4ivNV .type epoxy_glProgramEnvParametersI4ivNV, %object; epoxy_glProgramEnvParametersI4ivNV: .globl epoxy_glProgramEnvParametersI4uivNV .type epoxy_glProgramEnvParametersI4uivNV, %object; epoxy_glProgramEnvParametersI4uivNV: .globl epoxy_glProgramLocalParameter4dARB .type epoxy_glProgramLocalParameter4dARB, %object; epoxy_glProgramLocalParameter4dARB: .globl epoxy_glProgramLocalParameter4dvARB .type epoxy_glProgramLocalParameter4dvARB, %object; epoxy_glProgramLocalParameter4dvARB: .globl epoxy_glProgramLocalParameter4fARB .type epoxy_glProgramLocalParameter4fARB, %object; epoxy_glProgramLocalParameter4fARB: .globl epoxy_glProgramLocalParameter4fvARB .type epoxy_glProgramLocalParameter4fvARB, %object; epoxy_glProgramLocalParameter4fvARB: .globl epoxy_glProgramLocalParameterI4iNV .type epoxy_glProgramLocalParameterI4iNV, %object; epoxy_glProgramLocalParameterI4iNV: .globl epoxy_glProgramLocalParameterI4ivNV .type epoxy_glProgramLocalParameterI4ivNV, %object; epoxy_glProgramLocalParameterI4ivNV: .globl epoxy_glProgramLocalParameterI4uiNV .type epoxy_glProgramLocalParameterI4uiNV, %object; epoxy_glProgramLocalParameterI4uiNV: .globl epoxy_glProgramLocalParameterI4uivNV .type epoxy_glProgramLocalParameterI4uivNV, %object; epoxy_glProgramLocalParameterI4uivNV: .globl epoxy_glProgramLocalParameters4fvEXT .type epoxy_glProgramLocalParameters4fvEXT, %object; epoxy_glProgramLocalParameters4fvEXT: .globl epoxy_glProgramLocalParametersI4ivNV .type epoxy_glProgramLocalParametersI4ivNV, %object; epoxy_glProgramLocalParametersI4ivNV: .globl epoxy_glProgramLocalParametersI4uivNV .type epoxy_glProgramLocalParametersI4uivNV, %object; epoxy_glProgramLocalParametersI4uivNV: .globl epoxy_glProgramNamedParameter4dNV .type epoxy_glProgramNamedParameter4dNV, %object; epoxy_glProgramNamedParameter4dNV: .globl epoxy_glProgramNamedParameter4dvNV .type epoxy_glProgramNamedParameter4dvNV, %object; epoxy_glProgramNamedParameter4dvNV: .globl epoxy_glProgramNamedParameter4fNV .type epoxy_glProgramNamedParameter4fNV, %object; epoxy_glProgramNamedParameter4fNV: .globl epoxy_glProgramNamedParameter4fvNV .type epoxy_glProgramNamedParameter4fvNV, %object; epoxy_glProgramNamedParameter4fvNV: .globl epoxy_glProgramParameter4dNV .type epoxy_glProgramParameter4dNV, %object; epoxy_glProgramParameter4dNV: .globl epoxy_glProgramParameter4dvNV .type epoxy_glProgramParameter4dvNV, %object; epoxy_glProgramParameter4dvNV: .globl epoxy_glProgramParameter4fNV .type epoxy_glProgramParameter4fNV, %object; epoxy_glProgramParameter4fNV: .globl epoxy_glProgramParameter4fvNV .type epoxy_glProgramParameter4fvNV, %object; epoxy_glProgramParameter4fvNV: .globl epoxy_glProgramParameteri .type epoxy_glProgramParameteri, %object; epoxy_glProgramParameteri: .globl epoxy_glProgramParameteriARB .type epoxy_glProgramParameteriARB, %object; epoxy_glProgramParameteriARB: .globl epoxy_glProgramParameteriEXT .type epoxy_glProgramParameteriEXT, %object; epoxy_glProgramParameteriEXT: .globl epoxy_glProgramParameters4dvNV .type epoxy_glProgramParameters4dvNV, %object; epoxy_glProgramParameters4dvNV: .globl epoxy_glProgramParameters4fvNV .type epoxy_glProgramParameters4fvNV, %object; epoxy_glProgramParameters4fvNV: .globl epoxy_glProgramPathFragmentInputGenNV .type epoxy_glProgramPathFragmentInputGenNV, %object; epoxy_glProgramPathFragmentInputGenNV: .globl epoxy_glProgramStringARB .type epoxy_glProgramStringARB, %object; epoxy_glProgramStringARB: .globl epoxy_glProgramSubroutineParametersuivNV .type epoxy_glProgramSubroutineParametersuivNV, %object; epoxy_glProgramSubroutineParametersuivNV: .globl epoxy_glProgramUniform1d .type epoxy_glProgramUniform1d, %object; epoxy_glProgramUniform1d: .globl epoxy_glProgramUniform1dEXT .type epoxy_glProgramUniform1dEXT, %object; epoxy_glProgramUniform1dEXT: .globl epoxy_glProgramUniform1dv .type epoxy_glProgramUniform1dv, %object; epoxy_glProgramUniform1dv: .globl epoxy_glProgramUniform1dvEXT .type epoxy_glProgramUniform1dvEXT, %object; epoxy_glProgramUniform1dvEXT: .globl epoxy_glProgramUniform1f .type epoxy_glProgramUniform1f, %object; epoxy_glProgramUniform1f: .globl epoxy_glProgramUniform1fEXT .type epoxy_glProgramUniform1fEXT, %object; epoxy_glProgramUniform1fEXT: .globl epoxy_glProgramUniform1fv .type epoxy_glProgramUniform1fv, %object; epoxy_glProgramUniform1fv: .globl epoxy_glProgramUniform1fvEXT .type epoxy_glProgramUniform1fvEXT, %object; epoxy_glProgramUniform1fvEXT: .globl epoxy_glProgramUniform1i .type epoxy_glProgramUniform1i, %object; epoxy_glProgramUniform1i: .globl epoxy_glProgramUniform1i64ARB .type epoxy_glProgramUniform1i64ARB, %object; epoxy_glProgramUniform1i64ARB: .globl epoxy_glProgramUniform1i64NV .type epoxy_glProgramUniform1i64NV, %object; epoxy_glProgramUniform1i64NV: .globl epoxy_glProgramUniform1i64vARB .type epoxy_glProgramUniform1i64vARB, %object; epoxy_glProgramUniform1i64vARB: .globl epoxy_glProgramUniform1i64vNV .type epoxy_glProgramUniform1i64vNV, %object; epoxy_glProgramUniform1i64vNV: .globl epoxy_glProgramUniform1iEXT .type epoxy_glProgramUniform1iEXT, %object; epoxy_glProgramUniform1iEXT: .globl epoxy_glProgramUniform1iv .type epoxy_glProgramUniform1iv, %object; epoxy_glProgramUniform1iv: .globl epoxy_glProgramUniform1ivEXT .type epoxy_glProgramUniform1ivEXT, %object; epoxy_glProgramUniform1ivEXT: .globl epoxy_glProgramUniform1ui .type epoxy_glProgramUniform1ui, %object; epoxy_glProgramUniform1ui: .globl epoxy_glProgramUniform1ui64ARB .type epoxy_glProgramUniform1ui64ARB, %object; epoxy_glProgramUniform1ui64ARB: .globl epoxy_glProgramUniform1ui64NV .type epoxy_glProgramUniform1ui64NV, %object; epoxy_glProgramUniform1ui64NV: .globl epoxy_glProgramUniform1ui64vARB .type epoxy_glProgramUniform1ui64vARB, %object; epoxy_glProgramUniform1ui64vARB: .globl epoxy_glProgramUniform1ui64vNV .type epoxy_glProgramUniform1ui64vNV, %object; epoxy_glProgramUniform1ui64vNV: .globl epoxy_glProgramUniform1uiEXT .type epoxy_glProgramUniform1uiEXT, %object; epoxy_glProgramUniform1uiEXT: .globl epoxy_glProgramUniform1uiv .type epoxy_glProgramUniform1uiv, %object; epoxy_glProgramUniform1uiv: .globl epoxy_glProgramUniform1uivEXT .type epoxy_glProgramUniform1uivEXT, %object; epoxy_glProgramUniform1uivEXT: .globl epoxy_glProgramUniform2d .type epoxy_glProgramUniform2d, %object; epoxy_glProgramUniform2d: .globl epoxy_glProgramUniform2dEXT .type epoxy_glProgramUniform2dEXT, %object; epoxy_glProgramUniform2dEXT: .globl epoxy_glProgramUniform2dv .type epoxy_glProgramUniform2dv, %object; epoxy_glProgramUniform2dv: .globl epoxy_glProgramUniform2dvEXT .type epoxy_glProgramUniform2dvEXT, %object; epoxy_glProgramUniform2dvEXT: .globl epoxy_glProgramUniform2f .type epoxy_glProgramUniform2f, %object; epoxy_glProgramUniform2f: .globl epoxy_glProgramUniform2fEXT .type epoxy_glProgramUniform2fEXT, %object; epoxy_glProgramUniform2fEXT: .globl epoxy_glProgramUniform2fv .type epoxy_glProgramUniform2fv, %object; epoxy_glProgramUniform2fv: .globl epoxy_glProgramUniform2fvEXT .type epoxy_glProgramUniform2fvEXT, %object; epoxy_glProgramUniform2fvEXT: .globl epoxy_glProgramUniform2i .type epoxy_glProgramUniform2i, %object; epoxy_glProgramUniform2i: .globl epoxy_glProgramUniform2i64ARB .type epoxy_glProgramUniform2i64ARB, %object; epoxy_glProgramUniform2i64ARB: .globl epoxy_glProgramUniform2i64NV .type epoxy_glProgramUniform2i64NV, %object; epoxy_glProgramUniform2i64NV: .globl epoxy_glProgramUniform2i64vARB .type epoxy_glProgramUniform2i64vARB, %object; epoxy_glProgramUniform2i64vARB: .globl epoxy_glProgramUniform2i64vNV .type epoxy_glProgramUniform2i64vNV, %object; epoxy_glProgramUniform2i64vNV: .globl epoxy_glProgramUniform2iEXT .type epoxy_glProgramUniform2iEXT, %object; epoxy_glProgramUniform2iEXT: .globl epoxy_glProgramUniform2iv .type epoxy_glProgramUniform2iv, %object; epoxy_glProgramUniform2iv: .globl epoxy_glProgramUniform2ivEXT .type epoxy_glProgramUniform2ivEXT, %object; epoxy_glProgramUniform2ivEXT: .globl epoxy_glProgramUniform2ui .type epoxy_glProgramUniform2ui, %object; epoxy_glProgramUniform2ui: .globl epoxy_glProgramUniform2ui64ARB .type epoxy_glProgramUniform2ui64ARB, %object; epoxy_glProgramUniform2ui64ARB: .globl epoxy_glProgramUniform2ui64NV .type epoxy_glProgramUniform2ui64NV, %object; epoxy_glProgramUniform2ui64NV: .globl epoxy_glProgramUniform2ui64vARB .type epoxy_glProgramUniform2ui64vARB, %object; epoxy_glProgramUniform2ui64vARB: .globl epoxy_glProgramUniform2ui64vNV .type epoxy_glProgramUniform2ui64vNV, %object; epoxy_glProgramUniform2ui64vNV: .globl epoxy_glProgramUniform2uiEXT .type epoxy_glProgramUniform2uiEXT, %object; epoxy_glProgramUniform2uiEXT: .globl epoxy_glProgramUniform2uiv .type epoxy_glProgramUniform2uiv, %object; epoxy_glProgramUniform2uiv: .globl epoxy_glProgramUniform2uivEXT .type epoxy_glProgramUniform2uivEXT, %object; epoxy_glProgramUniform2uivEXT: .globl epoxy_glProgramUniform3d .type epoxy_glProgramUniform3d, %object; epoxy_glProgramUniform3d: .globl epoxy_glProgramUniform3dEXT .type epoxy_glProgramUniform3dEXT, %object; epoxy_glProgramUniform3dEXT: .globl epoxy_glProgramUniform3dv .type epoxy_glProgramUniform3dv, %object; epoxy_glProgramUniform3dv: .globl epoxy_glProgramUniform3dvEXT .type epoxy_glProgramUniform3dvEXT, %object; epoxy_glProgramUniform3dvEXT: .globl epoxy_glProgramUniform3f .type epoxy_glProgramUniform3f, %object; epoxy_glProgramUniform3f: .globl epoxy_glProgramUniform3fEXT .type epoxy_glProgramUniform3fEXT, %object; epoxy_glProgramUniform3fEXT: .globl epoxy_glProgramUniform3fv .type epoxy_glProgramUniform3fv, %object; epoxy_glProgramUniform3fv: .globl epoxy_glProgramUniform3fvEXT .type epoxy_glProgramUniform3fvEXT, %object; epoxy_glProgramUniform3fvEXT: .globl epoxy_glProgramUniform3i .type epoxy_glProgramUniform3i, %object; epoxy_glProgramUniform3i: .globl epoxy_glProgramUniform3i64ARB .type epoxy_glProgramUniform3i64ARB, %object; epoxy_glProgramUniform3i64ARB: .globl epoxy_glProgramUniform3i64NV .type epoxy_glProgramUniform3i64NV, %object; epoxy_glProgramUniform3i64NV: .globl epoxy_glProgramUniform3i64vARB .type epoxy_glProgramUniform3i64vARB, %object; epoxy_glProgramUniform3i64vARB: .globl epoxy_glProgramUniform3i64vNV .type epoxy_glProgramUniform3i64vNV, %object; epoxy_glProgramUniform3i64vNV: .globl epoxy_glProgramUniform3iEXT .type epoxy_glProgramUniform3iEXT, %object; epoxy_glProgramUniform3iEXT: .globl epoxy_glProgramUniform3iv .type epoxy_glProgramUniform3iv, %object; epoxy_glProgramUniform3iv: .globl epoxy_glProgramUniform3ivEXT .type epoxy_glProgramUniform3ivEXT, %object; epoxy_glProgramUniform3ivEXT: .globl epoxy_glProgramUniform3ui .type epoxy_glProgramUniform3ui, %object; epoxy_glProgramUniform3ui: .globl epoxy_glProgramUniform3ui64ARB .type epoxy_glProgramUniform3ui64ARB, %object; epoxy_glProgramUniform3ui64ARB: .globl epoxy_glProgramUniform3ui64NV .type epoxy_glProgramUniform3ui64NV, %object; epoxy_glProgramUniform3ui64NV: .globl epoxy_glProgramUniform3ui64vARB .type epoxy_glProgramUniform3ui64vARB, %object; epoxy_glProgramUniform3ui64vARB: .globl epoxy_glProgramUniform3ui64vNV .type epoxy_glProgramUniform3ui64vNV, %object; epoxy_glProgramUniform3ui64vNV: .globl epoxy_glProgramUniform3uiEXT .type epoxy_glProgramUniform3uiEXT, %object; epoxy_glProgramUniform3uiEXT: .globl epoxy_glProgramUniform3uiv .type epoxy_glProgramUniform3uiv, %object; epoxy_glProgramUniform3uiv: .globl epoxy_glProgramUniform3uivEXT .type epoxy_glProgramUniform3uivEXT, %object; epoxy_glProgramUniform3uivEXT: .globl epoxy_glProgramUniform4d .type epoxy_glProgramUniform4d, %object; epoxy_glProgramUniform4d: .globl epoxy_glProgramUniform4dEXT .type epoxy_glProgramUniform4dEXT, %object; epoxy_glProgramUniform4dEXT: .globl epoxy_glProgramUniform4dv .type epoxy_glProgramUniform4dv, %object; epoxy_glProgramUniform4dv: .globl epoxy_glProgramUniform4dvEXT .type epoxy_glProgramUniform4dvEXT, %object; epoxy_glProgramUniform4dvEXT: .globl epoxy_glProgramUniform4f .type epoxy_glProgramUniform4f, %object; epoxy_glProgramUniform4f: .globl epoxy_glProgramUniform4fEXT .type epoxy_glProgramUniform4fEXT, %object; epoxy_glProgramUniform4fEXT: .globl epoxy_glProgramUniform4fv .type epoxy_glProgramUniform4fv, %object; epoxy_glProgramUniform4fv: .globl epoxy_glProgramUniform4fvEXT .type epoxy_glProgramUniform4fvEXT, %object; epoxy_glProgramUniform4fvEXT: .globl epoxy_glProgramUniform4i .type epoxy_glProgramUniform4i, %object; epoxy_glProgramUniform4i: .globl epoxy_glProgramUniform4i64ARB .type epoxy_glProgramUniform4i64ARB, %object; epoxy_glProgramUniform4i64ARB: .globl epoxy_glProgramUniform4i64NV .type epoxy_glProgramUniform4i64NV, %object; epoxy_glProgramUniform4i64NV: .globl epoxy_glProgramUniform4i64vARB .type epoxy_glProgramUniform4i64vARB, %object; epoxy_glProgramUniform4i64vARB: .globl epoxy_glProgramUniform4i64vNV .type epoxy_glProgramUniform4i64vNV, %object; epoxy_glProgramUniform4i64vNV: .globl epoxy_glProgramUniform4iEXT .type epoxy_glProgramUniform4iEXT, %object; epoxy_glProgramUniform4iEXT: .globl epoxy_glProgramUniform4iv .type epoxy_glProgramUniform4iv, %object; epoxy_glProgramUniform4iv: .globl epoxy_glProgramUniform4ivEXT .type epoxy_glProgramUniform4ivEXT, %object; epoxy_glProgramUniform4ivEXT: .globl epoxy_glProgramUniform4ui .type epoxy_glProgramUniform4ui, %object; epoxy_glProgramUniform4ui: .globl epoxy_glProgramUniform4ui64ARB .type epoxy_glProgramUniform4ui64ARB, %object; epoxy_glProgramUniform4ui64ARB: .globl epoxy_glProgramUniform4ui64NV .type epoxy_glProgramUniform4ui64NV, %object; epoxy_glProgramUniform4ui64NV: .globl epoxy_glProgramUniform4ui64vARB .type epoxy_glProgramUniform4ui64vARB, %object; epoxy_glProgramUniform4ui64vARB: .globl epoxy_glProgramUniform4ui64vNV .type epoxy_glProgramUniform4ui64vNV, %object; epoxy_glProgramUniform4ui64vNV: .globl epoxy_glProgramUniform4uiEXT .type epoxy_glProgramUniform4uiEXT, %object; epoxy_glProgramUniform4uiEXT: .globl epoxy_glProgramUniform4uiv .type epoxy_glProgramUniform4uiv, %object; epoxy_glProgramUniform4uiv: .globl epoxy_glProgramUniform4uivEXT .type epoxy_glProgramUniform4uivEXT, %object; epoxy_glProgramUniform4uivEXT: .globl epoxy_glProgramUniformHandleui64ARB .type epoxy_glProgramUniformHandleui64ARB, %object; epoxy_glProgramUniformHandleui64ARB: .globl epoxy_glProgramUniformHandleui64IMG .type epoxy_glProgramUniformHandleui64IMG, %object; epoxy_glProgramUniformHandleui64IMG: .globl epoxy_glProgramUniformHandleui64NV .type epoxy_glProgramUniformHandleui64NV, %object; epoxy_glProgramUniformHandleui64NV: .globl epoxy_glProgramUniformHandleui64vARB .type epoxy_glProgramUniformHandleui64vARB, %object; epoxy_glProgramUniformHandleui64vARB: .globl epoxy_glProgramUniformHandleui64vIMG .type epoxy_glProgramUniformHandleui64vIMG, %object; epoxy_glProgramUniformHandleui64vIMG: .globl epoxy_glProgramUniformHandleui64vNV .type epoxy_glProgramUniformHandleui64vNV, %object; epoxy_glProgramUniformHandleui64vNV: .globl epoxy_glProgramUniformMatrix2dv .type epoxy_glProgramUniformMatrix2dv, %object; epoxy_glProgramUniformMatrix2dv: .globl epoxy_glProgramUniformMatrix2dvEXT .type epoxy_glProgramUniformMatrix2dvEXT, %object; epoxy_glProgramUniformMatrix2dvEXT: .globl epoxy_glProgramUniformMatrix2fv .type epoxy_glProgramUniformMatrix2fv, %object; epoxy_glProgramUniformMatrix2fv: .globl epoxy_glProgramUniformMatrix2fvEXT .type epoxy_glProgramUniformMatrix2fvEXT, %object; epoxy_glProgramUniformMatrix2fvEXT: .globl epoxy_glProgramUniformMatrix2x3dv .type epoxy_glProgramUniformMatrix2x3dv, %object; epoxy_glProgramUniformMatrix2x3dv: .globl epoxy_glProgramUniformMatrix2x3dvEXT .type epoxy_glProgramUniformMatrix2x3dvEXT, %object; epoxy_glProgramUniformMatrix2x3dvEXT: .globl epoxy_glProgramUniformMatrix2x3fv .type epoxy_glProgramUniformMatrix2x3fv, %object; epoxy_glProgramUniformMatrix2x3fv: .globl epoxy_glProgramUniformMatrix2x3fvEXT .type epoxy_glProgramUniformMatrix2x3fvEXT, %object; epoxy_glProgramUniformMatrix2x3fvEXT: .globl epoxy_glProgramUniformMatrix2x4dv .type epoxy_glProgramUniformMatrix2x4dv, %object; epoxy_glProgramUniformMatrix2x4dv: .globl epoxy_glProgramUniformMatrix2x4dvEXT .type epoxy_glProgramUniformMatrix2x4dvEXT, %object; epoxy_glProgramUniformMatrix2x4dvEXT: .globl epoxy_glProgramUniformMatrix2x4fv .type epoxy_glProgramUniformMatrix2x4fv, %object; epoxy_glProgramUniformMatrix2x4fv: .globl epoxy_glProgramUniformMatrix2x4fvEXT .type epoxy_glProgramUniformMatrix2x4fvEXT, %object; epoxy_glProgramUniformMatrix2x4fvEXT: .globl epoxy_glProgramUniformMatrix3dv .type epoxy_glProgramUniformMatrix3dv, %object; epoxy_glProgramUniformMatrix3dv: .globl epoxy_glProgramUniformMatrix3dvEXT .type epoxy_glProgramUniformMatrix3dvEXT, %object; epoxy_glProgramUniformMatrix3dvEXT: .globl epoxy_glProgramUniformMatrix3fv .type epoxy_glProgramUniformMatrix3fv, %object; epoxy_glProgramUniformMatrix3fv: .globl epoxy_glProgramUniformMatrix3fvEXT .type epoxy_glProgramUniformMatrix3fvEXT, %object; epoxy_glProgramUniformMatrix3fvEXT: .globl epoxy_glProgramUniformMatrix3x2dv .type epoxy_glProgramUniformMatrix3x2dv, %object; epoxy_glProgramUniformMatrix3x2dv: .globl epoxy_glProgramUniformMatrix3x2dvEXT .type epoxy_glProgramUniformMatrix3x2dvEXT, %object; epoxy_glProgramUniformMatrix3x2dvEXT: .globl epoxy_glProgramUniformMatrix3x2fv .type epoxy_glProgramUniformMatrix3x2fv, %object; epoxy_glProgramUniformMatrix3x2fv: .globl epoxy_glProgramUniformMatrix3x2fvEXT .type epoxy_glProgramUniformMatrix3x2fvEXT, %object; epoxy_glProgramUniformMatrix3x2fvEXT: .globl epoxy_glProgramUniformMatrix3x4dv .type epoxy_glProgramUniformMatrix3x4dv, %object; epoxy_glProgramUniformMatrix3x4dv: .globl epoxy_glProgramUniformMatrix3x4dvEXT .type epoxy_glProgramUniformMatrix3x4dvEXT, %object; epoxy_glProgramUniformMatrix3x4dvEXT: .globl epoxy_glProgramUniformMatrix3x4fv .type epoxy_glProgramUniformMatrix3x4fv, %object; epoxy_glProgramUniformMatrix3x4fv: .globl epoxy_glProgramUniformMatrix3x4fvEXT .type epoxy_glProgramUniformMatrix3x4fvEXT, %object; epoxy_glProgramUniformMatrix3x4fvEXT: .globl epoxy_glProgramUniformMatrix4dv .type epoxy_glProgramUniformMatrix4dv, %object; epoxy_glProgramUniformMatrix4dv: .globl epoxy_glProgramUniformMatrix4dvEXT .type epoxy_glProgramUniformMatrix4dvEXT, %object; epoxy_glProgramUniformMatrix4dvEXT: .globl epoxy_glProgramUniformMatrix4fv .type epoxy_glProgramUniformMatrix4fv, %object; epoxy_glProgramUniformMatrix4fv: .globl epoxy_glProgramUniformMatrix4fvEXT .type epoxy_glProgramUniformMatrix4fvEXT, %object; epoxy_glProgramUniformMatrix4fvEXT: .globl epoxy_glProgramUniformMatrix4x2dv .type epoxy_glProgramUniformMatrix4x2dv, %object; epoxy_glProgramUniformMatrix4x2dv: .globl epoxy_glProgramUniformMatrix4x2dvEXT .type epoxy_glProgramUniformMatrix4x2dvEXT, %object; epoxy_glProgramUniformMatrix4x2dvEXT: .globl epoxy_glProgramUniformMatrix4x2fv .type epoxy_glProgramUniformMatrix4x2fv, %object; epoxy_glProgramUniformMatrix4x2fv: .globl epoxy_glProgramUniformMatrix4x2fvEXT .type epoxy_glProgramUniformMatrix4x2fvEXT, %object; epoxy_glProgramUniformMatrix4x2fvEXT: .globl epoxy_glProgramUniformMatrix4x3dv .type epoxy_glProgramUniformMatrix4x3dv, %object; epoxy_glProgramUniformMatrix4x3dv: .globl epoxy_glProgramUniformMatrix4x3dvEXT .type epoxy_glProgramUniformMatrix4x3dvEXT, %object; epoxy_glProgramUniformMatrix4x3dvEXT: .globl epoxy_glProgramUniformMatrix4x3fv .type epoxy_glProgramUniformMatrix4x3fv, %object; epoxy_glProgramUniformMatrix4x3fv: .globl epoxy_glProgramUniformMatrix4x3fvEXT .type epoxy_glProgramUniformMatrix4x3fvEXT, %object; epoxy_glProgramUniformMatrix4x3fvEXT: .globl epoxy_glProgramUniformui64NV .type epoxy_glProgramUniformui64NV, %object; epoxy_glProgramUniformui64NV: .globl epoxy_glProgramUniformui64vNV .type epoxy_glProgramUniformui64vNV, %object; epoxy_glProgramUniformui64vNV: .globl epoxy_glProgramVertexLimitNV .type epoxy_glProgramVertexLimitNV, %object; epoxy_glProgramVertexLimitNV: .globl epoxy_glProvokingVertex .type epoxy_glProvokingVertex, %object; epoxy_glProvokingVertex: .globl epoxy_glProvokingVertexEXT .type epoxy_glProvokingVertexEXT, %object; epoxy_glProvokingVertexEXT: .globl epoxy_glPushAttrib .type epoxy_glPushAttrib, %object; epoxy_glPushAttrib: .globl epoxy_glPushClientAttrib .type epoxy_glPushClientAttrib, %object; epoxy_glPushClientAttrib: .globl epoxy_glPushClientAttribDefaultEXT .type epoxy_glPushClientAttribDefaultEXT, %object; epoxy_glPushClientAttribDefaultEXT: .globl epoxy_glPushDebugGroup .type epoxy_glPushDebugGroup, %object; epoxy_glPushDebugGroup: .globl epoxy_glPushDebugGroupKHR .type epoxy_glPushDebugGroupKHR, %object; epoxy_glPushDebugGroupKHR: .globl epoxy_glPushGroupMarkerEXT .type epoxy_glPushGroupMarkerEXT, %object; epoxy_glPushGroupMarkerEXT: .globl epoxy_glPushMatrix .type epoxy_glPushMatrix, %object; epoxy_glPushMatrix: .globl epoxy_glPushName .type epoxy_glPushName, %object; epoxy_glPushName: .globl epoxy_glQueryCounter .type epoxy_glQueryCounter, %object; epoxy_glQueryCounter: .globl epoxy_glQueryCounterEXT .type epoxy_glQueryCounterEXT, %object; epoxy_glQueryCounterEXT: .globl epoxy_glQueryMatrixxOES .type epoxy_glQueryMatrixxOES, %object; epoxy_glQueryMatrixxOES: .globl epoxy_glQueryObjectParameteruiAMD .type epoxy_glQueryObjectParameteruiAMD, %object; epoxy_glQueryObjectParameteruiAMD: .globl epoxy_glQueryResourceNV .type epoxy_glQueryResourceNV, %object; epoxy_glQueryResourceNV: .globl epoxy_glQueryResourceTagNV .type epoxy_glQueryResourceTagNV, %object; epoxy_glQueryResourceTagNV: .globl epoxy_glRasterPos2d .type epoxy_glRasterPos2d, %object; epoxy_glRasterPos2d: .globl epoxy_glRasterPos2dv .type epoxy_glRasterPos2dv, %object; epoxy_glRasterPos2dv: .globl epoxy_glRasterPos2f .type epoxy_glRasterPos2f, %object; epoxy_glRasterPos2f: .globl epoxy_glRasterPos2fv .type epoxy_glRasterPos2fv, %object; epoxy_glRasterPos2fv: .globl epoxy_glRasterPos2i .type epoxy_glRasterPos2i, %object; epoxy_glRasterPos2i: .globl epoxy_glRasterPos2iv .type epoxy_glRasterPos2iv, %object; epoxy_glRasterPos2iv: .globl epoxy_glRasterPos2s .type epoxy_glRasterPos2s, %object; epoxy_glRasterPos2s: .globl epoxy_glRasterPos2sv .type epoxy_glRasterPos2sv, %object; epoxy_glRasterPos2sv: .globl epoxy_glRasterPos2xOES .type epoxy_glRasterPos2xOES, %object; epoxy_glRasterPos2xOES: .globl epoxy_glRasterPos2xvOES .type epoxy_glRasterPos2xvOES, %object; epoxy_glRasterPos2xvOES: .globl epoxy_glRasterPos3d .type epoxy_glRasterPos3d, %object; epoxy_glRasterPos3d: .globl epoxy_glRasterPos3dv .type epoxy_glRasterPos3dv, %object; epoxy_glRasterPos3dv: .globl epoxy_glRasterPos3f .type epoxy_glRasterPos3f, %object; epoxy_glRasterPos3f: .globl epoxy_glRasterPos3fv .type epoxy_glRasterPos3fv, %object; epoxy_glRasterPos3fv: .globl epoxy_glRasterPos3i .type epoxy_glRasterPos3i, %object; epoxy_glRasterPos3i: .globl epoxy_glRasterPos3iv .type epoxy_glRasterPos3iv, %object; epoxy_glRasterPos3iv: .globl epoxy_glRasterPos3s .type epoxy_glRasterPos3s, %object; epoxy_glRasterPos3s: .globl epoxy_glRasterPos3sv .type epoxy_glRasterPos3sv, %object; epoxy_glRasterPos3sv: .globl epoxy_glRasterPos3xOES .type epoxy_glRasterPos3xOES, %object; epoxy_glRasterPos3xOES: .globl epoxy_glRasterPos3xvOES .type epoxy_glRasterPos3xvOES, %object; epoxy_glRasterPos3xvOES: .globl epoxy_glRasterPos4d .type epoxy_glRasterPos4d, %object; epoxy_glRasterPos4d: .globl epoxy_glRasterPos4dv .type epoxy_glRasterPos4dv, %object; epoxy_glRasterPos4dv: .globl epoxy_glRasterPos4f .type epoxy_glRasterPos4f, %object; epoxy_glRasterPos4f: .globl epoxy_glRasterPos4fv .type epoxy_glRasterPos4fv, %object; epoxy_glRasterPos4fv: .globl epoxy_glRasterPos4i .type epoxy_glRasterPos4i, %object; epoxy_glRasterPos4i: .globl epoxy_glRasterPos4iv .type epoxy_glRasterPos4iv, %object; epoxy_glRasterPos4iv: .globl epoxy_glRasterPos4s .type epoxy_glRasterPos4s, %object; epoxy_glRasterPos4s: .globl epoxy_glRasterPos4sv .type epoxy_glRasterPos4sv, %object; epoxy_glRasterPos4sv: .globl epoxy_glRasterPos4xOES .type epoxy_glRasterPos4xOES, %object; epoxy_glRasterPos4xOES: .globl epoxy_glRasterPos4xvOES .type epoxy_glRasterPos4xvOES, %object; epoxy_glRasterPos4xvOES: .globl epoxy_glRasterSamplesEXT .type epoxy_glRasterSamplesEXT, %object; epoxy_glRasterSamplesEXT: .globl epoxy_glReadBuffer .type epoxy_glReadBuffer, %object; epoxy_glReadBuffer: .globl epoxy_glReadBufferIndexedEXT .type epoxy_glReadBufferIndexedEXT, %object; epoxy_glReadBufferIndexedEXT: .globl epoxy_glReadBufferNV .type epoxy_glReadBufferNV, %object; epoxy_glReadBufferNV: .globl epoxy_glReadInstrumentsSGIX .type epoxy_glReadInstrumentsSGIX, %object; epoxy_glReadInstrumentsSGIX: .globl epoxy_glReadPixels .type epoxy_glReadPixels, %object; epoxy_glReadPixels: .globl epoxy_glReadnPixels .type epoxy_glReadnPixels, %object; epoxy_glReadnPixels: .globl epoxy_glReadnPixelsARB .type epoxy_glReadnPixelsARB, %object; epoxy_glReadnPixelsARB: .globl epoxy_glReadnPixelsEXT .type epoxy_glReadnPixelsEXT, %object; epoxy_glReadnPixelsEXT: .globl epoxy_glReadnPixelsKHR .type epoxy_glReadnPixelsKHR, %object; epoxy_glReadnPixelsKHR: .globl epoxy_glRectd .type epoxy_glRectd, %object; epoxy_glRectd: .globl epoxy_glRectdv .type epoxy_glRectdv, %object; epoxy_glRectdv: .globl epoxy_glRectf .type epoxy_glRectf, %object; epoxy_glRectf: .globl epoxy_glRectfv .type epoxy_glRectfv, %object; epoxy_glRectfv: .globl epoxy_glRecti .type epoxy_glRecti, %object; epoxy_glRecti: .globl epoxy_glRectiv .type epoxy_glRectiv, %object; epoxy_glRectiv: .globl epoxy_glRects .type epoxy_glRects, %object; epoxy_glRects: .globl epoxy_glRectsv .type epoxy_glRectsv, %object; epoxy_glRectsv: .globl epoxy_glRectxOES .type epoxy_glRectxOES, %object; epoxy_glRectxOES: .globl epoxy_glRectxvOES .type epoxy_glRectxvOES, %object; epoxy_glRectxvOES: .globl epoxy_glReferencePlaneSGIX .type epoxy_glReferencePlaneSGIX, %object; epoxy_glReferencePlaneSGIX: .globl epoxy_glReleaseKeyedMutexWin32EXT .type epoxy_glReleaseKeyedMutexWin32EXT, %object; epoxy_glReleaseKeyedMutexWin32EXT: .globl epoxy_glReleaseShaderCompiler .type epoxy_glReleaseShaderCompiler, %object; epoxy_glReleaseShaderCompiler: .globl epoxy_glRenderGpuMaskNV .type epoxy_glRenderGpuMaskNV, %object; epoxy_glRenderGpuMaskNV: .globl epoxy_glRenderMode .type epoxy_glRenderMode, %object; epoxy_glRenderMode: .globl epoxy_glRenderbufferStorage .type epoxy_glRenderbufferStorage, %object; epoxy_glRenderbufferStorage: .globl epoxy_glRenderbufferStorageEXT .type epoxy_glRenderbufferStorageEXT, %object; epoxy_glRenderbufferStorageEXT: .globl epoxy_glRenderbufferStorageMultisample .type epoxy_glRenderbufferStorageMultisample, %object; epoxy_glRenderbufferStorageMultisample: .globl epoxy_glRenderbufferStorageMultisampleANGLE .type epoxy_glRenderbufferStorageMultisampleANGLE, %object; epoxy_glRenderbufferStorageMultisampleANGLE: .globl epoxy_glRenderbufferStorageMultisampleAPPLE .type epoxy_glRenderbufferStorageMultisampleAPPLE, %object; epoxy_glRenderbufferStorageMultisampleAPPLE: .globl epoxy_glRenderbufferStorageMultisampleAdvancedAMD .type epoxy_glRenderbufferStorageMultisampleAdvancedAMD, %object; epoxy_glRenderbufferStorageMultisampleAdvancedAMD: .globl epoxy_glRenderbufferStorageMultisampleCoverageNV .type epoxy_glRenderbufferStorageMultisampleCoverageNV, %object; epoxy_glRenderbufferStorageMultisampleCoverageNV: .globl epoxy_glRenderbufferStorageMultisampleEXT .type epoxy_glRenderbufferStorageMultisampleEXT, %object; epoxy_glRenderbufferStorageMultisampleEXT: .globl epoxy_glRenderbufferStorageMultisampleIMG .type epoxy_glRenderbufferStorageMultisampleIMG, %object; epoxy_glRenderbufferStorageMultisampleIMG: .globl epoxy_glRenderbufferStorageMultisampleNV .type epoxy_glRenderbufferStorageMultisampleNV, %object; epoxy_glRenderbufferStorageMultisampleNV: .globl epoxy_glRenderbufferStorageOES .type epoxy_glRenderbufferStorageOES, %object; epoxy_glRenderbufferStorageOES: .globl epoxy_glReplacementCodePointerSUN .type epoxy_glReplacementCodePointerSUN, %object; epoxy_glReplacementCodePointerSUN: .globl epoxy_glReplacementCodeubSUN .type epoxy_glReplacementCodeubSUN, %object; epoxy_glReplacementCodeubSUN: .globl epoxy_glReplacementCodeubvSUN .type epoxy_glReplacementCodeubvSUN, %object; epoxy_glReplacementCodeubvSUN: .globl epoxy_glReplacementCodeuiColor3fVertex3fSUN .type epoxy_glReplacementCodeuiColor3fVertex3fSUN, %object; epoxy_glReplacementCodeuiColor3fVertex3fSUN: .globl epoxy_glReplacementCodeuiColor3fVertex3fvSUN .type epoxy_glReplacementCodeuiColor3fVertex3fvSUN, %object; epoxy_glReplacementCodeuiColor3fVertex3fvSUN: .globl epoxy_glReplacementCodeuiColor4fNormal3fVertex3fSUN .type epoxy_glReplacementCodeuiColor4fNormal3fVertex3fSUN, %object; epoxy_glReplacementCodeuiColor4fNormal3fVertex3fSUN: .globl epoxy_glReplacementCodeuiColor4fNormal3fVertex3fvSUN .type epoxy_glReplacementCodeuiColor4fNormal3fVertex3fvSUN, %object; epoxy_glReplacementCodeuiColor4fNormal3fVertex3fvSUN: .globl epoxy_glReplacementCodeuiColor4ubVertex3fSUN .type epoxy_glReplacementCodeuiColor4ubVertex3fSUN, %object; epoxy_glReplacementCodeuiColor4ubVertex3fSUN: .globl epoxy_glReplacementCodeuiColor4ubVertex3fvSUN .type epoxy_glReplacementCodeuiColor4ubVertex3fvSUN, %object; epoxy_glReplacementCodeuiColor4ubVertex3fvSUN: .globl epoxy_glReplacementCodeuiNormal3fVertex3fSUN .type epoxy_glReplacementCodeuiNormal3fVertex3fSUN, %object; epoxy_glReplacementCodeuiNormal3fVertex3fSUN: .globl epoxy_glReplacementCodeuiNormal3fVertex3fvSUN .type epoxy_glReplacementCodeuiNormal3fVertex3fvSUN, %object; epoxy_glReplacementCodeuiNormal3fVertex3fvSUN: .globl epoxy_glReplacementCodeuiSUN .type epoxy_glReplacementCodeuiSUN, %object; epoxy_glReplacementCodeuiSUN: .globl epoxy_glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN .type epoxy_glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN, %object; epoxy_glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN: .globl epoxy_glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN .type epoxy_glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN, %object; epoxy_glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN: .globl epoxy_glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN .type epoxy_glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN, %object; epoxy_glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN: .globl epoxy_glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN .type epoxy_glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN, %object; epoxy_glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN: .globl epoxy_glReplacementCodeuiTexCoord2fVertex3fSUN .type epoxy_glReplacementCodeuiTexCoord2fVertex3fSUN, %object; epoxy_glReplacementCodeuiTexCoord2fVertex3fSUN: .globl epoxy_glReplacementCodeuiTexCoord2fVertex3fvSUN .type epoxy_glReplacementCodeuiTexCoord2fVertex3fvSUN, %object; epoxy_glReplacementCodeuiTexCoord2fVertex3fvSUN: .globl epoxy_glReplacementCodeuiVertex3fSUN .type epoxy_glReplacementCodeuiVertex3fSUN, %object; epoxy_glReplacementCodeuiVertex3fSUN: .globl epoxy_glReplacementCodeuiVertex3fvSUN .type epoxy_glReplacementCodeuiVertex3fvSUN, %object; epoxy_glReplacementCodeuiVertex3fvSUN: .globl epoxy_glReplacementCodeuivSUN .type epoxy_glReplacementCodeuivSUN, %object; epoxy_glReplacementCodeuivSUN: .globl epoxy_glReplacementCodeusSUN .type epoxy_glReplacementCodeusSUN, %object; epoxy_glReplacementCodeusSUN: .globl epoxy_glReplacementCodeusvSUN .type epoxy_glReplacementCodeusvSUN, %object; epoxy_glReplacementCodeusvSUN: .globl epoxy_glRequestResidentProgramsNV .type epoxy_glRequestResidentProgramsNV, %object; epoxy_glRequestResidentProgramsNV: .globl epoxy_glResetHistogram .type epoxy_glResetHistogram, %object; epoxy_glResetHistogram: .globl epoxy_glResetHistogramEXT .type epoxy_glResetHistogramEXT, %object; epoxy_glResetHistogramEXT: .globl epoxy_glResetMemoryObjectParameterNV .type epoxy_glResetMemoryObjectParameterNV, %object; epoxy_glResetMemoryObjectParameterNV: .globl epoxy_glResetMinmax .type epoxy_glResetMinmax, %object; epoxy_glResetMinmax: .globl epoxy_glResetMinmaxEXT .type epoxy_glResetMinmaxEXT, %object; epoxy_glResetMinmaxEXT: .globl epoxy_glResizeBuffersMESA .type epoxy_glResizeBuffersMESA, %object; epoxy_glResizeBuffersMESA: .globl epoxy_glResolveDepthValuesNV .type epoxy_glResolveDepthValuesNV, %object; epoxy_glResolveDepthValuesNV: .globl epoxy_glResolveMultisampleFramebufferAPPLE .type epoxy_glResolveMultisampleFramebufferAPPLE, %object; epoxy_glResolveMultisampleFramebufferAPPLE: .globl epoxy_glResumeTransformFeedback .type epoxy_glResumeTransformFeedback, %object; epoxy_glResumeTransformFeedback: .globl epoxy_glResumeTransformFeedbackNV .type epoxy_glResumeTransformFeedbackNV, %object; epoxy_glResumeTransformFeedbackNV: .globl epoxy_glRotated .type epoxy_glRotated, %object; epoxy_glRotated: .globl epoxy_glRotatef .type epoxy_glRotatef, %object; epoxy_glRotatef: .globl epoxy_glRotatex .type epoxy_glRotatex, %object; epoxy_glRotatex: .globl epoxy_glRotatexOES .type epoxy_glRotatexOES, %object; epoxy_glRotatexOES: .globl epoxy_glSampleCoverage .type epoxy_glSampleCoverage, %object; epoxy_glSampleCoverage: .globl epoxy_glSampleCoverageARB .type epoxy_glSampleCoverageARB, %object; epoxy_glSampleCoverageARB: .globl epoxy_glSampleCoveragex .type epoxy_glSampleCoveragex, %object; epoxy_glSampleCoveragex: .globl epoxy_glSampleCoveragexOES .type epoxy_glSampleCoveragexOES, %object; epoxy_glSampleCoveragexOES: .globl epoxy_glSampleMapATI .type epoxy_glSampleMapATI, %object; epoxy_glSampleMapATI: .globl epoxy_glSampleMaskEXT .type epoxy_glSampleMaskEXT, %object; epoxy_glSampleMaskEXT: .globl epoxy_glSampleMaskIndexedNV .type epoxy_glSampleMaskIndexedNV, %object; epoxy_glSampleMaskIndexedNV: .globl epoxy_glSampleMaskSGIS .type epoxy_glSampleMaskSGIS, %object; epoxy_glSampleMaskSGIS: .globl epoxy_glSampleMaski .type epoxy_glSampleMaski, %object; epoxy_glSampleMaski: .globl epoxy_glSamplePatternEXT .type epoxy_glSamplePatternEXT, %object; epoxy_glSamplePatternEXT: .globl epoxy_glSamplePatternSGIS .type epoxy_glSamplePatternSGIS, %object; epoxy_glSamplePatternSGIS: .globl epoxy_glSamplerParameterIiv .type epoxy_glSamplerParameterIiv, %object; epoxy_glSamplerParameterIiv: .globl epoxy_glSamplerParameterIivEXT .type epoxy_glSamplerParameterIivEXT, %object; epoxy_glSamplerParameterIivEXT: .globl epoxy_glSamplerParameterIivOES .type epoxy_glSamplerParameterIivOES, %object; epoxy_glSamplerParameterIivOES: .globl epoxy_glSamplerParameterIuiv .type epoxy_glSamplerParameterIuiv, %object; epoxy_glSamplerParameterIuiv: .globl epoxy_glSamplerParameterIuivEXT .type epoxy_glSamplerParameterIuivEXT, %object; epoxy_glSamplerParameterIuivEXT: .globl epoxy_glSamplerParameterIuivOES .type epoxy_glSamplerParameterIuivOES, %object; epoxy_glSamplerParameterIuivOES: .globl epoxy_glSamplerParameterf .type epoxy_glSamplerParameterf, %object; epoxy_glSamplerParameterf: .globl epoxy_glSamplerParameterfv .type epoxy_glSamplerParameterfv, %object; epoxy_glSamplerParameterfv: .globl epoxy_glSamplerParameteri .type epoxy_glSamplerParameteri, %object; epoxy_glSamplerParameteri: .globl epoxy_glSamplerParameteriv .type epoxy_glSamplerParameteriv, %object; epoxy_glSamplerParameteriv: .globl epoxy_glScaled .type epoxy_glScaled, %object; epoxy_glScaled: .globl epoxy_glScalef .type epoxy_glScalef, %object; epoxy_glScalef: .globl epoxy_glScalex .type epoxy_glScalex, %object; epoxy_glScalex: .globl epoxy_glScalexOES .type epoxy_glScalexOES, %object; epoxy_glScalexOES: .globl epoxy_glScissor .type epoxy_glScissor, %object; epoxy_glScissor: .globl epoxy_glScissorArrayv .type epoxy_glScissorArrayv, %object; epoxy_glScissorArrayv: .globl epoxy_glScissorArrayvNV .type epoxy_glScissorArrayvNV, %object; epoxy_glScissorArrayvNV: .globl epoxy_glScissorArrayvOES .type epoxy_glScissorArrayvOES, %object; epoxy_glScissorArrayvOES: .globl epoxy_glScissorExclusiveArrayvNV .type epoxy_glScissorExclusiveArrayvNV, %object; epoxy_glScissorExclusiveArrayvNV: .globl epoxy_glScissorExclusiveNV .type epoxy_glScissorExclusiveNV, %object; epoxy_glScissorExclusiveNV: .globl epoxy_glScissorIndexed .type epoxy_glScissorIndexed, %object; epoxy_glScissorIndexed: .globl epoxy_glScissorIndexedNV .type epoxy_glScissorIndexedNV, %object; epoxy_glScissorIndexedNV: .globl epoxy_glScissorIndexedOES .type epoxy_glScissorIndexedOES, %object; epoxy_glScissorIndexedOES: .globl epoxy_glScissorIndexedv .type epoxy_glScissorIndexedv, %object; epoxy_glScissorIndexedv: .globl epoxy_glScissorIndexedvNV .type epoxy_glScissorIndexedvNV, %object; epoxy_glScissorIndexedvNV: .globl epoxy_glScissorIndexedvOES .type epoxy_glScissorIndexedvOES, %object; epoxy_glScissorIndexedvOES: .globl epoxy_glSecondaryColor3b .type epoxy_glSecondaryColor3b, %object; epoxy_glSecondaryColor3b: .globl epoxy_glSecondaryColor3bEXT .type epoxy_glSecondaryColor3bEXT, %object; epoxy_glSecondaryColor3bEXT: .globl epoxy_glSecondaryColor3bv .type epoxy_glSecondaryColor3bv, %object; epoxy_glSecondaryColor3bv: .globl epoxy_glSecondaryColor3bvEXT .type epoxy_glSecondaryColor3bvEXT, %object; epoxy_glSecondaryColor3bvEXT: .globl epoxy_glSecondaryColor3d .type epoxy_glSecondaryColor3d, %object; epoxy_glSecondaryColor3d: .globl epoxy_glSecondaryColor3dEXT .type epoxy_glSecondaryColor3dEXT, %object; epoxy_glSecondaryColor3dEXT: .globl epoxy_glSecondaryColor3dv .type epoxy_glSecondaryColor3dv, %object; epoxy_glSecondaryColor3dv: .globl epoxy_glSecondaryColor3dvEXT .type epoxy_glSecondaryColor3dvEXT, %object; epoxy_glSecondaryColor3dvEXT: .globl epoxy_glSecondaryColor3f .type epoxy_glSecondaryColor3f, %object; epoxy_glSecondaryColor3f: .globl epoxy_glSecondaryColor3fEXT .type epoxy_glSecondaryColor3fEXT, %object; epoxy_glSecondaryColor3fEXT: .globl epoxy_glSecondaryColor3fv .type epoxy_glSecondaryColor3fv, %object; epoxy_glSecondaryColor3fv: .globl epoxy_glSecondaryColor3fvEXT .type epoxy_glSecondaryColor3fvEXT, %object; epoxy_glSecondaryColor3fvEXT: .globl epoxy_glSecondaryColor3hNV .type epoxy_glSecondaryColor3hNV, %object; epoxy_glSecondaryColor3hNV: .globl epoxy_glSecondaryColor3hvNV .type epoxy_glSecondaryColor3hvNV, %object; epoxy_glSecondaryColor3hvNV: .globl epoxy_glSecondaryColor3i .type epoxy_glSecondaryColor3i, %object; epoxy_glSecondaryColor3i: .globl epoxy_glSecondaryColor3iEXT .type epoxy_glSecondaryColor3iEXT, %object; epoxy_glSecondaryColor3iEXT: .globl epoxy_glSecondaryColor3iv .type epoxy_glSecondaryColor3iv, %object; epoxy_glSecondaryColor3iv: .globl epoxy_glSecondaryColor3ivEXT .type epoxy_glSecondaryColor3ivEXT, %object; epoxy_glSecondaryColor3ivEXT: .globl epoxy_glSecondaryColor3s .type epoxy_glSecondaryColor3s, %object; epoxy_glSecondaryColor3s: .globl epoxy_glSecondaryColor3sEXT .type epoxy_glSecondaryColor3sEXT, %object; epoxy_glSecondaryColor3sEXT: .globl epoxy_glSecondaryColor3sv .type epoxy_glSecondaryColor3sv, %object; epoxy_glSecondaryColor3sv: .globl epoxy_glSecondaryColor3svEXT .type epoxy_glSecondaryColor3svEXT, %object; epoxy_glSecondaryColor3svEXT: .globl epoxy_glSecondaryColor3ub .type epoxy_glSecondaryColor3ub, %object; epoxy_glSecondaryColor3ub: .globl epoxy_glSecondaryColor3ubEXT .type epoxy_glSecondaryColor3ubEXT, %object; epoxy_glSecondaryColor3ubEXT: .globl epoxy_glSecondaryColor3ubv .type epoxy_glSecondaryColor3ubv, %object; epoxy_glSecondaryColor3ubv: .globl epoxy_glSecondaryColor3ubvEXT .type epoxy_glSecondaryColor3ubvEXT, %object; epoxy_glSecondaryColor3ubvEXT: .globl epoxy_glSecondaryColor3ui .type epoxy_glSecondaryColor3ui, %object; epoxy_glSecondaryColor3ui: .globl epoxy_glSecondaryColor3uiEXT .type epoxy_glSecondaryColor3uiEXT, %object; epoxy_glSecondaryColor3uiEXT: .globl epoxy_glSecondaryColor3uiv .type epoxy_glSecondaryColor3uiv, %object; epoxy_glSecondaryColor3uiv: .globl epoxy_glSecondaryColor3uivEXT .type epoxy_glSecondaryColor3uivEXT, %object; epoxy_glSecondaryColor3uivEXT: .globl epoxy_glSecondaryColor3us .type epoxy_glSecondaryColor3us, %object; epoxy_glSecondaryColor3us: .globl epoxy_glSecondaryColor3usEXT .type epoxy_glSecondaryColor3usEXT, %object; epoxy_glSecondaryColor3usEXT: .globl epoxy_glSecondaryColor3usv .type epoxy_glSecondaryColor3usv, %object; epoxy_glSecondaryColor3usv: .globl epoxy_glSecondaryColor3usvEXT .type epoxy_glSecondaryColor3usvEXT, %object; epoxy_glSecondaryColor3usvEXT: .globl epoxy_glSecondaryColorFormatNV .type epoxy_glSecondaryColorFormatNV, %object; epoxy_glSecondaryColorFormatNV: .globl epoxy_glSecondaryColorP3ui .type epoxy_glSecondaryColorP3ui, %object; epoxy_glSecondaryColorP3ui: .globl epoxy_glSecondaryColorP3uiv .type epoxy_glSecondaryColorP3uiv, %object; epoxy_glSecondaryColorP3uiv: .globl epoxy_glSecondaryColorPointer .type epoxy_glSecondaryColorPointer, %object; epoxy_glSecondaryColorPointer: .globl epoxy_glSecondaryColorPointerEXT .type epoxy_glSecondaryColorPointerEXT, %object; epoxy_glSecondaryColorPointerEXT: .globl epoxy_glSecondaryColorPointerListIBM .type epoxy_glSecondaryColorPointerListIBM, %object; epoxy_glSecondaryColorPointerListIBM: .globl epoxy_glSelectBuffer .type epoxy_glSelectBuffer, %object; epoxy_glSelectBuffer: .globl epoxy_glSelectPerfMonitorCountersAMD .type epoxy_glSelectPerfMonitorCountersAMD, %object; epoxy_glSelectPerfMonitorCountersAMD: .globl epoxy_glSemaphoreParameterui64vEXT .type epoxy_glSemaphoreParameterui64vEXT, %object; epoxy_glSemaphoreParameterui64vEXT: .globl epoxy_glSeparableFilter2D .type epoxy_glSeparableFilter2D, %object; epoxy_glSeparableFilter2D: .globl epoxy_glSeparableFilter2DEXT .type epoxy_glSeparableFilter2DEXT, %object; epoxy_glSeparableFilter2DEXT: .globl epoxy_glSetFenceAPPLE .type epoxy_glSetFenceAPPLE, %object; epoxy_glSetFenceAPPLE: .globl epoxy_glSetFenceNV .type epoxy_glSetFenceNV, %object; epoxy_glSetFenceNV: .globl epoxy_glSetFragmentShaderConstantATI .type epoxy_glSetFragmentShaderConstantATI, %object; epoxy_glSetFragmentShaderConstantATI: .globl epoxy_glSetInvariantEXT .type epoxy_glSetInvariantEXT, %object; epoxy_glSetInvariantEXT: .globl epoxy_glSetLocalConstantEXT .type epoxy_glSetLocalConstantEXT, %object; epoxy_glSetLocalConstantEXT: .globl epoxy_glSetMultisamplefvAMD .type epoxy_glSetMultisamplefvAMD, %object; epoxy_glSetMultisamplefvAMD: .globl epoxy_glShadeModel .type epoxy_glShadeModel, %object; epoxy_glShadeModel: .globl epoxy_glShaderBinary .type epoxy_glShaderBinary, %object; epoxy_glShaderBinary: .globl epoxy_glShaderOp1EXT .type epoxy_glShaderOp1EXT, %object; epoxy_glShaderOp1EXT: .globl epoxy_glShaderOp2EXT .type epoxy_glShaderOp2EXT, %object; epoxy_glShaderOp2EXT: .globl epoxy_glShaderOp3EXT .type epoxy_glShaderOp3EXT, %object; epoxy_glShaderOp3EXT: .globl epoxy_glShaderSource .type epoxy_glShaderSource, %object; epoxy_glShaderSource: .globl epoxy_glShaderSourceARB .type epoxy_glShaderSourceARB, %object; epoxy_glShaderSourceARB: .globl epoxy_glShaderStorageBlockBinding .type epoxy_glShaderStorageBlockBinding, %object; epoxy_glShaderStorageBlockBinding: .globl epoxy_glShadingRateImageBarrierNV .type epoxy_glShadingRateImageBarrierNV, %object; epoxy_glShadingRateImageBarrierNV: .globl epoxy_glShadingRateImagePaletteNV .type epoxy_glShadingRateImagePaletteNV, %object; epoxy_glShadingRateImagePaletteNV: .globl epoxy_glShadingRateSampleOrderCustomNV .type epoxy_glShadingRateSampleOrderCustomNV, %object; epoxy_glShadingRateSampleOrderCustomNV: .globl epoxy_glShadingRateSampleOrderNV .type epoxy_glShadingRateSampleOrderNV, %object; epoxy_glShadingRateSampleOrderNV: .globl epoxy_glSharpenTexFuncSGIS .type epoxy_glSharpenTexFuncSGIS, %object; epoxy_glSharpenTexFuncSGIS: .globl epoxy_glSignalSemaphoreEXT .type epoxy_glSignalSemaphoreEXT, %object; epoxy_glSignalSemaphoreEXT: .globl epoxy_glSignalSemaphoreui64NVX .type epoxy_glSignalSemaphoreui64NVX, %object; epoxy_glSignalSemaphoreui64NVX: .globl epoxy_glSignalVkFenceNV .type epoxy_glSignalVkFenceNV, %object; epoxy_glSignalVkFenceNV: .globl epoxy_glSignalVkSemaphoreNV .type epoxy_glSignalVkSemaphoreNV, %object; epoxy_glSignalVkSemaphoreNV: .globl epoxy_glSpecializeShader .type epoxy_glSpecializeShader, %object; epoxy_glSpecializeShader: .globl epoxy_glSpecializeShaderARB .type epoxy_glSpecializeShaderARB, %object; epoxy_glSpecializeShaderARB: .globl epoxy_glSpriteParameterfSGIX .type epoxy_glSpriteParameterfSGIX, %object; epoxy_glSpriteParameterfSGIX: .globl epoxy_glSpriteParameterfvSGIX .type epoxy_glSpriteParameterfvSGIX, %object; epoxy_glSpriteParameterfvSGIX: .globl epoxy_glSpriteParameteriSGIX .type epoxy_glSpriteParameteriSGIX, %object; epoxy_glSpriteParameteriSGIX: .globl epoxy_glSpriteParameterivSGIX .type epoxy_glSpriteParameterivSGIX, %object; epoxy_glSpriteParameterivSGIX: .globl epoxy_glStartInstrumentsSGIX .type epoxy_glStartInstrumentsSGIX, %object; epoxy_glStartInstrumentsSGIX: .globl epoxy_glStartTilingQCOM .type epoxy_glStartTilingQCOM, %object; epoxy_glStartTilingQCOM: .globl epoxy_glStateCaptureNV .type epoxy_glStateCaptureNV, %object; epoxy_glStateCaptureNV: .globl epoxy_glStencilClearTagEXT .type epoxy_glStencilClearTagEXT, %object; epoxy_glStencilClearTagEXT: .globl epoxy_glStencilFillPathInstancedNV .type epoxy_glStencilFillPathInstancedNV, %object; epoxy_glStencilFillPathInstancedNV: .globl epoxy_glStencilFillPathNV .type epoxy_glStencilFillPathNV, %object; epoxy_glStencilFillPathNV: .globl epoxy_glStencilFunc .type epoxy_glStencilFunc, %object; epoxy_glStencilFunc: .globl epoxy_glStencilFuncSeparate .type epoxy_glStencilFuncSeparate, %object; epoxy_glStencilFuncSeparate: .globl epoxy_glStencilFuncSeparateATI .type epoxy_glStencilFuncSeparateATI, %object; epoxy_glStencilFuncSeparateATI: .globl epoxy_glStencilMask .type epoxy_glStencilMask, %object; epoxy_glStencilMask: .globl epoxy_glStencilMaskSeparate .type epoxy_glStencilMaskSeparate, %object; epoxy_glStencilMaskSeparate: .globl epoxy_glStencilOp .type epoxy_glStencilOp, %object; epoxy_glStencilOp: .globl epoxy_glStencilOpSeparate .type epoxy_glStencilOpSeparate, %object; epoxy_glStencilOpSeparate: .globl epoxy_glStencilOpSeparateATI .type epoxy_glStencilOpSeparateATI, %object; epoxy_glStencilOpSeparateATI: .globl epoxy_glStencilOpValueAMD .type epoxy_glStencilOpValueAMD, %object; epoxy_glStencilOpValueAMD: .globl epoxy_glStencilStrokePathInstancedNV .type epoxy_glStencilStrokePathInstancedNV, %object; epoxy_glStencilStrokePathInstancedNV: .globl epoxy_glStencilStrokePathNV .type epoxy_glStencilStrokePathNV, %object; epoxy_glStencilStrokePathNV: .globl epoxy_glStencilThenCoverFillPathInstancedNV .type epoxy_glStencilThenCoverFillPathInstancedNV, %object; epoxy_glStencilThenCoverFillPathInstancedNV: .globl epoxy_glStencilThenCoverFillPathNV .type epoxy_glStencilThenCoverFillPathNV, %object; epoxy_glStencilThenCoverFillPathNV: .globl epoxy_glStencilThenCoverStrokePathInstancedNV .type epoxy_glStencilThenCoverStrokePathInstancedNV, %object; epoxy_glStencilThenCoverStrokePathInstancedNV: .globl epoxy_glStencilThenCoverStrokePathNV .type epoxy_glStencilThenCoverStrokePathNV, %object; epoxy_glStencilThenCoverStrokePathNV: .globl epoxy_glStopInstrumentsSGIX .type epoxy_glStopInstrumentsSGIX, %object; epoxy_glStopInstrumentsSGIX: .globl epoxy_glStringMarkerGREMEDY .type epoxy_glStringMarkerGREMEDY, %object; epoxy_glStringMarkerGREMEDY: .globl epoxy_glSubpixelPrecisionBiasNV .type epoxy_glSubpixelPrecisionBiasNV, %object; epoxy_glSubpixelPrecisionBiasNV: .globl epoxy_glSwizzleEXT .type epoxy_glSwizzleEXT, %object; epoxy_glSwizzleEXT: .globl epoxy_glSyncTextureINTEL .type epoxy_glSyncTextureINTEL, %object; epoxy_glSyncTextureINTEL: .globl epoxy_glTagSampleBufferSGIX .type epoxy_glTagSampleBufferSGIX, %object; epoxy_glTagSampleBufferSGIX: .globl epoxy_glTangent3bEXT .type epoxy_glTangent3bEXT, %object; epoxy_glTangent3bEXT: .globl epoxy_glTangent3bvEXT .type epoxy_glTangent3bvEXT, %object; epoxy_glTangent3bvEXT: .globl epoxy_glTangent3dEXT .type epoxy_glTangent3dEXT, %object; epoxy_glTangent3dEXT: .globl epoxy_glTangent3dvEXT .type epoxy_glTangent3dvEXT, %object; epoxy_glTangent3dvEXT: .globl epoxy_glTangent3fEXT .type epoxy_glTangent3fEXT, %object; epoxy_glTangent3fEXT: .globl epoxy_glTangent3fvEXT .type epoxy_glTangent3fvEXT, %object; epoxy_glTangent3fvEXT: .globl epoxy_glTangent3iEXT .type epoxy_glTangent3iEXT, %object; epoxy_glTangent3iEXT: .globl epoxy_glTangent3ivEXT .type epoxy_glTangent3ivEXT, %object; epoxy_glTangent3ivEXT: .globl epoxy_glTangent3sEXT .type epoxy_glTangent3sEXT, %object; epoxy_glTangent3sEXT: .globl epoxy_glTangent3svEXT .type epoxy_glTangent3svEXT, %object; epoxy_glTangent3svEXT: .globl epoxy_glTangentPointerEXT .type epoxy_glTangentPointerEXT, %object; epoxy_glTangentPointerEXT: .globl epoxy_glTbufferMask3DFX .type epoxy_glTbufferMask3DFX, %object; epoxy_glTbufferMask3DFX: .globl epoxy_glTessellationFactorAMD .type epoxy_glTessellationFactorAMD, %object; epoxy_glTessellationFactorAMD: .globl epoxy_glTessellationModeAMD .type epoxy_glTessellationModeAMD, %object; epoxy_glTessellationModeAMD: .globl epoxy_glTestFenceAPPLE .type epoxy_glTestFenceAPPLE, %object; epoxy_glTestFenceAPPLE: .globl epoxy_glTestFenceNV .type epoxy_glTestFenceNV, %object; epoxy_glTestFenceNV: .globl epoxy_glTestObjectAPPLE .type epoxy_glTestObjectAPPLE, %object; epoxy_glTestObjectAPPLE: .globl epoxy_glTexAttachMemoryNV .type epoxy_glTexAttachMemoryNV, %object; epoxy_glTexAttachMemoryNV: .globl epoxy_glTexBuffer .type epoxy_glTexBuffer, %object; epoxy_glTexBuffer: .globl epoxy_glTexBufferARB .type epoxy_glTexBufferARB, %object; epoxy_glTexBufferARB: .globl epoxy_glTexBufferEXT .type epoxy_glTexBufferEXT, %object; epoxy_glTexBufferEXT: .globl epoxy_glTexBufferOES .type epoxy_glTexBufferOES, %object; epoxy_glTexBufferOES: .globl epoxy_glTexBufferRange .type epoxy_glTexBufferRange, %object; epoxy_glTexBufferRange: .globl epoxy_glTexBufferRangeEXT .type epoxy_glTexBufferRangeEXT, %object; epoxy_glTexBufferRangeEXT: .globl epoxy_glTexBufferRangeOES .type epoxy_glTexBufferRangeOES, %object; epoxy_glTexBufferRangeOES: .globl epoxy_glTexBumpParameterfvATI .type epoxy_glTexBumpParameterfvATI, %object; epoxy_glTexBumpParameterfvATI: .globl epoxy_glTexBumpParameterivATI .type epoxy_glTexBumpParameterivATI, %object; epoxy_glTexBumpParameterivATI: .globl epoxy_glTexCoord1bOES .type epoxy_glTexCoord1bOES, %object; epoxy_glTexCoord1bOES: .globl epoxy_glTexCoord1bvOES .type epoxy_glTexCoord1bvOES, %object; epoxy_glTexCoord1bvOES: .globl epoxy_glTexCoord1d .type epoxy_glTexCoord1d, %object; epoxy_glTexCoord1d: .globl epoxy_glTexCoord1dv .type epoxy_glTexCoord1dv, %object; epoxy_glTexCoord1dv: .globl epoxy_glTexCoord1f .type epoxy_glTexCoord1f, %object; epoxy_glTexCoord1f: .globl epoxy_glTexCoord1fv .type epoxy_glTexCoord1fv, %object; epoxy_glTexCoord1fv: .globl epoxy_glTexCoord1hNV .type epoxy_glTexCoord1hNV, %object; epoxy_glTexCoord1hNV: .globl epoxy_glTexCoord1hvNV .type epoxy_glTexCoord1hvNV, %object; epoxy_glTexCoord1hvNV: .globl epoxy_glTexCoord1i .type epoxy_glTexCoord1i, %object; epoxy_glTexCoord1i: .globl epoxy_glTexCoord1iv .type epoxy_glTexCoord1iv, %object; epoxy_glTexCoord1iv: .globl epoxy_glTexCoord1s .type epoxy_glTexCoord1s, %object; epoxy_glTexCoord1s: .globl epoxy_glTexCoord1sv .type epoxy_glTexCoord1sv, %object; epoxy_glTexCoord1sv: .globl epoxy_glTexCoord1xOES .type epoxy_glTexCoord1xOES, %object; epoxy_glTexCoord1xOES: .globl epoxy_glTexCoord1xvOES .type epoxy_glTexCoord1xvOES, %object; epoxy_glTexCoord1xvOES: .globl epoxy_glTexCoord2bOES .type epoxy_glTexCoord2bOES, %object; epoxy_glTexCoord2bOES: .globl epoxy_glTexCoord2bvOES .type epoxy_glTexCoord2bvOES, %object; epoxy_glTexCoord2bvOES: .globl epoxy_glTexCoord2d .type epoxy_glTexCoord2d, %object; epoxy_glTexCoord2d: .globl epoxy_glTexCoord2dv .type epoxy_glTexCoord2dv, %object; epoxy_glTexCoord2dv: .globl epoxy_glTexCoord2f .type epoxy_glTexCoord2f, %object; epoxy_glTexCoord2f: .globl epoxy_glTexCoord2fColor3fVertex3fSUN .type epoxy_glTexCoord2fColor3fVertex3fSUN, %object; epoxy_glTexCoord2fColor3fVertex3fSUN: .globl epoxy_glTexCoord2fColor3fVertex3fvSUN .type epoxy_glTexCoord2fColor3fVertex3fvSUN, %object; epoxy_glTexCoord2fColor3fVertex3fvSUN: .globl epoxy_glTexCoord2fColor4fNormal3fVertex3fSUN .type epoxy_glTexCoord2fColor4fNormal3fVertex3fSUN, %object; epoxy_glTexCoord2fColor4fNormal3fVertex3fSUN: .globl epoxy_glTexCoord2fColor4fNormal3fVertex3fvSUN .type epoxy_glTexCoord2fColor4fNormal3fVertex3fvSUN, %object; epoxy_glTexCoord2fColor4fNormal3fVertex3fvSUN: .globl epoxy_glTexCoord2fColor4ubVertex3fSUN .type epoxy_glTexCoord2fColor4ubVertex3fSUN, %object; epoxy_glTexCoord2fColor4ubVertex3fSUN: .globl epoxy_glTexCoord2fColor4ubVertex3fvSUN .type epoxy_glTexCoord2fColor4ubVertex3fvSUN, %object; epoxy_glTexCoord2fColor4ubVertex3fvSUN: .globl epoxy_glTexCoord2fNormal3fVertex3fSUN .type epoxy_glTexCoord2fNormal3fVertex3fSUN, %object; epoxy_glTexCoord2fNormal3fVertex3fSUN: .globl epoxy_glTexCoord2fNormal3fVertex3fvSUN .type epoxy_glTexCoord2fNormal3fVertex3fvSUN, %object; epoxy_glTexCoord2fNormal3fVertex3fvSUN: .globl epoxy_glTexCoord2fVertex3fSUN .type epoxy_glTexCoord2fVertex3fSUN, %object; epoxy_glTexCoord2fVertex3fSUN: .globl epoxy_glTexCoord2fVertex3fvSUN .type epoxy_glTexCoord2fVertex3fvSUN, %object; epoxy_glTexCoord2fVertex3fvSUN: .globl epoxy_glTexCoord2fv .type epoxy_glTexCoord2fv, %object; epoxy_glTexCoord2fv: .globl epoxy_glTexCoord2hNV .type epoxy_glTexCoord2hNV, %object; epoxy_glTexCoord2hNV: .globl epoxy_glTexCoord2hvNV .type epoxy_glTexCoord2hvNV, %object; epoxy_glTexCoord2hvNV: .globl epoxy_glTexCoord2i .type epoxy_glTexCoord2i, %object; epoxy_glTexCoord2i: .globl epoxy_glTexCoord2iv .type epoxy_glTexCoord2iv, %object; epoxy_glTexCoord2iv: .globl epoxy_glTexCoord2s .type epoxy_glTexCoord2s, %object; epoxy_glTexCoord2s: .globl epoxy_glTexCoord2sv .type epoxy_glTexCoord2sv, %object; epoxy_glTexCoord2sv: .globl epoxy_glTexCoord2xOES .type epoxy_glTexCoord2xOES, %object; epoxy_glTexCoord2xOES: .globl epoxy_glTexCoord2xvOES .type epoxy_glTexCoord2xvOES, %object; epoxy_glTexCoord2xvOES: .globl epoxy_glTexCoord3bOES .type epoxy_glTexCoord3bOES, %object; epoxy_glTexCoord3bOES: .globl epoxy_glTexCoord3bvOES .type epoxy_glTexCoord3bvOES, %object; epoxy_glTexCoord3bvOES: .globl epoxy_glTexCoord3d .type epoxy_glTexCoord3d, %object; epoxy_glTexCoord3d: .globl epoxy_glTexCoord3dv .type epoxy_glTexCoord3dv, %object; epoxy_glTexCoord3dv: .globl epoxy_glTexCoord3f .type epoxy_glTexCoord3f, %object; epoxy_glTexCoord3f: .globl epoxy_glTexCoord3fv .type epoxy_glTexCoord3fv, %object; epoxy_glTexCoord3fv: .globl epoxy_glTexCoord3hNV .type epoxy_glTexCoord3hNV, %object; epoxy_glTexCoord3hNV: .globl epoxy_glTexCoord3hvNV .type epoxy_glTexCoord3hvNV, %object; epoxy_glTexCoord3hvNV: .globl epoxy_glTexCoord3i .type epoxy_glTexCoord3i, %object; epoxy_glTexCoord3i: .globl epoxy_glTexCoord3iv .type epoxy_glTexCoord3iv, %object; epoxy_glTexCoord3iv: .globl epoxy_glTexCoord3s .type epoxy_glTexCoord3s, %object; epoxy_glTexCoord3s: .globl epoxy_glTexCoord3sv .type epoxy_glTexCoord3sv, %object; epoxy_glTexCoord3sv: .globl epoxy_glTexCoord3xOES .type epoxy_glTexCoord3xOES, %object; epoxy_glTexCoord3xOES: .globl epoxy_glTexCoord3xvOES .type epoxy_glTexCoord3xvOES, %object; epoxy_glTexCoord3xvOES: .globl epoxy_glTexCoord4bOES .type epoxy_glTexCoord4bOES, %object; epoxy_glTexCoord4bOES: .globl epoxy_glTexCoord4bvOES .type epoxy_glTexCoord4bvOES, %object; epoxy_glTexCoord4bvOES: .globl epoxy_glTexCoord4d .type epoxy_glTexCoord4d, %object; epoxy_glTexCoord4d: .globl epoxy_glTexCoord4dv .type epoxy_glTexCoord4dv, %object; epoxy_glTexCoord4dv: .globl epoxy_glTexCoord4f .type epoxy_glTexCoord4f, %object; epoxy_glTexCoord4f: .globl epoxy_glTexCoord4fColor4fNormal3fVertex4fSUN .type epoxy_glTexCoord4fColor4fNormal3fVertex4fSUN, %object; epoxy_glTexCoord4fColor4fNormal3fVertex4fSUN: .globl epoxy_glTexCoord4fColor4fNormal3fVertex4fvSUN .type epoxy_glTexCoord4fColor4fNormal3fVertex4fvSUN, %object; epoxy_glTexCoord4fColor4fNormal3fVertex4fvSUN: .globl epoxy_glTexCoord4fVertex4fSUN .type epoxy_glTexCoord4fVertex4fSUN, %object; epoxy_glTexCoord4fVertex4fSUN: .globl epoxy_glTexCoord4fVertex4fvSUN .type epoxy_glTexCoord4fVertex4fvSUN, %object; epoxy_glTexCoord4fVertex4fvSUN: .globl epoxy_glTexCoord4fv .type epoxy_glTexCoord4fv, %object; epoxy_glTexCoord4fv: .globl epoxy_glTexCoord4hNV .type epoxy_glTexCoord4hNV, %object; epoxy_glTexCoord4hNV: .globl epoxy_glTexCoord4hvNV .type epoxy_glTexCoord4hvNV, %object; epoxy_glTexCoord4hvNV: .globl epoxy_glTexCoord4i .type epoxy_glTexCoord4i, %object; epoxy_glTexCoord4i: .globl epoxy_glTexCoord4iv .type epoxy_glTexCoord4iv, %object; epoxy_glTexCoord4iv: .globl epoxy_glTexCoord4s .type epoxy_glTexCoord4s, %object; epoxy_glTexCoord4s: .globl epoxy_glTexCoord4sv .type epoxy_glTexCoord4sv, %object; epoxy_glTexCoord4sv: .globl epoxy_glTexCoord4xOES .type epoxy_glTexCoord4xOES, %object; epoxy_glTexCoord4xOES: .globl epoxy_glTexCoord4xvOES .type epoxy_glTexCoord4xvOES, %object; epoxy_glTexCoord4xvOES: .globl epoxy_glTexCoordFormatNV .type epoxy_glTexCoordFormatNV, %object; epoxy_glTexCoordFormatNV: .globl epoxy_glTexCoordP1ui .type epoxy_glTexCoordP1ui, %object; epoxy_glTexCoordP1ui: .globl epoxy_glTexCoordP1uiv .type epoxy_glTexCoordP1uiv, %object; epoxy_glTexCoordP1uiv: .globl epoxy_glTexCoordP2ui .type epoxy_glTexCoordP2ui, %object; epoxy_glTexCoordP2ui: .globl epoxy_glTexCoordP2uiv .type epoxy_glTexCoordP2uiv, %object; epoxy_glTexCoordP2uiv: .globl epoxy_glTexCoordP3ui .type epoxy_glTexCoordP3ui, %object; epoxy_glTexCoordP3ui: .globl epoxy_glTexCoordP3uiv .type epoxy_glTexCoordP3uiv, %object; epoxy_glTexCoordP3uiv: .globl epoxy_glTexCoordP4ui .type epoxy_glTexCoordP4ui, %object; epoxy_glTexCoordP4ui: .globl epoxy_glTexCoordP4uiv .type epoxy_glTexCoordP4uiv, %object; epoxy_glTexCoordP4uiv: .globl epoxy_glTexCoordPointer .type epoxy_glTexCoordPointer, %object; epoxy_glTexCoordPointer: .globl epoxy_glTexCoordPointerEXT .type epoxy_glTexCoordPointerEXT, %object; epoxy_glTexCoordPointerEXT: .globl epoxy_glTexCoordPointerListIBM .type epoxy_glTexCoordPointerListIBM, %object; epoxy_glTexCoordPointerListIBM: .globl epoxy_glTexCoordPointervINTEL .type epoxy_glTexCoordPointervINTEL, %object; epoxy_glTexCoordPointervINTEL: .globl epoxy_glTexEnvf .type epoxy_glTexEnvf, %object; epoxy_glTexEnvf: .globl epoxy_glTexEnvfv .type epoxy_glTexEnvfv, %object; epoxy_glTexEnvfv: .globl epoxy_glTexEnvi .type epoxy_glTexEnvi, %object; epoxy_glTexEnvi: .globl epoxy_glTexEnviv .type epoxy_glTexEnviv, %object; epoxy_glTexEnviv: .globl epoxy_glTexEnvx .type epoxy_glTexEnvx, %object; epoxy_glTexEnvx: .globl epoxy_glTexEnvxOES .type epoxy_glTexEnvxOES, %object; epoxy_glTexEnvxOES: .globl epoxy_glTexEnvxv .type epoxy_glTexEnvxv, %object; epoxy_glTexEnvxv: .globl epoxy_glTexEnvxvOES .type epoxy_glTexEnvxvOES, %object; epoxy_glTexEnvxvOES: .globl epoxy_glTexFilterFuncSGIS .type epoxy_glTexFilterFuncSGIS, %object; epoxy_glTexFilterFuncSGIS: .globl epoxy_glTexGend .type epoxy_glTexGend, %object; epoxy_glTexGend: .globl epoxy_glTexGendv .type epoxy_glTexGendv, %object; epoxy_glTexGendv: .globl epoxy_glTexGenf .type epoxy_glTexGenf, %object; epoxy_glTexGenf: .globl epoxy_glTexGenfOES .type epoxy_glTexGenfOES, %object; epoxy_glTexGenfOES: .globl epoxy_glTexGenfv .type epoxy_glTexGenfv, %object; epoxy_glTexGenfv: .globl epoxy_glTexGenfvOES .type epoxy_glTexGenfvOES, %object; epoxy_glTexGenfvOES: .globl epoxy_glTexGeni .type epoxy_glTexGeni, %object; epoxy_glTexGeni: .globl epoxy_glTexGeniOES .type epoxy_glTexGeniOES, %object; epoxy_glTexGeniOES: .globl epoxy_glTexGeniv .type epoxy_glTexGeniv, %object; epoxy_glTexGeniv: .globl epoxy_glTexGenivOES .type epoxy_glTexGenivOES, %object; epoxy_glTexGenivOES: .globl epoxy_glTexGenxOES .type epoxy_glTexGenxOES, %object; epoxy_glTexGenxOES: .globl epoxy_glTexGenxvOES .type epoxy_glTexGenxvOES, %object; epoxy_glTexGenxvOES: .globl epoxy_glTexImage1D .type epoxy_glTexImage1D, %object; epoxy_glTexImage1D: .globl epoxy_glTexImage2D .type epoxy_glTexImage2D, %object; epoxy_glTexImage2D: .globl epoxy_glTexImage2DMultisample .type epoxy_glTexImage2DMultisample, %object; epoxy_glTexImage2DMultisample: .globl epoxy_glTexImage2DMultisampleCoverageNV .type epoxy_glTexImage2DMultisampleCoverageNV, %object; epoxy_glTexImage2DMultisampleCoverageNV: .globl epoxy_glTexImage3D .type epoxy_glTexImage3D, %object; epoxy_glTexImage3D: .globl epoxy_glTexImage3DEXT .type epoxy_glTexImage3DEXT, %object; epoxy_glTexImage3DEXT: .globl epoxy_glTexImage3DMultisample .type epoxy_glTexImage3DMultisample, %object; epoxy_glTexImage3DMultisample: .globl epoxy_glTexImage3DMultisampleCoverageNV .type epoxy_glTexImage3DMultisampleCoverageNV, %object; epoxy_glTexImage3DMultisampleCoverageNV: .globl epoxy_glTexImage3DOES .type epoxy_glTexImage3DOES, %object; epoxy_glTexImage3DOES: .globl epoxy_glTexImage4DSGIS .type epoxy_glTexImage4DSGIS, %object; epoxy_glTexImage4DSGIS: .globl epoxy_glTexPageCommitmentARB .type epoxy_glTexPageCommitmentARB, %object; epoxy_glTexPageCommitmentARB: .globl epoxy_glTexPageCommitmentEXT .type epoxy_glTexPageCommitmentEXT, %object; epoxy_glTexPageCommitmentEXT: .globl epoxy_glTexParameterIiv .type epoxy_glTexParameterIiv, %object; epoxy_glTexParameterIiv: .globl epoxy_glTexParameterIivEXT .type epoxy_glTexParameterIivEXT, %object; epoxy_glTexParameterIivEXT: .globl epoxy_glTexParameterIivOES .type epoxy_glTexParameterIivOES, %object; epoxy_glTexParameterIivOES: .globl epoxy_glTexParameterIuiv .type epoxy_glTexParameterIuiv, %object; epoxy_glTexParameterIuiv: .globl epoxy_glTexParameterIuivEXT .type epoxy_glTexParameterIuivEXT, %object; epoxy_glTexParameterIuivEXT: .globl epoxy_glTexParameterIuivOES .type epoxy_glTexParameterIuivOES, %object; epoxy_glTexParameterIuivOES: .globl epoxy_glTexParameterf .type epoxy_glTexParameterf, %object; epoxy_glTexParameterf: .globl epoxy_glTexParameterfv .type epoxy_glTexParameterfv, %object; epoxy_glTexParameterfv: .globl epoxy_glTexParameteri .type epoxy_glTexParameteri, %object; epoxy_glTexParameteri: .globl epoxy_glTexParameteriv .type epoxy_glTexParameteriv, %object; epoxy_glTexParameteriv: .globl epoxy_glTexParameterx .type epoxy_glTexParameterx, %object; epoxy_glTexParameterx: .globl epoxy_glTexParameterxOES .type epoxy_glTexParameterxOES, %object; epoxy_glTexParameterxOES: .globl epoxy_glTexParameterxv .type epoxy_glTexParameterxv, %object; epoxy_glTexParameterxv: .globl epoxy_glTexParameterxvOES .type epoxy_glTexParameterxvOES, %object; epoxy_glTexParameterxvOES: .globl epoxy_glTexRenderbufferNV .type epoxy_glTexRenderbufferNV, %object; epoxy_glTexRenderbufferNV: .globl epoxy_glTexStorage1D .type epoxy_glTexStorage1D, %object; epoxy_glTexStorage1D: .globl epoxy_glTexStorage1DEXT .type epoxy_glTexStorage1DEXT, %object; epoxy_glTexStorage1DEXT: .globl epoxy_glTexStorage2D .type epoxy_glTexStorage2D, %object; epoxy_glTexStorage2D: .globl epoxy_glTexStorage2DEXT .type epoxy_glTexStorage2DEXT, %object; epoxy_glTexStorage2DEXT: .globl epoxy_glTexStorage2DMultisample .type epoxy_glTexStorage2DMultisample, %object; epoxy_glTexStorage2DMultisample: .globl epoxy_glTexStorage3D .type epoxy_glTexStorage3D, %object; epoxy_glTexStorage3D: .globl epoxy_glTexStorage3DEXT .type epoxy_glTexStorage3DEXT, %object; epoxy_glTexStorage3DEXT: .globl epoxy_glTexStorage3DMultisample .type epoxy_glTexStorage3DMultisample, %object; epoxy_glTexStorage3DMultisample: .globl epoxy_glTexStorage3DMultisampleOES .type epoxy_glTexStorage3DMultisampleOES, %object; epoxy_glTexStorage3DMultisampleOES: .globl epoxy_glTexStorageMem1DEXT .type epoxy_glTexStorageMem1DEXT, %object; epoxy_glTexStorageMem1DEXT: .globl epoxy_glTexStorageMem2DEXT .type epoxy_glTexStorageMem2DEXT, %object; epoxy_glTexStorageMem2DEXT: .globl epoxy_glTexStorageMem2DMultisampleEXT .type epoxy_glTexStorageMem2DMultisampleEXT, %object; epoxy_glTexStorageMem2DMultisampleEXT: .globl epoxy_glTexStorageMem3DEXT .type epoxy_glTexStorageMem3DEXT, %object; epoxy_glTexStorageMem3DEXT: .globl epoxy_glTexStorageMem3DMultisampleEXT .type epoxy_glTexStorageMem3DMultisampleEXT, %object; epoxy_glTexStorageMem3DMultisampleEXT: .globl epoxy_glTexStorageSparseAMD .type epoxy_glTexStorageSparseAMD, %object; epoxy_glTexStorageSparseAMD: .globl epoxy_glTexSubImage1D .type epoxy_glTexSubImage1D, %object; epoxy_glTexSubImage1D: .globl epoxy_glTexSubImage1DEXT .type epoxy_glTexSubImage1DEXT, %object; epoxy_glTexSubImage1DEXT: .globl epoxy_glTexSubImage2D .type epoxy_glTexSubImage2D, %object; epoxy_glTexSubImage2D: .globl epoxy_glTexSubImage2DEXT .type epoxy_glTexSubImage2DEXT, %object; epoxy_glTexSubImage2DEXT: .globl epoxy_glTexSubImage3D .type epoxy_glTexSubImage3D, %object; epoxy_glTexSubImage3D: .globl epoxy_glTexSubImage3DEXT .type epoxy_glTexSubImage3DEXT, %object; epoxy_glTexSubImage3DEXT: .globl epoxy_glTexSubImage3DOES .type epoxy_glTexSubImage3DOES, %object; epoxy_glTexSubImage3DOES: .globl epoxy_glTexSubImage4DSGIS .type epoxy_glTexSubImage4DSGIS, %object; epoxy_glTexSubImage4DSGIS: .globl epoxy_glTextureAttachMemoryNV .type epoxy_glTextureAttachMemoryNV, %object; epoxy_glTextureAttachMemoryNV: .globl epoxy_glTextureBarrier .type epoxy_glTextureBarrier, %object; epoxy_glTextureBarrier: .globl epoxy_glTextureBarrierNV .type epoxy_glTextureBarrierNV, %object; epoxy_glTextureBarrierNV: .globl epoxy_glTextureBuffer .type epoxy_glTextureBuffer, %object; epoxy_glTextureBuffer: .globl epoxy_glTextureBufferEXT .type epoxy_glTextureBufferEXT, %object; epoxy_glTextureBufferEXT: .globl epoxy_glTextureBufferRange .type epoxy_glTextureBufferRange, %object; epoxy_glTextureBufferRange: .globl epoxy_glTextureBufferRangeEXT .type epoxy_glTextureBufferRangeEXT, %object; epoxy_glTextureBufferRangeEXT: .globl epoxy_glTextureColorMaskSGIS .type epoxy_glTextureColorMaskSGIS, %object; epoxy_glTextureColorMaskSGIS: .globl epoxy_glTextureFoveationParametersQCOM .type epoxy_glTextureFoveationParametersQCOM, %object; epoxy_glTextureFoveationParametersQCOM: .globl epoxy_glTextureImage1DEXT .type epoxy_glTextureImage1DEXT, %object; epoxy_glTextureImage1DEXT: .globl epoxy_glTextureImage2DEXT .type epoxy_glTextureImage2DEXT, %object; epoxy_glTextureImage2DEXT: .globl epoxy_glTextureImage2DMultisampleCoverageNV .type epoxy_glTextureImage2DMultisampleCoverageNV, %object; epoxy_glTextureImage2DMultisampleCoverageNV: .globl epoxy_glTextureImage2DMultisampleNV .type epoxy_glTextureImage2DMultisampleNV, %object; epoxy_glTextureImage2DMultisampleNV: .globl epoxy_glTextureImage3DEXT .type epoxy_glTextureImage3DEXT, %object; epoxy_glTextureImage3DEXT: .globl epoxy_glTextureImage3DMultisampleCoverageNV .type epoxy_glTextureImage3DMultisampleCoverageNV, %object; epoxy_glTextureImage3DMultisampleCoverageNV: .globl epoxy_glTextureImage3DMultisampleNV .type epoxy_glTextureImage3DMultisampleNV, %object; epoxy_glTextureImage3DMultisampleNV: .globl epoxy_glTextureLightEXT .type epoxy_glTextureLightEXT, %object; epoxy_glTextureLightEXT: .globl epoxy_glTextureMaterialEXT .type epoxy_glTextureMaterialEXT, %object; epoxy_glTextureMaterialEXT: .globl epoxy_glTextureNormalEXT .type epoxy_glTextureNormalEXT, %object; epoxy_glTextureNormalEXT: .globl epoxy_glTexturePageCommitmentEXT .type epoxy_glTexturePageCommitmentEXT, %object; epoxy_glTexturePageCommitmentEXT: .globl epoxy_glTextureParameterIiv .type epoxy_glTextureParameterIiv, %object; epoxy_glTextureParameterIiv: .globl epoxy_glTextureParameterIivEXT .type epoxy_glTextureParameterIivEXT, %object; epoxy_glTextureParameterIivEXT: .globl epoxy_glTextureParameterIuiv .type epoxy_glTextureParameterIuiv, %object; epoxy_glTextureParameterIuiv: .globl epoxy_glTextureParameterIuivEXT .type epoxy_glTextureParameterIuivEXT, %object; epoxy_glTextureParameterIuivEXT: .globl epoxy_glTextureParameterf .type epoxy_glTextureParameterf, %object; epoxy_glTextureParameterf: .globl epoxy_glTextureParameterfEXT .type epoxy_glTextureParameterfEXT, %object; epoxy_glTextureParameterfEXT: .globl epoxy_glTextureParameterfv .type epoxy_glTextureParameterfv, %object; epoxy_glTextureParameterfv: .globl epoxy_glTextureParameterfvEXT .type epoxy_glTextureParameterfvEXT, %object; epoxy_glTextureParameterfvEXT: .globl epoxy_glTextureParameteri .type epoxy_glTextureParameteri, %object; epoxy_glTextureParameteri: .globl epoxy_glTextureParameteriEXT .type epoxy_glTextureParameteriEXT, %object; epoxy_glTextureParameteriEXT: .globl epoxy_glTextureParameteriv .type epoxy_glTextureParameteriv, %object; epoxy_glTextureParameteriv: .globl epoxy_glTextureParameterivEXT .type epoxy_glTextureParameterivEXT, %object; epoxy_glTextureParameterivEXT: .globl epoxy_glTextureRangeAPPLE .type epoxy_glTextureRangeAPPLE, %object; epoxy_glTextureRangeAPPLE: .globl epoxy_glTextureRenderbufferEXT .type epoxy_glTextureRenderbufferEXT, %object; epoxy_glTextureRenderbufferEXT: .globl epoxy_glTextureStorage1D .type epoxy_glTextureStorage1D, %object; epoxy_glTextureStorage1D: .globl epoxy_glTextureStorage1DEXT .type epoxy_glTextureStorage1DEXT, %object; epoxy_glTextureStorage1DEXT: .globl epoxy_glTextureStorage2D .type epoxy_glTextureStorage2D, %object; epoxy_glTextureStorage2D: .globl epoxy_glTextureStorage2DEXT .type epoxy_glTextureStorage2DEXT, %object; epoxy_glTextureStorage2DEXT: .globl epoxy_glTextureStorage2DMultisample .type epoxy_glTextureStorage2DMultisample, %object; epoxy_glTextureStorage2DMultisample: .globl epoxy_glTextureStorage2DMultisampleEXT .type epoxy_glTextureStorage2DMultisampleEXT, %object; epoxy_glTextureStorage2DMultisampleEXT: .globl epoxy_glTextureStorage3D .type epoxy_glTextureStorage3D, %object; epoxy_glTextureStorage3D: .globl epoxy_glTextureStorage3DEXT .type epoxy_glTextureStorage3DEXT, %object; epoxy_glTextureStorage3DEXT: .globl epoxy_glTextureStorage3DMultisample .type epoxy_glTextureStorage3DMultisample, %object; epoxy_glTextureStorage3DMultisample: .globl epoxy_glTextureStorage3DMultisampleEXT .type epoxy_glTextureStorage3DMultisampleEXT, %object; epoxy_glTextureStorage3DMultisampleEXT: .globl epoxy_glTextureStorageMem1DEXT .type epoxy_glTextureStorageMem1DEXT, %object; epoxy_glTextureStorageMem1DEXT: .globl epoxy_glTextureStorageMem2DEXT .type epoxy_glTextureStorageMem2DEXT, %object; epoxy_glTextureStorageMem2DEXT: .globl epoxy_glTextureStorageMem2DMultisampleEXT .type epoxy_glTextureStorageMem2DMultisampleEXT, %object; epoxy_glTextureStorageMem2DMultisampleEXT: .globl epoxy_glTextureStorageMem3DEXT .type epoxy_glTextureStorageMem3DEXT, %object; epoxy_glTextureStorageMem3DEXT: .globl epoxy_glTextureStorageMem3DMultisampleEXT .type epoxy_glTextureStorageMem3DMultisampleEXT, %object; epoxy_glTextureStorageMem3DMultisampleEXT: .globl epoxy_glTextureStorageSparseAMD .type epoxy_glTextureStorageSparseAMD, %object; epoxy_glTextureStorageSparseAMD: .globl epoxy_glTextureSubImage1D .type epoxy_glTextureSubImage1D, %object; epoxy_glTextureSubImage1D: .globl epoxy_glTextureSubImage1DEXT .type epoxy_glTextureSubImage1DEXT, %object; epoxy_glTextureSubImage1DEXT: .globl epoxy_glTextureSubImage2D .type epoxy_glTextureSubImage2D, %object; epoxy_glTextureSubImage2D: .globl epoxy_glTextureSubImage2DEXT .type epoxy_glTextureSubImage2DEXT, %object; epoxy_glTextureSubImage2DEXT: .globl epoxy_glTextureSubImage3D .type epoxy_glTextureSubImage3D, %object; epoxy_glTextureSubImage3D: .globl epoxy_glTextureSubImage3DEXT .type epoxy_glTextureSubImage3DEXT, %object; epoxy_glTextureSubImage3DEXT: .globl epoxy_glTextureView .type epoxy_glTextureView, %object; epoxy_glTextureView: .globl epoxy_glTextureViewEXT .type epoxy_glTextureViewEXT, %object; epoxy_glTextureViewEXT: .globl epoxy_glTextureViewOES .type epoxy_glTextureViewOES, %object; epoxy_glTextureViewOES: .globl epoxy_glTrackMatrixNV .type epoxy_glTrackMatrixNV, %object; epoxy_glTrackMatrixNV: .globl epoxy_glTransformFeedbackAttribsNV .type epoxy_glTransformFeedbackAttribsNV, %object; epoxy_glTransformFeedbackAttribsNV: .globl epoxy_glTransformFeedbackBufferBase .type epoxy_glTransformFeedbackBufferBase, %object; epoxy_glTransformFeedbackBufferBase: .globl epoxy_glTransformFeedbackBufferRange .type epoxy_glTransformFeedbackBufferRange, %object; epoxy_glTransformFeedbackBufferRange: .globl epoxy_glTransformFeedbackStreamAttribsNV .type epoxy_glTransformFeedbackStreamAttribsNV, %object; epoxy_glTransformFeedbackStreamAttribsNV: .globl epoxy_glTransformFeedbackVaryings .type epoxy_glTransformFeedbackVaryings, %object; epoxy_glTransformFeedbackVaryings: .globl epoxy_glTransformFeedbackVaryingsEXT .type epoxy_glTransformFeedbackVaryingsEXT, %object; epoxy_glTransformFeedbackVaryingsEXT: .globl epoxy_glTransformFeedbackVaryingsNV .type epoxy_glTransformFeedbackVaryingsNV, %object; epoxy_glTransformFeedbackVaryingsNV: .globl epoxy_glTransformPathNV .type epoxy_glTransformPathNV, %object; epoxy_glTransformPathNV: .globl epoxy_glTranslated .type epoxy_glTranslated, %object; epoxy_glTranslated: .globl epoxy_glTranslatef .type epoxy_glTranslatef, %object; epoxy_glTranslatef: .globl epoxy_glTranslatex .type epoxy_glTranslatex, %object; epoxy_glTranslatex: .globl epoxy_glTranslatexOES .type epoxy_glTranslatexOES, %object; epoxy_glTranslatexOES: .globl epoxy_glUniform1d .type epoxy_glUniform1d, %object; epoxy_glUniform1d: .globl epoxy_glUniform1dv .type epoxy_glUniform1dv, %object; epoxy_glUniform1dv: .globl epoxy_glUniform1f .type epoxy_glUniform1f, %object; epoxy_glUniform1f: .globl epoxy_glUniform1fARB .type epoxy_glUniform1fARB, %object; epoxy_glUniform1fARB: .globl epoxy_glUniform1fv .type epoxy_glUniform1fv, %object; epoxy_glUniform1fv: .globl epoxy_glUniform1fvARB .type epoxy_glUniform1fvARB, %object; epoxy_glUniform1fvARB: .globl epoxy_glUniform1i .type epoxy_glUniform1i, %object; epoxy_glUniform1i: .globl epoxy_glUniform1i64ARB .type epoxy_glUniform1i64ARB, %object; epoxy_glUniform1i64ARB: .globl epoxy_glUniform1i64NV .type epoxy_glUniform1i64NV, %object; epoxy_glUniform1i64NV: .globl epoxy_glUniform1i64vARB .type epoxy_glUniform1i64vARB, %object; epoxy_glUniform1i64vARB: .globl epoxy_glUniform1i64vNV .type epoxy_glUniform1i64vNV, %object; epoxy_glUniform1i64vNV: .globl epoxy_glUniform1iARB .type epoxy_glUniform1iARB, %object; epoxy_glUniform1iARB: .globl epoxy_glUniform1iv .type epoxy_glUniform1iv, %object; epoxy_glUniform1iv: .globl epoxy_glUniform1ivARB .type epoxy_glUniform1ivARB, %object; epoxy_glUniform1ivARB: .globl epoxy_glUniform1ui .type epoxy_glUniform1ui, %object; epoxy_glUniform1ui: .globl epoxy_glUniform1ui64ARB .type epoxy_glUniform1ui64ARB, %object; epoxy_glUniform1ui64ARB: .globl epoxy_glUniform1ui64NV .type epoxy_glUniform1ui64NV, %object; epoxy_glUniform1ui64NV: .globl epoxy_glUniform1ui64vARB .type epoxy_glUniform1ui64vARB, %object; epoxy_glUniform1ui64vARB: .globl epoxy_glUniform1ui64vNV .type epoxy_glUniform1ui64vNV, %object; epoxy_glUniform1ui64vNV: .globl epoxy_glUniform1uiEXT .type epoxy_glUniform1uiEXT, %object; epoxy_glUniform1uiEXT: .globl epoxy_glUniform1uiv .type epoxy_glUniform1uiv, %object; epoxy_glUniform1uiv: .globl epoxy_glUniform1uivEXT .type epoxy_glUniform1uivEXT, %object; epoxy_glUniform1uivEXT: .globl epoxy_glUniform2d .type epoxy_glUniform2d, %object; epoxy_glUniform2d: .globl epoxy_glUniform2dv .type epoxy_glUniform2dv, %object; epoxy_glUniform2dv: .globl epoxy_glUniform2f .type epoxy_glUniform2f, %object; epoxy_glUniform2f: .globl epoxy_glUniform2fARB .type epoxy_glUniform2fARB, %object; epoxy_glUniform2fARB: .globl epoxy_glUniform2fv .type epoxy_glUniform2fv, %object; epoxy_glUniform2fv: .globl epoxy_glUniform2fvARB .type epoxy_glUniform2fvARB, %object; epoxy_glUniform2fvARB: .globl epoxy_glUniform2i .type epoxy_glUniform2i, %object; epoxy_glUniform2i: .globl epoxy_glUniform2i64ARB .type epoxy_glUniform2i64ARB, %object; epoxy_glUniform2i64ARB: .globl epoxy_glUniform2i64NV .type epoxy_glUniform2i64NV, %object; epoxy_glUniform2i64NV: .globl epoxy_glUniform2i64vARB .type epoxy_glUniform2i64vARB, %object; epoxy_glUniform2i64vARB: .globl epoxy_glUniform2i64vNV .type epoxy_glUniform2i64vNV, %object; epoxy_glUniform2i64vNV: .globl epoxy_glUniform2iARB .type epoxy_glUniform2iARB, %object; epoxy_glUniform2iARB: .globl epoxy_glUniform2iv .type epoxy_glUniform2iv, %object; epoxy_glUniform2iv: .globl epoxy_glUniform2ivARB .type epoxy_glUniform2ivARB, %object; epoxy_glUniform2ivARB: .globl epoxy_glUniform2ui .type epoxy_glUniform2ui, %object; epoxy_glUniform2ui: .globl epoxy_glUniform2ui64ARB .type epoxy_glUniform2ui64ARB, %object; epoxy_glUniform2ui64ARB: .globl epoxy_glUniform2ui64NV .type epoxy_glUniform2ui64NV, %object; epoxy_glUniform2ui64NV: .globl epoxy_glUniform2ui64vARB .type epoxy_glUniform2ui64vARB, %object; epoxy_glUniform2ui64vARB: .globl epoxy_glUniform2ui64vNV .type epoxy_glUniform2ui64vNV, %object; epoxy_glUniform2ui64vNV: .globl epoxy_glUniform2uiEXT .type epoxy_glUniform2uiEXT, %object; epoxy_glUniform2uiEXT: .globl epoxy_glUniform2uiv .type epoxy_glUniform2uiv, %object; epoxy_glUniform2uiv: .globl epoxy_glUniform2uivEXT .type epoxy_glUniform2uivEXT, %object; epoxy_glUniform2uivEXT: .globl epoxy_glUniform3d .type epoxy_glUniform3d, %object; epoxy_glUniform3d: .globl epoxy_glUniform3dv .type epoxy_glUniform3dv, %object; epoxy_glUniform3dv: .globl epoxy_glUniform3f .type epoxy_glUniform3f, %object; epoxy_glUniform3f: .globl epoxy_glUniform3fARB .type epoxy_glUniform3fARB, %object; epoxy_glUniform3fARB: .globl epoxy_glUniform3fv .type epoxy_glUniform3fv, %object; epoxy_glUniform3fv: .globl epoxy_glUniform3fvARB .type epoxy_glUniform3fvARB, %object; epoxy_glUniform3fvARB: .globl epoxy_glUniform3i .type epoxy_glUniform3i, %object; epoxy_glUniform3i: .globl epoxy_glUniform3i64ARB .type epoxy_glUniform3i64ARB, %object; epoxy_glUniform3i64ARB: .globl epoxy_glUniform3i64NV .type epoxy_glUniform3i64NV, %object; epoxy_glUniform3i64NV: .globl epoxy_glUniform3i64vARB .type epoxy_glUniform3i64vARB, %object; epoxy_glUniform3i64vARB: .globl epoxy_glUniform3i64vNV .type epoxy_glUniform3i64vNV, %object; epoxy_glUniform3i64vNV: .globl epoxy_glUniform3iARB .type epoxy_glUniform3iARB, %object; epoxy_glUniform3iARB: .globl epoxy_glUniform3iv .type epoxy_glUniform3iv, %object; epoxy_glUniform3iv: .globl epoxy_glUniform3ivARB .type epoxy_glUniform3ivARB, %object; epoxy_glUniform3ivARB: .globl epoxy_glUniform3ui .type epoxy_glUniform3ui, %object; epoxy_glUniform3ui: .globl epoxy_glUniform3ui64ARB .type epoxy_glUniform3ui64ARB, %object; epoxy_glUniform3ui64ARB: .globl epoxy_glUniform3ui64NV .type epoxy_glUniform3ui64NV, %object; epoxy_glUniform3ui64NV: .globl epoxy_glUniform3ui64vARB .type epoxy_glUniform3ui64vARB, %object; epoxy_glUniform3ui64vARB: .globl epoxy_glUniform3ui64vNV .type epoxy_glUniform3ui64vNV, %object; epoxy_glUniform3ui64vNV: .globl epoxy_glUniform3uiEXT .type epoxy_glUniform3uiEXT, %object; epoxy_glUniform3uiEXT: .globl epoxy_glUniform3uiv .type epoxy_glUniform3uiv, %object; epoxy_glUniform3uiv: .globl epoxy_glUniform3uivEXT .type epoxy_glUniform3uivEXT, %object; epoxy_glUniform3uivEXT: .globl epoxy_glUniform4d .type epoxy_glUniform4d, %object; epoxy_glUniform4d: .globl epoxy_glUniform4dv .type epoxy_glUniform4dv, %object; epoxy_glUniform4dv: .globl epoxy_glUniform4f .type epoxy_glUniform4f, %object; epoxy_glUniform4f: .globl epoxy_glUniform4fARB .type epoxy_glUniform4fARB, %object; epoxy_glUniform4fARB: .globl epoxy_glUniform4fv .type epoxy_glUniform4fv, %object; epoxy_glUniform4fv: .globl epoxy_glUniform4fvARB .type epoxy_glUniform4fvARB, %object; epoxy_glUniform4fvARB: .globl epoxy_glUniform4i .type epoxy_glUniform4i, %object; epoxy_glUniform4i: .globl epoxy_glUniform4i64ARB .type epoxy_glUniform4i64ARB, %object; epoxy_glUniform4i64ARB: .globl epoxy_glUniform4i64NV .type epoxy_glUniform4i64NV, %object; epoxy_glUniform4i64NV: .globl epoxy_glUniform4i64vARB .type epoxy_glUniform4i64vARB, %object; epoxy_glUniform4i64vARB: .globl epoxy_glUniform4i64vNV .type epoxy_glUniform4i64vNV, %object; epoxy_glUniform4i64vNV: .globl epoxy_glUniform4iARB .type epoxy_glUniform4iARB, %object; epoxy_glUniform4iARB: .globl epoxy_glUniform4iv .type epoxy_glUniform4iv, %object; epoxy_glUniform4iv: .globl epoxy_glUniform4ivARB .type epoxy_glUniform4ivARB, %object; epoxy_glUniform4ivARB: .globl epoxy_glUniform4ui .type epoxy_glUniform4ui, %object; epoxy_glUniform4ui: .globl epoxy_glUniform4ui64ARB .type epoxy_glUniform4ui64ARB, %object; epoxy_glUniform4ui64ARB: .globl epoxy_glUniform4ui64NV .type epoxy_glUniform4ui64NV, %object; epoxy_glUniform4ui64NV: .globl epoxy_glUniform4ui64vARB .type epoxy_glUniform4ui64vARB, %object; epoxy_glUniform4ui64vARB: .globl epoxy_glUniform4ui64vNV .type epoxy_glUniform4ui64vNV, %object; epoxy_glUniform4ui64vNV: .globl epoxy_glUniform4uiEXT .type epoxy_glUniform4uiEXT, %object; epoxy_glUniform4uiEXT: .globl epoxy_glUniform4uiv .type epoxy_glUniform4uiv, %object; epoxy_glUniform4uiv: .globl epoxy_glUniform4uivEXT .type epoxy_glUniform4uivEXT, %object; epoxy_glUniform4uivEXT: .globl epoxy_glUniformBlockBinding .type epoxy_glUniformBlockBinding, %object; epoxy_glUniformBlockBinding: .globl epoxy_glUniformBufferEXT .type epoxy_glUniformBufferEXT, %object; epoxy_glUniformBufferEXT: .globl epoxy_glUniformHandleui64ARB .type epoxy_glUniformHandleui64ARB, %object; epoxy_glUniformHandleui64ARB: .globl epoxy_glUniformHandleui64IMG .type epoxy_glUniformHandleui64IMG, %object; epoxy_glUniformHandleui64IMG: .globl epoxy_glUniformHandleui64NV .type epoxy_glUniformHandleui64NV, %object; epoxy_glUniformHandleui64NV: .globl epoxy_glUniformHandleui64vARB .type epoxy_glUniformHandleui64vARB, %object; epoxy_glUniformHandleui64vARB: .globl epoxy_glUniformHandleui64vIMG .type epoxy_glUniformHandleui64vIMG, %object; epoxy_glUniformHandleui64vIMG: .globl epoxy_glUniformHandleui64vNV .type epoxy_glUniformHandleui64vNV, %object; epoxy_glUniformHandleui64vNV: .globl epoxy_glUniformMatrix2dv .type epoxy_glUniformMatrix2dv, %object; epoxy_glUniformMatrix2dv: .globl epoxy_glUniformMatrix2fv .type epoxy_glUniformMatrix2fv, %object; epoxy_glUniformMatrix2fv: .globl epoxy_glUniformMatrix2fvARB .type epoxy_glUniformMatrix2fvARB, %object; epoxy_glUniformMatrix2fvARB: .globl epoxy_glUniformMatrix2x3dv .type epoxy_glUniformMatrix2x3dv, %object; epoxy_glUniformMatrix2x3dv: .globl epoxy_glUniformMatrix2x3fv .type epoxy_glUniformMatrix2x3fv, %object; epoxy_glUniformMatrix2x3fv: .globl epoxy_glUniformMatrix2x3fvNV .type epoxy_glUniformMatrix2x3fvNV, %object; epoxy_glUniformMatrix2x3fvNV: .globl epoxy_glUniformMatrix2x4dv .type epoxy_glUniformMatrix2x4dv, %object; epoxy_glUniformMatrix2x4dv: .globl epoxy_glUniformMatrix2x4fv .type epoxy_glUniformMatrix2x4fv, %object; epoxy_glUniformMatrix2x4fv: .globl epoxy_glUniformMatrix2x4fvNV .type epoxy_glUniformMatrix2x4fvNV, %object; epoxy_glUniformMatrix2x4fvNV: .globl epoxy_glUniformMatrix3dv .type epoxy_glUniformMatrix3dv, %object; epoxy_glUniformMatrix3dv: .globl epoxy_glUniformMatrix3fv .type epoxy_glUniformMatrix3fv, %object; epoxy_glUniformMatrix3fv: .globl epoxy_glUniformMatrix3fvARB .type epoxy_glUniformMatrix3fvARB, %object; epoxy_glUniformMatrix3fvARB: .globl epoxy_glUniformMatrix3x2dv .type epoxy_glUniformMatrix3x2dv, %object; epoxy_glUniformMatrix3x2dv: .globl epoxy_glUniformMatrix3x2fv .type epoxy_glUniformMatrix3x2fv, %object; epoxy_glUniformMatrix3x2fv: .globl epoxy_glUniformMatrix3x2fvNV .type epoxy_glUniformMatrix3x2fvNV, %object; epoxy_glUniformMatrix3x2fvNV: .globl epoxy_glUniformMatrix3x4dv .type epoxy_glUniformMatrix3x4dv, %object; epoxy_glUniformMatrix3x4dv: .globl epoxy_glUniformMatrix3x4fv .type epoxy_glUniformMatrix3x4fv, %object; epoxy_glUniformMatrix3x4fv: .globl epoxy_glUniformMatrix3x4fvNV .type epoxy_glUniformMatrix3x4fvNV, %object; epoxy_glUniformMatrix3x4fvNV: .globl epoxy_glUniformMatrix4dv .type epoxy_glUniformMatrix4dv, %object; epoxy_glUniformMatrix4dv: .globl epoxy_glUniformMatrix4fv .type epoxy_glUniformMatrix4fv, %object; epoxy_glUniformMatrix4fv: .globl epoxy_glUniformMatrix4fvARB .type epoxy_glUniformMatrix4fvARB, %object; epoxy_glUniformMatrix4fvARB: .globl epoxy_glUniformMatrix4x2dv .type epoxy_glUniformMatrix4x2dv, %object; epoxy_glUniformMatrix4x2dv: .globl epoxy_glUniformMatrix4x2fv .type epoxy_glUniformMatrix4x2fv, %object; epoxy_glUniformMatrix4x2fv: .globl epoxy_glUniformMatrix4x2fvNV .type epoxy_glUniformMatrix4x2fvNV, %object; epoxy_glUniformMatrix4x2fvNV: .globl epoxy_glUniformMatrix4x3dv .type epoxy_glUniformMatrix4x3dv, %object; epoxy_glUniformMatrix4x3dv: .globl epoxy_glUniformMatrix4x3fv .type epoxy_glUniformMatrix4x3fv, %object; epoxy_glUniformMatrix4x3fv: .globl epoxy_glUniformMatrix4x3fvNV .type epoxy_glUniformMatrix4x3fvNV, %object; epoxy_glUniformMatrix4x3fvNV: .globl epoxy_glUniformSubroutinesuiv .type epoxy_glUniformSubroutinesuiv, %object; epoxy_glUniformSubroutinesuiv: .globl epoxy_glUniformui64NV .type epoxy_glUniformui64NV, %object; epoxy_glUniformui64NV: .globl epoxy_glUniformui64vNV .type epoxy_glUniformui64vNV, %object; epoxy_glUniformui64vNV: .globl epoxy_glUnlockArraysEXT .type epoxy_glUnlockArraysEXT, %object; epoxy_glUnlockArraysEXT: .globl epoxy_glUnmapBuffer .type epoxy_glUnmapBuffer, %object; epoxy_glUnmapBuffer: .globl epoxy_glUnmapBufferARB .type epoxy_glUnmapBufferARB, %object; epoxy_glUnmapBufferARB: .globl epoxy_glUnmapBufferOES .type epoxy_glUnmapBufferOES, %object; epoxy_glUnmapBufferOES: .globl epoxy_glUnmapNamedBuffer .type epoxy_glUnmapNamedBuffer, %object; epoxy_glUnmapNamedBuffer: .globl epoxy_glUnmapNamedBufferEXT .type epoxy_glUnmapNamedBufferEXT, %object; epoxy_glUnmapNamedBufferEXT: .globl epoxy_glUnmapObjectBufferATI .type epoxy_glUnmapObjectBufferATI, %object; epoxy_glUnmapObjectBufferATI: .globl epoxy_glUnmapTexture2DINTEL .type epoxy_glUnmapTexture2DINTEL, %object; epoxy_glUnmapTexture2DINTEL: .globl epoxy_glUpdateObjectBufferATI .type epoxy_glUpdateObjectBufferATI, %object; epoxy_glUpdateObjectBufferATI: .globl epoxy_glUploadGpuMaskNVX .type epoxy_glUploadGpuMaskNVX, %object; epoxy_glUploadGpuMaskNVX: .globl epoxy_glUseProgram .type epoxy_glUseProgram, %object; epoxy_glUseProgram: .globl epoxy_glUseProgramObjectARB .type epoxy_glUseProgramObjectARB, %object; epoxy_glUseProgramObjectARB: .globl epoxy_glUseProgramStages .type epoxy_glUseProgramStages, %object; epoxy_glUseProgramStages: .globl epoxy_glUseProgramStagesEXT .type epoxy_glUseProgramStagesEXT, %object; epoxy_glUseProgramStagesEXT: .globl epoxy_glUseShaderProgramEXT .type epoxy_glUseShaderProgramEXT, %object; epoxy_glUseShaderProgramEXT: .globl epoxy_glVDPAUFiniNV .type epoxy_glVDPAUFiniNV, %object; epoxy_glVDPAUFiniNV: .globl epoxy_glVDPAUGetSurfaceivNV .type epoxy_glVDPAUGetSurfaceivNV, %object; epoxy_glVDPAUGetSurfaceivNV: .globl epoxy_glVDPAUInitNV .type epoxy_glVDPAUInitNV, %object; epoxy_glVDPAUInitNV: .globl epoxy_glVDPAUIsSurfaceNV .type epoxy_glVDPAUIsSurfaceNV, %object; epoxy_glVDPAUIsSurfaceNV: .globl epoxy_glVDPAUMapSurfacesNV .type epoxy_glVDPAUMapSurfacesNV, %object; epoxy_glVDPAUMapSurfacesNV: .globl epoxy_glVDPAURegisterOutputSurfaceNV .type epoxy_glVDPAURegisterOutputSurfaceNV, %object; epoxy_glVDPAURegisterOutputSurfaceNV: .globl epoxy_glVDPAURegisterVideoSurfaceNV .type epoxy_glVDPAURegisterVideoSurfaceNV, %object; epoxy_glVDPAURegisterVideoSurfaceNV: .globl epoxy_glVDPAURegisterVideoSurfaceWithPictureStructureNV .type epoxy_glVDPAURegisterVideoSurfaceWithPictureStructureNV, %object; epoxy_glVDPAURegisterVideoSurfaceWithPictureStructureNV: .globl epoxy_glVDPAUSurfaceAccessNV .type epoxy_glVDPAUSurfaceAccessNV, %object; epoxy_glVDPAUSurfaceAccessNV: .globl epoxy_glVDPAUUnmapSurfacesNV .type epoxy_glVDPAUUnmapSurfacesNV, %object; epoxy_glVDPAUUnmapSurfacesNV: .globl epoxy_glVDPAUUnregisterSurfaceNV .type epoxy_glVDPAUUnregisterSurfaceNV, %object; epoxy_glVDPAUUnregisterSurfaceNV: .globl epoxy_glValidateProgram .type epoxy_glValidateProgram, %object; epoxy_glValidateProgram: .globl epoxy_glValidateProgramARB .type epoxy_glValidateProgramARB, %object; epoxy_glValidateProgramARB: .globl epoxy_glValidateProgramPipeline .type epoxy_glValidateProgramPipeline, %object; epoxy_glValidateProgramPipeline: .globl epoxy_glValidateProgramPipelineEXT .type epoxy_glValidateProgramPipelineEXT, %object; epoxy_glValidateProgramPipelineEXT: .globl epoxy_glVariantArrayObjectATI .type epoxy_glVariantArrayObjectATI, %object; epoxy_glVariantArrayObjectATI: .globl epoxy_glVariantPointerEXT .type epoxy_glVariantPointerEXT, %object; epoxy_glVariantPointerEXT: .globl epoxy_glVariantbvEXT .type epoxy_glVariantbvEXT, %object; epoxy_glVariantbvEXT: .globl epoxy_glVariantdvEXT .type epoxy_glVariantdvEXT, %object; epoxy_glVariantdvEXT: .globl epoxy_glVariantfvEXT .type epoxy_glVariantfvEXT, %object; epoxy_glVariantfvEXT: .globl epoxy_glVariantivEXT .type epoxy_glVariantivEXT, %object; epoxy_glVariantivEXT: .globl epoxy_glVariantsvEXT .type epoxy_glVariantsvEXT, %object; epoxy_glVariantsvEXT: .globl epoxy_glVariantubvEXT .type epoxy_glVariantubvEXT, %object; epoxy_glVariantubvEXT: .globl epoxy_glVariantuivEXT .type epoxy_glVariantuivEXT, %object; epoxy_glVariantuivEXT: .globl epoxy_glVariantusvEXT .type epoxy_glVariantusvEXT, %object; epoxy_glVariantusvEXT: .globl epoxy_glVertex2bOES .type epoxy_glVertex2bOES, %object; epoxy_glVertex2bOES: .globl epoxy_glVertex2bvOES .type epoxy_glVertex2bvOES, %object; epoxy_glVertex2bvOES: .globl epoxy_glVertex2d .type epoxy_glVertex2d, %object; epoxy_glVertex2d: .globl epoxy_glVertex2dv .type epoxy_glVertex2dv, %object; epoxy_glVertex2dv: .globl epoxy_glVertex2f .type epoxy_glVertex2f, %object; epoxy_glVertex2f: .globl epoxy_glVertex2fv .type epoxy_glVertex2fv, %object; epoxy_glVertex2fv: .globl epoxy_glVertex2hNV .type epoxy_glVertex2hNV, %object; epoxy_glVertex2hNV: .globl epoxy_glVertex2hvNV .type epoxy_glVertex2hvNV, %object; epoxy_glVertex2hvNV: .globl epoxy_glVertex2i .type epoxy_glVertex2i, %object; epoxy_glVertex2i: .globl epoxy_glVertex2iv .type epoxy_glVertex2iv, %object; epoxy_glVertex2iv: .globl epoxy_glVertex2s .type epoxy_glVertex2s, %object; epoxy_glVertex2s: .globl epoxy_glVertex2sv .type epoxy_glVertex2sv, %object; epoxy_glVertex2sv: .globl epoxy_glVertex2xOES .type epoxy_glVertex2xOES, %object; epoxy_glVertex2xOES: .globl epoxy_glVertex2xvOES .type epoxy_glVertex2xvOES, %object; epoxy_glVertex2xvOES: .globl epoxy_glVertex3bOES .type epoxy_glVertex3bOES, %object; epoxy_glVertex3bOES: .globl epoxy_glVertex3bvOES .type epoxy_glVertex3bvOES, %object; epoxy_glVertex3bvOES: .globl epoxy_glVertex3d .type epoxy_glVertex3d, %object; epoxy_glVertex3d: .globl epoxy_glVertex3dv .type epoxy_glVertex3dv, %object; epoxy_glVertex3dv: .globl epoxy_glVertex3f .type epoxy_glVertex3f, %object; epoxy_glVertex3f: .globl epoxy_glVertex3fv .type epoxy_glVertex3fv, %object; epoxy_glVertex3fv: .globl epoxy_glVertex3hNV .type epoxy_glVertex3hNV, %object; epoxy_glVertex3hNV: .globl epoxy_glVertex3hvNV .type epoxy_glVertex3hvNV, %object; epoxy_glVertex3hvNV: .globl epoxy_glVertex3i .type epoxy_glVertex3i, %object; epoxy_glVertex3i: .globl epoxy_glVertex3iv .type epoxy_glVertex3iv, %object; epoxy_glVertex3iv: .globl epoxy_glVertex3s .type epoxy_glVertex3s, %object; epoxy_glVertex3s: .globl epoxy_glVertex3sv .type epoxy_glVertex3sv, %object; epoxy_glVertex3sv: .globl epoxy_glVertex3xOES .type epoxy_glVertex3xOES, %object; epoxy_glVertex3xOES: .globl epoxy_glVertex3xvOES .type epoxy_glVertex3xvOES, %object; epoxy_glVertex3xvOES: .globl epoxy_glVertex4bOES .type epoxy_glVertex4bOES, %object; epoxy_glVertex4bOES: .globl epoxy_glVertex4bvOES .type epoxy_glVertex4bvOES, %object; epoxy_glVertex4bvOES: .globl epoxy_glVertex4d .type epoxy_glVertex4d, %object; epoxy_glVertex4d: .globl epoxy_glVertex4dv .type epoxy_glVertex4dv, %object; epoxy_glVertex4dv: .globl epoxy_glVertex4f .type epoxy_glVertex4f, %object; epoxy_glVertex4f: .globl epoxy_glVertex4fv .type epoxy_glVertex4fv, %object; epoxy_glVertex4fv: .globl epoxy_glVertex4hNV .type epoxy_glVertex4hNV, %object; epoxy_glVertex4hNV: .globl epoxy_glVertex4hvNV .type epoxy_glVertex4hvNV, %object; epoxy_glVertex4hvNV: .globl epoxy_glVertex4i .type epoxy_glVertex4i, %object; epoxy_glVertex4i: .globl epoxy_glVertex4iv .type epoxy_glVertex4iv, %object; epoxy_glVertex4iv: .globl epoxy_glVertex4s .type epoxy_glVertex4s, %object; epoxy_glVertex4s: .globl epoxy_glVertex4sv .type epoxy_glVertex4sv, %object; epoxy_glVertex4sv: .globl epoxy_glVertex4xOES .type epoxy_glVertex4xOES, %object; epoxy_glVertex4xOES: .globl epoxy_glVertex4xvOES .type epoxy_glVertex4xvOES, %object; epoxy_glVertex4xvOES: .globl epoxy_glVertexArrayAttribBinding .type epoxy_glVertexArrayAttribBinding, %object; epoxy_glVertexArrayAttribBinding: .globl epoxy_glVertexArrayAttribFormat .type epoxy_glVertexArrayAttribFormat, %object; epoxy_glVertexArrayAttribFormat: .globl epoxy_glVertexArrayAttribIFormat .type epoxy_glVertexArrayAttribIFormat, %object; epoxy_glVertexArrayAttribIFormat: .globl epoxy_glVertexArrayAttribLFormat .type epoxy_glVertexArrayAttribLFormat, %object; epoxy_glVertexArrayAttribLFormat: .globl epoxy_glVertexArrayBindVertexBufferEXT .type epoxy_glVertexArrayBindVertexBufferEXT, %object; epoxy_glVertexArrayBindVertexBufferEXT: .globl epoxy_glVertexArrayBindingDivisor .type epoxy_glVertexArrayBindingDivisor, %object; epoxy_glVertexArrayBindingDivisor: .globl epoxy_glVertexArrayColorOffsetEXT .type epoxy_glVertexArrayColorOffsetEXT, %object; epoxy_glVertexArrayColorOffsetEXT: .globl epoxy_glVertexArrayEdgeFlagOffsetEXT .type epoxy_glVertexArrayEdgeFlagOffsetEXT, %object; epoxy_glVertexArrayEdgeFlagOffsetEXT: .globl epoxy_glVertexArrayElementBuffer .type epoxy_glVertexArrayElementBuffer, %object; epoxy_glVertexArrayElementBuffer: .globl epoxy_glVertexArrayFogCoordOffsetEXT .type epoxy_glVertexArrayFogCoordOffsetEXT, %object; epoxy_glVertexArrayFogCoordOffsetEXT: .globl epoxy_glVertexArrayIndexOffsetEXT .type epoxy_glVertexArrayIndexOffsetEXT, %object; epoxy_glVertexArrayIndexOffsetEXT: .globl epoxy_glVertexArrayMultiTexCoordOffsetEXT .type epoxy_glVertexArrayMultiTexCoordOffsetEXT, %object; epoxy_glVertexArrayMultiTexCoordOffsetEXT: .globl epoxy_glVertexArrayNormalOffsetEXT .type epoxy_glVertexArrayNormalOffsetEXT, %object; epoxy_glVertexArrayNormalOffsetEXT: .globl epoxy_glVertexArrayParameteriAPPLE .type epoxy_glVertexArrayParameteriAPPLE, %object; epoxy_glVertexArrayParameteriAPPLE: .globl epoxy_glVertexArrayRangeAPPLE .type epoxy_glVertexArrayRangeAPPLE, %object; epoxy_glVertexArrayRangeAPPLE: .globl epoxy_glVertexArrayRangeNV .type epoxy_glVertexArrayRangeNV, %object; epoxy_glVertexArrayRangeNV: .globl epoxy_glVertexArraySecondaryColorOffsetEXT .type epoxy_glVertexArraySecondaryColorOffsetEXT, %object; epoxy_glVertexArraySecondaryColorOffsetEXT: .globl epoxy_glVertexArrayTexCoordOffsetEXT .type epoxy_glVertexArrayTexCoordOffsetEXT, %object; epoxy_glVertexArrayTexCoordOffsetEXT: .globl epoxy_glVertexArrayVertexAttribBindingEXT .type epoxy_glVertexArrayVertexAttribBindingEXT, %object; epoxy_glVertexArrayVertexAttribBindingEXT: .globl epoxy_glVertexArrayVertexAttribDivisorEXT .type epoxy_glVertexArrayVertexAttribDivisorEXT, %object; epoxy_glVertexArrayVertexAttribDivisorEXT: .globl epoxy_glVertexArrayVertexAttribFormatEXT .type epoxy_glVertexArrayVertexAttribFormatEXT, %object; epoxy_glVertexArrayVertexAttribFormatEXT: .globl epoxy_glVertexArrayVertexAttribIFormatEXT .type epoxy_glVertexArrayVertexAttribIFormatEXT, %object; epoxy_glVertexArrayVertexAttribIFormatEXT: .globl epoxy_glVertexArrayVertexAttribIOffsetEXT .type epoxy_glVertexArrayVertexAttribIOffsetEXT, %object; epoxy_glVertexArrayVertexAttribIOffsetEXT: .globl epoxy_glVertexArrayVertexAttribLFormatEXT .type epoxy_glVertexArrayVertexAttribLFormatEXT, %object; epoxy_glVertexArrayVertexAttribLFormatEXT: .globl epoxy_glVertexArrayVertexAttribLOffsetEXT .type epoxy_glVertexArrayVertexAttribLOffsetEXT, %object; epoxy_glVertexArrayVertexAttribLOffsetEXT: .globl epoxy_glVertexArrayVertexAttribOffsetEXT .type epoxy_glVertexArrayVertexAttribOffsetEXT, %object; epoxy_glVertexArrayVertexAttribOffsetEXT: .globl epoxy_glVertexArrayVertexBindingDivisorEXT .type epoxy_glVertexArrayVertexBindingDivisorEXT, %object; epoxy_glVertexArrayVertexBindingDivisorEXT: .globl epoxy_glVertexArrayVertexBuffer .type epoxy_glVertexArrayVertexBuffer, %object; epoxy_glVertexArrayVertexBuffer: .globl epoxy_glVertexArrayVertexBuffers .type epoxy_glVertexArrayVertexBuffers, %object; epoxy_glVertexArrayVertexBuffers: .globl epoxy_glVertexArrayVertexOffsetEXT .type epoxy_glVertexArrayVertexOffsetEXT, %object; epoxy_glVertexArrayVertexOffsetEXT: .globl epoxy_glVertexAttrib1d .type epoxy_glVertexAttrib1d, %object; epoxy_glVertexAttrib1d: .globl epoxy_glVertexAttrib1dARB .type epoxy_glVertexAttrib1dARB, %object; epoxy_glVertexAttrib1dARB: .globl epoxy_glVertexAttrib1dNV .type epoxy_glVertexAttrib1dNV, %object; epoxy_glVertexAttrib1dNV: .globl epoxy_glVertexAttrib1dv .type epoxy_glVertexAttrib1dv, %object; epoxy_glVertexAttrib1dv: .globl epoxy_glVertexAttrib1dvARB .type epoxy_glVertexAttrib1dvARB, %object; epoxy_glVertexAttrib1dvARB: .globl epoxy_glVertexAttrib1dvNV .type epoxy_glVertexAttrib1dvNV, %object; epoxy_glVertexAttrib1dvNV: .globl epoxy_glVertexAttrib1f .type epoxy_glVertexAttrib1f, %object; epoxy_glVertexAttrib1f: .globl epoxy_glVertexAttrib1fARB .type epoxy_glVertexAttrib1fARB, %object; epoxy_glVertexAttrib1fARB: .globl epoxy_glVertexAttrib1fNV .type epoxy_glVertexAttrib1fNV, %object; epoxy_glVertexAttrib1fNV: .globl epoxy_glVertexAttrib1fv .type epoxy_glVertexAttrib1fv, %object; epoxy_glVertexAttrib1fv: .globl epoxy_glVertexAttrib1fvARB .type epoxy_glVertexAttrib1fvARB, %object; epoxy_glVertexAttrib1fvARB: .globl epoxy_glVertexAttrib1fvNV .type epoxy_glVertexAttrib1fvNV, %object; epoxy_glVertexAttrib1fvNV: .globl epoxy_glVertexAttrib1hNV .type epoxy_glVertexAttrib1hNV, %object; epoxy_glVertexAttrib1hNV: .globl epoxy_glVertexAttrib1hvNV .type epoxy_glVertexAttrib1hvNV, %object; epoxy_glVertexAttrib1hvNV: .globl epoxy_glVertexAttrib1s .type epoxy_glVertexAttrib1s, %object; epoxy_glVertexAttrib1s: .globl epoxy_glVertexAttrib1sARB .type epoxy_glVertexAttrib1sARB, %object; epoxy_glVertexAttrib1sARB: .globl epoxy_glVertexAttrib1sNV .type epoxy_glVertexAttrib1sNV, %object; epoxy_glVertexAttrib1sNV: .globl epoxy_glVertexAttrib1sv .type epoxy_glVertexAttrib1sv, %object; epoxy_glVertexAttrib1sv: .globl epoxy_glVertexAttrib1svARB .type epoxy_glVertexAttrib1svARB, %object; epoxy_glVertexAttrib1svARB: .globl epoxy_glVertexAttrib1svNV .type epoxy_glVertexAttrib1svNV, %object; epoxy_glVertexAttrib1svNV: .globl epoxy_glVertexAttrib2d .type epoxy_glVertexAttrib2d, %object; epoxy_glVertexAttrib2d: .globl epoxy_glVertexAttrib2dARB .type epoxy_glVertexAttrib2dARB, %object; epoxy_glVertexAttrib2dARB: .globl epoxy_glVertexAttrib2dNV .type epoxy_glVertexAttrib2dNV, %object; epoxy_glVertexAttrib2dNV: .globl epoxy_glVertexAttrib2dv .type epoxy_glVertexAttrib2dv, %object; epoxy_glVertexAttrib2dv: .globl epoxy_glVertexAttrib2dvARB .type epoxy_glVertexAttrib2dvARB, %object; epoxy_glVertexAttrib2dvARB: .globl epoxy_glVertexAttrib2dvNV .type epoxy_glVertexAttrib2dvNV, %object; epoxy_glVertexAttrib2dvNV: .globl epoxy_glVertexAttrib2f .type epoxy_glVertexAttrib2f, %object; epoxy_glVertexAttrib2f: .globl epoxy_glVertexAttrib2fARB .type epoxy_glVertexAttrib2fARB, %object; epoxy_glVertexAttrib2fARB: .globl epoxy_glVertexAttrib2fNV .type epoxy_glVertexAttrib2fNV, %object; epoxy_glVertexAttrib2fNV: .globl epoxy_glVertexAttrib2fv .type epoxy_glVertexAttrib2fv, %object; epoxy_glVertexAttrib2fv: .globl epoxy_glVertexAttrib2fvARB .type epoxy_glVertexAttrib2fvARB, %object; epoxy_glVertexAttrib2fvARB: .globl epoxy_glVertexAttrib2fvNV .type epoxy_glVertexAttrib2fvNV, %object; epoxy_glVertexAttrib2fvNV: .globl epoxy_glVertexAttrib2hNV .type epoxy_glVertexAttrib2hNV, %object; epoxy_glVertexAttrib2hNV: .globl epoxy_glVertexAttrib2hvNV .type epoxy_glVertexAttrib2hvNV, %object; epoxy_glVertexAttrib2hvNV: .globl epoxy_glVertexAttrib2s .type epoxy_glVertexAttrib2s, %object; epoxy_glVertexAttrib2s: .globl epoxy_glVertexAttrib2sARB .type epoxy_glVertexAttrib2sARB, %object; epoxy_glVertexAttrib2sARB: .globl epoxy_glVertexAttrib2sNV .type epoxy_glVertexAttrib2sNV, %object; epoxy_glVertexAttrib2sNV: .globl epoxy_glVertexAttrib2sv .type epoxy_glVertexAttrib2sv, %object; epoxy_glVertexAttrib2sv: .globl epoxy_glVertexAttrib2svARB .type epoxy_glVertexAttrib2svARB, %object; epoxy_glVertexAttrib2svARB: .globl epoxy_glVertexAttrib2svNV .type epoxy_glVertexAttrib2svNV, %object; epoxy_glVertexAttrib2svNV: .globl epoxy_glVertexAttrib3d .type epoxy_glVertexAttrib3d, %object; epoxy_glVertexAttrib3d: .globl epoxy_glVertexAttrib3dARB .type epoxy_glVertexAttrib3dARB, %object; epoxy_glVertexAttrib3dARB: .globl epoxy_glVertexAttrib3dNV .type epoxy_glVertexAttrib3dNV, %object; epoxy_glVertexAttrib3dNV: .globl epoxy_glVertexAttrib3dv .type epoxy_glVertexAttrib3dv, %object; epoxy_glVertexAttrib3dv: .globl epoxy_glVertexAttrib3dvARB .type epoxy_glVertexAttrib3dvARB, %object; epoxy_glVertexAttrib3dvARB: .globl epoxy_glVertexAttrib3dvNV .type epoxy_glVertexAttrib3dvNV, %object; epoxy_glVertexAttrib3dvNV: .globl epoxy_glVertexAttrib3f .type epoxy_glVertexAttrib3f, %object; epoxy_glVertexAttrib3f: .globl epoxy_glVertexAttrib3fARB .type epoxy_glVertexAttrib3fARB, %object; epoxy_glVertexAttrib3fARB: .globl epoxy_glVertexAttrib3fNV .type epoxy_glVertexAttrib3fNV, %object; epoxy_glVertexAttrib3fNV: .globl epoxy_glVertexAttrib3fv .type epoxy_glVertexAttrib3fv, %object; epoxy_glVertexAttrib3fv: .globl epoxy_glVertexAttrib3fvARB .type epoxy_glVertexAttrib3fvARB, %object; epoxy_glVertexAttrib3fvARB: .globl epoxy_glVertexAttrib3fvNV .type epoxy_glVertexAttrib3fvNV, %object; epoxy_glVertexAttrib3fvNV: .globl epoxy_glVertexAttrib3hNV .type epoxy_glVertexAttrib3hNV, %object; epoxy_glVertexAttrib3hNV: .globl epoxy_glVertexAttrib3hvNV .type epoxy_glVertexAttrib3hvNV, %object; epoxy_glVertexAttrib3hvNV: .globl epoxy_glVertexAttrib3s .type epoxy_glVertexAttrib3s, %object; epoxy_glVertexAttrib3s: .globl epoxy_glVertexAttrib3sARB .type epoxy_glVertexAttrib3sARB, %object; epoxy_glVertexAttrib3sARB: .globl epoxy_glVertexAttrib3sNV .type epoxy_glVertexAttrib3sNV, %object; epoxy_glVertexAttrib3sNV: .globl epoxy_glVertexAttrib3sv .type epoxy_glVertexAttrib3sv, %object; epoxy_glVertexAttrib3sv: .globl epoxy_glVertexAttrib3svARB .type epoxy_glVertexAttrib3svARB, %object; epoxy_glVertexAttrib3svARB: .globl epoxy_glVertexAttrib3svNV .type epoxy_glVertexAttrib3svNV, %object; epoxy_glVertexAttrib3svNV: .globl epoxy_glVertexAttrib4Nbv .type epoxy_glVertexAttrib4Nbv, %object; epoxy_glVertexAttrib4Nbv: .globl epoxy_glVertexAttrib4NbvARB .type epoxy_glVertexAttrib4NbvARB, %object; epoxy_glVertexAttrib4NbvARB: .globl epoxy_glVertexAttrib4Niv .type epoxy_glVertexAttrib4Niv, %object; epoxy_glVertexAttrib4Niv: .globl epoxy_glVertexAttrib4NivARB .type epoxy_glVertexAttrib4NivARB, %object; epoxy_glVertexAttrib4NivARB: .globl epoxy_glVertexAttrib4Nsv .type epoxy_glVertexAttrib4Nsv, %object; epoxy_glVertexAttrib4Nsv: .globl epoxy_glVertexAttrib4NsvARB .type epoxy_glVertexAttrib4NsvARB, %object; epoxy_glVertexAttrib4NsvARB: .globl epoxy_glVertexAttrib4Nub .type epoxy_glVertexAttrib4Nub, %object; epoxy_glVertexAttrib4Nub: .globl epoxy_glVertexAttrib4NubARB .type epoxy_glVertexAttrib4NubARB, %object; epoxy_glVertexAttrib4NubARB: .globl epoxy_glVertexAttrib4Nubv .type epoxy_glVertexAttrib4Nubv, %object; epoxy_glVertexAttrib4Nubv: .globl epoxy_glVertexAttrib4NubvARB .type epoxy_glVertexAttrib4NubvARB, %object; epoxy_glVertexAttrib4NubvARB: .globl epoxy_glVertexAttrib4Nuiv .type epoxy_glVertexAttrib4Nuiv, %object; epoxy_glVertexAttrib4Nuiv: .globl epoxy_glVertexAttrib4NuivARB .type epoxy_glVertexAttrib4NuivARB, %object; epoxy_glVertexAttrib4NuivARB: .globl epoxy_glVertexAttrib4Nusv .type epoxy_glVertexAttrib4Nusv, %object; epoxy_glVertexAttrib4Nusv: .globl epoxy_glVertexAttrib4NusvARB .type epoxy_glVertexAttrib4NusvARB, %object; epoxy_glVertexAttrib4NusvARB: .globl epoxy_glVertexAttrib4bv .type epoxy_glVertexAttrib4bv, %object; epoxy_glVertexAttrib4bv: .globl epoxy_glVertexAttrib4bvARB .type epoxy_glVertexAttrib4bvARB, %object; epoxy_glVertexAttrib4bvARB: .globl epoxy_glVertexAttrib4d .type epoxy_glVertexAttrib4d, %object; epoxy_glVertexAttrib4d: .globl epoxy_glVertexAttrib4dARB .type epoxy_glVertexAttrib4dARB, %object; epoxy_glVertexAttrib4dARB: .globl epoxy_glVertexAttrib4dNV .type epoxy_glVertexAttrib4dNV, %object; epoxy_glVertexAttrib4dNV: .globl epoxy_glVertexAttrib4dv .type epoxy_glVertexAttrib4dv, %object; epoxy_glVertexAttrib4dv: .globl epoxy_glVertexAttrib4dvARB .type epoxy_glVertexAttrib4dvARB, %object; epoxy_glVertexAttrib4dvARB: .globl epoxy_glVertexAttrib4dvNV .type epoxy_glVertexAttrib4dvNV, %object; epoxy_glVertexAttrib4dvNV: .globl epoxy_glVertexAttrib4f .type epoxy_glVertexAttrib4f, %object; epoxy_glVertexAttrib4f: .globl epoxy_glVertexAttrib4fARB .type epoxy_glVertexAttrib4fARB, %object; epoxy_glVertexAttrib4fARB: .globl epoxy_glVertexAttrib4fNV .type epoxy_glVertexAttrib4fNV, %object; epoxy_glVertexAttrib4fNV: .globl epoxy_glVertexAttrib4fv .type epoxy_glVertexAttrib4fv, %object; epoxy_glVertexAttrib4fv: .globl epoxy_glVertexAttrib4fvARB .type epoxy_glVertexAttrib4fvARB, %object; epoxy_glVertexAttrib4fvARB: .globl epoxy_glVertexAttrib4fvNV .type epoxy_glVertexAttrib4fvNV, %object; epoxy_glVertexAttrib4fvNV: .globl epoxy_glVertexAttrib4hNV .type epoxy_glVertexAttrib4hNV, %object; epoxy_glVertexAttrib4hNV: .globl epoxy_glVertexAttrib4hvNV .type epoxy_glVertexAttrib4hvNV, %object; epoxy_glVertexAttrib4hvNV: .globl epoxy_glVertexAttrib4iv .type epoxy_glVertexAttrib4iv, %object; epoxy_glVertexAttrib4iv: .globl epoxy_glVertexAttrib4ivARB .type epoxy_glVertexAttrib4ivARB, %object; epoxy_glVertexAttrib4ivARB: .globl epoxy_glVertexAttrib4s .type epoxy_glVertexAttrib4s, %object; epoxy_glVertexAttrib4s: .globl epoxy_glVertexAttrib4sARB .type epoxy_glVertexAttrib4sARB, %object; epoxy_glVertexAttrib4sARB: .globl epoxy_glVertexAttrib4sNV .type epoxy_glVertexAttrib4sNV, %object; epoxy_glVertexAttrib4sNV: .globl epoxy_glVertexAttrib4sv .type epoxy_glVertexAttrib4sv, %object; epoxy_glVertexAttrib4sv: .globl epoxy_glVertexAttrib4svARB .type epoxy_glVertexAttrib4svARB, %object; epoxy_glVertexAttrib4svARB: .globl epoxy_glVertexAttrib4svNV .type epoxy_glVertexAttrib4svNV, %object; epoxy_glVertexAttrib4svNV: .globl epoxy_glVertexAttrib4ubNV .type epoxy_glVertexAttrib4ubNV, %object; epoxy_glVertexAttrib4ubNV: .globl epoxy_glVertexAttrib4ubv .type epoxy_glVertexAttrib4ubv, %object; epoxy_glVertexAttrib4ubv: .globl epoxy_glVertexAttrib4ubvARB .type epoxy_glVertexAttrib4ubvARB, %object; epoxy_glVertexAttrib4ubvARB: .globl epoxy_glVertexAttrib4ubvNV .type epoxy_glVertexAttrib4ubvNV, %object; epoxy_glVertexAttrib4ubvNV: .globl epoxy_glVertexAttrib4uiv .type epoxy_glVertexAttrib4uiv, %object; epoxy_glVertexAttrib4uiv: .globl epoxy_glVertexAttrib4uivARB .type epoxy_glVertexAttrib4uivARB, %object; epoxy_glVertexAttrib4uivARB: .globl epoxy_glVertexAttrib4usv .type epoxy_glVertexAttrib4usv, %object; epoxy_glVertexAttrib4usv: .globl epoxy_glVertexAttrib4usvARB .type epoxy_glVertexAttrib4usvARB, %object; epoxy_glVertexAttrib4usvARB: .globl epoxy_glVertexAttribArrayObjectATI .type epoxy_glVertexAttribArrayObjectATI, %object; epoxy_glVertexAttribArrayObjectATI: .globl epoxy_glVertexAttribBinding .type epoxy_glVertexAttribBinding, %object; epoxy_glVertexAttribBinding: .globl epoxy_glVertexAttribDivisor .type epoxy_glVertexAttribDivisor, %object; epoxy_glVertexAttribDivisor: .globl epoxy_glVertexAttribDivisorANGLE .type epoxy_glVertexAttribDivisorANGLE, %object; epoxy_glVertexAttribDivisorANGLE: .globl epoxy_glVertexAttribDivisorARB .type epoxy_glVertexAttribDivisorARB, %object; epoxy_glVertexAttribDivisorARB: .globl epoxy_glVertexAttribDivisorEXT .type epoxy_glVertexAttribDivisorEXT, %object; epoxy_glVertexAttribDivisorEXT: .globl epoxy_glVertexAttribDivisorNV .type epoxy_glVertexAttribDivisorNV, %object; epoxy_glVertexAttribDivisorNV: .globl epoxy_glVertexAttribFormat .type epoxy_glVertexAttribFormat, %object; epoxy_glVertexAttribFormat: .globl epoxy_glVertexAttribFormatNV .type epoxy_glVertexAttribFormatNV, %object; epoxy_glVertexAttribFormatNV: .globl epoxy_glVertexAttribI1i .type epoxy_glVertexAttribI1i, %object; epoxy_glVertexAttribI1i: .globl epoxy_glVertexAttribI1iEXT .type epoxy_glVertexAttribI1iEXT, %object; epoxy_glVertexAttribI1iEXT: .globl epoxy_glVertexAttribI1iv .type epoxy_glVertexAttribI1iv, %object; epoxy_glVertexAttribI1iv: .globl epoxy_glVertexAttribI1ivEXT .type epoxy_glVertexAttribI1ivEXT, %object; epoxy_glVertexAttribI1ivEXT: .globl epoxy_glVertexAttribI1ui .type epoxy_glVertexAttribI1ui, %object; epoxy_glVertexAttribI1ui: .globl epoxy_glVertexAttribI1uiEXT .type epoxy_glVertexAttribI1uiEXT, %object; epoxy_glVertexAttribI1uiEXT: .globl epoxy_glVertexAttribI1uiv .type epoxy_glVertexAttribI1uiv, %object; epoxy_glVertexAttribI1uiv: .globl epoxy_glVertexAttribI1uivEXT .type epoxy_glVertexAttribI1uivEXT, %object; epoxy_glVertexAttribI1uivEXT: .globl epoxy_glVertexAttribI2i .type epoxy_glVertexAttribI2i, %object; epoxy_glVertexAttribI2i: .globl epoxy_glVertexAttribI2iEXT .type epoxy_glVertexAttribI2iEXT, %object; epoxy_glVertexAttribI2iEXT: .globl epoxy_glVertexAttribI2iv .type epoxy_glVertexAttribI2iv, %object; epoxy_glVertexAttribI2iv: .globl epoxy_glVertexAttribI2ivEXT .type epoxy_glVertexAttribI2ivEXT, %object; epoxy_glVertexAttribI2ivEXT: .globl epoxy_glVertexAttribI2ui .type epoxy_glVertexAttribI2ui, %object; epoxy_glVertexAttribI2ui: .globl epoxy_glVertexAttribI2uiEXT .type epoxy_glVertexAttribI2uiEXT, %object; epoxy_glVertexAttribI2uiEXT: .globl epoxy_glVertexAttribI2uiv .type epoxy_glVertexAttribI2uiv, %object; epoxy_glVertexAttribI2uiv: .globl epoxy_glVertexAttribI2uivEXT .type epoxy_glVertexAttribI2uivEXT, %object; epoxy_glVertexAttribI2uivEXT: .globl epoxy_glVertexAttribI3i .type epoxy_glVertexAttribI3i, %object; epoxy_glVertexAttribI3i: .globl epoxy_glVertexAttribI3iEXT .type epoxy_glVertexAttribI3iEXT, %object; epoxy_glVertexAttribI3iEXT: .globl epoxy_glVertexAttribI3iv .type epoxy_glVertexAttribI3iv, %object; epoxy_glVertexAttribI3iv: .globl epoxy_glVertexAttribI3ivEXT .type epoxy_glVertexAttribI3ivEXT, %object; epoxy_glVertexAttribI3ivEXT: .globl epoxy_glVertexAttribI3ui .type epoxy_glVertexAttribI3ui, %object; epoxy_glVertexAttribI3ui: .globl epoxy_glVertexAttribI3uiEXT .type epoxy_glVertexAttribI3uiEXT, %object; epoxy_glVertexAttribI3uiEXT: .globl epoxy_glVertexAttribI3uiv .type epoxy_glVertexAttribI3uiv, %object; epoxy_glVertexAttribI3uiv: .globl epoxy_glVertexAttribI3uivEXT .type epoxy_glVertexAttribI3uivEXT, %object; epoxy_glVertexAttribI3uivEXT: .globl epoxy_glVertexAttribI4bv .type epoxy_glVertexAttribI4bv, %object; epoxy_glVertexAttribI4bv: .globl epoxy_glVertexAttribI4bvEXT .type epoxy_glVertexAttribI4bvEXT, %object; epoxy_glVertexAttribI4bvEXT: .globl epoxy_glVertexAttribI4i .type epoxy_glVertexAttribI4i, %object; epoxy_glVertexAttribI4i: .globl epoxy_glVertexAttribI4iEXT .type epoxy_glVertexAttribI4iEXT, %object; epoxy_glVertexAttribI4iEXT: .globl epoxy_glVertexAttribI4iv .type epoxy_glVertexAttribI4iv, %object; epoxy_glVertexAttribI4iv: .globl epoxy_glVertexAttribI4ivEXT .type epoxy_glVertexAttribI4ivEXT, %object; epoxy_glVertexAttribI4ivEXT: .globl epoxy_glVertexAttribI4sv .type epoxy_glVertexAttribI4sv, %object; epoxy_glVertexAttribI4sv: .globl epoxy_glVertexAttribI4svEXT .type epoxy_glVertexAttribI4svEXT, %object; epoxy_glVertexAttribI4svEXT: .globl epoxy_glVertexAttribI4ubv .type epoxy_glVertexAttribI4ubv, %object; epoxy_glVertexAttribI4ubv: .globl epoxy_glVertexAttribI4ubvEXT .type epoxy_glVertexAttribI4ubvEXT, %object; epoxy_glVertexAttribI4ubvEXT: .globl epoxy_glVertexAttribI4ui .type epoxy_glVertexAttribI4ui, %object; epoxy_glVertexAttribI4ui: .globl epoxy_glVertexAttribI4uiEXT .type epoxy_glVertexAttribI4uiEXT, %object; epoxy_glVertexAttribI4uiEXT: .globl epoxy_glVertexAttribI4uiv .type epoxy_glVertexAttribI4uiv, %object; epoxy_glVertexAttribI4uiv: .globl epoxy_glVertexAttribI4uivEXT .type epoxy_glVertexAttribI4uivEXT, %object; epoxy_glVertexAttribI4uivEXT: .globl epoxy_glVertexAttribI4usv .type epoxy_glVertexAttribI4usv, %object; epoxy_glVertexAttribI4usv: .globl epoxy_glVertexAttribI4usvEXT .type epoxy_glVertexAttribI4usvEXT, %object; epoxy_glVertexAttribI4usvEXT: .globl epoxy_glVertexAttribIFormat .type epoxy_glVertexAttribIFormat, %object; epoxy_glVertexAttribIFormat: .globl epoxy_glVertexAttribIFormatNV .type epoxy_glVertexAttribIFormatNV, %object; epoxy_glVertexAttribIFormatNV: .globl epoxy_glVertexAttribIPointer .type epoxy_glVertexAttribIPointer, %object; epoxy_glVertexAttribIPointer: .globl epoxy_glVertexAttribIPointerEXT .type epoxy_glVertexAttribIPointerEXT, %object; epoxy_glVertexAttribIPointerEXT: .globl epoxy_glVertexAttribL1d .type epoxy_glVertexAttribL1d, %object; epoxy_glVertexAttribL1d: .globl epoxy_glVertexAttribL1dEXT .type epoxy_glVertexAttribL1dEXT, %object; epoxy_glVertexAttribL1dEXT: .globl epoxy_glVertexAttribL1dv .type epoxy_glVertexAttribL1dv, %object; epoxy_glVertexAttribL1dv: .globl epoxy_glVertexAttribL1dvEXT .type epoxy_glVertexAttribL1dvEXT, %object; epoxy_glVertexAttribL1dvEXT: .globl epoxy_glVertexAttribL1i64NV .type epoxy_glVertexAttribL1i64NV, %object; epoxy_glVertexAttribL1i64NV: .globl epoxy_glVertexAttribL1i64vNV .type epoxy_glVertexAttribL1i64vNV, %object; epoxy_glVertexAttribL1i64vNV: .globl epoxy_glVertexAttribL1ui64ARB .type epoxy_glVertexAttribL1ui64ARB, %object; epoxy_glVertexAttribL1ui64ARB: .globl epoxy_glVertexAttribL1ui64NV .type epoxy_glVertexAttribL1ui64NV, %object; epoxy_glVertexAttribL1ui64NV: .globl epoxy_glVertexAttribL1ui64vARB .type epoxy_glVertexAttribL1ui64vARB, %object; epoxy_glVertexAttribL1ui64vARB: .globl epoxy_glVertexAttribL1ui64vNV .type epoxy_glVertexAttribL1ui64vNV, %object; epoxy_glVertexAttribL1ui64vNV: .globl epoxy_glVertexAttribL2d .type epoxy_glVertexAttribL2d, %object; epoxy_glVertexAttribL2d: .globl epoxy_glVertexAttribL2dEXT .type epoxy_glVertexAttribL2dEXT, %object; epoxy_glVertexAttribL2dEXT: .globl epoxy_glVertexAttribL2dv .type epoxy_glVertexAttribL2dv, %object; epoxy_glVertexAttribL2dv: .globl epoxy_glVertexAttribL2dvEXT .type epoxy_glVertexAttribL2dvEXT, %object; epoxy_glVertexAttribL2dvEXT: .globl epoxy_glVertexAttribL2i64NV .type epoxy_glVertexAttribL2i64NV, %object; epoxy_glVertexAttribL2i64NV: .globl epoxy_glVertexAttribL2i64vNV .type epoxy_glVertexAttribL2i64vNV, %object; epoxy_glVertexAttribL2i64vNV: .globl epoxy_glVertexAttribL2ui64NV .type epoxy_glVertexAttribL2ui64NV, %object; epoxy_glVertexAttribL2ui64NV: .globl epoxy_glVertexAttribL2ui64vNV .type epoxy_glVertexAttribL2ui64vNV, %object; epoxy_glVertexAttribL2ui64vNV: .globl epoxy_glVertexAttribL3d .type epoxy_glVertexAttribL3d, %object; epoxy_glVertexAttribL3d: .globl epoxy_glVertexAttribL3dEXT .type epoxy_glVertexAttribL3dEXT, %object; epoxy_glVertexAttribL3dEXT: .globl epoxy_glVertexAttribL3dv .type epoxy_glVertexAttribL3dv, %object; epoxy_glVertexAttribL3dv: .globl epoxy_glVertexAttribL3dvEXT .type epoxy_glVertexAttribL3dvEXT, %object; epoxy_glVertexAttribL3dvEXT: .globl epoxy_glVertexAttribL3i64NV .type epoxy_glVertexAttribL3i64NV, %object; epoxy_glVertexAttribL3i64NV: .globl epoxy_glVertexAttribL3i64vNV .type epoxy_glVertexAttribL3i64vNV, %object; epoxy_glVertexAttribL3i64vNV: .globl epoxy_glVertexAttribL3ui64NV .type epoxy_glVertexAttribL3ui64NV, %object; epoxy_glVertexAttribL3ui64NV: .globl epoxy_glVertexAttribL3ui64vNV .type epoxy_glVertexAttribL3ui64vNV, %object; epoxy_glVertexAttribL3ui64vNV: .globl epoxy_glVertexAttribL4d .type epoxy_glVertexAttribL4d, %object; epoxy_glVertexAttribL4d: .globl epoxy_glVertexAttribL4dEXT .type epoxy_glVertexAttribL4dEXT, %object; epoxy_glVertexAttribL4dEXT: .globl epoxy_glVertexAttribL4dv .type epoxy_glVertexAttribL4dv, %object; epoxy_glVertexAttribL4dv: .globl epoxy_glVertexAttribL4dvEXT .type epoxy_glVertexAttribL4dvEXT, %object; epoxy_glVertexAttribL4dvEXT: .globl epoxy_glVertexAttribL4i64NV .type epoxy_glVertexAttribL4i64NV, %object; epoxy_glVertexAttribL4i64NV: .globl epoxy_glVertexAttribL4i64vNV .type epoxy_glVertexAttribL4i64vNV, %object; epoxy_glVertexAttribL4i64vNV: .globl epoxy_glVertexAttribL4ui64NV .type epoxy_glVertexAttribL4ui64NV, %object; epoxy_glVertexAttribL4ui64NV: .globl epoxy_glVertexAttribL4ui64vNV .type epoxy_glVertexAttribL4ui64vNV, %object; epoxy_glVertexAttribL4ui64vNV: .globl epoxy_glVertexAttribLFormat .type epoxy_glVertexAttribLFormat, %object; epoxy_glVertexAttribLFormat: .globl epoxy_glVertexAttribLFormatNV .type epoxy_glVertexAttribLFormatNV, %object; epoxy_glVertexAttribLFormatNV: .globl epoxy_glVertexAttribLPointer .type epoxy_glVertexAttribLPointer, %object; epoxy_glVertexAttribLPointer: .globl epoxy_glVertexAttribLPointerEXT .type epoxy_glVertexAttribLPointerEXT, %object; epoxy_glVertexAttribLPointerEXT: .globl epoxy_glVertexAttribP1ui .type epoxy_glVertexAttribP1ui, %object; epoxy_glVertexAttribP1ui: .globl epoxy_glVertexAttribP1uiv .type epoxy_glVertexAttribP1uiv, %object; epoxy_glVertexAttribP1uiv: .globl epoxy_glVertexAttribP2ui .type epoxy_glVertexAttribP2ui, %object; epoxy_glVertexAttribP2ui: .globl epoxy_glVertexAttribP2uiv .type epoxy_glVertexAttribP2uiv, %object; epoxy_glVertexAttribP2uiv: .globl epoxy_glVertexAttribP3ui .type epoxy_glVertexAttribP3ui, %object; epoxy_glVertexAttribP3ui: .globl epoxy_glVertexAttribP3uiv .type epoxy_glVertexAttribP3uiv, %object; epoxy_glVertexAttribP3uiv: .globl epoxy_glVertexAttribP4ui .type epoxy_glVertexAttribP4ui, %object; epoxy_glVertexAttribP4ui: .globl epoxy_glVertexAttribP4uiv .type epoxy_glVertexAttribP4uiv, %object; epoxy_glVertexAttribP4uiv: .globl epoxy_glVertexAttribParameteriAMD .type epoxy_glVertexAttribParameteriAMD, %object; epoxy_glVertexAttribParameteriAMD: .globl epoxy_glVertexAttribPointer .type epoxy_glVertexAttribPointer, %object; epoxy_glVertexAttribPointer: .globl epoxy_glVertexAttribPointerARB .type epoxy_glVertexAttribPointerARB, %object; epoxy_glVertexAttribPointerARB: .globl epoxy_glVertexAttribPointerNV .type epoxy_glVertexAttribPointerNV, %object; epoxy_glVertexAttribPointerNV: .globl epoxy_glVertexAttribs1dvNV .type epoxy_glVertexAttribs1dvNV, %object; epoxy_glVertexAttribs1dvNV: .globl epoxy_glVertexAttribs1fvNV .type epoxy_glVertexAttribs1fvNV, %object; epoxy_glVertexAttribs1fvNV: .globl epoxy_glVertexAttribs1hvNV .type epoxy_glVertexAttribs1hvNV, %object; epoxy_glVertexAttribs1hvNV: .globl epoxy_glVertexAttribs1svNV .type epoxy_glVertexAttribs1svNV, %object; epoxy_glVertexAttribs1svNV: .globl epoxy_glVertexAttribs2dvNV .type epoxy_glVertexAttribs2dvNV, %object; epoxy_glVertexAttribs2dvNV: .globl epoxy_glVertexAttribs2fvNV .type epoxy_glVertexAttribs2fvNV, %object; epoxy_glVertexAttribs2fvNV: .globl epoxy_glVertexAttribs2hvNV .type epoxy_glVertexAttribs2hvNV, %object; epoxy_glVertexAttribs2hvNV: .globl epoxy_glVertexAttribs2svNV .type epoxy_glVertexAttribs2svNV, %object; epoxy_glVertexAttribs2svNV: .globl epoxy_glVertexAttribs3dvNV .type epoxy_glVertexAttribs3dvNV, %object; epoxy_glVertexAttribs3dvNV: .globl epoxy_glVertexAttribs3fvNV .type epoxy_glVertexAttribs3fvNV, %object; epoxy_glVertexAttribs3fvNV: .globl epoxy_glVertexAttribs3hvNV .type epoxy_glVertexAttribs3hvNV, %object; epoxy_glVertexAttribs3hvNV: .globl epoxy_glVertexAttribs3svNV .type epoxy_glVertexAttribs3svNV, %object; epoxy_glVertexAttribs3svNV: .globl epoxy_glVertexAttribs4dvNV .type epoxy_glVertexAttribs4dvNV, %object; epoxy_glVertexAttribs4dvNV: .globl epoxy_glVertexAttribs4fvNV .type epoxy_glVertexAttribs4fvNV, %object; epoxy_glVertexAttribs4fvNV: .globl epoxy_glVertexAttribs4hvNV .type epoxy_glVertexAttribs4hvNV, %object; epoxy_glVertexAttribs4hvNV: .globl epoxy_glVertexAttribs4svNV .type epoxy_glVertexAttribs4svNV, %object; epoxy_glVertexAttribs4svNV: .globl epoxy_glVertexAttribs4ubvNV .type epoxy_glVertexAttribs4ubvNV, %object; epoxy_glVertexAttribs4ubvNV: .globl epoxy_glVertexBindingDivisor .type epoxy_glVertexBindingDivisor, %object; epoxy_glVertexBindingDivisor: .globl epoxy_glVertexBlendARB .type epoxy_glVertexBlendARB, %object; epoxy_glVertexBlendARB: .globl epoxy_glVertexBlendEnvfATI .type epoxy_glVertexBlendEnvfATI, %object; epoxy_glVertexBlendEnvfATI: .globl epoxy_glVertexBlendEnviATI .type epoxy_glVertexBlendEnviATI, %object; epoxy_glVertexBlendEnviATI: .globl epoxy_glVertexFormatNV .type epoxy_glVertexFormatNV, %object; epoxy_glVertexFormatNV: .globl epoxy_glVertexP2ui .type epoxy_glVertexP2ui, %object; epoxy_glVertexP2ui: .globl epoxy_glVertexP2uiv .type epoxy_glVertexP2uiv, %object; epoxy_glVertexP2uiv: .globl epoxy_glVertexP3ui .type epoxy_glVertexP3ui, %object; epoxy_glVertexP3ui: .globl epoxy_glVertexP3uiv .type epoxy_glVertexP3uiv, %object; epoxy_glVertexP3uiv: .globl epoxy_glVertexP4ui .type epoxy_glVertexP4ui, %object; epoxy_glVertexP4ui: .globl epoxy_glVertexP4uiv .type epoxy_glVertexP4uiv, %object; epoxy_glVertexP4uiv: .globl epoxy_glVertexPointer .type epoxy_glVertexPointer, %object; epoxy_glVertexPointer: .globl epoxy_glVertexPointerEXT .type epoxy_glVertexPointerEXT, %object; epoxy_glVertexPointerEXT: .globl epoxy_glVertexPointerListIBM .type epoxy_glVertexPointerListIBM, %object; epoxy_glVertexPointerListIBM: .globl epoxy_glVertexPointervINTEL .type epoxy_glVertexPointervINTEL, %object; epoxy_glVertexPointervINTEL: .globl epoxy_glVertexStream1dATI .type epoxy_glVertexStream1dATI, %object; epoxy_glVertexStream1dATI: .globl epoxy_glVertexStream1dvATI .type epoxy_glVertexStream1dvATI, %object; epoxy_glVertexStream1dvATI: .globl epoxy_glVertexStream1fATI .type epoxy_glVertexStream1fATI, %object; epoxy_glVertexStream1fATI: .globl epoxy_glVertexStream1fvATI .type epoxy_glVertexStream1fvATI, %object; epoxy_glVertexStream1fvATI: .globl epoxy_glVertexStream1iATI .type epoxy_glVertexStream1iATI, %object; epoxy_glVertexStream1iATI: .globl epoxy_glVertexStream1ivATI .type epoxy_glVertexStream1ivATI, %object; epoxy_glVertexStream1ivATI: .globl epoxy_glVertexStream1sATI .type epoxy_glVertexStream1sATI, %object; epoxy_glVertexStream1sATI: .globl epoxy_glVertexStream1svATI .type epoxy_glVertexStream1svATI, %object; epoxy_glVertexStream1svATI: .globl epoxy_glVertexStream2dATI .type epoxy_glVertexStream2dATI, %object; epoxy_glVertexStream2dATI: .globl epoxy_glVertexStream2dvATI .type epoxy_glVertexStream2dvATI, %object; epoxy_glVertexStream2dvATI: .globl epoxy_glVertexStream2fATI .type epoxy_glVertexStream2fATI, %object; epoxy_glVertexStream2fATI: .globl epoxy_glVertexStream2fvATI .type epoxy_glVertexStream2fvATI, %object; epoxy_glVertexStream2fvATI: .globl epoxy_glVertexStream2iATI .type epoxy_glVertexStream2iATI, %object; epoxy_glVertexStream2iATI: .globl epoxy_glVertexStream2ivATI .type epoxy_glVertexStream2ivATI, %object; epoxy_glVertexStream2ivATI: .globl epoxy_glVertexStream2sATI .type epoxy_glVertexStream2sATI, %object; epoxy_glVertexStream2sATI: .globl epoxy_glVertexStream2svATI .type epoxy_glVertexStream2svATI, %object; epoxy_glVertexStream2svATI: .globl epoxy_glVertexStream3dATI .type epoxy_glVertexStream3dATI, %object; epoxy_glVertexStream3dATI: .globl epoxy_glVertexStream3dvATI .type epoxy_glVertexStream3dvATI, %object; epoxy_glVertexStream3dvATI: .globl epoxy_glVertexStream3fATI .type epoxy_glVertexStream3fATI, %object; epoxy_glVertexStream3fATI: .globl epoxy_glVertexStream3fvATI .type epoxy_glVertexStream3fvATI, %object; epoxy_glVertexStream3fvATI: .globl epoxy_glVertexStream3iATI .type epoxy_glVertexStream3iATI, %object; epoxy_glVertexStream3iATI: .globl epoxy_glVertexStream3ivATI .type epoxy_glVertexStream3ivATI, %object; epoxy_glVertexStream3ivATI: .globl epoxy_glVertexStream3sATI .type epoxy_glVertexStream3sATI, %object; epoxy_glVertexStream3sATI: .globl epoxy_glVertexStream3svATI .type epoxy_glVertexStream3svATI, %object; epoxy_glVertexStream3svATI: .globl epoxy_glVertexStream4dATI .type epoxy_glVertexStream4dATI, %object; epoxy_glVertexStream4dATI: .globl epoxy_glVertexStream4dvATI .type epoxy_glVertexStream4dvATI, %object; epoxy_glVertexStream4dvATI: .globl epoxy_glVertexStream4fATI .type epoxy_glVertexStream4fATI, %object; epoxy_glVertexStream4fATI: .globl epoxy_glVertexStream4fvATI .type epoxy_glVertexStream4fvATI, %object; epoxy_glVertexStream4fvATI: .globl epoxy_glVertexStream4iATI .type epoxy_glVertexStream4iATI, %object; epoxy_glVertexStream4iATI: .globl epoxy_glVertexStream4ivATI .type epoxy_glVertexStream4ivATI, %object; epoxy_glVertexStream4ivATI: .globl epoxy_glVertexStream4sATI .type epoxy_glVertexStream4sATI, %object; epoxy_glVertexStream4sATI: .globl epoxy_glVertexStream4svATI .type epoxy_glVertexStream4svATI, %object; epoxy_glVertexStream4svATI: .globl epoxy_glVertexWeightPointerEXT .type epoxy_glVertexWeightPointerEXT, %object; epoxy_glVertexWeightPointerEXT: .globl epoxy_glVertexWeightfEXT .type epoxy_glVertexWeightfEXT, %object; epoxy_glVertexWeightfEXT: .globl epoxy_glVertexWeightfvEXT .type epoxy_glVertexWeightfvEXT, %object; epoxy_glVertexWeightfvEXT: .globl epoxy_glVertexWeighthNV .type epoxy_glVertexWeighthNV, %object; epoxy_glVertexWeighthNV: .globl epoxy_glVertexWeighthvNV .type epoxy_glVertexWeighthvNV, %object; epoxy_glVertexWeighthvNV: .globl epoxy_glVideoCaptureNV .type epoxy_glVideoCaptureNV, %object; epoxy_glVideoCaptureNV: .globl epoxy_glVideoCaptureStreamParameterdvNV .type epoxy_glVideoCaptureStreamParameterdvNV, %object; epoxy_glVideoCaptureStreamParameterdvNV: .globl epoxy_glVideoCaptureStreamParameterfvNV .type epoxy_glVideoCaptureStreamParameterfvNV, %object; epoxy_glVideoCaptureStreamParameterfvNV: .globl epoxy_glVideoCaptureStreamParameterivNV .type epoxy_glVideoCaptureStreamParameterivNV, %object; epoxy_glVideoCaptureStreamParameterivNV: .globl epoxy_glViewport .type epoxy_glViewport, %object; epoxy_glViewport: .globl epoxy_glViewportArrayv .type epoxy_glViewportArrayv, %object; epoxy_glViewportArrayv: .globl epoxy_glViewportArrayvNV .type epoxy_glViewportArrayvNV, %object; epoxy_glViewportArrayvNV: .globl epoxy_glViewportArrayvOES .type epoxy_glViewportArrayvOES, %object; epoxy_glViewportArrayvOES: .globl epoxy_glViewportIndexedf .type epoxy_glViewportIndexedf, %object; epoxy_glViewportIndexedf: .globl epoxy_glViewportIndexedfNV .type epoxy_glViewportIndexedfNV, %object; epoxy_glViewportIndexedfNV: .globl epoxy_glViewportIndexedfOES .type epoxy_glViewportIndexedfOES, %object; epoxy_glViewportIndexedfOES: .globl epoxy_glViewportIndexedfv .type epoxy_glViewportIndexedfv, %object; epoxy_glViewportIndexedfv: .globl epoxy_glViewportIndexedfvNV .type epoxy_glViewportIndexedfvNV, %object; epoxy_glViewportIndexedfvNV: .globl epoxy_glViewportIndexedfvOES .type epoxy_glViewportIndexedfvOES, %object; epoxy_glViewportIndexedfvOES: .globl epoxy_glViewportPositionWScaleNV .type epoxy_glViewportPositionWScaleNV, %object; epoxy_glViewportPositionWScaleNV: .globl epoxy_glViewportSwizzleNV .type epoxy_glViewportSwizzleNV, %object; epoxy_glViewportSwizzleNV: .globl epoxy_glWaitSemaphoreEXT .type epoxy_glWaitSemaphoreEXT, %object; epoxy_glWaitSemaphoreEXT: .globl epoxy_glWaitSemaphoreui64NVX .type epoxy_glWaitSemaphoreui64NVX, %object; epoxy_glWaitSemaphoreui64NVX: .globl epoxy_glWaitSync .type epoxy_glWaitSync, %object; epoxy_glWaitSync: .globl epoxy_glWaitSyncAPPLE .type epoxy_glWaitSyncAPPLE, %object; epoxy_glWaitSyncAPPLE: .globl epoxy_glWaitVkSemaphoreNV .type epoxy_glWaitVkSemaphoreNV, %object; epoxy_glWaitVkSemaphoreNV: .globl epoxy_glWeightPathsNV .type epoxy_glWeightPathsNV, %object; epoxy_glWeightPathsNV: .globl epoxy_glWeightPointerARB .type epoxy_glWeightPointerARB, %object; epoxy_glWeightPointerARB: .globl epoxy_glWeightPointerOES .type epoxy_glWeightPointerOES, %object; epoxy_glWeightPointerOES: .globl epoxy_glWeightbvARB .type epoxy_glWeightbvARB, %object; epoxy_glWeightbvARB: .globl epoxy_glWeightdvARB .type epoxy_glWeightdvARB, %object; epoxy_glWeightdvARB: .globl epoxy_glWeightfvARB .type epoxy_glWeightfvARB, %object; epoxy_glWeightfvARB: .globl epoxy_glWeightivARB .type epoxy_glWeightivARB, %object; epoxy_glWeightivARB: .globl epoxy_glWeightsvARB .type epoxy_glWeightsvARB, %object; epoxy_glWeightsvARB: .globl epoxy_glWeightubvARB .type epoxy_glWeightubvARB, %object; epoxy_glWeightubvARB: .globl epoxy_glWeightuivARB .type epoxy_glWeightuivARB, %object; epoxy_glWeightuivARB: .globl epoxy_glWeightusvARB .type epoxy_glWeightusvARB, %object; epoxy_glWeightusvARB: .globl epoxy_glWindowPos2d .type epoxy_glWindowPos2d, %object; epoxy_glWindowPos2d: .globl epoxy_glWindowPos2dARB .type epoxy_glWindowPos2dARB, %object; epoxy_glWindowPos2dARB: .globl epoxy_glWindowPos2dMESA .type epoxy_glWindowPos2dMESA, %object; epoxy_glWindowPos2dMESA: .globl epoxy_glWindowPos2dv .type epoxy_glWindowPos2dv, %object; epoxy_glWindowPos2dv: .globl epoxy_glWindowPos2dvARB .type epoxy_glWindowPos2dvARB, %object; epoxy_glWindowPos2dvARB: .globl epoxy_glWindowPos2dvMESA .type epoxy_glWindowPos2dvMESA, %object; epoxy_glWindowPos2dvMESA: .globl epoxy_glWindowPos2f .type epoxy_glWindowPos2f, %object; epoxy_glWindowPos2f: .globl epoxy_glWindowPos2fARB .type epoxy_glWindowPos2fARB, %object; epoxy_glWindowPos2fARB: .globl epoxy_glWindowPos2fMESA .type epoxy_glWindowPos2fMESA, %object; epoxy_glWindowPos2fMESA: .globl epoxy_glWindowPos2fv .type epoxy_glWindowPos2fv, %object; epoxy_glWindowPos2fv: .globl epoxy_glWindowPos2fvARB .type epoxy_glWindowPos2fvARB, %object; epoxy_glWindowPos2fvARB: .globl epoxy_glWindowPos2fvMESA .type epoxy_glWindowPos2fvMESA, %object; epoxy_glWindowPos2fvMESA: .globl epoxy_glWindowPos2i .type epoxy_glWindowPos2i, %object; epoxy_glWindowPos2i: .globl epoxy_glWindowPos2iARB .type epoxy_glWindowPos2iARB, %object; epoxy_glWindowPos2iARB: .globl epoxy_glWindowPos2iMESA .type epoxy_glWindowPos2iMESA, %object; epoxy_glWindowPos2iMESA: .globl epoxy_glWindowPos2iv .type epoxy_glWindowPos2iv, %object; epoxy_glWindowPos2iv: .globl epoxy_glWindowPos2ivARB .type epoxy_glWindowPos2ivARB, %object; epoxy_glWindowPos2ivARB: .globl epoxy_glWindowPos2ivMESA .type epoxy_glWindowPos2ivMESA, %object; epoxy_glWindowPos2ivMESA: .globl epoxy_glWindowPos2s .type epoxy_glWindowPos2s, %object; epoxy_glWindowPos2s: .globl epoxy_glWindowPos2sARB .type epoxy_glWindowPos2sARB, %object; epoxy_glWindowPos2sARB: .globl epoxy_glWindowPos2sMESA .type epoxy_glWindowPos2sMESA, %object; epoxy_glWindowPos2sMESA: .globl epoxy_glWindowPos2sv .type epoxy_glWindowPos2sv, %object; epoxy_glWindowPos2sv: .globl epoxy_glWindowPos2svARB .type epoxy_glWindowPos2svARB, %object; epoxy_glWindowPos2svARB: .globl epoxy_glWindowPos2svMESA .type epoxy_glWindowPos2svMESA, %object; epoxy_glWindowPos2svMESA: .globl epoxy_glWindowPos3d .type epoxy_glWindowPos3d, %object; epoxy_glWindowPos3d: .globl epoxy_glWindowPos3dARB .type epoxy_glWindowPos3dARB, %object; epoxy_glWindowPos3dARB: .globl epoxy_glWindowPos3dMESA .type epoxy_glWindowPos3dMESA, %object; epoxy_glWindowPos3dMESA: .globl epoxy_glWindowPos3dv .type epoxy_glWindowPos3dv, %object; epoxy_glWindowPos3dv: .globl epoxy_glWindowPos3dvARB .type epoxy_glWindowPos3dvARB, %object; epoxy_glWindowPos3dvARB: .globl epoxy_glWindowPos3dvMESA .type epoxy_glWindowPos3dvMESA, %object; epoxy_glWindowPos3dvMESA: .globl epoxy_glWindowPos3f .type epoxy_glWindowPos3f, %object; epoxy_glWindowPos3f: .globl epoxy_glWindowPos3fARB .type epoxy_glWindowPos3fARB, %object; epoxy_glWindowPos3fARB: .globl epoxy_glWindowPos3fMESA .type epoxy_glWindowPos3fMESA, %object; epoxy_glWindowPos3fMESA: .globl epoxy_glWindowPos3fv .type epoxy_glWindowPos3fv, %object; epoxy_glWindowPos3fv: .globl epoxy_glWindowPos3fvARB .type epoxy_glWindowPos3fvARB, %object; epoxy_glWindowPos3fvARB: .globl epoxy_glWindowPos3fvMESA .type epoxy_glWindowPos3fvMESA, %object; epoxy_glWindowPos3fvMESA: .globl epoxy_glWindowPos3i .type epoxy_glWindowPos3i, %object; epoxy_glWindowPos3i: .globl epoxy_glWindowPos3iARB .type epoxy_glWindowPos3iARB, %object; epoxy_glWindowPos3iARB: .globl epoxy_glWindowPos3iMESA .type epoxy_glWindowPos3iMESA, %object; epoxy_glWindowPos3iMESA: .globl epoxy_glWindowPos3iv .type epoxy_glWindowPos3iv, %object; epoxy_glWindowPos3iv: .globl epoxy_glWindowPos3ivARB .type epoxy_glWindowPos3ivARB, %object; epoxy_glWindowPos3ivARB: .globl epoxy_glWindowPos3ivMESA .type epoxy_glWindowPos3ivMESA, %object; epoxy_glWindowPos3ivMESA: .globl epoxy_glWindowPos3s .type epoxy_glWindowPos3s, %object; epoxy_glWindowPos3s: .globl epoxy_glWindowPos3sARB .type epoxy_glWindowPos3sARB, %object; epoxy_glWindowPos3sARB: .globl epoxy_glWindowPos3sMESA .type epoxy_glWindowPos3sMESA, %object; epoxy_glWindowPos3sMESA: .globl epoxy_glWindowPos3sv .type epoxy_glWindowPos3sv, %object; epoxy_glWindowPos3sv: .globl epoxy_glWindowPos3svARB .type epoxy_glWindowPos3svARB, %object; epoxy_glWindowPos3svARB: .globl epoxy_glWindowPos3svMESA .type epoxy_glWindowPos3svMESA, %object; epoxy_glWindowPos3svMESA: .globl epoxy_glWindowPos4dMESA .type epoxy_glWindowPos4dMESA, %object; epoxy_glWindowPos4dMESA: .globl epoxy_glWindowPos4dvMESA .type epoxy_glWindowPos4dvMESA, %object; epoxy_glWindowPos4dvMESA: .globl epoxy_glWindowPos4fMESA .type epoxy_glWindowPos4fMESA, %object; epoxy_glWindowPos4fMESA: .globl epoxy_glWindowPos4fvMESA .type epoxy_glWindowPos4fvMESA, %object; epoxy_glWindowPos4fvMESA: .globl epoxy_glWindowPos4iMESA .type epoxy_glWindowPos4iMESA, %object; epoxy_glWindowPos4iMESA: .globl epoxy_glWindowPos4ivMESA .type epoxy_glWindowPos4ivMESA, %object; epoxy_glWindowPos4ivMESA: .globl epoxy_glWindowPos4sMESA .type epoxy_glWindowPos4sMESA, %object; epoxy_glWindowPos4sMESA: .globl epoxy_glWindowPos4svMESA .type epoxy_glWindowPos4svMESA, %object; epoxy_glWindowPos4svMESA: .globl epoxy_glWindowRectanglesEXT .type epoxy_glWindowRectanglesEXT, %object; epoxy_glWindowRectanglesEXT: .globl epoxy_glWriteMaskEXT .type epoxy_glWriteMaskEXT, %object; epoxy_glWriteMaskEXT: .globl epoxy_glXBindChannelToWindowSGIX .type epoxy_glXBindChannelToWindowSGIX, %object; epoxy_glXBindChannelToWindowSGIX: .globl epoxy_glXBindHyperpipeSGIX .type epoxy_glXBindHyperpipeSGIX, %object; epoxy_glXBindHyperpipeSGIX: .globl epoxy_glXBindSwapBarrierNV .type epoxy_glXBindSwapBarrierNV, %object; epoxy_glXBindSwapBarrierNV: .globl epoxy_glXBindSwapBarrierSGIX .type epoxy_glXBindSwapBarrierSGIX, %object; epoxy_glXBindSwapBarrierSGIX: .globl epoxy_glXBindTexImageEXT .type epoxy_glXBindTexImageEXT, %object; epoxy_glXBindTexImageEXT: .globl epoxy_glXBindVideoCaptureDeviceNV .type epoxy_glXBindVideoCaptureDeviceNV, %object; epoxy_glXBindVideoCaptureDeviceNV: .globl epoxy_glXBindVideoDeviceNV .type epoxy_glXBindVideoDeviceNV, %object; epoxy_glXBindVideoDeviceNV: .globl epoxy_glXBindVideoImageNV .type epoxy_glXBindVideoImageNV, %object; epoxy_glXBindVideoImageNV: .globl epoxy_glXBlitContextFramebufferAMD .type epoxy_glXBlitContextFramebufferAMD, %object; epoxy_glXBlitContextFramebufferAMD: .globl epoxy_glXChannelRectSGIX .type epoxy_glXChannelRectSGIX, %object; epoxy_glXChannelRectSGIX: .globl epoxy_glXChannelRectSyncSGIX .type epoxy_glXChannelRectSyncSGIX, %object; epoxy_glXChannelRectSyncSGIX: .globl epoxy_glXChooseFBConfig .type epoxy_glXChooseFBConfig, %object; epoxy_glXChooseFBConfig: .globl epoxy_glXChooseFBConfigSGIX .type epoxy_glXChooseFBConfigSGIX, %object; epoxy_glXChooseFBConfigSGIX: .globl epoxy_glXChooseVisual .type epoxy_glXChooseVisual, %object; epoxy_glXChooseVisual: .globl epoxy_glXCopyBufferSubDataNV .type epoxy_glXCopyBufferSubDataNV, %object; epoxy_glXCopyBufferSubDataNV: .globl epoxy_glXCopyContext .type epoxy_glXCopyContext, %object; epoxy_glXCopyContext: .globl epoxy_glXCopyImageSubDataNV .type epoxy_glXCopyImageSubDataNV, %object; epoxy_glXCopyImageSubDataNV: .globl epoxy_glXCopySubBufferMESA .type epoxy_glXCopySubBufferMESA, %object; epoxy_glXCopySubBufferMESA: .globl epoxy_glXCreateAssociatedContextAMD .type epoxy_glXCreateAssociatedContextAMD, %object; epoxy_glXCreateAssociatedContextAMD: .globl epoxy_glXCreateAssociatedContextAttribsAMD .type epoxy_glXCreateAssociatedContextAttribsAMD, %object; epoxy_glXCreateAssociatedContextAttribsAMD: .globl epoxy_glXCreateContext .type epoxy_glXCreateContext, %object; epoxy_glXCreateContext: .globl epoxy_glXCreateContextAttribsARB .type epoxy_glXCreateContextAttribsARB, %object; epoxy_glXCreateContextAttribsARB: .globl epoxy_glXCreateContextWithConfigSGIX .type epoxy_glXCreateContextWithConfigSGIX, %object; epoxy_glXCreateContextWithConfigSGIX: .globl epoxy_glXCreateGLXPbufferSGIX .type epoxy_glXCreateGLXPbufferSGIX, %object; epoxy_glXCreateGLXPbufferSGIX: .globl epoxy_glXCreateGLXPixmap .type epoxy_glXCreateGLXPixmap, %object; epoxy_glXCreateGLXPixmap: .globl epoxy_glXCreateGLXPixmapMESA .type epoxy_glXCreateGLXPixmapMESA, %object; epoxy_glXCreateGLXPixmapMESA: .globl epoxy_glXCreateGLXPixmapWithConfigSGIX .type epoxy_glXCreateGLXPixmapWithConfigSGIX, %object; epoxy_glXCreateGLXPixmapWithConfigSGIX: .globl epoxy_glXCreateNewContext .type epoxy_glXCreateNewContext, %object; epoxy_glXCreateNewContext: .globl epoxy_glXCreatePbuffer .type epoxy_glXCreatePbuffer, %object; epoxy_glXCreatePbuffer: .globl epoxy_glXCreatePixmap .type epoxy_glXCreatePixmap, %object; epoxy_glXCreatePixmap: .globl epoxy_glXCreateWindow .type epoxy_glXCreateWindow, %object; epoxy_glXCreateWindow: .globl epoxy_glXCushionSGI .type epoxy_glXCushionSGI, %object; epoxy_glXCushionSGI: .globl epoxy_glXDelayBeforeSwapNV .type epoxy_glXDelayBeforeSwapNV, %object; epoxy_glXDelayBeforeSwapNV: .globl epoxy_glXDeleteAssociatedContextAMD .type epoxy_glXDeleteAssociatedContextAMD, %object; epoxy_glXDeleteAssociatedContextAMD: .globl epoxy_glXDestroyContext .type epoxy_glXDestroyContext, %object; epoxy_glXDestroyContext: .globl epoxy_glXDestroyGLXPbufferSGIX .type epoxy_glXDestroyGLXPbufferSGIX, %object; epoxy_glXDestroyGLXPbufferSGIX: .globl epoxy_glXDestroyGLXPixmap .type epoxy_glXDestroyGLXPixmap, %object; epoxy_glXDestroyGLXPixmap: .globl epoxy_glXDestroyGLXVideoSourceSGIX .type epoxy_glXDestroyGLXVideoSourceSGIX, %object; epoxy_glXDestroyGLXVideoSourceSGIX: .globl epoxy_glXDestroyHyperpipeConfigSGIX .type epoxy_glXDestroyHyperpipeConfigSGIX, %object; epoxy_glXDestroyHyperpipeConfigSGIX: .globl epoxy_glXDestroyPbuffer .type epoxy_glXDestroyPbuffer, %object; epoxy_glXDestroyPbuffer: .globl epoxy_glXDestroyPixmap .type epoxy_glXDestroyPixmap, %object; epoxy_glXDestroyPixmap: .globl epoxy_glXDestroyWindow .type epoxy_glXDestroyWindow, %object; epoxy_glXDestroyWindow: .globl epoxy_glXEnumerateVideoCaptureDevicesNV .type epoxy_glXEnumerateVideoCaptureDevicesNV, %object; epoxy_glXEnumerateVideoCaptureDevicesNV: .globl epoxy_glXEnumerateVideoDevicesNV .type epoxy_glXEnumerateVideoDevicesNV, %object; epoxy_glXEnumerateVideoDevicesNV: .globl epoxy_glXFreeContextEXT .type epoxy_glXFreeContextEXT, %object; epoxy_glXFreeContextEXT: .globl epoxy_glXGetAGPOffsetMESA .type epoxy_glXGetAGPOffsetMESA, %object; epoxy_glXGetAGPOffsetMESA: .globl epoxy_glXGetClientString .type epoxy_glXGetClientString, %object; epoxy_glXGetClientString: .globl epoxy_glXGetConfig .type epoxy_glXGetConfig, %object; epoxy_glXGetConfig: .globl epoxy_glXGetContextGPUIDAMD .type epoxy_glXGetContextGPUIDAMD, %object; epoxy_glXGetContextGPUIDAMD: .globl epoxy_glXGetContextIDEXT .type epoxy_glXGetContextIDEXT, %object; epoxy_glXGetContextIDEXT: .globl epoxy_glXGetCurrentAssociatedContextAMD .type epoxy_glXGetCurrentAssociatedContextAMD, %object; epoxy_glXGetCurrentAssociatedContextAMD: .globl epoxy_glXGetCurrentContext .type epoxy_glXGetCurrentContext, %object; epoxy_glXGetCurrentContext: .globl epoxy_glXGetCurrentDisplay .type epoxy_glXGetCurrentDisplay, %object; epoxy_glXGetCurrentDisplay: .globl epoxy_glXGetCurrentDisplayEXT .type epoxy_glXGetCurrentDisplayEXT, %object; epoxy_glXGetCurrentDisplayEXT: .globl epoxy_glXGetCurrentDrawable .type epoxy_glXGetCurrentDrawable, %object; epoxy_glXGetCurrentDrawable: .globl epoxy_glXGetCurrentReadDrawable .type epoxy_glXGetCurrentReadDrawable, %object; epoxy_glXGetCurrentReadDrawable: .globl epoxy_glXGetCurrentReadDrawableSGI .type epoxy_glXGetCurrentReadDrawableSGI, %object; epoxy_glXGetCurrentReadDrawableSGI: .globl epoxy_glXGetFBConfigAttrib .type epoxy_glXGetFBConfigAttrib, %object; epoxy_glXGetFBConfigAttrib: .globl epoxy_glXGetFBConfigAttribSGIX .type epoxy_glXGetFBConfigAttribSGIX, %object; epoxy_glXGetFBConfigAttribSGIX: .globl epoxy_glXGetFBConfigFromVisualSGIX .type epoxy_glXGetFBConfigFromVisualSGIX, %object; epoxy_glXGetFBConfigFromVisualSGIX: .globl epoxy_glXGetFBConfigs .type epoxy_glXGetFBConfigs, %object; epoxy_glXGetFBConfigs: .globl epoxy_glXGetGPUIDsAMD .type epoxy_glXGetGPUIDsAMD, %object; epoxy_glXGetGPUIDsAMD: .globl epoxy_glXGetGPUInfoAMD .type epoxy_glXGetGPUInfoAMD, %object; epoxy_glXGetGPUInfoAMD: .globl epoxy_glXGetMscRateOML .type epoxy_glXGetMscRateOML, %object; epoxy_glXGetMscRateOML: .globl epoxy_glXGetProcAddress .type epoxy_glXGetProcAddress, %object; epoxy_glXGetProcAddress: .globl epoxy_glXGetProcAddressARB .type epoxy_glXGetProcAddressARB, %object; epoxy_glXGetProcAddressARB: .globl epoxy_glXGetSelectedEvent .type epoxy_glXGetSelectedEvent, %object; epoxy_glXGetSelectedEvent: .globl epoxy_glXGetSelectedEventSGIX .type epoxy_glXGetSelectedEventSGIX, %object; epoxy_glXGetSelectedEventSGIX: .globl epoxy_glXGetSwapIntervalMESA .type epoxy_glXGetSwapIntervalMESA, %object; epoxy_glXGetSwapIntervalMESA: .globl epoxy_glXGetSyncValuesOML .type epoxy_glXGetSyncValuesOML, %object; epoxy_glXGetSyncValuesOML: .globl epoxy_glXGetTransparentIndexSUN .type epoxy_glXGetTransparentIndexSUN, %object; epoxy_glXGetTransparentIndexSUN: .globl epoxy_glXGetVideoDeviceNV .type epoxy_glXGetVideoDeviceNV, %object; epoxy_glXGetVideoDeviceNV: .globl epoxy_glXGetVideoInfoNV .type epoxy_glXGetVideoInfoNV, %object; epoxy_glXGetVideoInfoNV: .globl epoxy_glXGetVideoSyncSGI .type epoxy_glXGetVideoSyncSGI, %object; epoxy_glXGetVideoSyncSGI: .globl epoxy_glXGetVisualFromFBConfig .type epoxy_glXGetVisualFromFBConfig, %object; epoxy_glXGetVisualFromFBConfig: .globl epoxy_glXGetVisualFromFBConfigSGIX .type epoxy_glXGetVisualFromFBConfigSGIX, %object; epoxy_glXGetVisualFromFBConfigSGIX: .globl epoxy_glXHyperpipeAttribSGIX .type epoxy_glXHyperpipeAttribSGIX, %object; epoxy_glXHyperpipeAttribSGIX: .globl epoxy_glXHyperpipeConfigSGIX .type epoxy_glXHyperpipeConfigSGIX, %object; epoxy_glXHyperpipeConfigSGIX: .globl epoxy_glXImportContextEXT .type epoxy_glXImportContextEXT, %object; epoxy_glXImportContextEXT: .globl epoxy_glXIsDirect .type epoxy_glXIsDirect, %object; epoxy_glXIsDirect: .globl epoxy_glXJoinSwapGroupNV .type epoxy_glXJoinSwapGroupNV, %object; epoxy_glXJoinSwapGroupNV: .globl epoxy_glXJoinSwapGroupSGIX .type epoxy_glXJoinSwapGroupSGIX, %object; epoxy_glXJoinSwapGroupSGIX: .globl epoxy_glXLockVideoCaptureDeviceNV .type epoxy_glXLockVideoCaptureDeviceNV, %object; epoxy_glXLockVideoCaptureDeviceNV: .globl epoxy_glXMakeAssociatedContextCurrentAMD .type epoxy_glXMakeAssociatedContextCurrentAMD, %object; epoxy_glXMakeAssociatedContextCurrentAMD: .globl epoxy_glXMakeContextCurrent .type epoxy_glXMakeContextCurrent, %object; epoxy_glXMakeContextCurrent: .globl epoxy_glXMakeCurrent .type epoxy_glXMakeCurrent, %object; epoxy_glXMakeCurrent: .globl epoxy_glXMakeCurrentReadSGI .type epoxy_glXMakeCurrentReadSGI, %object; epoxy_glXMakeCurrentReadSGI: .globl epoxy_glXNamedCopyBufferSubDataNV .type epoxy_glXNamedCopyBufferSubDataNV, %object; epoxy_glXNamedCopyBufferSubDataNV: .globl epoxy_glXQueryChannelDeltasSGIX .type epoxy_glXQueryChannelDeltasSGIX, %object; epoxy_glXQueryChannelDeltasSGIX: .globl epoxy_glXQueryChannelRectSGIX .type epoxy_glXQueryChannelRectSGIX, %object; epoxy_glXQueryChannelRectSGIX: .globl epoxy_glXQueryContext .type epoxy_glXQueryContext, %object; epoxy_glXQueryContext: .globl epoxy_glXQueryContextInfoEXT .type epoxy_glXQueryContextInfoEXT, %object; epoxy_glXQueryContextInfoEXT: .globl epoxy_glXQueryCurrentRendererIntegerMESA .type epoxy_glXQueryCurrentRendererIntegerMESA, %object; epoxy_glXQueryCurrentRendererIntegerMESA: .globl epoxy_glXQueryCurrentRendererStringMESA .type epoxy_glXQueryCurrentRendererStringMESA, %object; epoxy_glXQueryCurrentRendererStringMESA: .globl epoxy_glXQueryDrawable .type epoxy_glXQueryDrawable, %object; epoxy_glXQueryDrawable: .globl epoxy_glXQueryExtension .type epoxy_glXQueryExtension, %object; epoxy_glXQueryExtension: .globl epoxy_glXQueryExtensionsString .type epoxy_glXQueryExtensionsString, %object; epoxy_glXQueryExtensionsString: .globl epoxy_glXQueryFrameCountNV .type epoxy_glXQueryFrameCountNV, %object; epoxy_glXQueryFrameCountNV: .globl epoxy_glXQueryGLXPbufferSGIX .type epoxy_glXQueryGLXPbufferSGIX, %object; epoxy_glXQueryGLXPbufferSGIX: .globl epoxy_glXQueryHyperpipeAttribSGIX .type epoxy_glXQueryHyperpipeAttribSGIX, %object; epoxy_glXQueryHyperpipeAttribSGIX: .globl epoxy_glXQueryHyperpipeBestAttribSGIX .type epoxy_glXQueryHyperpipeBestAttribSGIX, %object; epoxy_glXQueryHyperpipeBestAttribSGIX: .globl epoxy_glXQueryHyperpipeConfigSGIX .type epoxy_glXQueryHyperpipeConfigSGIX, %object; epoxy_glXQueryHyperpipeConfigSGIX: .globl epoxy_glXQueryHyperpipeNetworkSGIX .type epoxy_glXQueryHyperpipeNetworkSGIX, %object; epoxy_glXQueryHyperpipeNetworkSGIX: .globl epoxy_glXQueryMaxSwapBarriersSGIX .type epoxy_glXQueryMaxSwapBarriersSGIX, %object; epoxy_glXQueryMaxSwapBarriersSGIX: .globl epoxy_glXQueryMaxSwapGroupsNV .type epoxy_glXQueryMaxSwapGroupsNV, %object; epoxy_glXQueryMaxSwapGroupsNV: .globl epoxy_glXQueryRendererIntegerMESA .type epoxy_glXQueryRendererIntegerMESA, %object; epoxy_glXQueryRendererIntegerMESA: .globl epoxy_glXQueryRendererStringMESA .type epoxy_glXQueryRendererStringMESA, %object; epoxy_glXQueryRendererStringMESA: .globl epoxy_glXQueryServerString .type epoxy_glXQueryServerString, %object; epoxy_glXQueryServerString: .globl epoxy_glXQuerySwapGroupNV .type epoxy_glXQuerySwapGroupNV, %object; epoxy_glXQuerySwapGroupNV: .globl epoxy_glXQueryVersion .type epoxy_glXQueryVersion, %object; epoxy_glXQueryVersion: .globl epoxy_glXQueryVideoCaptureDeviceNV .type epoxy_glXQueryVideoCaptureDeviceNV, %object; epoxy_glXQueryVideoCaptureDeviceNV: .globl epoxy_glXReleaseBuffersMESA .type epoxy_glXReleaseBuffersMESA, %object; epoxy_glXReleaseBuffersMESA: .globl epoxy_glXReleaseTexImageEXT .type epoxy_glXReleaseTexImageEXT, %object; epoxy_glXReleaseTexImageEXT: .globl epoxy_glXReleaseVideoCaptureDeviceNV .type epoxy_glXReleaseVideoCaptureDeviceNV, %object; epoxy_glXReleaseVideoCaptureDeviceNV: .globl epoxy_glXReleaseVideoDeviceNV .type epoxy_glXReleaseVideoDeviceNV, %object; epoxy_glXReleaseVideoDeviceNV: .globl epoxy_glXReleaseVideoImageNV .type epoxy_glXReleaseVideoImageNV, %object; epoxy_glXReleaseVideoImageNV: .globl epoxy_glXResetFrameCountNV .type epoxy_glXResetFrameCountNV, %object; epoxy_glXResetFrameCountNV: .globl epoxy_glXSelectEvent .type epoxy_glXSelectEvent, %object; epoxy_glXSelectEvent: .globl epoxy_glXSelectEventSGIX .type epoxy_glXSelectEventSGIX, %object; epoxy_glXSelectEventSGIX: .globl epoxy_glXSendPbufferToVideoNV .type epoxy_glXSendPbufferToVideoNV, %object; epoxy_glXSendPbufferToVideoNV: .globl epoxy_glXSet3DfxModeMESA .type epoxy_glXSet3DfxModeMESA, %object; epoxy_glXSet3DfxModeMESA: .globl epoxy_glXSwapBuffers .type epoxy_glXSwapBuffers, %object; epoxy_glXSwapBuffers: .globl epoxy_glXSwapBuffersMscOML .type epoxy_glXSwapBuffersMscOML, %object; epoxy_glXSwapBuffersMscOML: .globl epoxy_glXSwapIntervalEXT .type epoxy_glXSwapIntervalEXT, %object; epoxy_glXSwapIntervalEXT: .globl epoxy_glXSwapIntervalMESA .type epoxy_glXSwapIntervalMESA, %object; epoxy_glXSwapIntervalMESA: .globl epoxy_glXSwapIntervalSGI .type epoxy_glXSwapIntervalSGI, %object; epoxy_glXSwapIntervalSGI: .globl epoxy_glXUseXFont .type epoxy_glXUseXFont, %object; epoxy_glXUseXFont: .globl epoxy_glXWaitForMscOML .type epoxy_glXWaitForMscOML, %object; epoxy_glXWaitForMscOML: .globl epoxy_glXWaitForSbcOML .type epoxy_glXWaitForSbcOML, %object; epoxy_glXWaitForSbcOML: .globl epoxy_glXWaitGL .type epoxy_glXWaitGL, %object; epoxy_glXWaitGL: .globl epoxy_glXWaitVideoSyncSGI .type epoxy_glXWaitVideoSyncSGI, %object; epoxy_glXWaitVideoSyncSGI: .globl epoxy_glXWaitX .type epoxy_glXWaitX, %object; epoxy_glXWaitX: .text .globl epoxy_egl_version .type epoxy_egl_version, %function; epoxy_egl_version: .globl epoxy_extension_in_string .type epoxy_extension_in_string, %function; epoxy_extension_in_string: .globl epoxy_gl_version .type epoxy_gl_version, %function; epoxy_gl_version: .globl epoxy_glsl_version .type epoxy_glsl_version, %function; epoxy_glsl_version: .globl epoxy_glx_version .type epoxy_glx_version, %function; epoxy_glx_version: .globl epoxy_has_egl .type epoxy_has_egl, %function; epoxy_has_egl: .globl epoxy_has_egl_extension .type epoxy_has_egl_extension, %function; epoxy_has_egl_extension: .globl epoxy_has_gl_extension .type epoxy_has_gl_extension, %function; epoxy_has_gl_extension: .globl epoxy_has_glx .type epoxy_has_glx, %function; epoxy_has_glx: .globl epoxy_has_glx_extension .type epoxy_has_glx_extension, %function; epoxy_has_glx_extension: .globl epoxy_is_desktop_gl .type epoxy_is_desktop_gl, %function; epoxy_is_desktop_gl: .globl epoxy_set_resolver_failure_handler .type epoxy_set_resolver_failure_handler, %function; epoxy_set_resolver_failure_handler: .globl glfwCreateCursor .type glfwCreateCursor, %function; glfwCreateCursor: .globl glfwCreateStandardCursor .type glfwCreateStandardCursor, %function; glfwCreateStandardCursor: .globl glfwCreateWindow .type glfwCreateWindow, %function; glfwCreateWindow: .globl glfwCreateWindowSurface .type glfwCreateWindowSurface, %function; glfwCreateWindowSurface: .globl glfwDefaultWindowHints .type glfwDefaultWindowHints, %function; glfwDefaultWindowHints: .globl glfwDestroyCursor .type glfwDestroyCursor, %function; glfwDestroyCursor: .globl glfwDestroyWindow .type glfwDestroyWindow, %function; glfwDestroyWindow: .globl glfwExtensionSupported .type glfwExtensionSupported, %function; glfwExtensionSupported: .globl glfwFocusWindow .type glfwFocusWindow, %function; glfwFocusWindow: .globl glfwGetClipboardString .type glfwGetClipboardString, %function; glfwGetClipboardString: .globl glfwGetCurrentContext .type glfwGetCurrentContext, %function; glfwGetCurrentContext: .globl glfwGetCursorPos .type glfwGetCursorPos, %function; glfwGetCursorPos: .globl glfwGetEGLContext .type glfwGetEGLContext, %function; glfwGetEGLContext: .globl glfwGetEGLDisplay .type glfwGetEGLDisplay, %function; glfwGetEGLDisplay: .globl glfwGetEGLSurface .type glfwGetEGLSurface, %function; glfwGetEGLSurface: .globl glfwGetError .type glfwGetError, %function; glfwGetError: .globl glfwGetFramebufferSize .type glfwGetFramebufferSize, %function; glfwGetFramebufferSize: .globl glfwGetGLXContext .type glfwGetGLXContext, %function; glfwGetGLXContext: .globl glfwGetGLXWindow .type glfwGetGLXWindow, %function; glfwGetGLXWindow: .globl glfwGetGamepadName .type glfwGetGamepadName, %function; glfwGetGamepadName: .globl glfwGetGamepadState .type glfwGetGamepadState, %function; glfwGetGamepadState: .globl glfwGetGammaRamp .type glfwGetGammaRamp, %function; glfwGetGammaRamp: .globl glfwGetInputMode .type glfwGetInputMode, %function; glfwGetInputMode: .globl glfwGetInstanceProcAddress .type glfwGetInstanceProcAddress, %function; glfwGetInstanceProcAddress: .globl glfwGetJoystickAxes .type glfwGetJoystickAxes, %function; glfwGetJoystickAxes: .globl glfwGetJoystickButtons .type glfwGetJoystickButtons, %function; glfwGetJoystickButtons: .globl glfwGetJoystickGUID .type glfwGetJoystickGUID, %function; glfwGetJoystickGUID: .globl glfwGetJoystickHats .type glfwGetJoystickHats, %function; glfwGetJoystickHats: .globl glfwGetJoystickName .type glfwGetJoystickName, %function; glfwGetJoystickName: .globl glfwGetJoystickUserPointer .type glfwGetJoystickUserPointer, %function; glfwGetJoystickUserPointer: .globl glfwGetKey .type glfwGetKey, %function; glfwGetKey: .globl glfwGetKeyName .type glfwGetKeyName, %function; glfwGetKeyName: .globl glfwGetKeyScancode .type glfwGetKeyScancode, %function; glfwGetKeyScancode: .globl glfwGetMonitorContentScale .type glfwGetMonitorContentScale, %function; glfwGetMonitorContentScale: .globl glfwGetMonitorName .type glfwGetMonitorName, %function; glfwGetMonitorName: .globl glfwGetMonitorPhysicalSize .type glfwGetMonitorPhysicalSize, %function; glfwGetMonitorPhysicalSize: .globl glfwGetMonitorPos .type glfwGetMonitorPos, %function; glfwGetMonitorPos: .globl glfwGetMonitorUserPointer .type glfwGetMonitorUserPointer, %function; glfwGetMonitorUserPointer: .globl glfwGetMonitorWorkarea .type glfwGetMonitorWorkarea, %function; glfwGetMonitorWorkarea: .globl glfwGetMonitors .type glfwGetMonitors, %function; glfwGetMonitors: .globl glfwGetMouseButton .type glfwGetMouseButton, %function; glfwGetMouseButton: .globl glfwGetOSMesaColorBuffer .type glfwGetOSMesaColorBuffer, %function; glfwGetOSMesaColorBuffer: .globl glfwGetOSMesaContext .type glfwGetOSMesaContext, %function; glfwGetOSMesaContext: .globl glfwGetOSMesaDepthBuffer .type glfwGetOSMesaDepthBuffer, %function; glfwGetOSMesaDepthBuffer: .globl glfwGetPhysicalDevicePresentationSupport .type glfwGetPhysicalDevicePresentationSupport, %function; glfwGetPhysicalDevicePresentationSupport: .globl glfwGetPrimaryMonitor .type glfwGetPrimaryMonitor, %function; glfwGetPrimaryMonitor: .globl glfwGetProcAddress .type glfwGetProcAddress, %function; glfwGetProcAddress: .globl glfwGetRequiredInstanceExtensions .type glfwGetRequiredInstanceExtensions, %function; glfwGetRequiredInstanceExtensions: .globl glfwGetTime .type glfwGetTime, %function; glfwGetTime: .globl glfwGetTimerFrequency .type glfwGetTimerFrequency, %function; glfwGetTimerFrequency: .globl glfwGetTimerValue .type glfwGetTimerValue, %function; glfwGetTimerValue: .globl glfwGetVersion .type glfwGetVersion, %function; glfwGetVersion: .globl glfwGetVersionString .type glfwGetVersionString, %function; glfwGetVersionString: .globl glfwGetVideoMode .type glfwGetVideoMode, %function; glfwGetVideoMode: .globl glfwGetVideoModes .type glfwGetVideoModes, %function; glfwGetVideoModes: .globl glfwGetWindowAttrib .type glfwGetWindowAttrib, %function; glfwGetWindowAttrib: .globl glfwGetWindowContentScale .type glfwGetWindowContentScale, %function; glfwGetWindowContentScale: .globl glfwGetWindowFrameSize .type glfwGetWindowFrameSize, %function; glfwGetWindowFrameSize: .globl glfwGetWindowMonitor .type glfwGetWindowMonitor, %function; glfwGetWindowMonitor: .globl glfwGetWindowOpacity .type glfwGetWindowOpacity, %function; glfwGetWindowOpacity: .globl glfwGetWindowPos .type glfwGetWindowPos, %function; glfwGetWindowPos: .globl glfwGetWindowSize .type glfwGetWindowSize, %function; glfwGetWindowSize: .globl glfwGetWindowUserPointer .type glfwGetWindowUserPointer, %function; glfwGetWindowUserPointer: .globl glfwGetX11Adapter .type glfwGetX11Adapter, %function; glfwGetX11Adapter: .globl glfwGetX11Display .type glfwGetX11Display, %function; glfwGetX11Display: .globl glfwGetX11Monitor .type glfwGetX11Monitor, %function; glfwGetX11Monitor: .globl glfwGetX11SelectionString .type glfwGetX11SelectionString, %function; glfwGetX11SelectionString: .globl glfwGetX11Window .type glfwGetX11Window, %function; glfwGetX11Window: .globl glfwHideWindow .type glfwHideWindow, %function; glfwHideWindow: .globl glfwIconifyWindow .type glfwIconifyWindow, %function; glfwIconifyWindow: .globl glfwInit .type glfwInit, %function; glfwInit: .globl glfwInitHint .type glfwInitHint, %function; glfwInitHint: .globl glfwJoystickIsGamepad .type glfwJoystickIsGamepad, %function; glfwJoystickIsGamepad: .globl glfwJoystickPresent .type glfwJoystickPresent, %function; glfwJoystickPresent: .globl glfwMakeContextCurrent .type glfwMakeContextCurrent, %function; glfwMakeContextCurrent: .globl glfwMaximizeWindow .type glfwMaximizeWindow, %function; glfwMaximizeWindow: .globl glfwPollEvents .type glfwPollEvents, %function; glfwPollEvents: .globl glfwPostEmptyEvent .type glfwPostEmptyEvent, %function; glfwPostEmptyEvent: .globl glfwRawMouseMotionSupported .type glfwRawMouseMotionSupported, %function; glfwRawMouseMotionSupported: .globl glfwRequestWindowAttention .type glfwRequestWindowAttention, %function; glfwRequestWindowAttention: .globl glfwRestoreWindow .type glfwRestoreWindow, %function; glfwRestoreWindow: .globl glfwSetCharCallback .type glfwSetCharCallback, %function; glfwSetCharCallback: .globl glfwSetCharModsCallback .type glfwSetCharModsCallback, %function; glfwSetCharModsCallback: .globl glfwSetClipboardString .type glfwSetClipboardString, %function; glfwSetClipboardString: .globl glfwSetCursor .type glfwSetCursor, %function; glfwSetCursor: .globl glfwSetCursorEnterCallback .type glfwSetCursorEnterCallback, %function; glfwSetCursorEnterCallback: .globl glfwSetCursorPos .type glfwSetCursorPos, %function; glfwSetCursorPos: .globl glfwSetCursorPosCallback .type glfwSetCursorPosCallback, %function; glfwSetCursorPosCallback: .globl glfwSetDropCallback .type glfwSetDropCallback, %function; glfwSetDropCallback: .globl glfwSetErrorCallback .type glfwSetErrorCallback, %function; glfwSetErrorCallback: .globl glfwSetFramebufferSizeCallback .type glfwSetFramebufferSizeCallback, %function; glfwSetFramebufferSizeCallback: .globl glfwSetGamma .type glfwSetGamma, %function; glfwSetGamma: .globl glfwSetGammaRamp .type glfwSetGammaRamp, %function; glfwSetGammaRamp: .globl glfwSetInputMode .type glfwSetInputMode, %function; glfwSetInputMode: .globl glfwSetJoystickCallback .type glfwSetJoystickCallback, %function; glfwSetJoystickCallback: .globl glfwSetJoystickUserPointer .type glfwSetJoystickUserPointer, %function; glfwSetJoystickUserPointer: .globl glfwSetKeyCallback .type glfwSetKeyCallback, %function; glfwSetKeyCallback: .globl glfwSetMonitorCallback .type glfwSetMonitorCallback, %function; glfwSetMonitorCallback: .globl glfwSetMonitorUserPointer .type glfwSetMonitorUserPointer, %function; glfwSetMonitorUserPointer: .globl glfwSetMouseButtonCallback .type glfwSetMouseButtonCallback, %function; glfwSetMouseButtonCallback: .globl glfwSetScrollCallback .type glfwSetScrollCallback, %function; glfwSetScrollCallback: .globl glfwSetTime .type glfwSetTime, %function; glfwSetTime: .globl glfwSetWindowAspectRatio .type glfwSetWindowAspectRatio, %function; glfwSetWindowAspectRatio: .globl glfwSetWindowAttrib .type glfwSetWindowAttrib, %function; glfwSetWindowAttrib: .globl glfwSetWindowCloseCallback .type glfwSetWindowCloseCallback, %function; glfwSetWindowCloseCallback: .globl glfwSetWindowContentScaleCallback .type glfwSetWindowContentScaleCallback, %function; glfwSetWindowContentScaleCallback: .globl glfwSetWindowFocusCallback .type glfwSetWindowFocusCallback, %function; glfwSetWindowFocusCallback: .globl glfwSetWindowIcon .type glfwSetWindowIcon, %function; glfwSetWindowIcon: .globl glfwSetWindowIconifyCallback .type glfwSetWindowIconifyCallback, %function; glfwSetWindowIconifyCallback: .globl glfwSetWindowMaximizeCallback .type glfwSetWindowMaximizeCallback, %function; glfwSetWindowMaximizeCallback: .globl glfwSetWindowMonitor .type glfwSetWindowMonitor, %function; glfwSetWindowMonitor: .globl glfwSetWindowOpacity .type glfwSetWindowOpacity, %function; glfwSetWindowOpacity: .globl glfwSetWindowPos .type glfwSetWindowPos, %function; glfwSetWindowPos: .globl glfwSetWindowPosCallback .type glfwSetWindowPosCallback, %function; glfwSetWindowPosCallback: .globl glfwSetWindowRefreshCallback .type glfwSetWindowRefreshCallback, %function; glfwSetWindowRefreshCallback: .globl glfwSetWindowShouldClose .type glfwSetWindowShouldClose, %function; glfwSetWindowShouldClose: .globl glfwSetWindowSize .type glfwSetWindowSize, %function; glfwSetWindowSize: .globl glfwSetWindowSizeCallback .type glfwSetWindowSizeCallback, %function; glfwSetWindowSizeCallback: .globl glfwSetWindowSizeLimits .type glfwSetWindowSizeLimits, %function; glfwSetWindowSizeLimits: .globl glfwSetWindowTitle .type glfwSetWindowTitle, %function; glfwSetWindowTitle: .globl glfwSetWindowUserPointer .type glfwSetWindowUserPointer, %function; glfwSetWindowUserPointer: .globl glfwSetX11SelectionString .type glfwSetX11SelectionString, %function; glfwSetX11SelectionString: .globl glfwShowWindow .type glfwShowWindow, %function; glfwShowWindow: .globl glfwSwapBuffers .type glfwSwapBuffers, %function; glfwSwapBuffers: .globl glfwSwapInterval .type glfwSwapInterval, %function; glfwSwapInterval: .globl glfwTerminate .type glfwTerminate, %function; glfwTerminate: .globl glfwUpdateGamepadMappings .type glfwUpdateGamepadMappings, %function; glfwUpdateGamepadMappings: .globl glfwVulkanSupported .type glfwVulkanSupported, %function; glfwVulkanSupported: .globl glfwWaitEvents .type glfwWaitEvents, %function; glfwWaitEvents: .globl glfwWaitEventsTimeout .type glfwWaitEventsTimeout, %function; glfwWaitEventsTimeout: .globl glfwWindowHint .type glfwWindowHint, %function; glfwWindowHint: .globl glfwWindowHintString .type glfwWindowHintString, %function; glfwWindowHintString: .globl glfwWindowShouldClose .type glfwWindowShouldClose, %function; glfwWindowShouldClose:
0
repos/gotta-go-fast/src
repos/gotta-go-fast/src/tetris/main.zig
const std = @import("std"); const bench = @import("root"); pub fn setup(_: std.mem.Allocator, options: *bench.Options) ![]const u8 { options.useChildProcess(); return options.zig_exe; } pub fn run(gpa: std.mem.Allocator, zig_exe: []const u8) !void { return bench.exec(gpa, &.{ zig_exe, "build-exe", "src/tetris/tetris/src/main.zig", "-fllvm", "-OReleaseFast", "-fno-lto", "-lc", "-Istb_image-2.22", "--main-pkg-path", "src/tetris", "-I", "src/tetris/include", "-I", "src/tetris/tetris/stb_image-2.22", "src/tetris/tetris/stb_image-2.22/stb_image_impl.c", "src/tetris/glfw-and-epoxy-stubs.s", }, .{}); }
0
repos/gotta-go-fast/src/tetris/include
repos/gotta-go-fast/src/tetris/include/GL/gl.h
/* * Mesa 3-D graphics library * * Copyright (C) 1999-2006 Brian Paul All Rights Reserved. * Copyright (C) 2009 VMware, Inc. All Rights Reserved. * * 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: * * The above copyright notice and this permission notice shall be included * in all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR * OTHER DEALINGS IN THE SOFTWARE. */ #ifndef __gl_h_ #define __gl_h_ /********************************************************************** * Begin system-specific stuff. */ #if defined(_WIN32) && !defined(__WIN32__) && !defined(__CYGWIN__) #define __WIN32__ #endif #if defined(__WIN32__) && !defined(__CYGWIN__) # if (defined(_MSC_VER) || defined(__MINGW32__)) && defined(BUILD_GL32) /* tag specify we're building mesa as a DLL */ # define GLAPI __declspec(dllexport) # elif (defined(_MSC_VER) || defined(__MINGW32__)) && defined(_DLL) /* tag specifying we're building for DLL runtime support */ # define GLAPI __declspec(dllimport) # else /* for use with static link lib build of Win32 edition only */ # define GLAPI extern # endif # if defined(__MINGW32__) && defined(GL_NO_STDCALL) || defined(UNDER_CE) /* The generated DLLs by MingW with STDCALL are not compatible with the ones done by Microsoft's compilers */ # define GLAPIENTRY # else # define GLAPIENTRY __stdcall # endif #elif defined(__CYGWIN__) && defined(USE_OPENGL32) /* use native windows opengl32 */ # define GLAPI extern # define GLAPIENTRY __stdcall #elif (defined(__GNUC__) && __GNUC__ >= 4) || (defined(__SUNPRO_C) && (__SUNPRO_C >= 0x590)) # define GLAPI __attribute__((visibility("default"))) # define GLAPIENTRY #endif /* WIN32 && !CYGWIN */ /* * WINDOWS: Include windows.h here to define APIENTRY. * It is also useful when applications include this file by * including only glut.h, since glut.h depends on windows.h. * Applications needing to include windows.h with parms other * than "WIN32_LEAN_AND_MEAN" may include windows.h before * glut.h or gl.h. */ #if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) #ifndef WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN 1 #endif #include <windows.h> #endif #ifndef GLAPI #define GLAPI extern #endif #ifndef GLAPIENTRY #define GLAPIENTRY #endif #ifndef APIENTRY #define APIENTRY GLAPIENTRY #endif /* "P" suffix to be used for a pointer to a function */ #ifndef APIENTRYP #define APIENTRYP APIENTRY * #endif #ifndef GLAPIENTRYP #define GLAPIENTRYP GLAPIENTRY * #endif /* * End system-specific stuff. **********************************************************************/ #ifdef __cplusplus extern "C" { #endif #define GL_VERSION_1_1 1 #define GL_VERSION_1_2 1 #define GL_VERSION_1_3 1 #define GL_ARB_imaging 1 /* * Datatypes */ typedef unsigned int GLenum; typedef unsigned char GLboolean; typedef unsigned int GLbitfield; typedef void GLvoid; typedef signed char GLbyte; /* 1-byte signed */ typedef short GLshort; /* 2-byte signed */ typedef int GLint; /* 4-byte signed */ typedef unsigned char GLubyte; /* 1-byte unsigned */ typedef unsigned short GLushort; /* 2-byte unsigned */ typedef unsigned int GLuint; /* 4-byte unsigned */ typedef int GLsizei; /* 4-byte signed */ typedef float GLfloat; /* single precision float */ typedef float GLclampf; /* single precision float in [0,1] */ typedef double GLdouble; /* double precision float */ typedef double GLclampd; /* double precision float in [0,1] */ /* * Constants */ /* Boolean values */ #define GL_FALSE 0 #define GL_TRUE 1 /* Data types */ #define GL_BYTE 0x1400 #define GL_UNSIGNED_BYTE 0x1401 #define GL_SHORT 0x1402 #define GL_UNSIGNED_SHORT 0x1403 #define GL_INT 0x1404 #define GL_UNSIGNED_INT 0x1405 #define GL_FLOAT 0x1406 #define GL_2_BYTES 0x1407 #define GL_3_BYTES 0x1408 #define GL_4_BYTES 0x1409 #define GL_DOUBLE 0x140A /* Primitives */ #define GL_POINTS 0x0000 #define GL_LINES 0x0001 #define GL_LINE_LOOP 0x0002 #define GL_LINE_STRIP 0x0003 #define GL_TRIANGLES 0x0004 #define GL_TRIANGLE_STRIP 0x0005 #define GL_TRIANGLE_FAN 0x0006 #define GL_QUADS 0x0007 #define GL_QUAD_STRIP 0x0008 #define GL_POLYGON 0x0009 /* Vertex Arrays */ #define GL_VERTEX_ARRAY 0x8074 #define GL_NORMAL_ARRAY 0x8075 #define GL_COLOR_ARRAY 0x8076 #define GL_INDEX_ARRAY 0x8077 #define GL_TEXTURE_COORD_ARRAY 0x8078 #define GL_EDGE_FLAG_ARRAY 0x8079 #define GL_VERTEX_ARRAY_SIZE 0x807A #define GL_VERTEX_ARRAY_TYPE 0x807B #define GL_VERTEX_ARRAY_STRIDE 0x807C #define GL_NORMAL_ARRAY_TYPE 0x807E #define GL_NORMAL_ARRAY_STRIDE 0x807F #define GL_COLOR_ARRAY_SIZE 0x8081 #define GL_COLOR_ARRAY_TYPE 0x8082 #define GL_COLOR_ARRAY_STRIDE 0x8083 #define GL_INDEX_ARRAY_TYPE 0x8085 #define GL_INDEX_ARRAY_STRIDE 0x8086 #define GL_TEXTURE_COORD_ARRAY_SIZE 0x8088 #define GL_TEXTURE_COORD_ARRAY_TYPE 0x8089 #define GL_TEXTURE_COORD_ARRAY_STRIDE 0x808A #define GL_EDGE_FLAG_ARRAY_STRIDE 0x808C #define GL_VERTEX_ARRAY_POINTER 0x808E #define GL_NORMAL_ARRAY_POINTER 0x808F #define GL_COLOR_ARRAY_POINTER 0x8090 #define GL_INDEX_ARRAY_POINTER 0x8091 #define GL_TEXTURE_COORD_ARRAY_POINTER 0x8092 #define GL_EDGE_FLAG_ARRAY_POINTER 0x8093 #define GL_V2F 0x2A20 #define GL_V3F 0x2A21 #define GL_C4UB_V2F 0x2A22 #define GL_C4UB_V3F 0x2A23 #define GL_C3F_V3F 0x2A24 #define GL_N3F_V3F 0x2A25 #define GL_C4F_N3F_V3F 0x2A26 #define GL_T2F_V3F 0x2A27 #define GL_T4F_V4F 0x2A28 #define GL_T2F_C4UB_V3F 0x2A29 #define GL_T2F_C3F_V3F 0x2A2A #define GL_T2F_N3F_V3F 0x2A2B #define GL_T2F_C4F_N3F_V3F 0x2A2C #define GL_T4F_C4F_N3F_V4F 0x2A2D /* Matrix Mode */ #define GL_MATRIX_MODE 0x0BA0 #define GL_MODELVIEW 0x1700 #define GL_PROJECTION 0x1701 #define GL_TEXTURE 0x1702 /* Points */ #define GL_POINT_SMOOTH 0x0B10 #define GL_POINT_SIZE 0x0B11 #define GL_POINT_SIZE_GRANULARITY 0x0B13 #define GL_POINT_SIZE_RANGE 0x0B12 /* Lines */ #define GL_LINE_SMOOTH 0x0B20 #define GL_LINE_STIPPLE 0x0B24 #define GL_LINE_STIPPLE_PATTERN 0x0B25 #define GL_LINE_STIPPLE_REPEAT 0x0B26 #define GL_LINE_WIDTH 0x0B21 #define GL_LINE_WIDTH_GRANULARITY 0x0B23 #define GL_LINE_WIDTH_RANGE 0x0B22 /* Polygons */ #define GL_POINT 0x1B00 #define GL_LINE 0x1B01 #define GL_FILL 0x1B02 #define GL_CW 0x0900 #define GL_CCW 0x0901 #define GL_FRONT 0x0404 #define GL_BACK 0x0405 #define GL_POLYGON_MODE 0x0B40 #define GL_POLYGON_SMOOTH 0x0B41 #define GL_POLYGON_STIPPLE 0x0B42 #define GL_EDGE_FLAG 0x0B43 #define GL_CULL_FACE 0x0B44 #define GL_CULL_FACE_MODE 0x0B45 #define GL_FRONT_FACE 0x0B46 #define GL_POLYGON_OFFSET_FACTOR 0x8038 #define GL_POLYGON_OFFSET_UNITS 0x2A00 #define GL_POLYGON_OFFSET_POINT 0x2A01 #define GL_POLYGON_OFFSET_LINE 0x2A02 #define GL_POLYGON_OFFSET_FILL 0x8037 /* Display Lists */ #define GL_COMPILE 0x1300 #define GL_COMPILE_AND_EXECUTE 0x1301 #define GL_LIST_BASE 0x0B32 #define GL_LIST_INDEX 0x0B33 #define GL_LIST_MODE 0x0B30 /* Depth buffer */ #define GL_NEVER 0x0200 #define GL_LESS 0x0201 #define GL_EQUAL 0x0202 #define GL_LEQUAL 0x0203 #define GL_GREATER 0x0204 #define GL_NOTEQUAL 0x0205 #define GL_GEQUAL 0x0206 #define GL_ALWAYS 0x0207 #define GL_DEPTH_TEST 0x0B71 #define GL_DEPTH_BITS 0x0D56 #define GL_DEPTH_CLEAR_VALUE 0x0B73 #define GL_DEPTH_FUNC 0x0B74 #define GL_DEPTH_RANGE 0x0B70 #define GL_DEPTH_WRITEMASK 0x0B72 #define GL_DEPTH_COMPONENT 0x1902 /* Lighting */ #define GL_LIGHTING 0x0B50 #define GL_LIGHT0 0x4000 #define GL_LIGHT1 0x4001 #define GL_LIGHT2 0x4002 #define GL_LIGHT3 0x4003 #define GL_LIGHT4 0x4004 #define GL_LIGHT5 0x4005 #define GL_LIGHT6 0x4006 #define GL_LIGHT7 0x4007 #define GL_SPOT_EXPONENT 0x1205 #define GL_SPOT_CUTOFF 0x1206 #define GL_CONSTANT_ATTENUATION 0x1207 #define GL_LINEAR_ATTENUATION 0x1208 #define GL_QUADRATIC_ATTENUATION 0x1209 #define GL_AMBIENT 0x1200 #define GL_DIFFUSE 0x1201 #define GL_SPECULAR 0x1202 #define GL_SHININESS 0x1601 #define GL_EMISSION 0x1600 #define GL_POSITION 0x1203 #define GL_SPOT_DIRECTION 0x1204 #define GL_AMBIENT_AND_DIFFUSE 0x1602 #define GL_COLOR_INDEXES 0x1603 #define GL_LIGHT_MODEL_TWO_SIDE 0x0B52 #define GL_LIGHT_MODEL_LOCAL_VIEWER 0x0B51 #define GL_LIGHT_MODEL_AMBIENT 0x0B53 #define GL_FRONT_AND_BACK 0x0408 #define GL_SHADE_MODEL 0x0B54 #define GL_FLAT 0x1D00 #define GL_SMOOTH 0x1D01 #define GL_COLOR_MATERIAL 0x0B57 #define GL_COLOR_MATERIAL_FACE 0x0B55 #define GL_COLOR_MATERIAL_PARAMETER 0x0B56 #define GL_NORMALIZE 0x0BA1 /* User clipping planes */ #define GL_CLIP_PLANE0 0x3000 #define GL_CLIP_PLANE1 0x3001 #define GL_CLIP_PLANE2 0x3002 #define GL_CLIP_PLANE3 0x3003 #define GL_CLIP_PLANE4 0x3004 #define GL_CLIP_PLANE5 0x3005 /* Accumulation buffer */ #define GL_ACCUM_RED_BITS 0x0D58 #define GL_ACCUM_GREEN_BITS 0x0D59 #define GL_ACCUM_BLUE_BITS 0x0D5A #define GL_ACCUM_ALPHA_BITS 0x0D5B #define GL_ACCUM_CLEAR_VALUE 0x0B80 #define GL_ACCUM 0x0100 #define GL_ADD 0x0104 #define GL_LOAD 0x0101 #define GL_MULT 0x0103 #define GL_RETURN 0x0102 /* Alpha testing */ #define GL_ALPHA_TEST 0x0BC0 #define GL_ALPHA_TEST_REF 0x0BC2 #define GL_ALPHA_TEST_FUNC 0x0BC1 /* Blending */ #define GL_BLEND 0x0BE2 #define GL_BLEND_SRC 0x0BE1 #define GL_BLEND_DST 0x0BE0 #define GL_ZERO 0 #define GL_ONE 1 #define GL_SRC_COLOR 0x0300 #define GL_ONE_MINUS_SRC_COLOR 0x0301 #define GL_SRC_ALPHA 0x0302 #define GL_ONE_MINUS_SRC_ALPHA 0x0303 #define GL_DST_ALPHA 0x0304 #define GL_ONE_MINUS_DST_ALPHA 0x0305 #define GL_DST_COLOR 0x0306 #define GL_ONE_MINUS_DST_COLOR 0x0307 #define GL_SRC_ALPHA_SATURATE 0x0308 /* Render Mode */ #define GL_FEEDBACK 0x1C01 #define GL_RENDER 0x1C00 #define GL_SELECT 0x1C02 /* Feedback */ #define GL_2D 0x0600 #define GL_3D 0x0601 #define GL_3D_COLOR 0x0602 #define GL_3D_COLOR_TEXTURE 0x0603 #define GL_4D_COLOR_TEXTURE 0x0604 #define GL_POINT_TOKEN 0x0701 #define GL_LINE_TOKEN 0x0702 #define GL_LINE_RESET_TOKEN 0x0707 #define GL_POLYGON_TOKEN 0x0703 #define GL_BITMAP_TOKEN 0x0704 #define GL_DRAW_PIXEL_TOKEN 0x0705 #define GL_COPY_PIXEL_TOKEN 0x0706 #define GL_PASS_THROUGH_TOKEN 0x0700 #define GL_FEEDBACK_BUFFER_POINTER 0x0DF0 #define GL_FEEDBACK_BUFFER_SIZE 0x0DF1 #define GL_FEEDBACK_BUFFER_TYPE 0x0DF2 /* Selection */ #define GL_SELECTION_BUFFER_POINTER 0x0DF3 #define GL_SELECTION_BUFFER_SIZE 0x0DF4 /* Fog */ #define GL_FOG 0x0B60 #define GL_FOG_MODE 0x0B65 #define GL_FOG_DENSITY 0x0B62 #define GL_FOG_COLOR 0x0B66 #define GL_FOG_INDEX 0x0B61 #define GL_FOG_START 0x0B63 #define GL_FOG_END 0x0B64 #define GL_LINEAR 0x2601 #define GL_EXP 0x0800 #define GL_EXP2 0x0801 /* Logic Ops */ #define GL_LOGIC_OP 0x0BF1 #define GL_INDEX_LOGIC_OP 0x0BF1 #define GL_COLOR_LOGIC_OP 0x0BF2 #define GL_LOGIC_OP_MODE 0x0BF0 #define GL_CLEAR 0x1500 #define GL_SET 0x150F #define GL_COPY 0x1503 #define GL_COPY_INVERTED 0x150C #define GL_NOOP 0x1505 #define GL_INVERT 0x150A #define GL_AND 0x1501 #define GL_NAND 0x150E #define GL_OR 0x1507 #define GL_NOR 0x1508 #define GL_XOR 0x1506 #define GL_EQUIV 0x1509 #define GL_AND_REVERSE 0x1502 #define GL_AND_INVERTED 0x1504 #define GL_OR_REVERSE 0x150B #define GL_OR_INVERTED 0x150D /* Stencil */ #define GL_STENCIL_BITS 0x0D57 #define GL_STENCIL_TEST 0x0B90 #define GL_STENCIL_CLEAR_VALUE 0x0B91 #define GL_STENCIL_FUNC 0x0B92 #define GL_STENCIL_VALUE_MASK 0x0B93 #define GL_STENCIL_FAIL 0x0B94 #define GL_STENCIL_PASS_DEPTH_FAIL 0x0B95 #define GL_STENCIL_PASS_DEPTH_PASS 0x0B96 #define GL_STENCIL_REF 0x0B97 #define GL_STENCIL_WRITEMASK 0x0B98 #define GL_STENCIL_INDEX 0x1901 #define GL_KEEP 0x1E00 #define GL_REPLACE 0x1E01 #define GL_INCR 0x1E02 #define GL_DECR 0x1E03 /* Buffers, Pixel Drawing/Reading */ #define GL_NONE 0 #define GL_LEFT 0x0406 #define GL_RIGHT 0x0407 /*GL_FRONT 0x0404 */ /*GL_BACK 0x0405 */ /*GL_FRONT_AND_BACK 0x0408 */ #define GL_FRONT_LEFT 0x0400 #define GL_FRONT_RIGHT 0x0401 #define GL_BACK_LEFT 0x0402 #define GL_BACK_RIGHT 0x0403 #define GL_AUX0 0x0409 #define GL_AUX1 0x040A #define GL_AUX2 0x040B #define GL_AUX3 0x040C #define GL_COLOR_INDEX 0x1900 #define GL_RED 0x1903 #define GL_GREEN 0x1904 #define GL_BLUE 0x1905 #define GL_ALPHA 0x1906 #define GL_LUMINANCE 0x1909 #define GL_LUMINANCE_ALPHA 0x190A #define GL_ALPHA_BITS 0x0D55 #define GL_RED_BITS 0x0D52 #define GL_GREEN_BITS 0x0D53 #define GL_BLUE_BITS 0x0D54 #define GL_INDEX_BITS 0x0D51 #define GL_SUBPIXEL_BITS 0x0D50 #define GL_AUX_BUFFERS 0x0C00 #define GL_READ_BUFFER 0x0C02 #define GL_DRAW_BUFFER 0x0C01 #define GL_DOUBLEBUFFER 0x0C32 #define GL_STEREO 0x0C33 #define GL_BITMAP 0x1A00 #define GL_COLOR 0x1800 #define GL_DEPTH 0x1801 #define GL_STENCIL 0x1802 #define GL_DITHER 0x0BD0 #define GL_RGB 0x1907 #define GL_RGBA 0x1908 /* Implementation limits */ #define GL_MAX_LIST_NESTING 0x0B31 #define GL_MAX_EVAL_ORDER 0x0D30 #define GL_MAX_LIGHTS 0x0D31 #define GL_MAX_CLIP_PLANES 0x0D32 #define GL_MAX_TEXTURE_SIZE 0x0D33 #define GL_MAX_PIXEL_MAP_TABLE 0x0D34 #define GL_MAX_ATTRIB_STACK_DEPTH 0x0D35 #define GL_MAX_MODELVIEW_STACK_DEPTH 0x0D36 #define GL_MAX_NAME_STACK_DEPTH 0x0D37 #define GL_MAX_PROJECTION_STACK_DEPTH 0x0D38 #define GL_MAX_TEXTURE_STACK_DEPTH 0x0D39 #define GL_MAX_VIEWPORT_DIMS 0x0D3A #define GL_MAX_CLIENT_ATTRIB_STACK_DEPTH 0x0D3B /* Gets */ #define GL_ATTRIB_STACK_DEPTH 0x0BB0 #define GL_CLIENT_ATTRIB_STACK_DEPTH 0x0BB1 #define GL_COLOR_CLEAR_VALUE 0x0C22 #define GL_COLOR_WRITEMASK 0x0C23 #define GL_CURRENT_INDEX 0x0B01 #define GL_CURRENT_COLOR 0x0B00 #define GL_CURRENT_NORMAL 0x0B02 #define GL_CURRENT_RASTER_COLOR 0x0B04 #define GL_CURRENT_RASTER_DISTANCE 0x0B09 #define GL_CURRENT_RASTER_INDEX 0x0B05 #define GL_CURRENT_RASTER_POSITION 0x0B07 #define GL_CURRENT_RASTER_TEXTURE_COORDS 0x0B06 #define GL_CURRENT_RASTER_POSITION_VALID 0x0B08 #define GL_CURRENT_TEXTURE_COORDS 0x0B03 #define GL_INDEX_CLEAR_VALUE 0x0C20 #define GL_INDEX_MODE 0x0C30 #define GL_INDEX_WRITEMASK 0x0C21 #define GL_MODELVIEW_MATRIX 0x0BA6 #define GL_MODELVIEW_STACK_DEPTH 0x0BA3 #define GL_NAME_STACK_DEPTH 0x0D70 #define GL_PROJECTION_MATRIX 0x0BA7 #define GL_PROJECTION_STACK_DEPTH 0x0BA4 #define GL_RENDER_MODE 0x0C40 #define GL_RGBA_MODE 0x0C31 #define GL_TEXTURE_MATRIX 0x0BA8 #define GL_TEXTURE_STACK_DEPTH 0x0BA5 #define GL_VIEWPORT 0x0BA2 /* Evaluators */ #define GL_AUTO_NORMAL 0x0D80 #define GL_MAP1_COLOR_4 0x0D90 #define GL_MAP1_INDEX 0x0D91 #define GL_MAP1_NORMAL 0x0D92 #define GL_MAP1_TEXTURE_COORD_1 0x0D93 #define GL_MAP1_TEXTURE_COORD_2 0x0D94 #define GL_MAP1_TEXTURE_COORD_3 0x0D95 #define GL_MAP1_TEXTURE_COORD_4 0x0D96 #define GL_MAP1_VERTEX_3 0x0D97 #define GL_MAP1_VERTEX_4 0x0D98 #define GL_MAP2_COLOR_4 0x0DB0 #define GL_MAP2_INDEX 0x0DB1 #define GL_MAP2_NORMAL 0x0DB2 #define GL_MAP2_TEXTURE_COORD_1 0x0DB3 #define GL_MAP2_TEXTURE_COORD_2 0x0DB4 #define GL_MAP2_TEXTURE_COORD_3 0x0DB5 #define GL_MAP2_TEXTURE_COORD_4 0x0DB6 #define GL_MAP2_VERTEX_3 0x0DB7 #define GL_MAP2_VERTEX_4 0x0DB8 #define GL_MAP1_GRID_DOMAIN 0x0DD0 #define GL_MAP1_GRID_SEGMENTS 0x0DD1 #define GL_MAP2_GRID_DOMAIN 0x0DD2 #define GL_MAP2_GRID_SEGMENTS 0x0DD3 #define GL_COEFF 0x0A00 #define GL_ORDER 0x0A01 #define GL_DOMAIN 0x0A02 /* Hints */ #define GL_PERSPECTIVE_CORRECTION_HINT 0x0C50 #define GL_POINT_SMOOTH_HINT 0x0C51 #define GL_LINE_SMOOTH_HINT 0x0C52 #define GL_POLYGON_SMOOTH_HINT 0x0C53 #define GL_FOG_HINT 0x0C54 #define GL_DONT_CARE 0x1100 #define GL_FASTEST 0x1101 #define GL_NICEST 0x1102 /* Scissor box */ #define GL_SCISSOR_BOX 0x0C10 #define GL_SCISSOR_TEST 0x0C11 /* Pixel Mode / Transfer */ #define GL_MAP_COLOR 0x0D10 #define GL_MAP_STENCIL 0x0D11 #define GL_INDEX_SHIFT 0x0D12 #define GL_INDEX_OFFSET 0x0D13 #define GL_RED_SCALE 0x0D14 #define GL_RED_BIAS 0x0D15 #define GL_GREEN_SCALE 0x0D18 #define GL_GREEN_BIAS 0x0D19 #define GL_BLUE_SCALE 0x0D1A #define GL_BLUE_BIAS 0x0D1B #define GL_ALPHA_SCALE 0x0D1C #define GL_ALPHA_BIAS 0x0D1D #define GL_DEPTH_SCALE 0x0D1E #define GL_DEPTH_BIAS 0x0D1F #define GL_PIXEL_MAP_S_TO_S_SIZE 0x0CB1 #define GL_PIXEL_MAP_I_TO_I_SIZE 0x0CB0 #define GL_PIXEL_MAP_I_TO_R_SIZE 0x0CB2 #define GL_PIXEL_MAP_I_TO_G_SIZE 0x0CB3 #define GL_PIXEL_MAP_I_TO_B_SIZE 0x0CB4 #define GL_PIXEL_MAP_I_TO_A_SIZE 0x0CB5 #define GL_PIXEL_MAP_R_TO_R_SIZE 0x0CB6 #define GL_PIXEL_MAP_G_TO_G_SIZE 0x0CB7 #define GL_PIXEL_MAP_B_TO_B_SIZE 0x0CB8 #define GL_PIXEL_MAP_A_TO_A_SIZE 0x0CB9 #define GL_PIXEL_MAP_S_TO_S 0x0C71 #define GL_PIXEL_MAP_I_TO_I 0x0C70 #define GL_PIXEL_MAP_I_TO_R 0x0C72 #define GL_PIXEL_MAP_I_TO_G 0x0C73 #define GL_PIXEL_MAP_I_TO_B 0x0C74 #define GL_PIXEL_MAP_I_TO_A 0x0C75 #define GL_PIXEL_MAP_R_TO_R 0x0C76 #define GL_PIXEL_MAP_G_TO_G 0x0C77 #define GL_PIXEL_MAP_B_TO_B 0x0C78 #define GL_PIXEL_MAP_A_TO_A 0x0C79 #define GL_PACK_ALIGNMENT 0x0D05 #define GL_PACK_LSB_FIRST 0x0D01 #define GL_PACK_ROW_LENGTH 0x0D02 #define GL_PACK_SKIP_PIXELS 0x0D04 #define GL_PACK_SKIP_ROWS 0x0D03 #define GL_PACK_SWAP_BYTES 0x0D00 #define GL_UNPACK_ALIGNMENT 0x0CF5 #define GL_UNPACK_LSB_FIRST 0x0CF1 #define GL_UNPACK_ROW_LENGTH 0x0CF2 #define GL_UNPACK_SKIP_PIXELS 0x0CF4 #define GL_UNPACK_SKIP_ROWS 0x0CF3 #define GL_UNPACK_SWAP_BYTES 0x0CF0 #define GL_ZOOM_X 0x0D16 #define GL_ZOOM_Y 0x0D17 /* Texture mapping */ #define GL_TEXTURE_ENV 0x2300 #define GL_TEXTURE_ENV_MODE 0x2200 #define GL_TEXTURE_1D 0x0DE0 #define GL_TEXTURE_2D 0x0DE1 #define GL_TEXTURE_WRAP_S 0x2802 #define GL_TEXTURE_WRAP_T 0x2803 #define GL_TEXTURE_MAG_FILTER 0x2800 #define GL_TEXTURE_MIN_FILTER 0x2801 #define GL_TEXTURE_ENV_COLOR 0x2201 #define GL_TEXTURE_GEN_S 0x0C60 #define GL_TEXTURE_GEN_T 0x0C61 #define GL_TEXTURE_GEN_R 0x0C62 #define GL_TEXTURE_GEN_Q 0x0C63 #define GL_TEXTURE_GEN_MODE 0x2500 #define GL_TEXTURE_BORDER_COLOR 0x1004 #define GL_TEXTURE_WIDTH 0x1000 #define GL_TEXTURE_HEIGHT 0x1001 #define GL_TEXTURE_BORDER 0x1005 #define GL_TEXTURE_COMPONENTS 0x1003 #define GL_TEXTURE_RED_SIZE 0x805C #define GL_TEXTURE_GREEN_SIZE 0x805D #define GL_TEXTURE_BLUE_SIZE 0x805E #define GL_TEXTURE_ALPHA_SIZE 0x805F #define GL_TEXTURE_LUMINANCE_SIZE 0x8060 #define GL_TEXTURE_INTENSITY_SIZE 0x8061 #define GL_NEAREST_MIPMAP_NEAREST 0x2700 #define GL_NEAREST_MIPMAP_LINEAR 0x2702 #define GL_LINEAR_MIPMAP_NEAREST 0x2701 #define GL_LINEAR_MIPMAP_LINEAR 0x2703 #define GL_OBJECT_LINEAR 0x2401 #define GL_OBJECT_PLANE 0x2501 #define GL_EYE_LINEAR 0x2400 #define GL_EYE_PLANE 0x2502 #define GL_SPHERE_MAP 0x2402 #define GL_DECAL 0x2101 #define GL_MODULATE 0x2100 #define GL_NEAREST 0x2600 #define GL_REPEAT 0x2901 #define GL_CLAMP 0x2900 #define GL_S 0x2000 #define GL_T 0x2001 #define GL_R 0x2002 #define GL_Q 0x2003 /* Utility */ #define GL_VENDOR 0x1F00 #define GL_RENDERER 0x1F01 #define GL_VERSION 0x1F02 #define GL_EXTENSIONS 0x1F03 /* Errors */ #define GL_NO_ERROR 0 #define GL_INVALID_ENUM 0x0500 #define GL_INVALID_VALUE 0x0501 #define GL_INVALID_OPERATION 0x0502 #define GL_STACK_OVERFLOW 0x0503 #define GL_STACK_UNDERFLOW 0x0504 #define GL_OUT_OF_MEMORY 0x0505 /* glPush/PopAttrib bits */ #define GL_CURRENT_BIT 0x00000001 #define GL_POINT_BIT 0x00000002 #define GL_LINE_BIT 0x00000004 #define GL_POLYGON_BIT 0x00000008 #define GL_POLYGON_STIPPLE_BIT 0x00000010 #define GL_PIXEL_MODE_BIT 0x00000020 #define GL_LIGHTING_BIT 0x00000040 #define GL_FOG_BIT 0x00000080 #define GL_DEPTH_BUFFER_BIT 0x00000100 #define GL_ACCUM_BUFFER_BIT 0x00000200 #define GL_STENCIL_BUFFER_BIT 0x00000400 #define GL_VIEWPORT_BIT 0x00000800 #define GL_TRANSFORM_BIT 0x00001000 #define GL_ENABLE_BIT 0x00002000 #define GL_COLOR_BUFFER_BIT 0x00004000 #define GL_HINT_BIT 0x00008000 #define GL_EVAL_BIT 0x00010000 #define GL_LIST_BIT 0x00020000 #define GL_TEXTURE_BIT 0x00040000 #define GL_SCISSOR_BIT 0x00080000 #define GL_ALL_ATTRIB_BITS 0xFFFFFFFF /* OpenGL 1.1 */ #define GL_PROXY_TEXTURE_1D 0x8063 #define GL_PROXY_TEXTURE_2D 0x8064 #define GL_TEXTURE_PRIORITY 0x8066 #define GL_TEXTURE_RESIDENT 0x8067 #define GL_TEXTURE_BINDING_1D 0x8068 #define GL_TEXTURE_BINDING_2D 0x8069 #define GL_TEXTURE_INTERNAL_FORMAT 0x1003 #define GL_ALPHA4 0x803B #define GL_ALPHA8 0x803C #define GL_ALPHA12 0x803D #define GL_ALPHA16 0x803E #define GL_LUMINANCE4 0x803F #define GL_LUMINANCE8 0x8040 #define GL_LUMINANCE12 0x8041 #define GL_LUMINANCE16 0x8042 #define GL_LUMINANCE4_ALPHA4 0x8043 #define GL_LUMINANCE6_ALPHA2 0x8044 #define GL_LUMINANCE8_ALPHA8 0x8045 #define GL_LUMINANCE12_ALPHA4 0x8046 #define GL_LUMINANCE12_ALPHA12 0x8047 #define GL_LUMINANCE16_ALPHA16 0x8048 #define GL_INTENSITY 0x8049 #define GL_INTENSITY4 0x804A #define GL_INTENSITY8 0x804B #define GL_INTENSITY12 0x804C #define GL_INTENSITY16 0x804D #define GL_R3_G3_B2 0x2A10 #define GL_RGB4 0x804F #define GL_RGB5 0x8050 #define GL_RGB8 0x8051 #define GL_RGB10 0x8052 #define GL_RGB12 0x8053 #define GL_RGB16 0x8054 #define GL_RGBA2 0x8055 #define GL_RGBA4 0x8056 #define GL_RGB5_A1 0x8057 #define GL_RGBA8 0x8058 #define GL_RGB10_A2 0x8059 #define GL_RGBA12 0x805A #define GL_RGBA16 0x805B #define GL_CLIENT_PIXEL_STORE_BIT 0x00000001 #define GL_CLIENT_VERTEX_ARRAY_BIT 0x00000002 #define GL_ALL_CLIENT_ATTRIB_BITS 0xFFFFFFFF #define GL_CLIENT_ALL_ATTRIB_BITS 0xFFFFFFFF /* * Miscellaneous */ GLAPI void GLAPIENTRY glClearIndex( GLfloat c ); GLAPI void GLAPIENTRY glClearColor( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha ); GLAPI void GLAPIENTRY glClear( GLbitfield mask ); GLAPI void GLAPIENTRY glIndexMask( GLuint mask ); GLAPI void GLAPIENTRY glColorMask( GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha ); GLAPI void GLAPIENTRY glAlphaFunc( GLenum func, GLclampf ref ); GLAPI void GLAPIENTRY glBlendFunc( GLenum sfactor, GLenum dfactor ); GLAPI void GLAPIENTRY glLogicOp( GLenum opcode ); GLAPI void GLAPIENTRY glCullFace( GLenum mode ); GLAPI void GLAPIENTRY glFrontFace( GLenum mode ); GLAPI void GLAPIENTRY glPointSize( GLfloat size ); GLAPI void GLAPIENTRY glLineWidth( GLfloat width ); GLAPI void GLAPIENTRY glLineStipple( GLint factor, GLushort pattern ); GLAPI void GLAPIENTRY glPolygonMode( GLenum face, GLenum mode ); GLAPI void GLAPIENTRY glPolygonOffset( GLfloat factor, GLfloat units ); GLAPI void GLAPIENTRY glPolygonStipple( const GLubyte *mask ); GLAPI void GLAPIENTRY glGetPolygonStipple( GLubyte *mask ); GLAPI void GLAPIENTRY glEdgeFlag( GLboolean flag ); GLAPI void GLAPIENTRY glEdgeFlagv( const GLboolean *flag ); GLAPI void GLAPIENTRY glScissor( GLint x, GLint y, GLsizei width, GLsizei height); GLAPI void GLAPIENTRY glClipPlane( GLenum plane, const GLdouble *equation ); GLAPI void GLAPIENTRY glGetClipPlane( GLenum plane, GLdouble *equation ); GLAPI void GLAPIENTRY glDrawBuffer( GLenum mode ); GLAPI void GLAPIENTRY glReadBuffer( GLenum mode ); GLAPI void GLAPIENTRY glEnable( GLenum cap ); GLAPI void GLAPIENTRY glDisable( GLenum cap ); GLAPI GLboolean GLAPIENTRY glIsEnabled( GLenum cap ); GLAPI void GLAPIENTRY glEnableClientState( GLenum cap ); /* 1.1 */ GLAPI void GLAPIENTRY glDisableClientState( GLenum cap ); /* 1.1 */ GLAPI void GLAPIENTRY glGetBooleanv( GLenum pname, GLboolean *params ); GLAPI void GLAPIENTRY glGetDoublev( GLenum pname, GLdouble *params ); GLAPI void GLAPIENTRY glGetFloatv( GLenum pname, GLfloat *params ); GLAPI void GLAPIENTRY glGetIntegerv( GLenum pname, GLint *params ); GLAPI void GLAPIENTRY glPushAttrib( GLbitfield mask ); GLAPI void GLAPIENTRY glPopAttrib( void ); GLAPI void GLAPIENTRY glPushClientAttrib( GLbitfield mask ); /* 1.1 */ GLAPI void GLAPIENTRY glPopClientAttrib( void ); /* 1.1 */ GLAPI GLint GLAPIENTRY glRenderMode( GLenum mode ); GLAPI GLenum GLAPIENTRY glGetError( void ); GLAPI const GLubyte * GLAPIENTRY glGetString( GLenum name ); GLAPI void GLAPIENTRY glFinish( void ); GLAPI void GLAPIENTRY glFlush( void ); GLAPI void GLAPIENTRY glHint( GLenum target, GLenum mode ); /* * Depth Buffer */ GLAPI void GLAPIENTRY glClearDepth( GLclampd depth ); GLAPI void GLAPIENTRY glDepthFunc( GLenum func ); GLAPI void GLAPIENTRY glDepthMask( GLboolean flag ); GLAPI void GLAPIENTRY glDepthRange( GLclampd near_val, GLclampd far_val ); /* * Accumulation Buffer */ GLAPI void GLAPIENTRY glClearAccum( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha ); GLAPI void GLAPIENTRY glAccum( GLenum op, GLfloat value ); /* * Transformation */ GLAPI void GLAPIENTRY glMatrixMode( GLenum mode ); GLAPI void GLAPIENTRY glOrtho( GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble near_val, GLdouble far_val ); GLAPI void GLAPIENTRY glFrustum( GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble near_val, GLdouble far_val ); GLAPI void GLAPIENTRY glViewport( GLint x, GLint y, GLsizei width, GLsizei height ); GLAPI void GLAPIENTRY glPushMatrix( void ); GLAPI void GLAPIENTRY glPopMatrix( void ); GLAPI void GLAPIENTRY glLoadIdentity( void ); GLAPI void GLAPIENTRY glLoadMatrixd( const GLdouble *m ); GLAPI void GLAPIENTRY glLoadMatrixf( const GLfloat *m ); GLAPI void GLAPIENTRY glMultMatrixd( const GLdouble *m ); GLAPI void GLAPIENTRY glMultMatrixf( const GLfloat *m ); GLAPI void GLAPIENTRY glRotated( GLdouble angle, GLdouble x, GLdouble y, GLdouble z ); GLAPI void GLAPIENTRY glRotatef( GLfloat angle, GLfloat x, GLfloat y, GLfloat z ); GLAPI void GLAPIENTRY glScaled( GLdouble x, GLdouble y, GLdouble z ); GLAPI void GLAPIENTRY glScalef( GLfloat x, GLfloat y, GLfloat z ); GLAPI void GLAPIENTRY glTranslated( GLdouble x, GLdouble y, GLdouble z ); GLAPI void GLAPIENTRY glTranslatef( GLfloat x, GLfloat y, GLfloat z ); /* * Display Lists */ GLAPI GLboolean GLAPIENTRY glIsList( GLuint list ); GLAPI void GLAPIENTRY glDeleteLists( GLuint list, GLsizei range ); GLAPI GLuint GLAPIENTRY glGenLists( GLsizei range ); GLAPI void GLAPIENTRY glNewList( GLuint list, GLenum mode ); GLAPI void GLAPIENTRY glEndList( void ); GLAPI void GLAPIENTRY glCallList( GLuint list ); GLAPI void GLAPIENTRY glCallLists( GLsizei n, GLenum type, const GLvoid *lists ); GLAPI void GLAPIENTRY glListBase( GLuint base ); /* * Drawing Functions */ GLAPI void GLAPIENTRY glBegin( GLenum mode ); GLAPI void GLAPIENTRY glEnd( void ); GLAPI void GLAPIENTRY glVertex2d( GLdouble x, GLdouble y ); GLAPI void GLAPIENTRY glVertex2f( GLfloat x, GLfloat y ); GLAPI void GLAPIENTRY glVertex2i( GLint x, GLint y ); GLAPI void GLAPIENTRY glVertex2s( GLshort x, GLshort y ); GLAPI void GLAPIENTRY glVertex3d( GLdouble x, GLdouble y, GLdouble z ); GLAPI void GLAPIENTRY glVertex3f( GLfloat x, GLfloat y, GLfloat z ); GLAPI void GLAPIENTRY glVertex3i( GLint x, GLint y, GLint z ); GLAPI void GLAPIENTRY glVertex3s( GLshort x, GLshort y, GLshort z ); GLAPI void GLAPIENTRY glVertex4d( GLdouble x, GLdouble y, GLdouble z, GLdouble w ); GLAPI void GLAPIENTRY glVertex4f( GLfloat x, GLfloat y, GLfloat z, GLfloat w ); GLAPI void GLAPIENTRY glVertex4i( GLint x, GLint y, GLint z, GLint w ); GLAPI void GLAPIENTRY glVertex4s( GLshort x, GLshort y, GLshort z, GLshort w ); GLAPI void GLAPIENTRY glVertex2dv( const GLdouble *v ); GLAPI void GLAPIENTRY glVertex2fv( const GLfloat *v ); GLAPI void GLAPIENTRY glVertex2iv( const GLint *v ); GLAPI void GLAPIENTRY glVertex2sv( const GLshort *v ); GLAPI void GLAPIENTRY glVertex3dv( const GLdouble *v ); GLAPI void GLAPIENTRY glVertex3fv( const GLfloat *v ); GLAPI void GLAPIENTRY glVertex3iv( const GLint *v ); GLAPI void GLAPIENTRY glVertex3sv( const GLshort *v ); GLAPI void GLAPIENTRY glVertex4dv( const GLdouble *v ); GLAPI void GLAPIENTRY glVertex4fv( const GLfloat *v ); GLAPI void GLAPIENTRY glVertex4iv( const GLint *v ); GLAPI void GLAPIENTRY glVertex4sv( const GLshort *v ); GLAPI void GLAPIENTRY glNormal3b( GLbyte nx, GLbyte ny, GLbyte nz ); GLAPI void GLAPIENTRY glNormal3d( GLdouble nx, GLdouble ny, GLdouble nz ); GLAPI void GLAPIENTRY glNormal3f( GLfloat nx, GLfloat ny, GLfloat nz ); GLAPI void GLAPIENTRY glNormal3i( GLint nx, GLint ny, GLint nz ); GLAPI void GLAPIENTRY glNormal3s( GLshort nx, GLshort ny, GLshort nz ); GLAPI void GLAPIENTRY glNormal3bv( const GLbyte *v ); GLAPI void GLAPIENTRY glNormal3dv( const GLdouble *v ); GLAPI void GLAPIENTRY glNormal3fv( const GLfloat *v ); GLAPI void GLAPIENTRY glNormal3iv( const GLint *v ); GLAPI void GLAPIENTRY glNormal3sv( const GLshort *v ); GLAPI void GLAPIENTRY glIndexd( GLdouble c ); GLAPI void GLAPIENTRY glIndexf( GLfloat c ); GLAPI void GLAPIENTRY glIndexi( GLint c ); GLAPI void GLAPIENTRY glIndexs( GLshort c ); GLAPI void GLAPIENTRY glIndexub( GLubyte c ); /* 1.1 */ GLAPI void GLAPIENTRY glIndexdv( const GLdouble *c ); GLAPI void GLAPIENTRY glIndexfv( const GLfloat *c ); GLAPI void GLAPIENTRY glIndexiv( const GLint *c ); GLAPI void GLAPIENTRY glIndexsv( const GLshort *c ); GLAPI void GLAPIENTRY glIndexubv( const GLubyte *c ); /* 1.1 */ GLAPI void GLAPIENTRY glColor3b( GLbyte red, GLbyte green, GLbyte blue ); GLAPI void GLAPIENTRY glColor3d( GLdouble red, GLdouble green, GLdouble blue ); GLAPI void GLAPIENTRY glColor3f( GLfloat red, GLfloat green, GLfloat blue ); GLAPI void GLAPIENTRY glColor3i( GLint red, GLint green, GLint blue ); GLAPI void GLAPIENTRY glColor3s( GLshort red, GLshort green, GLshort blue ); GLAPI void GLAPIENTRY glColor3ub( GLubyte red, GLubyte green, GLubyte blue ); GLAPI void GLAPIENTRY glColor3ui( GLuint red, GLuint green, GLuint blue ); GLAPI void GLAPIENTRY glColor3us( GLushort red, GLushort green, GLushort blue ); GLAPI void GLAPIENTRY glColor4b( GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha ); GLAPI void GLAPIENTRY glColor4d( GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha ); GLAPI void GLAPIENTRY glColor4f( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha ); GLAPI void GLAPIENTRY glColor4i( GLint red, GLint green, GLint blue, GLint alpha ); GLAPI void GLAPIENTRY glColor4s( GLshort red, GLshort green, GLshort blue, GLshort alpha ); GLAPI void GLAPIENTRY glColor4ub( GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha ); GLAPI void GLAPIENTRY glColor4ui( GLuint red, GLuint green, GLuint blue, GLuint alpha ); GLAPI void GLAPIENTRY glColor4us( GLushort red, GLushort green, GLushort blue, GLushort alpha ); GLAPI void GLAPIENTRY glColor3bv( const GLbyte *v ); GLAPI void GLAPIENTRY glColor3dv( const GLdouble *v ); GLAPI void GLAPIENTRY glColor3fv( const GLfloat *v ); GLAPI void GLAPIENTRY glColor3iv( const GLint *v ); GLAPI void GLAPIENTRY glColor3sv( const GLshort *v ); GLAPI void GLAPIENTRY glColor3ubv( const GLubyte *v ); GLAPI void GLAPIENTRY glColor3uiv( const GLuint *v ); GLAPI void GLAPIENTRY glColor3usv( const GLushort *v ); GLAPI void GLAPIENTRY glColor4bv( const GLbyte *v ); GLAPI void GLAPIENTRY glColor4dv( const GLdouble *v ); GLAPI void GLAPIENTRY glColor4fv( const GLfloat *v ); GLAPI void GLAPIENTRY glColor4iv( const GLint *v ); GLAPI void GLAPIENTRY glColor4sv( const GLshort *v ); GLAPI void GLAPIENTRY glColor4ubv( const GLubyte *v ); GLAPI void GLAPIENTRY glColor4uiv( const GLuint *v ); GLAPI void GLAPIENTRY glColor4usv( const GLushort *v ); GLAPI void GLAPIENTRY glTexCoord1d( GLdouble s ); GLAPI void GLAPIENTRY glTexCoord1f( GLfloat s ); GLAPI void GLAPIENTRY glTexCoord1i( GLint s ); GLAPI void GLAPIENTRY glTexCoord1s( GLshort s ); GLAPI void GLAPIENTRY glTexCoord2d( GLdouble s, GLdouble t ); GLAPI void GLAPIENTRY glTexCoord2f( GLfloat s, GLfloat t ); GLAPI void GLAPIENTRY glTexCoord2i( GLint s, GLint t ); GLAPI void GLAPIENTRY glTexCoord2s( GLshort s, GLshort t ); GLAPI void GLAPIENTRY glTexCoord3d( GLdouble s, GLdouble t, GLdouble r ); GLAPI void GLAPIENTRY glTexCoord3f( GLfloat s, GLfloat t, GLfloat r ); GLAPI void GLAPIENTRY glTexCoord3i( GLint s, GLint t, GLint r ); GLAPI void GLAPIENTRY glTexCoord3s( GLshort s, GLshort t, GLshort r ); GLAPI void GLAPIENTRY glTexCoord4d( GLdouble s, GLdouble t, GLdouble r, GLdouble q ); GLAPI void GLAPIENTRY glTexCoord4f( GLfloat s, GLfloat t, GLfloat r, GLfloat q ); GLAPI void GLAPIENTRY glTexCoord4i( GLint s, GLint t, GLint r, GLint q ); GLAPI void GLAPIENTRY glTexCoord4s( GLshort s, GLshort t, GLshort r, GLshort q ); GLAPI void GLAPIENTRY glTexCoord1dv( const GLdouble *v ); GLAPI void GLAPIENTRY glTexCoord1fv( const GLfloat *v ); GLAPI void GLAPIENTRY glTexCoord1iv( const GLint *v ); GLAPI void GLAPIENTRY glTexCoord1sv( const GLshort *v ); GLAPI void GLAPIENTRY glTexCoord2dv( const GLdouble *v ); GLAPI void GLAPIENTRY glTexCoord2fv( const GLfloat *v ); GLAPI void GLAPIENTRY glTexCoord2iv( const GLint *v ); GLAPI void GLAPIENTRY glTexCoord2sv( const GLshort *v ); GLAPI void GLAPIENTRY glTexCoord3dv( const GLdouble *v ); GLAPI void GLAPIENTRY glTexCoord3fv( const GLfloat *v ); GLAPI void GLAPIENTRY glTexCoord3iv( const GLint *v ); GLAPI void GLAPIENTRY glTexCoord3sv( const GLshort *v ); GLAPI void GLAPIENTRY glTexCoord4dv( const GLdouble *v ); GLAPI void GLAPIENTRY glTexCoord4fv( const GLfloat *v ); GLAPI void GLAPIENTRY glTexCoord4iv( const GLint *v ); GLAPI void GLAPIENTRY glTexCoord4sv( const GLshort *v ); GLAPI void GLAPIENTRY glRasterPos2d( GLdouble x, GLdouble y ); GLAPI void GLAPIENTRY glRasterPos2f( GLfloat x, GLfloat y ); GLAPI void GLAPIENTRY glRasterPos2i( GLint x, GLint y ); GLAPI void GLAPIENTRY glRasterPos2s( GLshort x, GLshort y ); GLAPI void GLAPIENTRY glRasterPos3d( GLdouble x, GLdouble y, GLdouble z ); GLAPI void GLAPIENTRY glRasterPos3f( GLfloat x, GLfloat y, GLfloat z ); GLAPI void GLAPIENTRY glRasterPos3i( GLint x, GLint y, GLint z ); GLAPI void GLAPIENTRY glRasterPos3s( GLshort x, GLshort y, GLshort z ); GLAPI void GLAPIENTRY glRasterPos4d( GLdouble x, GLdouble y, GLdouble z, GLdouble w ); GLAPI void GLAPIENTRY glRasterPos4f( GLfloat x, GLfloat y, GLfloat z, GLfloat w ); GLAPI void GLAPIENTRY glRasterPos4i( GLint x, GLint y, GLint z, GLint w ); GLAPI void GLAPIENTRY glRasterPos4s( GLshort x, GLshort y, GLshort z, GLshort w ); GLAPI void GLAPIENTRY glRasterPos2dv( const GLdouble *v ); GLAPI void GLAPIENTRY glRasterPos2fv( const GLfloat *v ); GLAPI void GLAPIENTRY glRasterPos2iv( const GLint *v ); GLAPI void GLAPIENTRY glRasterPos2sv( const GLshort *v ); GLAPI void GLAPIENTRY glRasterPos3dv( const GLdouble *v ); GLAPI void GLAPIENTRY glRasterPos3fv( const GLfloat *v ); GLAPI void GLAPIENTRY glRasterPos3iv( const GLint *v ); GLAPI void GLAPIENTRY glRasterPos3sv( const GLshort *v ); GLAPI void GLAPIENTRY glRasterPos4dv( const GLdouble *v ); GLAPI void GLAPIENTRY glRasterPos4fv( const GLfloat *v ); GLAPI void GLAPIENTRY glRasterPos4iv( const GLint *v ); GLAPI void GLAPIENTRY glRasterPos4sv( const GLshort *v ); GLAPI void GLAPIENTRY glRectd( GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2 ); GLAPI void GLAPIENTRY glRectf( GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2 ); GLAPI void GLAPIENTRY glRecti( GLint x1, GLint y1, GLint x2, GLint y2 ); GLAPI void GLAPIENTRY glRects( GLshort x1, GLshort y1, GLshort x2, GLshort y2 ); GLAPI void GLAPIENTRY glRectdv( const GLdouble *v1, const GLdouble *v2 ); GLAPI void GLAPIENTRY glRectfv( const GLfloat *v1, const GLfloat *v2 ); GLAPI void GLAPIENTRY glRectiv( const GLint *v1, const GLint *v2 ); GLAPI void GLAPIENTRY glRectsv( const GLshort *v1, const GLshort *v2 ); /* * Vertex Arrays (1.1) */ GLAPI void GLAPIENTRY glVertexPointer( GLint size, GLenum type, GLsizei stride, const GLvoid *ptr ); GLAPI void GLAPIENTRY glNormalPointer( GLenum type, GLsizei stride, const GLvoid *ptr ); GLAPI void GLAPIENTRY glColorPointer( GLint size, GLenum type, GLsizei stride, const GLvoid *ptr ); GLAPI void GLAPIENTRY glIndexPointer( GLenum type, GLsizei stride, const GLvoid *ptr ); GLAPI void GLAPIENTRY glTexCoordPointer( GLint size, GLenum type, GLsizei stride, const GLvoid *ptr ); GLAPI void GLAPIENTRY glEdgeFlagPointer( GLsizei stride, const GLvoid *ptr ); GLAPI void GLAPIENTRY glGetPointerv( GLenum pname, GLvoid **params ); GLAPI void GLAPIENTRY glArrayElement( GLint i ); GLAPI void GLAPIENTRY glDrawArrays( GLenum mode, GLint first, GLsizei count ); GLAPI void GLAPIENTRY glDrawElements( GLenum mode, GLsizei count, GLenum type, const GLvoid *indices ); GLAPI void GLAPIENTRY glInterleavedArrays( GLenum format, GLsizei stride, const GLvoid *pointer ); /* * Lighting */ GLAPI void GLAPIENTRY glShadeModel( GLenum mode ); GLAPI void GLAPIENTRY glLightf( GLenum light, GLenum pname, GLfloat param ); GLAPI void GLAPIENTRY glLighti( GLenum light, GLenum pname, GLint param ); GLAPI void GLAPIENTRY glLightfv( GLenum light, GLenum pname, const GLfloat *params ); GLAPI void GLAPIENTRY glLightiv( GLenum light, GLenum pname, const GLint *params ); GLAPI void GLAPIENTRY glGetLightfv( GLenum light, GLenum pname, GLfloat *params ); GLAPI void GLAPIENTRY glGetLightiv( GLenum light, GLenum pname, GLint *params ); GLAPI void GLAPIENTRY glLightModelf( GLenum pname, GLfloat param ); GLAPI void GLAPIENTRY glLightModeli( GLenum pname, GLint param ); GLAPI void GLAPIENTRY glLightModelfv( GLenum pname, const GLfloat *params ); GLAPI void GLAPIENTRY glLightModeliv( GLenum pname, const GLint *params ); GLAPI void GLAPIENTRY glMaterialf( GLenum face, GLenum pname, GLfloat param ); GLAPI void GLAPIENTRY glMateriali( GLenum face, GLenum pname, GLint param ); GLAPI void GLAPIENTRY glMaterialfv( GLenum face, GLenum pname, const GLfloat *params ); GLAPI void GLAPIENTRY glMaterialiv( GLenum face, GLenum pname, const GLint *params ); GLAPI void GLAPIENTRY glGetMaterialfv( GLenum face, GLenum pname, GLfloat *params ); GLAPI void GLAPIENTRY glGetMaterialiv( GLenum face, GLenum pname, GLint *params ); GLAPI void GLAPIENTRY glColorMaterial( GLenum face, GLenum mode ); /* * Raster functions */ GLAPI void GLAPIENTRY glPixelZoom( GLfloat xfactor, GLfloat yfactor ); GLAPI void GLAPIENTRY glPixelStoref( GLenum pname, GLfloat param ); GLAPI void GLAPIENTRY glPixelStorei( GLenum pname, GLint param ); GLAPI void GLAPIENTRY glPixelTransferf( GLenum pname, GLfloat param ); GLAPI void GLAPIENTRY glPixelTransferi( GLenum pname, GLint param ); GLAPI void GLAPIENTRY glPixelMapfv( GLenum map, GLsizei mapsize, const GLfloat *values ); GLAPI void GLAPIENTRY glPixelMapuiv( GLenum map, GLsizei mapsize, const GLuint *values ); GLAPI void GLAPIENTRY glPixelMapusv( GLenum map, GLsizei mapsize, const GLushort *values ); GLAPI void GLAPIENTRY glGetPixelMapfv( GLenum map, GLfloat *values ); GLAPI void GLAPIENTRY glGetPixelMapuiv( GLenum map, GLuint *values ); GLAPI void GLAPIENTRY glGetPixelMapusv( GLenum map, GLushort *values ); GLAPI void GLAPIENTRY glBitmap( GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte *bitmap ); GLAPI void GLAPIENTRY glReadPixels( GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels ); GLAPI void GLAPIENTRY glDrawPixels( GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels ); GLAPI void GLAPIENTRY glCopyPixels( GLint x, GLint y, GLsizei width, GLsizei height, GLenum type ); /* * Stenciling */ GLAPI void GLAPIENTRY glStencilFunc( GLenum func, GLint ref, GLuint mask ); GLAPI void GLAPIENTRY glStencilMask( GLuint mask ); GLAPI void GLAPIENTRY glStencilOp( GLenum fail, GLenum zfail, GLenum zpass ); GLAPI void GLAPIENTRY glClearStencil( GLint s ); /* * Texture mapping */ GLAPI void GLAPIENTRY glTexGend( GLenum coord, GLenum pname, GLdouble param ); GLAPI void GLAPIENTRY glTexGenf( GLenum coord, GLenum pname, GLfloat param ); GLAPI void GLAPIENTRY glTexGeni( GLenum coord, GLenum pname, GLint param ); GLAPI void GLAPIENTRY glTexGendv( GLenum coord, GLenum pname, const GLdouble *params ); GLAPI void GLAPIENTRY glTexGenfv( GLenum coord, GLenum pname, const GLfloat *params ); GLAPI void GLAPIENTRY glTexGeniv( GLenum coord, GLenum pname, const GLint *params ); GLAPI void GLAPIENTRY glGetTexGendv( GLenum coord, GLenum pname, GLdouble *params ); GLAPI void GLAPIENTRY glGetTexGenfv( GLenum coord, GLenum pname, GLfloat *params ); GLAPI void GLAPIENTRY glGetTexGeniv( GLenum coord, GLenum pname, GLint *params ); GLAPI void GLAPIENTRY glTexEnvf( GLenum target, GLenum pname, GLfloat param ); GLAPI void GLAPIENTRY glTexEnvi( GLenum target, GLenum pname, GLint param ); GLAPI void GLAPIENTRY glTexEnvfv( GLenum target, GLenum pname, const GLfloat *params ); GLAPI void GLAPIENTRY glTexEnviv( GLenum target, GLenum pname, const GLint *params ); GLAPI void GLAPIENTRY glGetTexEnvfv( GLenum target, GLenum pname, GLfloat *params ); GLAPI void GLAPIENTRY glGetTexEnviv( GLenum target, GLenum pname, GLint *params ); GLAPI void GLAPIENTRY glTexParameterf( GLenum target, GLenum pname, GLfloat param ); GLAPI void GLAPIENTRY glTexParameteri( GLenum target, GLenum pname, GLint param ); GLAPI void GLAPIENTRY glTexParameterfv( GLenum target, GLenum pname, const GLfloat *params ); GLAPI void GLAPIENTRY glTexParameteriv( GLenum target, GLenum pname, const GLint *params ); GLAPI void GLAPIENTRY glGetTexParameterfv( GLenum target, GLenum pname, GLfloat *params); GLAPI void GLAPIENTRY glGetTexParameteriv( GLenum target, GLenum pname, GLint *params ); GLAPI void GLAPIENTRY glGetTexLevelParameterfv( GLenum target, GLint level, GLenum pname, GLfloat *params ); GLAPI void GLAPIENTRY glGetTexLevelParameteriv( GLenum target, GLint level, GLenum pname, GLint *params ); GLAPI void GLAPIENTRY glTexImage1D( GLenum target, GLint level, GLint internalFormat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels ); GLAPI void GLAPIENTRY glTexImage2D( GLenum target, GLint level, GLint internalFormat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels ); GLAPI void GLAPIENTRY glGetTexImage( GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels ); /* 1.1 functions */ GLAPI void GLAPIENTRY glGenTextures( GLsizei n, GLuint *textures ); GLAPI void GLAPIENTRY glDeleteTextures( GLsizei n, const GLuint *textures); GLAPI void GLAPIENTRY glBindTexture( GLenum target, GLuint texture ); GLAPI void GLAPIENTRY glPrioritizeTextures( GLsizei n, const GLuint *textures, const GLclampf *priorities ); GLAPI GLboolean GLAPIENTRY glAreTexturesResident( GLsizei n, const GLuint *textures, GLboolean *residences ); GLAPI GLboolean GLAPIENTRY glIsTexture( GLuint texture ); GLAPI void GLAPIENTRY glTexSubImage1D( GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels ); GLAPI void GLAPIENTRY glTexSubImage2D( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels ); GLAPI void GLAPIENTRY glCopyTexImage1D( GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border ); GLAPI void GLAPIENTRY glCopyTexImage2D( GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border ); GLAPI void GLAPIENTRY glCopyTexSubImage1D( GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width ); GLAPI void GLAPIENTRY glCopyTexSubImage2D( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height ); /* * Evaluators */ GLAPI void GLAPIENTRY glMap1d( GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points ); GLAPI void GLAPIENTRY glMap1f( GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points ); GLAPI void GLAPIENTRY glMap2d( GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points ); GLAPI void GLAPIENTRY glMap2f( GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points ); GLAPI void GLAPIENTRY glGetMapdv( GLenum target, GLenum query, GLdouble *v ); GLAPI void GLAPIENTRY glGetMapfv( GLenum target, GLenum query, GLfloat *v ); GLAPI void GLAPIENTRY glGetMapiv( GLenum target, GLenum query, GLint *v ); GLAPI void GLAPIENTRY glEvalCoord1d( GLdouble u ); GLAPI void GLAPIENTRY glEvalCoord1f( GLfloat u ); GLAPI void GLAPIENTRY glEvalCoord1dv( const GLdouble *u ); GLAPI void GLAPIENTRY glEvalCoord1fv( const GLfloat *u ); GLAPI void GLAPIENTRY glEvalCoord2d( GLdouble u, GLdouble v ); GLAPI void GLAPIENTRY glEvalCoord2f( GLfloat u, GLfloat v ); GLAPI void GLAPIENTRY glEvalCoord2dv( const GLdouble *u ); GLAPI void GLAPIENTRY glEvalCoord2fv( const GLfloat *u ); GLAPI void GLAPIENTRY glMapGrid1d( GLint un, GLdouble u1, GLdouble u2 ); GLAPI void GLAPIENTRY glMapGrid1f( GLint un, GLfloat u1, GLfloat u2 ); GLAPI void GLAPIENTRY glMapGrid2d( GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2 ); GLAPI void GLAPIENTRY glMapGrid2f( GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2 ); GLAPI void GLAPIENTRY glEvalPoint1( GLint i ); GLAPI void GLAPIENTRY glEvalPoint2( GLint i, GLint j ); GLAPI void GLAPIENTRY glEvalMesh1( GLenum mode, GLint i1, GLint i2 ); GLAPI void GLAPIENTRY glEvalMesh2( GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2 ); /* * Fog */ GLAPI void GLAPIENTRY glFogf( GLenum pname, GLfloat param ); GLAPI void GLAPIENTRY glFogi( GLenum pname, GLint param ); GLAPI void GLAPIENTRY glFogfv( GLenum pname, const GLfloat *params ); GLAPI void GLAPIENTRY glFogiv( GLenum pname, const GLint *params ); /* * Selection and Feedback */ GLAPI void GLAPIENTRY glFeedbackBuffer( GLsizei size, GLenum type, GLfloat *buffer ); GLAPI void GLAPIENTRY glPassThrough( GLfloat token ); GLAPI void GLAPIENTRY glSelectBuffer( GLsizei size, GLuint *buffer ); GLAPI void GLAPIENTRY glInitNames( void ); GLAPI void GLAPIENTRY glLoadName( GLuint name ); GLAPI void GLAPIENTRY glPushName( GLuint name ); GLAPI void GLAPIENTRY glPopName( void ); /* * OpenGL 1.2 */ #define GL_RESCALE_NORMAL 0x803A #define GL_CLAMP_TO_EDGE 0x812F #define GL_MAX_ELEMENTS_VERTICES 0x80E8 #define GL_MAX_ELEMENTS_INDICES 0x80E9 #define GL_BGR 0x80E0 #define GL_BGRA 0x80E1 #define GL_UNSIGNED_BYTE_3_3_2 0x8032 #define GL_UNSIGNED_BYTE_2_3_3_REV 0x8362 #define GL_UNSIGNED_SHORT_5_6_5 0x8363 #define GL_UNSIGNED_SHORT_5_6_5_REV 0x8364 #define GL_UNSIGNED_SHORT_4_4_4_4 0x8033 #define GL_UNSIGNED_SHORT_4_4_4_4_REV 0x8365 #define GL_UNSIGNED_SHORT_5_5_5_1 0x8034 #define GL_UNSIGNED_SHORT_1_5_5_5_REV 0x8366 #define GL_UNSIGNED_INT_8_8_8_8 0x8035 #define GL_UNSIGNED_INT_8_8_8_8_REV 0x8367 #define GL_UNSIGNED_INT_10_10_10_2 0x8036 #define GL_UNSIGNED_INT_2_10_10_10_REV 0x8368 #define GL_LIGHT_MODEL_COLOR_CONTROL 0x81F8 #define GL_SINGLE_COLOR 0x81F9 #define GL_SEPARATE_SPECULAR_COLOR 0x81FA #define GL_TEXTURE_MIN_LOD 0x813A #define GL_TEXTURE_MAX_LOD 0x813B #define GL_TEXTURE_BASE_LEVEL 0x813C #define GL_TEXTURE_MAX_LEVEL 0x813D #define GL_SMOOTH_POINT_SIZE_RANGE 0x0B12 #define GL_SMOOTH_POINT_SIZE_GRANULARITY 0x0B13 #define GL_SMOOTH_LINE_WIDTH_RANGE 0x0B22 #define GL_SMOOTH_LINE_WIDTH_GRANULARITY 0x0B23 #define GL_ALIASED_POINT_SIZE_RANGE 0x846D #define GL_ALIASED_LINE_WIDTH_RANGE 0x846E #define GL_PACK_SKIP_IMAGES 0x806B #define GL_PACK_IMAGE_HEIGHT 0x806C #define GL_UNPACK_SKIP_IMAGES 0x806D #define GL_UNPACK_IMAGE_HEIGHT 0x806E #define GL_TEXTURE_3D 0x806F #define GL_PROXY_TEXTURE_3D 0x8070 #define GL_TEXTURE_DEPTH 0x8071 #define GL_TEXTURE_WRAP_R 0x8072 #define GL_MAX_3D_TEXTURE_SIZE 0x8073 #define GL_TEXTURE_BINDING_3D 0x806A GLAPI void GLAPIENTRY glDrawRangeElements( GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices ); GLAPI void GLAPIENTRY glTexImage3D( GLenum target, GLint level, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels ); GLAPI void GLAPIENTRY glTexSubImage3D( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels); GLAPI void GLAPIENTRY glCopyTexSubImage3D( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height ); typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices); typedef void (APIENTRYP PFNGLTEXIMAGE3DPROC) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels); typedef void (APIENTRYP PFNGLTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels); typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); /* * GL_ARB_imaging */ #define GL_CONSTANT_COLOR 0x8001 #define GL_ONE_MINUS_CONSTANT_COLOR 0x8002 #define GL_CONSTANT_ALPHA 0x8003 #define GL_ONE_MINUS_CONSTANT_ALPHA 0x8004 #define GL_COLOR_TABLE 0x80D0 #define GL_POST_CONVOLUTION_COLOR_TABLE 0x80D1 #define GL_POST_COLOR_MATRIX_COLOR_TABLE 0x80D2 #define GL_PROXY_COLOR_TABLE 0x80D3 #define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE 0x80D4 #define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE 0x80D5 #define GL_COLOR_TABLE_SCALE 0x80D6 #define GL_COLOR_TABLE_BIAS 0x80D7 #define GL_COLOR_TABLE_FORMAT 0x80D8 #define GL_COLOR_TABLE_WIDTH 0x80D9 #define GL_COLOR_TABLE_RED_SIZE 0x80DA #define GL_COLOR_TABLE_GREEN_SIZE 0x80DB #define GL_COLOR_TABLE_BLUE_SIZE 0x80DC #define GL_COLOR_TABLE_ALPHA_SIZE 0x80DD #define GL_COLOR_TABLE_LUMINANCE_SIZE 0x80DE #define GL_COLOR_TABLE_INTENSITY_SIZE 0x80DF #define GL_CONVOLUTION_1D 0x8010 #define GL_CONVOLUTION_2D 0x8011 #define GL_SEPARABLE_2D 0x8012 #define GL_CONVOLUTION_BORDER_MODE 0x8013 #define GL_CONVOLUTION_FILTER_SCALE 0x8014 #define GL_CONVOLUTION_FILTER_BIAS 0x8015 #define GL_REDUCE 0x8016 #define GL_CONVOLUTION_FORMAT 0x8017 #define GL_CONVOLUTION_WIDTH 0x8018 #define GL_CONVOLUTION_HEIGHT 0x8019 #define GL_MAX_CONVOLUTION_WIDTH 0x801A #define GL_MAX_CONVOLUTION_HEIGHT 0x801B #define GL_POST_CONVOLUTION_RED_SCALE 0x801C #define GL_POST_CONVOLUTION_GREEN_SCALE 0x801D #define GL_POST_CONVOLUTION_BLUE_SCALE 0x801E #define GL_POST_CONVOLUTION_ALPHA_SCALE 0x801F #define GL_POST_CONVOLUTION_RED_BIAS 0x8020 #define GL_POST_CONVOLUTION_GREEN_BIAS 0x8021 #define GL_POST_CONVOLUTION_BLUE_BIAS 0x8022 #define GL_POST_CONVOLUTION_ALPHA_BIAS 0x8023 #define GL_CONSTANT_BORDER 0x8151 #define GL_REPLICATE_BORDER 0x8153 #define GL_CONVOLUTION_BORDER_COLOR 0x8154 #define GL_COLOR_MATRIX 0x80B1 #define GL_COLOR_MATRIX_STACK_DEPTH 0x80B2 #define GL_MAX_COLOR_MATRIX_STACK_DEPTH 0x80B3 #define GL_POST_COLOR_MATRIX_RED_SCALE 0x80B4 #define GL_POST_COLOR_MATRIX_GREEN_SCALE 0x80B5 #define GL_POST_COLOR_MATRIX_BLUE_SCALE 0x80B6 #define GL_POST_COLOR_MATRIX_ALPHA_SCALE 0x80B7 #define GL_POST_COLOR_MATRIX_RED_BIAS 0x80B8 #define GL_POST_COLOR_MATRIX_GREEN_BIAS 0x80B9 #define GL_POST_COLOR_MATRIX_BLUE_BIAS 0x80BA #define GL_POST_COLOR_MATRIX_ALPHA_BIAS 0x80BB #define GL_HISTOGRAM 0x8024 #define GL_PROXY_HISTOGRAM 0x8025 #define GL_HISTOGRAM_WIDTH 0x8026 #define GL_HISTOGRAM_FORMAT 0x8027 #define GL_HISTOGRAM_RED_SIZE 0x8028 #define GL_HISTOGRAM_GREEN_SIZE 0x8029 #define GL_HISTOGRAM_BLUE_SIZE 0x802A #define GL_HISTOGRAM_ALPHA_SIZE 0x802B #define GL_HISTOGRAM_LUMINANCE_SIZE 0x802C #define GL_HISTOGRAM_SINK 0x802D #define GL_MINMAX 0x802E #define GL_MINMAX_FORMAT 0x802F #define GL_MINMAX_SINK 0x8030 #define GL_TABLE_TOO_LARGE 0x8031 #define GL_BLEND_EQUATION 0x8009 #define GL_MIN 0x8007 #define GL_MAX 0x8008 #define GL_FUNC_ADD 0x8006 #define GL_FUNC_SUBTRACT 0x800A #define GL_FUNC_REVERSE_SUBTRACT 0x800B #define GL_BLEND_COLOR 0x8005 GLAPI void GLAPIENTRY glColorTable( GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table ); GLAPI void GLAPIENTRY glColorSubTable( GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data ); GLAPI void GLAPIENTRY glColorTableParameteriv(GLenum target, GLenum pname, const GLint *params); GLAPI void GLAPIENTRY glColorTableParameterfv(GLenum target, GLenum pname, const GLfloat *params); GLAPI void GLAPIENTRY glCopyColorSubTable( GLenum target, GLsizei start, GLint x, GLint y, GLsizei width ); GLAPI void GLAPIENTRY glCopyColorTable( GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width ); GLAPI void GLAPIENTRY glGetColorTable( GLenum target, GLenum format, GLenum type, GLvoid *table ); GLAPI void GLAPIENTRY glGetColorTableParameterfv( GLenum target, GLenum pname, GLfloat *params ); GLAPI void GLAPIENTRY glGetColorTableParameteriv( GLenum target, GLenum pname, GLint *params ); GLAPI void GLAPIENTRY glBlendEquation( GLenum mode ); GLAPI void GLAPIENTRY glBlendColor( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha ); GLAPI void GLAPIENTRY glHistogram( GLenum target, GLsizei width, GLenum internalformat, GLboolean sink ); GLAPI void GLAPIENTRY glResetHistogram( GLenum target ); GLAPI void GLAPIENTRY glGetHistogram( GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values ); GLAPI void GLAPIENTRY glGetHistogramParameterfv( GLenum target, GLenum pname, GLfloat *params ); GLAPI void GLAPIENTRY glGetHistogramParameteriv( GLenum target, GLenum pname, GLint *params ); GLAPI void GLAPIENTRY glMinmax( GLenum target, GLenum internalformat, GLboolean sink ); GLAPI void GLAPIENTRY glResetMinmax( GLenum target ); GLAPI void GLAPIENTRY glGetMinmax( GLenum target, GLboolean reset, GLenum format, GLenum types, GLvoid *values ); GLAPI void GLAPIENTRY glGetMinmaxParameterfv( GLenum target, GLenum pname, GLfloat *params ); GLAPI void GLAPIENTRY glGetMinmaxParameteriv( GLenum target, GLenum pname, GLint *params ); GLAPI void GLAPIENTRY glConvolutionFilter1D( GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image ); GLAPI void GLAPIENTRY glConvolutionFilter2D( GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image ); GLAPI void GLAPIENTRY glConvolutionParameterf( GLenum target, GLenum pname, GLfloat params ); GLAPI void GLAPIENTRY glConvolutionParameterfv( GLenum target, GLenum pname, const GLfloat *params ); GLAPI void GLAPIENTRY glConvolutionParameteri( GLenum target, GLenum pname, GLint params ); GLAPI void GLAPIENTRY glConvolutionParameteriv( GLenum target, GLenum pname, const GLint *params ); GLAPI void GLAPIENTRY glCopyConvolutionFilter1D( GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width ); GLAPI void GLAPIENTRY glCopyConvolutionFilter2D( GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height); GLAPI void GLAPIENTRY glGetConvolutionFilter( GLenum target, GLenum format, GLenum type, GLvoid *image ); GLAPI void GLAPIENTRY glGetConvolutionParameterfv( GLenum target, GLenum pname, GLfloat *params ); GLAPI void GLAPIENTRY glGetConvolutionParameteriv( GLenum target, GLenum pname, GLint *params ); GLAPI void GLAPIENTRY glSeparableFilter2D( GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column ); GLAPI void GLAPIENTRY glGetSeparableFilter( GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span ); /* * OpenGL 1.3 */ /* multitexture */ #define GL_TEXTURE0 0x84C0 #define GL_TEXTURE1 0x84C1 #define GL_TEXTURE2 0x84C2 #define GL_TEXTURE3 0x84C3 #define GL_TEXTURE4 0x84C4 #define GL_TEXTURE5 0x84C5 #define GL_TEXTURE6 0x84C6 #define GL_TEXTURE7 0x84C7 #define GL_TEXTURE8 0x84C8 #define GL_TEXTURE9 0x84C9 #define GL_TEXTURE10 0x84CA #define GL_TEXTURE11 0x84CB #define GL_TEXTURE12 0x84CC #define GL_TEXTURE13 0x84CD #define GL_TEXTURE14 0x84CE #define GL_TEXTURE15 0x84CF #define GL_TEXTURE16 0x84D0 #define GL_TEXTURE17 0x84D1 #define GL_TEXTURE18 0x84D2 #define GL_TEXTURE19 0x84D3 #define GL_TEXTURE20 0x84D4 #define GL_TEXTURE21 0x84D5 #define GL_TEXTURE22 0x84D6 #define GL_TEXTURE23 0x84D7 #define GL_TEXTURE24 0x84D8 #define GL_TEXTURE25 0x84D9 #define GL_TEXTURE26 0x84DA #define GL_TEXTURE27 0x84DB #define GL_TEXTURE28 0x84DC #define GL_TEXTURE29 0x84DD #define GL_TEXTURE30 0x84DE #define GL_TEXTURE31 0x84DF #define GL_ACTIVE_TEXTURE 0x84E0 #define GL_CLIENT_ACTIVE_TEXTURE 0x84E1 #define GL_MAX_TEXTURE_UNITS 0x84E2 /* texture_cube_map */ #define GL_NORMAL_MAP 0x8511 #define GL_REFLECTION_MAP 0x8512 #define GL_TEXTURE_CUBE_MAP 0x8513 #define GL_TEXTURE_BINDING_CUBE_MAP 0x8514 #define GL_TEXTURE_CUBE_MAP_POSITIVE_X 0x8515 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X 0x8516 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y 0x8517 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y 0x8518 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z 0x8519 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z 0x851A #define GL_PROXY_TEXTURE_CUBE_MAP 0x851B #define GL_MAX_CUBE_MAP_TEXTURE_SIZE 0x851C /* texture_compression */ #define GL_COMPRESSED_ALPHA 0x84E9 #define GL_COMPRESSED_LUMINANCE 0x84EA #define GL_COMPRESSED_LUMINANCE_ALPHA 0x84EB #define GL_COMPRESSED_INTENSITY 0x84EC #define GL_COMPRESSED_RGB 0x84ED #define GL_COMPRESSED_RGBA 0x84EE #define GL_TEXTURE_COMPRESSION_HINT 0x84EF #define GL_TEXTURE_COMPRESSED_IMAGE_SIZE 0x86A0 #define GL_TEXTURE_COMPRESSED 0x86A1 #define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2 #define GL_COMPRESSED_TEXTURE_FORMATS 0x86A3 /* multisample */ #define GL_MULTISAMPLE 0x809D #define GL_SAMPLE_ALPHA_TO_COVERAGE 0x809E #define GL_SAMPLE_ALPHA_TO_ONE 0x809F #define GL_SAMPLE_COVERAGE 0x80A0 #define GL_SAMPLE_BUFFERS 0x80A8 #define GL_SAMPLES 0x80A9 #define GL_SAMPLE_COVERAGE_VALUE 0x80AA #define GL_SAMPLE_COVERAGE_INVERT 0x80AB #define GL_MULTISAMPLE_BIT 0x20000000 /* transpose_matrix */ #define GL_TRANSPOSE_MODELVIEW_MATRIX 0x84E3 #define GL_TRANSPOSE_PROJECTION_MATRIX 0x84E4 #define GL_TRANSPOSE_TEXTURE_MATRIX 0x84E5 #define GL_TRANSPOSE_COLOR_MATRIX 0x84E6 /* texture_env_combine */ #define GL_COMBINE 0x8570 #define GL_COMBINE_RGB 0x8571 #define GL_COMBINE_ALPHA 0x8572 #define GL_SOURCE0_RGB 0x8580 #define GL_SOURCE1_RGB 0x8581 #define GL_SOURCE2_RGB 0x8582 #define GL_SOURCE0_ALPHA 0x8588 #define GL_SOURCE1_ALPHA 0x8589 #define GL_SOURCE2_ALPHA 0x858A #define GL_OPERAND0_RGB 0x8590 #define GL_OPERAND1_RGB 0x8591 #define GL_OPERAND2_RGB 0x8592 #define GL_OPERAND0_ALPHA 0x8598 #define GL_OPERAND1_ALPHA 0x8599 #define GL_OPERAND2_ALPHA 0x859A #define GL_RGB_SCALE 0x8573 #define GL_ADD_SIGNED 0x8574 #define GL_INTERPOLATE 0x8575 #define GL_SUBTRACT 0x84E7 #define GL_CONSTANT 0x8576 #define GL_PRIMARY_COLOR 0x8577 #define GL_PREVIOUS 0x8578 /* texture_env_dot3 */ #define GL_DOT3_RGB 0x86AE #define GL_DOT3_RGBA 0x86AF /* texture_border_clamp */ #define GL_CLAMP_TO_BORDER 0x812D GLAPI void GLAPIENTRY glActiveTexture( GLenum texture ); GLAPI void GLAPIENTRY glClientActiveTexture( GLenum texture ); GLAPI void GLAPIENTRY glCompressedTexImage1D( GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data ); GLAPI void GLAPIENTRY glCompressedTexImage2D( GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data ); GLAPI void GLAPIENTRY glCompressedTexImage3D( GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data ); GLAPI void GLAPIENTRY glCompressedTexSubImage1D( GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data ); GLAPI void GLAPIENTRY glCompressedTexSubImage2D( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data ); GLAPI void GLAPIENTRY glCompressedTexSubImage3D( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data ); GLAPI void GLAPIENTRY glGetCompressedTexImage( GLenum target, GLint lod, GLvoid *img ); GLAPI void GLAPIENTRY glMultiTexCoord1d( GLenum target, GLdouble s ); GLAPI void GLAPIENTRY glMultiTexCoord1dv( GLenum target, const GLdouble *v ); GLAPI void GLAPIENTRY glMultiTexCoord1f( GLenum target, GLfloat s ); GLAPI void GLAPIENTRY glMultiTexCoord1fv( GLenum target, const GLfloat *v ); GLAPI void GLAPIENTRY glMultiTexCoord1i( GLenum target, GLint s ); GLAPI void GLAPIENTRY glMultiTexCoord1iv( GLenum target, const GLint *v ); GLAPI void GLAPIENTRY glMultiTexCoord1s( GLenum target, GLshort s ); GLAPI void GLAPIENTRY glMultiTexCoord1sv( GLenum target, const GLshort *v ); GLAPI void GLAPIENTRY glMultiTexCoord2d( GLenum target, GLdouble s, GLdouble t ); GLAPI void GLAPIENTRY glMultiTexCoord2dv( GLenum target, const GLdouble *v ); GLAPI void GLAPIENTRY glMultiTexCoord2f( GLenum target, GLfloat s, GLfloat t ); GLAPI void GLAPIENTRY glMultiTexCoord2fv( GLenum target, const GLfloat *v ); GLAPI void GLAPIENTRY glMultiTexCoord2i( GLenum target, GLint s, GLint t ); GLAPI void GLAPIENTRY glMultiTexCoord2iv( GLenum target, const GLint *v ); GLAPI void GLAPIENTRY glMultiTexCoord2s( GLenum target, GLshort s, GLshort t ); GLAPI void GLAPIENTRY glMultiTexCoord2sv( GLenum target, const GLshort *v ); GLAPI void GLAPIENTRY glMultiTexCoord3d( GLenum target, GLdouble s, GLdouble t, GLdouble r ); GLAPI void GLAPIENTRY glMultiTexCoord3dv( GLenum target, const GLdouble *v ); GLAPI void GLAPIENTRY glMultiTexCoord3f( GLenum target, GLfloat s, GLfloat t, GLfloat r ); GLAPI void GLAPIENTRY glMultiTexCoord3fv( GLenum target, const GLfloat *v ); GLAPI void GLAPIENTRY glMultiTexCoord3i( GLenum target, GLint s, GLint t, GLint r ); GLAPI void GLAPIENTRY glMultiTexCoord3iv( GLenum target, const GLint *v ); GLAPI void GLAPIENTRY glMultiTexCoord3s( GLenum target, GLshort s, GLshort t, GLshort r ); GLAPI void GLAPIENTRY glMultiTexCoord3sv( GLenum target, const GLshort *v ); GLAPI void GLAPIENTRY glMultiTexCoord4d( GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q ); GLAPI void GLAPIENTRY glMultiTexCoord4dv( GLenum target, const GLdouble *v ); GLAPI void GLAPIENTRY glMultiTexCoord4f( GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q ); GLAPI void GLAPIENTRY glMultiTexCoord4fv( GLenum target, const GLfloat *v ); GLAPI void GLAPIENTRY glMultiTexCoord4i( GLenum target, GLint s, GLint t, GLint r, GLint q ); GLAPI void GLAPIENTRY glMultiTexCoord4iv( GLenum target, const GLint *v ); GLAPI void GLAPIENTRY glMultiTexCoord4s( GLenum target, GLshort s, GLshort t, GLshort r, GLshort q ); GLAPI void GLAPIENTRY glMultiTexCoord4sv( GLenum target, const GLshort *v ); GLAPI void GLAPIENTRY glLoadTransposeMatrixd( const GLdouble m[16] ); GLAPI void GLAPIENTRY glLoadTransposeMatrixf( const GLfloat m[16] ); GLAPI void GLAPIENTRY glMultTransposeMatrixd( const GLdouble m[16] ); GLAPI void GLAPIENTRY glMultTransposeMatrixf( const GLfloat m[16] ); GLAPI void GLAPIENTRY glSampleCoverage( GLclampf value, GLboolean invert ); typedef void (APIENTRYP PFNGLACTIVETEXTUREPROC) (GLenum texture); typedef void (APIENTRYP PFNGLSAMPLECOVERAGEPROC) (GLclampf value, GLboolean invert); typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data); typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data); typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE1DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data); typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data); typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data); typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data); typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXIMAGEPROC) (GLenum target, GLint level, GLvoid *img); /* * GL_ARB_multitexture (ARB extension 1 and OpenGL 1.2.1) */ #ifndef GL_ARB_multitexture #define GL_ARB_multitexture 1 #define GL_TEXTURE0_ARB 0x84C0 #define GL_TEXTURE1_ARB 0x84C1 #define GL_TEXTURE2_ARB 0x84C2 #define GL_TEXTURE3_ARB 0x84C3 #define GL_TEXTURE4_ARB 0x84C4 #define GL_TEXTURE5_ARB 0x84C5 #define GL_TEXTURE6_ARB 0x84C6 #define GL_TEXTURE7_ARB 0x84C7 #define GL_TEXTURE8_ARB 0x84C8 #define GL_TEXTURE9_ARB 0x84C9 #define GL_TEXTURE10_ARB 0x84CA #define GL_TEXTURE11_ARB 0x84CB #define GL_TEXTURE12_ARB 0x84CC #define GL_TEXTURE13_ARB 0x84CD #define GL_TEXTURE14_ARB 0x84CE #define GL_TEXTURE15_ARB 0x84CF #define GL_TEXTURE16_ARB 0x84D0 #define GL_TEXTURE17_ARB 0x84D1 #define GL_TEXTURE18_ARB 0x84D2 #define GL_TEXTURE19_ARB 0x84D3 #define GL_TEXTURE20_ARB 0x84D4 #define GL_TEXTURE21_ARB 0x84D5 #define GL_TEXTURE22_ARB 0x84D6 #define GL_TEXTURE23_ARB 0x84D7 #define GL_TEXTURE24_ARB 0x84D8 #define GL_TEXTURE25_ARB 0x84D9 #define GL_TEXTURE26_ARB 0x84DA #define GL_TEXTURE27_ARB 0x84DB #define GL_TEXTURE28_ARB 0x84DC #define GL_TEXTURE29_ARB 0x84DD #define GL_TEXTURE30_ARB 0x84DE #define GL_TEXTURE31_ARB 0x84DF #define GL_ACTIVE_TEXTURE_ARB 0x84E0 #define GL_CLIENT_ACTIVE_TEXTURE_ARB 0x84E1 #define GL_MAX_TEXTURE_UNITS_ARB 0x84E2 GLAPI void GLAPIENTRY glActiveTextureARB(GLenum texture); GLAPI void GLAPIENTRY glClientActiveTextureARB(GLenum texture); GLAPI void GLAPIENTRY glMultiTexCoord1dARB(GLenum target, GLdouble s); GLAPI void GLAPIENTRY glMultiTexCoord1dvARB(GLenum target, const GLdouble *v); GLAPI void GLAPIENTRY glMultiTexCoord1fARB(GLenum target, GLfloat s); GLAPI void GLAPIENTRY glMultiTexCoord1fvARB(GLenum target, const GLfloat *v); GLAPI void GLAPIENTRY glMultiTexCoord1iARB(GLenum target, GLint s); GLAPI void GLAPIENTRY glMultiTexCoord1ivARB(GLenum target, const GLint *v); GLAPI void GLAPIENTRY glMultiTexCoord1sARB(GLenum target, GLshort s); GLAPI void GLAPIENTRY glMultiTexCoord1svARB(GLenum target, const GLshort *v); GLAPI void GLAPIENTRY glMultiTexCoord2dARB(GLenum target, GLdouble s, GLdouble t); GLAPI void GLAPIENTRY glMultiTexCoord2dvARB(GLenum target, const GLdouble *v); GLAPI void GLAPIENTRY glMultiTexCoord2fARB(GLenum target, GLfloat s, GLfloat t); GLAPI void GLAPIENTRY glMultiTexCoord2fvARB(GLenum target, const GLfloat *v); GLAPI void GLAPIENTRY glMultiTexCoord2iARB(GLenum target, GLint s, GLint t); GLAPI void GLAPIENTRY glMultiTexCoord2ivARB(GLenum target, const GLint *v); GLAPI void GLAPIENTRY glMultiTexCoord2sARB(GLenum target, GLshort s, GLshort t); GLAPI void GLAPIENTRY glMultiTexCoord2svARB(GLenum target, const GLshort *v); GLAPI void GLAPIENTRY glMultiTexCoord3dARB(GLenum target, GLdouble s, GLdouble t, GLdouble r); GLAPI void GLAPIENTRY glMultiTexCoord3dvARB(GLenum target, const GLdouble *v); GLAPI void GLAPIENTRY glMultiTexCoord3fARB(GLenum target, GLfloat s, GLfloat t, GLfloat r); GLAPI void GLAPIENTRY glMultiTexCoord3fvARB(GLenum target, const GLfloat *v); GLAPI void GLAPIENTRY glMultiTexCoord3iARB(GLenum target, GLint s, GLint t, GLint r); GLAPI void GLAPIENTRY glMultiTexCoord3ivARB(GLenum target, const GLint *v); GLAPI void GLAPIENTRY glMultiTexCoord3sARB(GLenum target, GLshort s, GLshort t, GLshort r); GLAPI void GLAPIENTRY glMultiTexCoord3svARB(GLenum target, const GLshort *v); GLAPI void GLAPIENTRY glMultiTexCoord4dARB(GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q); GLAPI void GLAPIENTRY glMultiTexCoord4dvARB(GLenum target, const GLdouble *v); GLAPI void GLAPIENTRY glMultiTexCoord4fARB(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q); GLAPI void GLAPIENTRY glMultiTexCoord4fvARB(GLenum target, const GLfloat *v); GLAPI void GLAPIENTRY glMultiTexCoord4iARB(GLenum target, GLint s, GLint t, GLint r, GLint q); GLAPI void GLAPIENTRY glMultiTexCoord4ivARB(GLenum target, const GLint *v); GLAPI void GLAPIENTRY glMultiTexCoord4sARB(GLenum target, GLshort s, GLshort t, GLshort r, GLshort q); GLAPI void GLAPIENTRY glMultiTexCoord4svARB(GLenum target, const GLshort *v); typedef void (APIENTRYP PFNGLACTIVETEXTUREARBPROC) (GLenum texture); typedef void (APIENTRYP PFNGLCLIENTACTIVETEXTUREARBPROC) (GLenum texture); typedef void (APIENTRYP PFNGLMULTITEXCOORD1DARBPROC) (GLenum target, GLdouble s); typedef void (APIENTRYP PFNGLMULTITEXCOORD1DVARBPROC) (GLenum target, const GLdouble *v); typedef void (APIENTRYP PFNGLMULTITEXCOORD1FARBPROC) (GLenum target, GLfloat s); typedef void (APIENTRYP PFNGLMULTITEXCOORD1FVARBPROC) (GLenum target, const GLfloat *v); typedef void (APIENTRYP PFNGLMULTITEXCOORD1IARBPROC) (GLenum target, GLint s); typedef void (APIENTRYP PFNGLMULTITEXCOORD1IVARBPROC) (GLenum target, const GLint *v); typedef void (APIENTRYP PFNGLMULTITEXCOORD1SARBPROC) (GLenum target, GLshort s); typedef void (APIENTRYP PFNGLMULTITEXCOORD1SVARBPROC) (GLenum target, const GLshort *v); typedef void (APIENTRYP PFNGLMULTITEXCOORD2DARBPROC) (GLenum target, GLdouble s, GLdouble t); typedef void (APIENTRYP PFNGLMULTITEXCOORD2DVARBPROC) (GLenum target, const GLdouble *v); typedef void (APIENTRYP PFNGLMULTITEXCOORD2FARBPROC) (GLenum target, GLfloat s, GLfloat t); typedef void (APIENTRYP PFNGLMULTITEXCOORD2FVARBPROC) (GLenum target, const GLfloat *v); typedef void (APIENTRYP PFNGLMULTITEXCOORD2IARBPROC) (GLenum target, GLint s, GLint t); typedef void (APIENTRYP PFNGLMULTITEXCOORD2IVARBPROC) (GLenum target, const GLint *v); typedef void (APIENTRYP PFNGLMULTITEXCOORD2SARBPROC) (GLenum target, GLshort s, GLshort t); typedef void (APIENTRYP PFNGLMULTITEXCOORD2SVARBPROC) (GLenum target, const GLshort *v); typedef void (APIENTRYP PFNGLMULTITEXCOORD3DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r); typedef void (APIENTRYP PFNGLMULTITEXCOORD3DVARBPROC) (GLenum target, const GLdouble *v); typedef void (APIENTRYP PFNGLMULTITEXCOORD3FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r); typedef void (APIENTRYP PFNGLMULTITEXCOORD3FVARBPROC) (GLenum target, const GLfloat *v); typedef void (APIENTRYP PFNGLMULTITEXCOORD3IARBPROC) (GLenum target, GLint s, GLint t, GLint r); typedef void (APIENTRYP PFNGLMULTITEXCOORD3IVARBPROC) (GLenum target, const GLint *v); typedef void (APIENTRYP PFNGLMULTITEXCOORD3SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r); typedef void (APIENTRYP PFNGLMULTITEXCOORD3SVARBPROC) (GLenum target, const GLshort *v); typedef void (APIENTRYP PFNGLMULTITEXCOORD4DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q); typedef void (APIENTRYP PFNGLMULTITEXCOORD4DVARBPROC) (GLenum target, const GLdouble *v); typedef void (APIENTRYP PFNGLMULTITEXCOORD4FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q); typedef void (APIENTRYP PFNGLMULTITEXCOORD4FVARBPROC) (GLenum target, const GLfloat *v); typedef void (APIENTRYP PFNGLMULTITEXCOORD4IARBPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q); typedef void (APIENTRYP PFNGLMULTITEXCOORD4IVARBPROC) (GLenum target, const GLint *v); typedef void (APIENTRYP PFNGLMULTITEXCOORD4SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q); typedef void (APIENTRYP PFNGLMULTITEXCOORD4SVARBPROC) (GLenum target, const GLshort *v); #endif /* GL_ARB_multitexture */ /* * Define this token if you want "old-style" header file behaviour (extensions * defined in gl.h). Otherwise, extensions will be included from glext.h. */ #if defined(GL_GLEXT_LEGACY) /* All extensions that used to be here are now found in glext.h */ #else /* GL_GLEXT_LEGACY */ #include <GL/glext.h> #endif /* GL_GLEXT_LEGACY */ /* * ???. GL_MESA_packed_depth_stencil * XXX obsolete */ #ifndef GL_MESA_packed_depth_stencil #define GL_MESA_packed_depth_stencil 1 #define GL_DEPTH_STENCIL_MESA 0x8750 #define GL_UNSIGNED_INT_24_8_MESA 0x8751 #define GL_UNSIGNED_INT_8_24_REV_MESA 0x8752 #define GL_UNSIGNED_SHORT_15_1_MESA 0x8753 #define GL_UNSIGNED_SHORT_1_15_REV_MESA 0x8754 #endif /* GL_MESA_packed_depth_stencil */ #ifndef GL_ATI_blend_equation_separate #define GL_ATI_blend_equation_separate 1 #define GL_ALPHA_BLEND_EQUATION_ATI 0x883D GLAPI void GLAPIENTRY glBlendEquationSeparateATI( GLenum modeRGB, GLenum modeA ); typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEATIPROC) (GLenum modeRGB, GLenum modeA); #endif /* GL_ATI_blend_equation_separate */ /* GL_OES_EGL_image */ #if !defined(GL_OES_EGL_image) && !defined(GL_EXT_EGL_image_storage) typedef void* GLeglImageOES; #endif #ifndef GL_OES_EGL_image #define GL_OES_EGL_image 1 #ifdef GL_GLEXT_PROTOTYPES GLAPI void APIENTRY glEGLImageTargetTexture2DOES (GLenum target, GLeglImageOES image); GLAPI void APIENTRY glEGLImageTargetRenderbufferStorageOES (GLenum target, GLeglImageOES image); #endif typedef void (APIENTRYP PFNGLEGLIMAGETARGETTEXTURE2DOESPROC) (GLenum target, GLeglImageOES image); typedef void (APIENTRYP PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC) (GLenum target, GLeglImageOES image); #endif #ifdef __cplusplus } #endif #endif /* __gl_h_ */
0
repos/gotta-go-fast/src/tetris/include
repos/gotta-go-fast/src/tetris/include/GLFW/glfw3.h
/************************************************************************* * GLFW 3.3 - www.glfw.org * A library for OpenGL, window and input *------------------------------------------------------------------------ * Copyright (c) 2002-2006 Marcus Geelnard * Copyright (c) 2006-2019 Camilla Löwy <[email protected]> * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * arising from the use of this software. * * Permission is granted to anyone to use this software for any purpose, * including commercial applications, and to alter it and redistribute it * freely, subject to the following restrictions: * * 1. The origin of this software must not be misrepresented; you must not * claim that you wrote the original software. If you use this software * in a product, an acknowledgment in the product documentation would * be appreciated but is not required. * * 2. Altered source versions must be plainly marked as such, and must not * be misrepresented as being the original software. * * 3. This notice may not be removed or altered from any source * distribution. * *************************************************************************/ #ifndef _glfw3_h_ #define _glfw3_h_ #ifdef __cplusplus extern "C" { #endif /************************************************************************* * Doxygen documentation *************************************************************************/ /*! @file glfw3.h * @brief The header of the GLFW 3 API. * * This is the header file of the GLFW 3 API. It defines all its types and * declares all its functions. * * For more information about how to use this file, see @ref build_include. */ /*! @defgroup context Context reference * @brief Functions and types related to OpenGL and OpenGL ES contexts. * * This is the reference documentation for OpenGL and OpenGL ES context related * functions. For more task-oriented information, see the @ref context_guide. */ /*! @defgroup vulkan Vulkan reference * @brief Functions and types related to Vulkan. * * This is the reference documentation for Vulkan related functions and types. * For more task-oriented information, see the @ref vulkan_guide. */ /*! @defgroup init Initialization, version and error reference * @brief Functions and types related to initialization and error handling. * * This is the reference documentation for initialization and termination of * the library, version management and error handling. For more task-oriented * information, see the @ref intro_guide. */ /*! @defgroup input Input reference * @brief Functions and types related to input handling. * * This is the reference documentation for input related functions and types. * For more task-oriented information, see the @ref input_guide. */ /*! @defgroup monitor Monitor reference * @brief Functions and types related to monitors. * * This is the reference documentation for monitor related functions and types. * For more task-oriented information, see the @ref monitor_guide. */ /*! @defgroup window Window reference * @brief Functions and types related to windows. * * This is the reference documentation for window related functions and types, * including creation, deletion and event polling. For more task-oriented * information, see the @ref window_guide. */ /************************************************************************* * Compiler- and platform-specific preprocessor work *************************************************************************/ /* If we are we on Windows, we want a single define for it. */ #if !defined(_WIN32) && (defined(__WIN32__) || defined(WIN32) || defined(__MINGW32__)) #define _WIN32 #endif /* _WIN32 */ /* Include because most Windows GLU headers need wchar_t and * the macOS OpenGL header blocks the definition of ptrdiff_t by glext.h. * Include it unconditionally to avoid surprising side-effects. */ #include <stddef.h> /* Include because it is needed by Vulkan and related functions. * Include it unconditionally to avoid surprising side-effects. */ #include <stdint.h> #if defined(GLFW_INCLUDE_VULKAN) #include <vulkan/vulkan.h> #endif /* Vulkan header */ /* The Vulkan header may have indirectly included windows.h (because of * VK_USE_PLATFORM_WIN32_KHR) so we offer our replacement symbols after it. */ /* It is customary to use APIENTRY for OpenGL function pointer declarations on * all platforms. Additionally, the Windows OpenGL header needs APIENTRY. */ #if !defined(APIENTRY) #if defined(_WIN32) #define APIENTRY __stdcall #else #define APIENTRY #endif #define GLFW_APIENTRY_DEFINED #endif /* APIENTRY */ /* Some Windows OpenGL headers need this. */ #if !defined(WINGDIAPI) && defined(_WIN32) #define WINGDIAPI __declspec(dllimport) #define GLFW_WINGDIAPI_DEFINED #endif /* WINGDIAPI */ /* Some Windows GLU headers need this. */ #if !defined(CALLBACK) && defined(_WIN32) #define CALLBACK __stdcall #define GLFW_CALLBACK_DEFINED #endif /* CALLBACK */ /* Include the chosen OpenGL or OpenGL ES headers. */ #if defined(GLFW_INCLUDE_ES1) #include <GLES/gl.h> #if defined(GLFW_INCLUDE_GLEXT) #include <GLES/glext.h> #endif #elif defined(GLFW_INCLUDE_ES2) #include <GLES2/gl2.h> #if defined(GLFW_INCLUDE_GLEXT) #include <GLES2/gl2ext.h> #endif #elif defined(GLFW_INCLUDE_ES3) #include <GLES3/gl3.h> #if defined(GLFW_INCLUDE_GLEXT) #include <GLES2/gl2ext.h> #endif #elif defined(GLFW_INCLUDE_ES31) #include <GLES3/gl31.h> #if defined(GLFW_INCLUDE_GLEXT) #include <GLES2/gl2ext.h> #endif #elif defined(GLFW_INCLUDE_ES32) #include <GLES3/gl32.h> #if defined(GLFW_INCLUDE_GLEXT) #include <GLES2/gl2ext.h> #endif #elif defined(GLFW_INCLUDE_GLCOREARB) #if defined(__APPLE__) #include <OpenGL/gl3.h> #if defined(GLFW_INCLUDE_GLEXT) #include <OpenGL/gl3ext.h> #endif /*GLFW_INCLUDE_GLEXT*/ #else /*__APPLE__*/ #include <GL/glcorearb.h> #endif /*__APPLE__*/ #elif !defined(GLFW_INCLUDE_NONE) #if defined(__APPLE__) #if !defined(GLFW_INCLUDE_GLEXT) #define GL_GLEXT_LEGACY #endif #include <OpenGL/gl.h> #if defined(GLFW_INCLUDE_GLU) #include <OpenGL/glu.h> #endif #else /*__APPLE__*/ #include <GL/gl.h> #if defined(GLFW_INCLUDE_GLEXT) #include <GL/glext.h> #endif #if defined(GLFW_INCLUDE_GLU) #include <GL/glu.h> #endif #endif /*__APPLE__*/ #endif /* OpenGL and OpenGL ES headers */ #if defined(GLFW_DLL) && defined(_GLFW_BUILD_DLL) /* GLFW_DLL must be defined by applications that are linking against the DLL * version of the GLFW library. _GLFW_BUILD_DLL is defined by the GLFW * configuration header when compiling the DLL version of the library. */ #error "You must not have both GLFW_DLL and _GLFW_BUILD_DLL defined" #endif /* GLFWAPI is used to declare public API functions for export * from the DLL / shared library / dynamic library. */ #if defined(_WIN32) && defined(_GLFW_BUILD_DLL) /* We are building GLFW as a Win32 DLL */ #define GLFWAPI __declspec(dllexport) #elif defined(_WIN32) && defined(GLFW_DLL) /* We are calling GLFW as a Win32 DLL */ #define GLFWAPI __declspec(dllimport) #elif defined(__GNUC__) && defined(_GLFW_BUILD_DLL) /* We are building GLFW as a shared / dynamic library */ #define GLFWAPI __attribute__((visibility("default"))) #else /* We are building or calling GLFW as a static library */ #define GLFWAPI #endif /************************************************************************* * GLFW API tokens *************************************************************************/ /*! @name GLFW version macros * @{ */ /*! @brief The major version number of the GLFW library. * * This is incremented when the API is changed in non-compatible ways. * @ingroup init */ #define GLFW_VERSION_MAJOR 3 /*! @brief The minor version number of the GLFW library. * * This is incremented when features are added to the API but it remains * backward-compatible. * @ingroup init */ #define GLFW_VERSION_MINOR 3 /*! @brief The revision number of the GLFW library. * * This is incremented when a bug fix release is made that does not contain any * API changes. * @ingroup init */ #define GLFW_VERSION_REVISION 2 /*! @} */ /*! @brief One. * * This is only semantic sugar for the number 1. You can instead use `1` or * `true` or `_True` or `GL_TRUE` or `VK_TRUE` or anything else that is equal * to one. * * @ingroup init */ #define GLFW_TRUE 1 /*! @brief Zero. * * This is only semantic sugar for the number 0. You can instead use `0` or * `false` or `_False` or `GL_FALSE` or `VK_FALSE` or anything else that is * equal to zero. * * @ingroup init */ #define GLFW_FALSE 0 /*! @name Key and button actions * @{ */ /*! @brief The key or mouse button was released. * * The key or mouse button was released. * * @ingroup input */ #define GLFW_RELEASE 0 /*! @brief The key or mouse button was pressed. * * The key or mouse button was pressed. * * @ingroup input */ #define GLFW_PRESS 1 /*! @brief The key was held down until it repeated. * * The key was held down until it repeated. * * @ingroup input */ #define GLFW_REPEAT 2 /*! @} */ /*! @defgroup hat_state Joystick hat states * @brief Joystick hat states. * * See [joystick hat input](@ref joystick_hat) for how these are used. * * @ingroup input * @{ */ #define GLFW_HAT_CENTERED 0 #define GLFW_HAT_UP 1 #define GLFW_HAT_RIGHT 2 #define GLFW_HAT_DOWN 4 #define GLFW_HAT_LEFT 8 #define GLFW_HAT_RIGHT_UP (GLFW_HAT_RIGHT | GLFW_HAT_UP) #define GLFW_HAT_RIGHT_DOWN (GLFW_HAT_RIGHT | GLFW_HAT_DOWN) #define GLFW_HAT_LEFT_UP (GLFW_HAT_LEFT | GLFW_HAT_UP) #define GLFW_HAT_LEFT_DOWN (GLFW_HAT_LEFT | GLFW_HAT_DOWN) /*! @} */ /*! @defgroup keys Keyboard keys * @brief Keyboard key IDs. * * See [key input](@ref input_key) for how these are used. * * These key codes are inspired by the _USB HID Usage Tables v1.12_ (p. 53-60), * but re-arranged to map to 7-bit ASCII for printable keys (function keys are * put in the 256+ range). * * The naming of the key codes follow these rules: * - The US keyboard layout is used * - Names of printable alpha-numeric characters are used (e.g. "A", "R", * "3", etc.) * - For non-alphanumeric characters, Unicode:ish names are used (e.g. * "COMMA", "LEFT_SQUARE_BRACKET", etc.). Note that some names do not * correspond to the Unicode standard (usually for brevity) * - Keys that lack a clear US mapping are named "WORLD_x" * - For non-printable keys, custom names are used (e.g. "F4", * "BACKSPACE", etc.) * * @ingroup input * @{ */ /* The unknown key */ #define GLFW_KEY_UNKNOWN -1 /* Printable keys */ #define GLFW_KEY_SPACE 32 #define GLFW_KEY_APOSTROPHE 39 /* ' */ #define GLFW_KEY_COMMA 44 /* , */ #define GLFW_KEY_MINUS 45 /* - */ #define GLFW_KEY_PERIOD 46 /* . */ #define GLFW_KEY_SLASH 47 /* / */ #define GLFW_KEY_0 48 #define GLFW_KEY_1 49 #define GLFW_KEY_2 50 #define GLFW_KEY_3 51 #define GLFW_KEY_4 52 #define GLFW_KEY_5 53 #define GLFW_KEY_6 54 #define GLFW_KEY_7 55 #define GLFW_KEY_8 56 #define GLFW_KEY_9 57 #define GLFW_KEY_SEMICOLON 59 /* ; */ #define GLFW_KEY_EQUAL 61 /* = */ #define GLFW_KEY_A 65 #define GLFW_KEY_B 66 #define GLFW_KEY_C 67 #define GLFW_KEY_D 68 #define GLFW_KEY_E 69 #define GLFW_KEY_F 70 #define GLFW_KEY_G 71 #define GLFW_KEY_H 72 #define GLFW_KEY_I 73 #define GLFW_KEY_J 74 #define GLFW_KEY_K 75 #define GLFW_KEY_L 76 #define GLFW_KEY_M 77 #define GLFW_KEY_N 78 #define GLFW_KEY_O 79 #define GLFW_KEY_P 80 #define GLFW_KEY_Q 81 #define GLFW_KEY_R 82 #define GLFW_KEY_S 83 #define GLFW_KEY_T 84 #define GLFW_KEY_U 85 #define GLFW_KEY_V 86 #define GLFW_KEY_W 87 #define GLFW_KEY_X 88 #define GLFW_KEY_Y 89 #define GLFW_KEY_Z 90 #define GLFW_KEY_LEFT_BRACKET 91 /* [ */ #define GLFW_KEY_BACKSLASH 92 /* \ */ #define GLFW_KEY_RIGHT_BRACKET 93 /* ] */ #define GLFW_KEY_GRAVE_ACCENT 96 /* ` */ #define GLFW_KEY_WORLD_1 161 /* non-US #1 */ #define GLFW_KEY_WORLD_2 162 /* non-US #2 */ /* Function keys */ #define GLFW_KEY_ESCAPE 256 #define GLFW_KEY_ENTER 257 #define GLFW_KEY_TAB 258 #define GLFW_KEY_BACKSPACE 259 #define GLFW_KEY_INSERT 260 #define GLFW_KEY_DELETE 261 #define GLFW_KEY_RIGHT 262 #define GLFW_KEY_LEFT 263 #define GLFW_KEY_DOWN 264 #define GLFW_KEY_UP 265 #define GLFW_KEY_PAGE_UP 266 #define GLFW_KEY_PAGE_DOWN 267 #define GLFW_KEY_HOME 268 #define GLFW_KEY_END 269 #define GLFW_KEY_CAPS_LOCK 280 #define GLFW_KEY_SCROLL_LOCK 281 #define GLFW_KEY_NUM_LOCK 282 #define GLFW_KEY_PRINT_SCREEN 283 #define GLFW_KEY_PAUSE 284 #define GLFW_KEY_F1 290 #define GLFW_KEY_F2 291 #define GLFW_KEY_F3 292 #define GLFW_KEY_F4 293 #define GLFW_KEY_F5 294 #define GLFW_KEY_F6 295 #define GLFW_KEY_F7 296 #define GLFW_KEY_F8 297 #define GLFW_KEY_F9 298 #define GLFW_KEY_F10 299 #define GLFW_KEY_F11 300 #define GLFW_KEY_F12 301 #define GLFW_KEY_F13 302 #define GLFW_KEY_F14 303 #define GLFW_KEY_F15 304 #define GLFW_KEY_F16 305 #define GLFW_KEY_F17 306 #define GLFW_KEY_F18 307 #define GLFW_KEY_F19 308 #define GLFW_KEY_F20 309 #define GLFW_KEY_F21 310 #define GLFW_KEY_F22 311 #define GLFW_KEY_F23 312 #define GLFW_KEY_F24 313 #define GLFW_KEY_F25 314 #define GLFW_KEY_KP_0 320 #define GLFW_KEY_KP_1 321 #define GLFW_KEY_KP_2 322 #define GLFW_KEY_KP_3 323 #define GLFW_KEY_KP_4 324 #define GLFW_KEY_KP_5 325 #define GLFW_KEY_KP_6 326 #define GLFW_KEY_KP_7 327 #define GLFW_KEY_KP_8 328 #define GLFW_KEY_KP_9 329 #define GLFW_KEY_KP_DECIMAL 330 #define GLFW_KEY_KP_DIVIDE 331 #define GLFW_KEY_KP_MULTIPLY 332 #define GLFW_KEY_KP_SUBTRACT 333 #define GLFW_KEY_KP_ADD 334 #define GLFW_KEY_KP_ENTER 335 #define GLFW_KEY_KP_EQUAL 336 #define GLFW_KEY_LEFT_SHIFT 340 #define GLFW_KEY_LEFT_CONTROL 341 #define GLFW_KEY_LEFT_ALT 342 #define GLFW_KEY_LEFT_SUPER 343 #define GLFW_KEY_RIGHT_SHIFT 344 #define GLFW_KEY_RIGHT_CONTROL 345 #define GLFW_KEY_RIGHT_ALT 346 #define GLFW_KEY_RIGHT_SUPER 347 #define GLFW_KEY_MENU 348 #define GLFW_KEY_LAST GLFW_KEY_MENU /*! @} */ /*! @defgroup mods Modifier key flags * @brief Modifier key flags. * * See [key input](@ref input_key) for how these are used. * * @ingroup input * @{ */ /*! @brief If this bit is set one or more Shift keys were held down. * * If this bit is set one or more Shift keys were held down. */ #define GLFW_MOD_SHIFT 0x0001 /*! @brief If this bit is set one or more Control keys were held down. * * If this bit is set one or more Control keys were held down. */ #define GLFW_MOD_CONTROL 0x0002 /*! @brief If this bit is set one or more Alt keys were held down. * * If this bit is set one or more Alt keys were held down. */ #define GLFW_MOD_ALT 0x0004 /*! @brief If this bit is set one or more Super keys were held down. * * If this bit is set one or more Super keys were held down. */ #define GLFW_MOD_SUPER 0x0008 /*! @brief If this bit is set the Caps Lock key is enabled. * * If this bit is set the Caps Lock key is enabled and the @ref * GLFW_LOCK_KEY_MODS input mode is set. */ #define GLFW_MOD_CAPS_LOCK 0x0010 /*! @brief If this bit is set the Num Lock key is enabled. * * If this bit is set the Num Lock key is enabled and the @ref * GLFW_LOCK_KEY_MODS input mode is set. */ #define GLFW_MOD_NUM_LOCK 0x0020 /*! @} */ /*! @defgroup buttons Mouse buttons * @brief Mouse button IDs. * * See [mouse button input](@ref input_mouse_button) for how these are used. * * @ingroup input * @{ */ #define GLFW_MOUSE_BUTTON_1 0 #define GLFW_MOUSE_BUTTON_2 1 #define GLFW_MOUSE_BUTTON_3 2 #define GLFW_MOUSE_BUTTON_4 3 #define GLFW_MOUSE_BUTTON_5 4 #define GLFW_MOUSE_BUTTON_6 5 #define GLFW_MOUSE_BUTTON_7 6 #define GLFW_MOUSE_BUTTON_8 7 #define GLFW_MOUSE_BUTTON_LAST GLFW_MOUSE_BUTTON_8 #define GLFW_MOUSE_BUTTON_LEFT GLFW_MOUSE_BUTTON_1 #define GLFW_MOUSE_BUTTON_RIGHT GLFW_MOUSE_BUTTON_2 #define GLFW_MOUSE_BUTTON_MIDDLE GLFW_MOUSE_BUTTON_3 /*! @} */ /*! @defgroup joysticks Joysticks * @brief Joystick IDs. * * See [joystick input](@ref joystick) for how these are used. * * @ingroup input * @{ */ #define GLFW_JOYSTICK_1 0 #define GLFW_JOYSTICK_2 1 #define GLFW_JOYSTICK_3 2 #define GLFW_JOYSTICK_4 3 #define GLFW_JOYSTICK_5 4 #define GLFW_JOYSTICK_6 5 #define GLFW_JOYSTICK_7 6 #define GLFW_JOYSTICK_8 7 #define GLFW_JOYSTICK_9 8 #define GLFW_JOYSTICK_10 9 #define GLFW_JOYSTICK_11 10 #define GLFW_JOYSTICK_12 11 #define GLFW_JOYSTICK_13 12 #define GLFW_JOYSTICK_14 13 #define GLFW_JOYSTICK_15 14 #define GLFW_JOYSTICK_16 15 #define GLFW_JOYSTICK_LAST GLFW_JOYSTICK_16 /*! @} */ /*! @defgroup gamepad_buttons Gamepad buttons * @brief Gamepad buttons. * * See @ref gamepad for how these are used. * * @ingroup input * @{ */ #define GLFW_GAMEPAD_BUTTON_A 0 #define GLFW_GAMEPAD_BUTTON_B 1 #define GLFW_GAMEPAD_BUTTON_X 2 #define GLFW_GAMEPAD_BUTTON_Y 3 #define GLFW_GAMEPAD_BUTTON_LEFT_BUMPER 4 #define GLFW_GAMEPAD_BUTTON_RIGHT_BUMPER 5 #define GLFW_GAMEPAD_BUTTON_BACK 6 #define GLFW_GAMEPAD_BUTTON_START 7 #define GLFW_GAMEPAD_BUTTON_GUIDE 8 #define GLFW_GAMEPAD_BUTTON_LEFT_THUMB 9 #define GLFW_GAMEPAD_BUTTON_RIGHT_THUMB 10 #define GLFW_GAMEPAD_BUTTON_DPAD_UP 11 #define GLFW_GAMEPAD_BUTTON_DPAD_RIGHT 12 #define GLFW_GAMEPAD_BUTTON_DPAD_DOWN 13 #define GLFW_GAMEPAD_BUTTON_DPAD_LEFT 14 #define GLFW_GAMEPAD_BUTTON_LAST GLFW_GAMEPAD_BUTTON_DPAD_LEFT #define GLFW_GAMEPAD_BUTTON_CROSS GLFW_GAMEPAD_BUTTON_A #define GLFW_GAMEPAD_BUTTON_CIRCLE GLFW_GAMEPAD_BUTTON_B #define GLFW_GAMEPAD_BUTTON_SQUARE GLFW_GAMEPAD_BUTTON_X #define GLFW_GAMEPAD_BUTTON_TRIANGLE GLFW_GAMEPAD_BUTTON_Y /*! @} */ /*! @defgroup gamepad_axes Gamepad axes * @brief Gamepad axes. * * See @ref gamepad for how these are used. * * @ingroup input * @{ */ #define GLFW_GAMEPAD_AXIS_LEFT_X 0 #define GLFW_GAMEPAD_AXIS_LEFT_Y 1 #define GLFW_GAMEPAD_AXIS_RIGHT_X 2 #define GLFW_GAMEPAD_AXIS_RIGHT_Y 3 #define GLFW_GAMEPAD_AXIS_LEFT_TRIGGER 4 #define GLFW_GAMEPAD_AXIS_RIGHT_TRIGGER 5 #define GLFW_GAMEPAD_AXIS_LAST GLFW_GAMEPAD_AXIS_RIGHT_TRIGGER /*! @} */ /*! @defgroup errors Error codes * @brief Error codes. * * See [error handling](@ref error_handling) for how these are used. * * @ingroup init * @{ */ /*! @brief No error has occurred. * * No error has occurred. * * @analysis Yay. */ #define GLFW_NO_ERROR 0 /*! @brief GLFW has not been initialized. * * This occurs if a GLFW function was called that must not be called unless the * library is [initialized](@ref intro_init). * * @analysis Application programmer error. Initialize GLFW before calling any * function that requires initialization. */ #define GLFW_NOT_INITIALIZED 0x00010001 /*! @brief No context is current for this thread. * * This occurs if a GLFW function was called that needs and operates on the * current OpenGL or OpenGL ES context but no context is current on the calling * thread. One such function is @ref glfwSwapInterval. * * @analysis Application programmer error. Ensure a context is current before * calling functions that require a current context. */ #define GLFW_NO_CURRENT_CONTEXT 0x00010002 /*! @brief One of the arguments to the function was an invalid enum value. * * One of the arguments to the function was an invalid enum value, for example * requesting @ref GLFW_RED_BITS with @ref glfwGetWindowAttrib. * * @analysis Application programmer error. Fix the offending call. */ #define GLFW_INVALID_ENUM 0x00010003 /*! @brief One of the arguments to the function was an invalid value. * * One of the arguments to the function was an invalid value, for example * requesting a non-existent OpenGL or OpenGL ES version like 2.7. * * Requesting a valid but unavailable OpenGL or OpenGL ES version will instead * result in a @ref GLFW_VERSION_UNAVAILABLE error. * * @analysis Application programmer error. Fix the offending call. */ #define GLFW_INVALID_VALUE 0x00010004 /*! @brief A memory allocation failed. * * A memory allocation failed. * * @analysis A bug in GLFW or the underlying operating system. Report the bug * to our [issue tracker](https://github.com/glfw/glfw/issues). */ #define GLFW_OUT_OF_MEMORY 0x00010005 /*! @brief GLFW could not find support for the requested API on the system. * * GLFW could not find support for the requested API on the system. * * @analysis The installed graphics driver does not support the requested * API, or does not support it via the chosen context creation backend. * Below are a few examples. * * @par * Some pre-installed Windows graphics drivers do not support OpenGL. AMD only * supports OpenGL ES via EGL, while Nvidia and Intel only support it via * a WGL or GLX extension. macOS does not provide OpenGL ES at all. The Mesa * EGL, OpenGL and OpenGL ES libraries do not interface with the Nvidia binary * driver. Older graphics drivers do not support Vulkan. */ #define GLFW_API_UNAVAILABLE 0x00010006 /*! @brief The requested OpenGL or OpenGL ES version is not available. * * The requested OpenGL or OpenGL ES version (including any requested context * or framebuffer hints) is not available on this machine. * * @analysis The machine does not support your requirements. If your * application is sufficiently flexible, downgrade your requirements and try * again. Otherwise, inform the user that their machine does not match your * requirements. * * @par * Future invalid OpenGL and OpenGL ES versions, for example OpenGL 4.8 if 5.0 * comes out before the 4.x series gets that far, also fail with this error and * not @ref GLFW_INVALID_VALUE, because GLFW cannot know what future versions * will exist. */ #define GLFW_VERSION_UNAVAILABLE 0x00010007 /*! @brief A platform-specific error occurred that does not match any of the * more specific categories. * * A platform-specific error occurred that does not match any of the more * specific categories. * * @analysis A bug or configuration error in GLFW, the underlying operating * system or its drivers, or a lack of required resources. Report the issue to * our [issue tracker](https://github.com/glfw/glfw/issues). */ #define GLFW_PLATFORM_ERROR 0x00010008 /*! @brief The requested format is not supported or available. * * If emitted during window creation, the requested pixel format is not * supported. * * If emitted when querying the clipboard, the contents of the clipboard could * not be converted to the requested format. * * @analysis If emitted during window creation, one or more * [hard constraints](@ref window_hints_hard) did not match any of the * available pixel formats. If your application is sufficiently flexible, * downgrade your requirements and try again. Otherwise, inform the user that * their machine does not match your requirements. * * @par * If emitted when querying the clipboard, ignore the error or report it to * the user, as appropriate. */ #define GLFW_FORMAT_UNAVAILABLE 0x00010009 /*! @brief The specified window does not have an OpenGL or OpenGL ES context. * * A window that does not have an OpenGL or OpenGL ES context was passed to * a function that requires it to have one. * * @analysis Application programmer error. Fix the offending call. */ #define GLFW_NO_WINDOW_CONTEXT 0x0001000A /*! @} */ /*! @addtogroup window * @{ */ /*! @brief Input focus window hint and attribute * * Input focus [window hint](@ref GLFW_FOCUSED_hint) or * [window attribute](@ref GLFW_FOCUSED_attrib). */ #define GLFW_FOCUSED 0x00020001 /*! @brief Window iconification window attribute * * Window iconification [window attribute](@ref GLFW_ICONIFIED_attrib). */ #define GLFW_ICONIFIED 0x00020002 /*! @brief Window resize-ability window hint and attribute * * Window resize-ability [window hint](@ref GLFW_RESIZABLE_hint) and * [window attribute](@ref GLFW_RESIZABLE_attrib). */ #define GLFW_RESIZABLE 0x00020003 /*! @brief Window visibility window hint and attribute * * Window visibility [window hint](@ref GLFW_VISIBLE_hint) and * [window attribute](@ref GLFW_VISIBLE_attrib). */ #define GLFW_VISIBLE 0x00020004 /*! @brief Window decoration window hint and attribute * * Window decoration [window hint](@ref GLFW_DECORATED_hint) and * [window attribute](@ref GLFW_DECORATED_attrib). */ #define GLFW_DECORATED 0x00020005 /*! @brief Window auto-iconification window hint and attribute * * Window auto-iconification [window hint](@ref GLFW_AUTO_ICONIFY_hint) and * [window attribute](@ref GLFW_AUTO_ICONIFY_attrib). */ #define GLFW_AUTO_ICONIFY 0x00020006 /*! @brief Window decoration window hint and attribute * * Window decoration [window hint](@ref GLFW_FLOATING_hint) and * [window attribute](@ref GLFW_FLOATING_attrib). */ #define GLFW_FLOATING 0x00020007 /*! @brief Window maximization window hint and attribute * * Window maximization [window hint](@ref GLFW_MAXIMIZED_hint) and * [window attribute](@ref GLFW_MAXIMIZED_attrib). */ #define GLFW_MAXIMIZED 0x00020008 /*! @brief Cursor centering window hint * * Cursor centering [window hint](@ref GLFW_CENTER_CURSOR_hint). */ #define GLFW_CENTER_CURSOR 0x00020009 /*! @brief Window framebuffer transparency hint and attribute * * Window framebuffer transparency * [window hint](@ref GLFW_TRANSPARENT_FRAMEBUFFER_hint) and * [window attribute](@ref GLFW_TRANSPARENT_FRAMEBUFFER_attrib). */ #define GLFW_TRANSPARENT_FRAMEBUFFER 0x0002000A /*! @brief Mouse cursor hover window attribute. * * Mouse cursor hover [window attribute](@ref GLFW_HOVERED_attrib). */ #define GLFW_HOVERED 0x0002000B /*! @brief Input focus on calling show window hint and attribute * * Input focus [window hint](@ref GLFW_FOCUS_ON_SHOW_hint) or * [window attribute](@ref GLFW_FOCUS_ON_SHOW_attrib). */ #define GLFW_FOCUS_ON_SHOW 0x0002000C /*! @brief Framebuffer bit depth hint. * * Framebuffer bit depth [hint](@ref GLFW_RED_BITS). */ #define GLFW_RED_BITS 0x00021001 /*! @brief Framebuffer bit depth hint. * * Framebuffer bit depth [hint](@ref GLFW_GREEN_BITS). */ #define GLFW_GREEN_BITS 0x00021002 /*! @brief Framebuffer bit depth hint. * * Framebuffer bit depth [hint](@ref GLFW_BLUE_BITS). */ #define GLFW_BLUE_BITS 0x00021003 /*! @brief Framebuffer bit depth hint. * * Framebuffer bit depth [hint](@ref GLFW_ALPHA_BITS). */ #define GLFW_ALPHA_BITS 0x00021004 /*! @brief Framebuffer bit depth hint. * * Framebuffer bit depth [hint](@ref GLFW_DEPTH_BITS). */ #define GLFW_DEPTH_BITS 0x00021005 /*! @brief Framebuffer bit depth hint. * * Framebuffer bit depth [hint](@ref GLFW_STENCIL_BITS). */ #define GLFW_STENCIL_BITS 0x00021006 /*! @brief Framebuffer bit depth hint. * * Framebuffer bit depth [hint](@ref GLFW_ACCUM_RED_BITS). */ #define GLFW_ACCUM_RED_BITS 0x00021007 /*! @brief Framebuffer bit depth hint. * * Framebuffer bit depth [hint](@ref GLFW_ACCUM_GREEN_BITS). */ #define GLFW_ACCUM_GREEN_BITS 0x00021008 /*! @brief Framebuffer bit depth hint. * * Framebuffer bit depth [hint](@ref GLFW_ACCUM_BLUE_BITS). */ #define GLFW_ACCUM_BLUE_BITS 0x00021009 /*! @brief Framebuffer bit depth hint. * * Framebuffer bit depth [hint](@ref GLFW_ACCUM_ALPHA_BITS). */ #define GLFW_ACCUM_ALPHA_BITS 0x0002100A /*! @brief Framebuffer auxiliary buffer hint. * * Framebuffer auxiliary buffer [hint](@ref GLFW_AUX_BUFFERS). */ #define GLFW_AUX_BUFFERS 0x0002100B /*! @brief OpenGL stereoscopic rendering hint. * * OpenGL stereoscopic rendering [hint](@ref GLFW_STEREO). */ #define GLFW_STEREO 0x0002100C /*! @brief Framebuffer MSAA samples hint. * * Framebuffer MSAA samples [hint](@ref GLFW_SAMPLES). */ #define GLFW_SAMPLES 0x0002100D /*! @brief Framebuffer sRGB hint. * * Framebuffer sRGB [hint](@ref GLFW_SRGB_CAPABLE). */ #define GLFW_SRGB_CAPABLE 0x0002100E /*! @brief Monitor refresh rate hint. * * Monitor refresh rate [hint](@ref GLFW_REFRESH_RATE). */ #define GLFW_REFRESH_RATE 0x0002100F /*! @brief Framebuffer double buffering hint. * * Framebuffer double buffering [hint](@ref GLFW_DOUBLEBUFFER). */ #define GLFW_DOUBLEBUFFER 0x00021010 /*! @brief Context client API hint and attribute. * * Context client API [hint](@ref GLFW_CLIENT_API_hint) and * [attribute](@ref GLFW_CLIENT_API_attrib). */ #define GLFW_CLIENT_API 0x00022001 /*! @brief Context client API major version hint and attribute. * * Context client API major version [hint](@ref GLFW_CONTEXT_VERSION_MAJOR_hint) * and [attribute](@ref GLFW_CONTEXT_VERSION_MAJOR_attrib). */ #define GLFW_CONTEXT_VERSION_MAJOR 0x00022002 /*! @brief Context client API minor version hint and attribute. * * Context client API minor version [hint](@ref GLFW_CONTEXT_VERSION_MINOR_hint) * and [attribute](@ref GLFW_CONTEXT_VERSION_MINOR_attrib). */ #define GLFW_CONTEXT_VERSION_MINOR 0x00022003 /*! @brief Context client API revision number hint and attribute. * * Context client API revision number * [attribute](@ref GLFW_CONTEXT_REVISION_attrib). */ #define GLFW_CONTEXT_REVISION 0x00022004 /*! @brief Context robustness hint and attribute. * * Context client API revision number [hint](@ref GLFW_CONTEXT_ROBUSTNESS_hint) * and [attribute](@ref GLFW_CONTEXT_ROBUSTNESS_attrib). */ #define GLFW_CONTEXT_ROBUSTNESS 0x00022005 /*! @brief OpenGL forward-compatibility hint and attribute. * * OpenGL forward-compatibility [hint](@ref GLFW_OPENGL_FORWARD_COMPAT_hint) * and [attribute](@ref GLFW_OPENGL_FORWARD_COMPAT_attrib). */ #define GLFW_OPENGL_FORWARD_COMPAT 0x00022006 /*! @brief OpenGL debug context hint and attribute. * * OpenGL debug context [hint](@ref GLFW_OPENGL_DEBUG_CONTEXT_hint) and * [attribute](@ref GLFW_OPENGL_DEBUG_CONTEXT_attrib). */ #define GLFW_OPENGL_DEBUG_CONTEXT 0x00022007 /*! @brief OpenGL profile hint and attribute. * * OpenGL profile [hint](@ref GLFW_OPENGL_PROFILE_hint) and * [attribute](@ref GLFW_OPENGL_PROFILE_attrib). */ #define GLFW_OPENGL_PROFILE 0x00022008 /*! @brief Context flush-on-release hint and attribute. * * Context flush-on-release [hint](@ref GLFW_CONTEXT_RELEASE_BEHAVIOR_hint) and * [attribute](@ref GLFW_CONTEXT_RELEASE_BEHAVIOR_attrib). */ #define GLFW_CONTEXT_RELEASE_BEHAVIOR 0x00022009 /*! @brief Context error suppression hint and attribute. * * Context error suppression [hint](@ref GLFW_CONTEXT_NO_ERROR_hint) and * [attribute](@ref GLFW_CONTEXT_NO_ERROR_attrib). */ #define GLFW_CONTEXT_NO_ERROR 0x0002200A /*! @brief Context creation API hint and attribute. * * Context creation API [hint](@ref GLFW_CONTEXT_CREATION_API_hint) and * [attribute](@ref GLFW_CONTEXT_CREATION_API_attrib). */ #define GLFW_CONTEXT_CREATION_API 0x0002200B /*! @brief Window content area scaling window * [window hint](@ref GLFW_SCALE_TO_MONITOR). */ #define GLFW_SCALE_TO_MONITOR 0x0002200C /*! @brief macOS specific * [window hint](@ref GLFW_COCOA_RETINA_FRAMEBUFFER_hint). */ #define GLFW_COCOA_RETINA_FRAMEBUFFER 0x00023001 /*! @brief macOS specific * [window hint](@ref GLFW_COCOA_FRAME_NAME_hint). */ #define GLFW_COCOA_FRAME_NAME 0x00023002 /*! @brief macOS specific * [window hint](@ref GLFW_COCOA_GRAPHICS_SWITCHING_hint). */ #define GLFW_COCOA_GRAPHICS_SWITCHING 0x00023003 /*! @brief X11 specific * [window hint](@ref GLFW_X11_CLASS_NAME_hint). */ #define GLFW_X11_CLASS_NAME 0x00024001 /*! @brief X11 specific * [window hint](@ref GLFW_X11_CLASS_NAME_hint). */ #define GLFW_X11_INSTANCE_NAME 0x00024002 /*! @} */ #define GLFW_NO_API 0 #define GLFW_OPENGL_API 0x00030001 #define GLFW_OPENGL_ES_API 0x00030002 #define GLFW_NO_ROBUSTNESS 0 #define GLFW_NO_RESET_NOTIFICATION 0x00031001 #define GLFW_LOSE_CONTEXT_ON_RESET 0x00031002 #define GLFW_OPENGL_ANY_PROFILE 0 #define GLFW_OPENGL_CORE_PROFILE 0x00032001 #define GLFW_OPENGL_COMPAT_PROFILE 0x00032002 #define GLFW_CURSOR 0x00033001 #define GLFW_STICKY_KEYS 0x00033002 #define GLFW_STICKY_MOUSE_BUTTONS 0x00033003 #define GLFW_LOCK_KEY_MODS 0x00033004 #define GLFW_RAW_MOUSE_MOTION 0x00033005 #define GLFW_CURSOR_NORMAL 0x00034001 #define GLFW_CURSOR_HIDDEN 0x00034002 #define GLFW_CURSOR_DISABLED 0x00034003 #define GLFW_ANY_RELEASE_BEHAVIOR 0 #define GLFW_RELEASE_BEHAVIOR_FLUSH 0x00035001 #define GLFW_RELEASE_BEHAVIOR_NONE 0x00035002 #define GLFW_NATIVE_CONTEXT_API 0x00036001 #define GLFW_EGL_CONTEXT_API 0x00036002 #define GLFW_OSMESA_CONTEXT_API 0x00036003 /*! @defgroup shapes Standard cursor shapes * @brief Standard system cursor shapes. * * See [standard cursor creation](@ref cursor_standard) for how these are used. * * @ingroup input * @{ */ /*! @brief The regular arrow cursor shape. * * The regular arrow cursor. */ #define GLFW_ARROW_CURSOR 0x00036001 /*! @brief The text input I-beam cursor shape. * * The text input I-beam cursor shape. */ #define GLFW_IBEAM_CURSOR 0x00036002 /*! @brief The crosshair shape. * * The crosshair shape. */ #define GLFW_CROSSHAIR_CURSOR 0x00036003 /*! @brief The hand shape. * * The hand shape. */ #define GLFW_HAND_CURSOR 0x00036004 /*! @brief The horizontal resize arrow shape. * * The horizontal resize arrow shape. */ #define GLFW_HRESIZE_CURSOR 0x00036005 /*! @brief The vertical resize arrow shape. * * The vertical resize arrow shape. */ #define GLFW_VRESIZE_CURSOR 0x00036006 /*! @} */ #define GLFW_CONNECTED 0x00040001 #define GLFW_DISCONNECTED 0x00040002 /*! @addtogroup init * @{ */ /*! @brief Joystick hat buttons init hint. * * Joystick hat buttons [init hint](@ref GLFW_JOYSTICK_HAT_BUTTONS). */ #define GLFW_JOYSTICK_HAT_BUTTONS 0x00050001 /*! @brief macOS specific init hint. * * macOS specific [init hint](@ref GLFW_COCOA_CHDIR_RESOURCES_hint). */ #define GLFW_COCOA_CHDIR_RESOURCES 0x00051001 /*! @brief macOS specific init hint. * * macOS specific [init hint](@ref GLFW_COCOA_MENUBAR_hint). */ #define GLFW_COCOA_MENUBAR 0x00051002 /*! @} */ #define GLFW_DONT_CARE -1 /************************************************************************* * GLFW API types *************************************************************************/ /*! @brief Client API function pointer type. * * Generic function pointer used for returning client API function pointers * without forcing a cast from a regular pointer. * * @sa @ref context_glext * @sa @ref glfwGetProcAddress * * @since Added in version 3.0. * * @ingroup context */ typedef void (*GLFWglproc)(void); /*! @brief Vulkan API function pointer type. * * Generic function pointer used for returning Vulkan API function pointers * without forcing a cast from a regular pointer. * * @sa @ref vulkan_proc * @sa @ref glfwGetInstanceProcAddress * * @since Added in version 3.2. * * @ingroup vulkan */ typedef void (*GLFWvkproc)(void); /*! @brief Opaque monitor object. * * Opaque monitor object. * * @see @ref monitor_object * * @since Added in version 3.0. * * @ingroup monitor */ typedef struct GLFWmonitor GLFWmonitor; /*! @brief Opaque window object. * * Opaque window object. * * @see @ref window_object * * @since Added in version 3.0. * * @ingroup window */ typedef struct GLFWwindow GLFWwindow; /*! @brief Opaque cursor object. * * Opaque cursor object. * * @see @ref cursor_object * * @since Added in version 3.1. * * @ingroup input */ typedef struct GLFWcursor GLFWcursor; /*! @brief The function pointer type for error callbacks. * * This is the function pointer type for error callbacks. An error callback * function has the following signature: * @code * void callback_name(int error_code, const char* description) * @endcode * * @param[in] error_code An [error code](@ref errors). Future releases may add * more error codes. * @param[in] description A UTF-8 encoded string describing the error. * * @pointer_lifetime The error description string is valid until the callback * function returns. * * @sa @ref error_handling * @sa @ref glfwSetErrorCallback * * @since Added in version 3.0. * * @ingroup init */ typedef void (* GLFWerrorfun)(int,const char*); /*! @brief The function pointer type for window position callbacks. * * This is the function pointer type for window position callbacks. A window * position callback function has the following signature: * @code * void callback_name(GLFWwindow* window, int xpos, int ypos) * @endcode * * @param[in] window The window that was moved. * @param[in] xpos The new x-coordinate, in screen coordinates, of the * upper-left corner of the content area of the window. * @param[in] ypos The new y-coordinate, in screen coordinates, of the * upper-left corner of the content area of the window. * * @sa @ref window_pos * @sa @ref glfwSetWindowPosCallback * * @since Added in version 3.0. * * @ingroup window */ typedef void (* GLFWwindowposfun)(GLFWwindow*,int,int); /*! @brief The function pointer type for window size callbacks. * * This is the function pointer type for window size callbacks. A window size * callback function has the following signature: * @code * void callback_name(GLFWwindow* window, int width, int height) * @endcode * * @param[in] window The window that was resized. * @param[in] width The new width, in screen coordinates, of the window. * @param[in] height The new height, in screen coordinates, of the window. * * @sa @ref window_size * @sa @ref glfwSetWindowSizeCallback * * @since Added in version 1.0. * @glfw3 Added window handle parameter. * * @ingroup window */ typedef void (* GLFWwindowsizefun)(GLFWwindow*,int,int); /*! @brief The function pointer type for window close callbacks. * * This is the function pointer type for window close callbacks. A window * close callback function has the following signature: * @code * void function_name(GLFWwindow* window) * @endcode * * @param[in] window The window that the user attempted to close. * * @sa @ref window_close * @sa @ref glfwSetWindowCloseCallback * * @since Added in version 2.5. * @glfw3 Added window handle parameter. * * @ingroup window */ typedef void (* GLFWwindowclosefun)(GLFWwindow*); /*! @brief The function pointer type for window content refresh callbacks. * * This is the function pointer type for window content refresh callbacks. * A window content refresh callback function has the following signature: * @code * void function_name(GLFWwindow* window); * @endcode * * @param[in] window The window whose content needs to be refreshed. * * @sa @ref window_refresh * @sa @ref glfwSetWindowRefreshCallback * * @since Added in version 2.5. * @glfw3 Added window handle parameter. * * @ingroup window */ typedef void (* GLFWwindowrefreshfun)(GLFWwindow*); /*! @brief The function pointer type for window focus callbacks. * * This is the function pointer type for window focus callbacks. A window * focus callback function has the following signature: * @code * void function_name(GLFWwindow* window, int focused) * @endcode * * @param[in] window The window that gained or lost input focus. * @param[in] focused `GLFW_TRUE` if the window was given input focus, or * `GLFW_FALSE` if it lost it. * * @sa @ref window_focus * @sa @ref glfwSetWindowFocusCallback * * @since Added in version 3.0. * * @ingroup window */ typedef void (* GLFWwindowfocusfun)(GLFWwindow*,int); /*! @brief The function pointer type for window iconify callbacks. * * This is the function pointer type for window iconify callbacks. A window * iconify callback function has the following signature: * @code * void function_name(GLFWwindow* window, int iconified) * @endcode * * @param[in] window The window that was iconified or restored. * @param[in] iconified `GLFW_TRUE` if the window was iconified, or * `GLFW_FALSE` if it was restored. * * @sa @ref window_iconify * @sa @ref glfwSetWindowIconifyCallback * * @since Added in version 3.0. * * @ingroup window */ typedef void (* GLFWwindowiconifyfun)(GLFWwindow*,int); /*! @brief The function pointer type for window maximize callbacks. * * This is the function pointer type for window maximize callbacks. A window * maximize callback function has the following signature: * @code * void function_name(GLFWwindow* window, int maximized) * @endcode * * @param[in] window The window that was maximized or restored. * @param[in] iconified `GLFW_TRUE` if the window was maximized, or * `GLFW_FALSE` if it was restored. * * @sa @ref window_maximize * @sa glfwSetWindowMaximizeCallback * * @since Added in version 3.3. * * @ingroup window */ typedef void (* GLFWwindowmaximizefun)(GLFWwindow*,int); /*! @brief The function pointer type for framebuffer size callbacks. * * This is the function pointer type for framebuffer size callbacks. * A framebuffer size callback function has the following signature: * @code * void function_name(GLFWwindow* window, int width, int height) * @endcode * * @param[in] window The window whose framebuffer was resized. * @param[in] width The new width, in pixels, of the framebuffer. * @param[in] height The new height, in pixels, of the framebuffer. * * @sa @ref window_fbsize * @sa @ref glfwSetFramebufferSizeCallback * * @since Added in version 3.0. * * @ingroup window */ typedef void (* GLFWframebuffersizefun)(GLFWwindow*,int,int); /*! @brief The function pointer type for window content scale callbacks. * * This is the function pointer type for window content scale callbacks. * A window content scale callback function has the following signature: * @code * void function_name(GLFWwindow* window, float xscale, float yscale) * @endcode * * @param[in] window The window whose content scale changed. * @param[in] xscale The new x-axis content scale of the window. * @param[in] yscale The new y-axis content scale of the window. * * @sa @ref window_scale * @sa @ref glfwSetWindowContentScaleCallback * * @since Added in version 3.3. * * @ingroup window */ typedef void (* GLFWwindowcontentscalefun)(GLFWwindow*,float,float); /*! @brief The function pointer type for mouse button callbacks. * * This is the function pointer type for mouse button callback functions. * A mouse button callback function has the following signature: * @code * void function_name(GLFWwindow* window, int button, int action, int mods) * @endcode * * @param[in] window The window that received the event. * @param[in] button The [mouse button](@ref buttons) that was pressed or * released. * @param[in] action One of `GLFW_PRESS` or `GLFW_RELEASE`. Future releases * may add more actions. * @param[in] mods Bit field describing which [modifier keys](@ref mods) were * held down. * * @sa @ref input_mouse_button * @sa @ref glfwSetMouseButtonCallback * * @since Added in version 1.0. * @glfw3 Added window handle and modifier mask parameters. * * @ingroup input */ typedef void (* GLFWmousebuttonfun)(GLFWwindow*,int,int,int); /*! @brief The function pointer type for cursor position callbacks. * * This is the function pointer type for cursor position callbacks. A cursor * position callback function has the following signature: * @code * void function_name(GLFWwindow* window, double xpos, double ypos); * @endcode * * @param[in] window The window that received the event. * @param[in] xpos The new cursor x-coordinate, relative to the left edge of * the content area. * @param[in] ypos The new cursor y-coordinate, relative to the top edge of the * content area. * * @sa @ref cursor_pos * @sa @ref glfwSetCursorPosCallback * * @since Added in version 3.0. Replaces `GLFWmouseposfun`. * * @ingroup input */ typedef void (* GLFWcursorposfun)(GLFWwindow*,double,double); /*! @brief The function pointer type for cursor enter/leave callbacks. * * This is the function pointer type for cursor enter/leave callbacks. * A cursor enter/leave callback function has the following signature: * @code * void function_name(GLFWwindow* window, int entered) * @endcode * * @param[in] window The window that received the event. * @param[in] entered `GLFW_TRUE` if the cursor entered the window's content * area, or `GLFW_FALSE` if it left it. * * @sa @ref cursor_enter * @sa @ref glfwSetCursorEnterCallback * * @since Added in version 3.0. * * @ingroup input */ typedef void (* GLFWcursorenterfun)(GLFWwindow*,int); /*! @brief The function pointer type for scroll callbacks. * * This is the function pointer type for scroll callbacks. A scroll callback * function has the following signature: * @code * void function_name(GLFWwindow* window, double xoffset, double yoffset) * @endcode * * @param[in] window The window that received the event. * @param[in] xoffset The scroll offset along the x-axis. * @param[in] yoffset The scroll offset along the y-axis. * * @sa @ref scrolling * @sa @ref glfwSetScrollCallback * * @since Added in version 3.0. Replaces `GLFWmousewheelfun`. * * @ingroup input */ typedef void (* GLFWscrollfun)(GLFWwindow*,double,double); /*! @brief The function pointer type for keyboard key callbacks. * * This is the function pointer type for keyboard key callbacks. A keyboard * key callback function has the following signature: * @code * void function_name(GLFWwindow* window, int key, int scancode, int action, int mods) * @endcode * * @param[in] window The window that received the event. * @param[in] key The [keyboard key](@ref keys) that was pressed or released. * @param[in] scancode The system-specific scancode of the key. * @param[in] action `GLFW_PRESS`, `GLFW_RELEASE` or `GLFW_REPEAT`. Future * releases may add more actions. * @param[in] mods Bit field describing which [modifier keys](@ref mods) were * held down. * * @sa @ref input_key * @sa @ref glfwSetKeyCallback * * @since Added in version 1.0. * @glfw3 Added window handle, scancode and modifier mask parameters. * * @ingroup input */ typedef void (* GLFWkeyfun)(GLFWwindow*,int,int,int,int); /*! @brief The function pointer type for Unicode character callbacks. * * This is the function pointer type for Unicode character callbacks. * A Unicode character callback function has the following signature: * @code * void function_name(GLFWwindow* window, unsigned int codepoint) * @endcode * * @param[in] window The window that received the event. * @param[in] codepoint The Unicode code point of the character. * * @sa @ref input_char * @sa @ref glfwSetCharCallback * * @since Added in version 2.4. * @glfw3 Added window handle parameter. * * @ingroup input */ typedef void (* GLFWcharfun)(GLFWwindow*,unsigned int); /*! @brief The function pointer type for Unicode character with modifiers * callbacks. * * This is the function pointer type for Unicode character with modifiers * callbacks. It is called for each input character, regardless of what * modifier keys are held down. A Unicode character with modifiers callback * function has the following signature: * @code * void function_name(GLFWwindow* window, unsigned int codepoint, int mods) * @endcode * * @param[in] window The window that received the event. * @param[in] codepoint The Unicode code point of the character. * @param[in] mods Bit field describing which [modifier keys](@ref mods) were * held down. * * @sa @ref input_char * @sa @ref glfwSetCharModsCallback * * @deprecated Scheduled for removal in version 4.0. * * @since Added in version 3.1. * * @ingroup input */ typedef void (* GLFWcharmodsfun)(GLFWwindow*,unsigned int,int); /*! @brief The function pointer type for path drop callbacks. * * This is the function pointer type for path drop callbacks. A path drop * callback function has the following signature: * @code * void function_name(GLFWwindow* window, int path_count, const char* paths[]) * @endcode * * @param[in] window The window that received the event. * @param[in] path_count The number of dropped paths. * @param[in] paths The UTF-8 encoded file and/or directory path names. * * @pointer_lifetime The path array and its strings are valid until the * callback function returns. * * @sa @ref path_drop * @sa @ref glfwSetDropCallback * * @since Added in version 3.1. * * @ingroup input */ typedef void (* GLFWdropfun)(GLFWwindow*,int,const char*[]); /*! @brief The function pointer type for monitor configuration callbacks. * * This is the function pointer type for monitor configuration callbacks. * A monitor callback function has the following signature: * @code * void function_name(GLFWmonitor* monitor, int event) * @endcode * * @param[in] monitor The monitor that was connected or disconnected. * @param[in] event One of `GLFW_CONNECTED` or `GLFW_DISCONNECTED`. Future * releases may add more events. * * @sa @ref monitor_event * @sa @ref glfwSetMonitorCallback * * @since Added in version 3.0. * * @ingroup monitor */ typedef void (* GLFWmonitorfun)(GLFWmonitor*,int); /*! @brief The function pointer type for joystick configuration callbacks. * * This is the function pointer type for joystick configuration callbacks. * A joystick configuration callback function has the following signature: * @code * void function_name(int jid, int event) * @endcode * * @param[in] jid The joystick that was connected or disconnected. * @param[in] event One of `GLFW_CONNECTED` or `GLFW_DISCONNECTED`. Future * releases may add more events. * * @sa @ref joystick_event * @sa @ref glfwSetJoystickCallback * * @since Added in version 3.2. * * @ingroup input */ typedef void (* GLFWjoystickfun)(int,int); /*! @brief Video mode type. * * This describes a single video mode. * * @sa @ref monitor_modes * @sa @ref glfwGetVideoMode * @sa @ref glfwGetVideoModes * * @since Added in version 1.0. * @glfw3 Added refresh rate member. * * @ingroup monitor */ typedef struct GLFWvidmode { /*! The width, in screen coordinates, of the video mode. */ int width; /*! The height, in screen coordinates, of the video mode. */ int height; /*! The bit depth of the red channel of the video mode. */ int redBits; /*! The bit depth of the green channel of the video mode. */ int greenBits; /*! The bit depth of the blue channel of the video mode. */ int blueBits; /*! The refresh rate, in Hz, of the video mode. */ int refreshRate; } GLFWvidmode; /*! @brief Gamma ramp. * * This describes the gamma ramp for a monitor. * * @sa @ref monitor_gamma * @sa @ref glfwGetGammaRamp * @sa @ref glfwSetGammaRamp * * @since Added in version 3.0. * * @ingroup monitor */ typedef struct GLFWgammaramp { /*! An array of value describing the response of the red channel. */ unsigned short* red; /*! An array of value describing the response of the green channel. */ unsigned short* green; /*! An array of value describing the response of the blue channel. */ unsigned short* blue; /*! The number of elements in each array. */ unsigned int size; } GLFWgammaramp; /*! @brief Image data. * * This describes a single 2D image. See the documentation for each related * function what the expected pixel format is. * * @sa @ref cursor_custom * @sa @ref window_icon * * @since Added in version 2.1. * @glfw3 Removed format and bytes-per-pixel members. * * @ingroup window */ typedef struct GLFWimage { /*! The width, in pixels, of this image. */ int width; /*! The height, in pixels, of this image. */ int height; /*! The pixel data of this image, arranged left-to-right, top-to-bottom. */ unsigned char* pixels; } GLFWimage; /*! @brief Gamepad input state * * This describes the input state of a gamepad. * * @sa @ref gamepad * @sa @ref glfwGetGamepadState * * @since Added in version 3.3. * * @ingroup input */ typedef struct GLFWgamepadstate { /*! The states of each [gamepad button](@ref gamepad_buttons), `GLFW_PRESS` * or `GLFW_RELEASE`. */ unsigned char buttons[15]; /*! The states of each [gamepad axis](@ref gamepad_axes), in the range -1.0 * to 1.0 inclusive. */ float axes[6]; } GLFWgamepadstate; /************************************************************************* * GLFW API functions *************************************************************************/ /*! @brief Initializes the GLFW library. * * This function initializes the GLFW library. Before most GLFW functions can * be used, GLFW must be initialized, and before an application terminates GLFW * should be terminated in order to free any resources allocated during or * after initialization. * * If this function fails, it calls @ref glfwTerminate before returning. If it * succeeds, you should call @ref glfwTerminate before the application exits. * * Additional calls to this function after successful initialization but before * termination will return `GLFW_TRUE` immediately. * * @return `GLFW_TRUE` if successful, or `GLFW_FALSE` if an * [error](@ref error_handling) occurred. * * @errors Possible errors include @ref GLFW_PLATFORM_ERROR. * * @remark @macos This function will change the current directory of the * application to the `Contents/Resources` subdirectory of the application's * bundle, if present. This can be disabled with the @ref * GLFW_COCOA_CHDIR_RESOURCES init hint. * * @thread_safety This function must only be called from the main thread. * * @sa @ref intro_init * @sa @ref glfwTerminate * * @since Added in version 1.0. * * @ingroup init */ GLFWAPI int glfwInit(void); /*! @brief Terminates the GLFW library. * * This function destroys all remaining windows and cursors, restores any * modified gamma ramps and frees any other allocated resources. Once this * function is called, you must again call @ref glfwInit successfully before * you will be able to use most GLFW functions. * * If GLFW has been successfully initialized, this function should be called * before the application exits. If initialization fails, there is no need to * call this function, as it is called by @ref glfwInit before it returns * failure. * * @errors Possible errors include @ref GLFW_PLATFORM_ERROR. * * @remark This function may be called before @ref glfwInit. * * @warning The contexts of any remaining windows must not be current on any * other thread when this function is called. * * @reentrancy This function must not be called from a callback. * * @thread_safety This function must only be called from the main thread. * * @sa @ref intro_init * @sa @ref glfwInit * * @since Added in version 1.0. * * @ingroup init */ GLFWAPI void glfwTerminate(void); /*! @brief Sets the specified init hint to the desired value. * * This function sets hints for the next initialization of GLFW. * * The values you set hints to are never reset by GLFW, but they only take * effect during initialization. Once GLFW has been initialized, any values * you set will be ignored until the library is terminated and initialized * again. * * Some hints are platform specific. These may be set on any platform but they * will only affect their specific platform. Other platforms will ignore them. * Setting these hints requires no platform specific headers or functions. * * @param[in] hint The [init hint](@ref init_hints) to set. * @param[in] value The new value of the init hint. * * @errors Possible errors include @ref GLFW_INVALID_ENUM and @ref * GLFW_INVALID_VALUE. * * @remarks This function may be called before @ref glfwInit. * * @thread_safety This function must only be called from the main thread. * * @sa init_hints * @sa glfwInit * * @since Added in version 3.3. * * @ingroup init */ GLFWAPI void glfwInitHint(int hint, int value); /*! @brief Retrieves the version of the GLFW library. * * This function retrieves the major, minor and revision numbers of the GLFW * library. It is intended for when you are using GLFW as a shared library and * want to ensure that you are using the minimum required version. * * Any or all of the version arguments may be `NULL`. * * @param[out] major Where to store the major version number, or `NULL`. * @param[out] minor Where to store the minor version number, or `NULL`. * @param[out] rev Where to store the revision number, or `NULL`. * * @errors None. * * @remark This function may be called before @ref glfwInit. * * @thread_safety This function may be called from any thread. * * @sa @ref intro_version * @sa @ref glfwGetVersionString * * @since Added in version 1.0. * * @ingroup init */ GLFWAPI void glfwGetVersion(int* major, int* minor, int* rev); /*! @brief Returns a string describing the compile-time configuration. * * This function returns the compile-time generated * [version string](@ref intro_version_string) of the GLFW library binary. It * describes the version, platform, compiler and any platform-specific * compile-time options. It should not be confused with the OpenGL or OpenGL * ES version string, queried with `glGetString`. * * __Do not use the version string__ to parse the GLFW library version. The * @ref glfwGetVersion function provides the version of the running library * binary in numerical format. * * @return The ASCII encoded GLFW version string. * * @errors None. * * @remark This function may be called before @ref glfwInit. * * @pointer_lifetime The returned string is static and compile-time generated. * * @thread_safety This function may be called from any thread. * * @sa @ref intro_version * @sa @ref glfwGetVersion * * @since Added in version 3.0. * * @ingroup init */ GLFWAPI const char* glfwGetVersionString(void); /*! @brief Returns and clears the last error for the calling thread. * * This function returns and clears the [error code](@ref errors) of the last * error that occurred on the calling thread, and optionally a UTF-8 encoded * human-readable description of it. If no error has occurred since the last * call, it returns @ref GLFW_NO_ERROR (zero) and the description pointer is * set to `NULL`. * * @param[in] description Where to store the error description pointer, or `NULL`. * @return The last error code for the calling thread, or @ref GLFW_NO_ERROR * (zero). * * @errors None. * * @pointer_lifetime The returned string is allocated and freed by GLFW. You * should not free it yourself. It is guaranteed to be valid only until the * next error occurs or the library is terminated. * * @remark This function may be called before @ref glfwInit. * * @thread_safety This function may be called from any thread. * * @sa @ref error_handling * @sa @ref glfwSetErrorCallback * * @since Added in version 3.3. * * @ingroup init */ GLFWAPI int glfwGetError(const char** description); /*! @brief Sets the error callback. * * This function sets the error callback, which is called with an error code * and a human-readable description each time a GLFW error occurs. * * The error code is set before the callback is called. Calling @ref * glfwGetError from the error callback will return the same value as the error * code argument. * * The error callback is called on the thread where the error occurred. If you * are using GLFW from multiple threads, your error callback needs to be * written accordingly. * * Because the description string may have been generated specifically for that * error, it is not guaranteed to be valid after the callback has returned. If * you wish to use it after the callback returns, you need to make a copy. * * Once set, the error callback remains set even after the library has been * terminated. * * @param[in] callback The new callback, or `NULL` to remove the currently set * callback. * @return The previously set callback, or `NULL` if no callback was set. * * @callback_signature * @code * void callback_name(int error_code, const char* description) * @endcode * For more information about the callback parameters, see the * [callback pointer type](@ref GLFWerrorfun). * * @errors None. * * @remark This function may be called before @ref glfwInit. * * @thread_safety This function must only be called from the main thread. * * @sa @ref error_handling * @sa @ref glfwGetError * * @since Added in version 3.0. * * @ingroup init */ GLFWAPI GLFWerrorfun glfwSetErrorCallback(GLFWerrorfun callback); /*! @brief Returns the currently connected monitors. * * This function returns an array of handles for all currently connected * monitors. The primary monitor is always first in the returned array. If no * monitors were found, this function returns `NULL`. * * @param[out] count Where to store the number of monitors in the returned * array. This is set to zero if an error occurred. * @return An array of monitor handles, or `NULL` if no monitors were found or * if an [error](@ref error_handling) occurred. * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED. * * @pointer_lifetime The returned array is allocated and freed by GLFW. You * should not free it yourself. It is guaranteed to be valid only until the * monitor configuration changes or the library is terminated. * * @thread_safety This function must only be called from the main thread. * * @sa @ref monitor_monitors * @sa @ref monitor_event * @sa @ref glfwGetPrimaryMonitor * * @since Added in version 3.0. * * @ingroup monitor */ GLFWAPI GLFWmonitor** glfwGetMonitors(int* count); /*! @brief Returns the primary monitor. * * This function returns the primary monitor. This is usually the monitor * where elements like the task bar or global menu bar are located. * * @return The primary monitor, or `NULL` if no monitors were found or if an * [error](@ref error_handling) occurred. * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED. * * @thread_safety This function must only be called from the main thread. * * @remark The primary monitor is always first in the array returned by @ref * glfwGetMonitors. * * @sa @ref monitor_monitors * @sa @ref glfwGetMonitors * * @since Added in version 3.0. * * @ingroup monitor */ GLFWAPI GLFWmonitor* glfwGetPrimaryMonitor(void); /*! @brief Returns the position of the monitor's viewport on the virtual screen. * * This function returns the position, in screen coordinates, of the upper-left * corner of the specified monitor. * * Any or all of the position arguments may be `NULL`. If an error occurs, all * non-`NULL` position arguments will be set to zero. * * @param[in] monitor The monitor to query. * @param[out] xpos Where to store the monitor x-coordinate, or `NULL`. * @param[out] ypos Where to store the monitor y-coordinate, or `NULL`. * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED and @ref * GLFW_PLATFORM_ERROR. * * @thread_safety This function must only be called from the main thread. * * @sa @ref monitor_properties * * @since Added in version 3.0. * * @ingroup monitor */ GLFWAPI void glfwGetMonitorPos(GLFWmonitor* monitor, int* xpos, int* ypos); /*! @brief Retrieves the work area of the monitor. * * This function returns the position, in screen coordinates, of the upper-left * corner of the work area of the specified monitor along with the work area * size in screen coordinates. The work area is defined as the area of the * monitor not occluded by the operating system task bar where present. If no * task bar exists then the work area is the monitor resolution in screen * coordinates. * * Any or all of the position and size arguments may be `NULL`. If an error * occurs, all non-`NULL` position and size arguments will be set to zero. * * @param[in] monitor The monitor to query. * @param[out] xpos Where to store the monitor x-coordinate, or `NULL`. * @param[out] ypos Where to store the monitor y-coordinate, or `NULL`. * @param[out] width Where to store the monitor width, or `NULL`. * @param[out] height Where to store the monitor height, or `NULL`. * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED and @ref * GLFW_PLATFORM_ERROR. * * @thread_safety This function must only be called from the main thread. * * @sa @ref monitor_workarea * * @since Added in version 3.3. * * @ingroup monitor */ GLFWAPI void glfwGetMonitorWorkarea(GLFWmonitor* monitor, int* xpos, int* ypos, int* width, int* height); /*! @brief Returns the physical size of the monitor. * * This function returns the size, in millimetres, of the display area of the * specified monitor. * * Some systems do not provide accurate monitor size information, either * because the monitor * [EDID](https://en.wikipedia.org/wiki/Extended_display_identification_data) * data is incorrect or because the driver does not report it accurately. * * Any or all of the size arguments may be `NULL`. If an error occurs, all * non-`NULL` size arguments will be set to zero. * * @param[in] monitor The monitor to query. * @param[out] widthMM Where to store the width, in millimetres, of the * monitor's display area, or `NULL`. * @param[out] heightMM Where to store the height, in millimetres, of the * monitor's display area, or `NULL`. * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED. * * @remark @win32 calculates the returned physical size from the * current resolution and system DPI instead of querying the monitor EDID data. * * @thread_safety This function must only be called from the main thread. * * @sa @ref monitor_properties * * @since Added in version 3.0. * * @ingroup monitor */ GLFWAPI void glfwGetMonitorPhysicalSize(GLFWmonitor* monitor, int* widthMM, int* heightMM); /*! @brief Retrieves the content scale for the specified monitor. * * This function retrieves the content scale for the specified monitor. The * content scale is the ratio between the current DPI and the platform's * default DPI. This is especially important for text and any UI elements. If * the pixel dimensions of your UI scaled by this look appropriate on your * machine then it should appear at a reasonable size on other machines * regardless of their DPI and scaling settings. This relies on the system DPI * and scaling settings being somewhat correct. * * The content scale may depend on both the monitor resolution and pixel * density and on user settings. It may be very different from the raw DPI * calculated from the physical size and current resolution. * * @param[in] monitor The monitor to query. * @param[out] xscale Where to store the x-axis content scale, or `NULL`. * @param[out] yscale Where to store the y-axis content scale, or `NULL`. * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED and @ref * GLFW_PLATFORM_ERROR. * * @thread_safety This function must only be called from the main thread. * * @sa @ref monitor_scale * @sa @ref glfwGetWindowContentScale * * @since Added in version 3.3. * * @ingroup monitor */ GLFWAPI void glfwGetMonitorContentScale(GLFWmonitor* monitor, float* xscale, float* yscale); /*! @brief Returns the name of the specified monitor. * * This function returns a human-readable name, encoded as UTF-8, of the * specified monitor. The name typically reflects the make and model of the * monitor and is not guaranteed to be unique among the connected monitors. * * @param[in] monitor The monitor to query. * @return The UTF-8 encoded name of the monitor, or `NULL` if an * [error](@ref error_handling) occurred. * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED. * * @pointer_lifetime The returned string is allocated and freed by GLFW. You * should not free it yourself. It is valid until the specified monitor is * disconnected or the library is terminated. * * @thread_safety This function must only be called from the main thread. * * @sa @ref monitor_properties * * @since Added in version 3.0. * * @ingroup monitor */ GLFWAPI const char* glfwGetMonitorName(GLFWmonitor* monitor); /*! @brief Sets the user pointer of the specified monitor. * * This function sets the user-defined pointer of the specified monitor. The * current value is retained until the monitor is disconnected. The initial * value is `NULL`. * * This function may be called from the monitor callback, even for a monitor * that is being disconnected. * * @param[in] monitor The monitor whose pointer to set. * @param[in] pointer The new value. * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED. * * @thread_safety This function may be called from any thread. Access is not * synchronized. * * @sa @ref monitor_userptr * @sa @ref glfwGetMonitorUserPointer * * @since Added in version 3.3. * * @ingroup monitor */ GLFWAPI void glfwSetMonitorUserPointer(GLFWmonitor* monitor, void* pointer); /*! @brief Returns the user pointer of the specified monitor. * * This function returns the current value of the user-defined pointer of the * specified monitor. The initial value is `NULL`. * * This function may be called from the monitor callback, even for a monitor * that is being disconnected. * * @param[in] monitor The monitor whose pointer to return. * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED. * * @thread_safety This function may be called from any thread. Access is not * synchronized. * * @sa @ref monitor_userptr * @sa @ref glfwSetMonitorUserPointer * * @since Added in version 3.3. * * @ingroup monitor */ GLFWAPI void* glfwGetMonitorUserPointer(GLFWmonitor* monitor); /*! @brief Sets the monitor configuration callback. * * This function sets the monitor configuration callback, or removes the * currently set callback. This is called when a monitor is connected to or * disconnected from the system. * * @param[in] callback The new callback, or `NULL` to remove the currently set * callback. * @return The previously set callback, or `NULL` if no callback was set or the * library had not been [initialized](@ref intro_init). * * @callback_signature * @code * void function_name(GLFWmonitor* monitor, int event) * @endcode * For more information about the callback parameters, see the * [function pointer type](@ref GLFWmonitorfun). * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED. * * @thread_safety This function must only be called from the main thread. * * @sa @ref monitor_event * * @since Added in version 3.0. * * @ingroup monitor */ GLFWAPI GLFWmonitorfun glfwSetMonitorCallback(GLFWmonitorfun callback); /*! @brief Returns the available video modes for the specified monitor. * * This function returns an array of all video modes supported by the specified * monitor. The returned array is sorted in ascending order, first by color * bit depth (the sum of all channel depths) and then by resolution area (the * product of width and height). * * @param[in] monitor The monitor to query. * @param[out] count Where to store the number of video modes in the returned * array. This is set to zero if an error occurred. * @return An array of video modes, or `NULL` if an * [error](@ref error_handling) occurred. * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED and @ref * GLFW_PLATFORM_ERROR. * * @pointer_lifetime The returned array is allocated and freed by GLFW. You * should not free it yourself. It is valid until the specified monitor is * disconnected, this function is called again for that monitor or the library * is terminated. * * @thread_safety This function must only be called from the main thread. * * @sa @ref monitor_modes * @sa @ref glfwGetVideoMode * * @since Added in version 1.0. * @glfw3 Changed to return an array of modes for a specific monitor. * * @ingroup monitor */ GLFWAPI const GLFWvidmode* glfwGetVideoModes(GLFWmonitor* monitor, int* count); /*! @brief Returns the current mode of the specified monitor. * * This function returns the current video mode of the specified monitor. If * you have created a full screen window for that monitor, the return value * will depend on whether that window is iconified. * * @param[in] monitor The monitor to query. * @return The current mode of the monitor, or `NULL` if an * [error](@ref error_handling) occurred. * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED and @ref * GLFW_PLATFORM_ERROR. * * @pointer_lifetime The returned array is allocated and freed by GLFW. You * should not free it yourself. It is valid until the specified monitor is * disconnected or the library is terminated. * * @thread_safety This function must only be called from the main thread. * * @sa @ref monitor_modes * @sa @ref glfwGetVideoModes * * @since Added in version 3.0. Replaces `glfwGetDesktopMode`. * * @ingroup monitor */ GLFWAPI const GLFWvidmode* glfwGetVideoMode(GLFWmonitor* monitor); /*! @brief Generates a gamma ramp and sets it for the specified monitor. * * This function generates an appropriately sized gamma ramp from the specified * exponent and then calls @ref glfwSetGammaRamp with it. The value must be * a finite number greater than zero. * * The software controlled gamma ramp is applied _in addition_ to the hardware * gamma correction, which today is usually an approximation of sRGB gamma. * This means that setting a perfectly linear ramp, or gamma 1.0, will produce * the default (usually sRGB-like) behavior. * * For gamma correct rendering with OpenGL or OpenGL ES, see the @ref * GLFW_SRGB_CAPABLE hint. * * @param[in] monitor The monitor whose gamma ramp to set. * @param[in] gamma The desired exponent. * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED, @ref * GLFW_INVALID_VALUE and @ref GLFW_PLATFORM_ERROR. * * @remark @wayland Gamma handling is a privileged protocol, this function * will thus never be implemented and emits @ref GLFW_PLATFORM_ERROR. * * @thread_safety This function must only be called from the main thread. * * @sa @ref monitor_gamma * * @since Added in version 3.0. * * @ingroup monitor */ GLFWAPI void glfwSetGamma(GLFWmonitor* monitor, float gamma); /*! @brief Returns the current gamma ramp for the specified monitor. * * This function returns the current gamma ramp of the specified monitor. * * @param[in] monitor The monitor to query. * @return The current gamma ramp, or `NULL` if an * [error](@ref error_handling) occurred. * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED and @ref * GLFW_PLATFORM_ERROR. * * @remark @wayland Gamma handling is a privileged protocol, this function * will thus never be implemented and emits @ref GLFW_PLATFORM_ERROR while * returning `NULL`. * * @pointer_lifetime The returned structure and its arrays are allocated and * freed by GLFW. You should not free them yourself. They are valid until the * specified monitor is disconnected, this function is called again for that * monitor or the library is terminated. * * @thread_safety This function must only be called from the main thread. * * @sa @ref monitor_gamma * * @since Added in version 3.0. * * @ingroup monitor */ GLFWAPI const GLFWgammaramp* glfwGetGammaRamp(GLFWmonitor* monitor); /*! @brief Sets the current gamma ramp for the specified monitor. * * This function sets the current gamma ramp for the specified monitor. The * original gamma ramp for that monitor is saved by GLFW the first time this * function is called and is restored by @ref glfwTerminate. * * The software controlled gamma ramp is applied _in addition_ to the hardware * gamma correction, which today is usually an approximation of sRGB gamma. * This means that setting a perfectly linear ramp, or gamma 1.0, will produce * the default (usually sRGB-like) behavior. * * For gamma correct rendering with OpenGL or OpenGL ES, see the @ref * GLFW_SRGB_CAPABLE hint. * * @param[in] monitor The monitor whose gamma ramp to set. * @param[in] ramp The gamma ramp to use. * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED and @ref * GLFW_PLATFORM_ERROR. * * @remark The size of the specified gamma ramp should match the size of the * current ramp for that monitor. * * @remark @win32 The gamma ramp size must be 256. * * @remark @wayland Gamma handling is a privileged protocol, this function * will thus never be implemented and emits @ref GLFW_PLATFORM_ERROR. * * @pointer_lifetime The specified gamma ramp is copied before this function * returns. * * @thread_safety This function must only be called from the main thread. * * @sa @ref monitor_gamma * * @since Added in version 3.0. * * @ingroup monitor */ GLFWAPI void glfwSetGammaRamp(GLFWmonitor* monitor, const GLFWgammaramp* ramp); /*! @brief Resets all window hints to their default values. * * This function resets all window hints to their * [default values](@ref window_hints_values). * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED. * * @thread_safety This function must only be called from the main thread. * * @sa @ref window_hints * @sa @ref glfwWindowHint * @sa @ref glfwWindowHintString * * @since Added in version 3.0. * * @ingroup window */ GLFWAPI void glfwDefaultWindowHints(void); /*! @brief Sets the specified window hint to the desired value. * * This function sets hints for the next call to @ref glfwCreateWindow. The * hints, once set, retain their values until changed by a call to this * function or @ref glfwDefaultWindowHints, or until the library is terminated. * * Only integer value hints can be set with this function. String value hints * are set with @ref glfwWindowHintString. * * This function does not check whether the specified hint values are valid. * If you set hints to invalid values this will instead be reported by the next * call to @ref glfwCreateWindow. * * Some hints are platform specific. These may be set on any platform but they * will only affect their specific platform. Other platforms will ignore them. * Setting these hints requires no platform specific headers or functions. * * @param[in] hint The [window hint](@ref window_hints) to set. * @param[in] value The new value of the window hint. * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED and @ref * GLFW_INVALID_ENUM. * * @thread_safety This function must only be called from the main thread. * * @sa @ref window_hints * @sa @ref glfwWindowHintString * @sa @ref glfwDefaultWindowHints * * @since Added in version 3.0. Replaces `glfwOpenWindowHint`. * * @ingroup window */ GLFWAPI void glfwWindowHint(int hint, int value); /*! @brief Sets the specified window hint to the desired value. * * This function sets hints for the next call to @ref glfwCreateWindow. The * hints, once set, retain their values until changed by a call to this * function or @ref glfwDefaultWindowHints, or until the library is terminated. * * Only string type hints can be set with this function. Integer value hints * are set with @ref glfwWindowHint. * * This function does not check whether the specified hint values are valid. * If you set hints to invalid values this will instead be reported by the next * call to @ref glfwCreateWindow. * * Some hints are platform specific. These may be set on any platform but they * will only affect their specific platform. Other platforms will ignore them. * Setting these hints requires no platform specific headers or functions. * * @param[in] hint The [window hint](@ref window_hints) to set. * @param[in] value The new value of the window hint. * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED and @ref * GLFW_INVALID_ENUM. * * @pointer_lifetime The specified string is copied before this function * returns. * * @thread_safety This function must only be called from the main thread. * * @sa @ref window_hints * @sa @ref glfwWindowHint * @sa @ref glfwDefaultWindowHints * * @since Added in version 3.3. * * @ingroup window */ GLFWAPI void glfwWindowHintString(int hint, const char* value); /*! @brief Creates a window and its associated context. * * This function creates a window and its associated OpenGL or OpenGL ES * context. Most of the options controlling how the window and its context * should be created are specified with [window hints](@ref window_hints). * * Successful creation does not change which context is current. Before you * can use the newly created context, you need to * [make it current](@ref context_current). For information about the `share` * parameter, see @ref context_sharing. * * The created window, framebuffer and context may differ from what you * requested, as not all parameters and hints are * [hard constraints](@ref window_hints_hard). This includes the size of the * window, especially for full screen windows. To query the actual attributes * of the created window, framebuffer and context, see @ref * glfwGetWindowAttrib, @ref glfwGetWindowSize and @ref glfwGetFramebufferSize. * * To create a full screen window, you need to specify the monitor the window * will cover. If no monitor is specified, the window will be windowed mode. * Unless you have a way for the user to choose a specific monitor, it is * recommended that you pick the primary monitor. For more information on how * to query connected monitors, see @ref monitor_monitors. * * For full screen windows, the specified size becomes the resolution of the * window's _desired video mode_. As long as a full screen window is not * iconified, the supported video mode most closely matching the desired video * mode is set for the specified monitor. For more information about full * screen windows, including the creation of so called _windowed full screen_ * or _borderless full screen_ windows, see @ref window_windowed_full_screen. * * Once you have created the window, you can switch it between windowed and * full screen mode with @ref glfwSetWindowMonitor. This will not affect its * OpenGL or OpenGL ES context. * * By default, newly created windows use the placement recommended by the * window system. To create the window at a specific position, make it * initially invisible using the [GLFW_VISIBLE](@ref GLFW_VISIBLE_hint) window * hint, set its [position](@ref window_pos) and then [show](@ref window_hide) * it. * * As long as at least one full screen window is not iconified, the screensaver * is prohibited from starting. * * Window systems put limits on window sizes. Very large or very small window * dimensions may be overridden by the window system on creation. Check the * actual [size](@ref window_size) after creation. * * The [swap interval](@ref buffer_swap) is not set during window creation and * the initial value may vary depending on driver settings and defaults. * * @param[in] width The desired width, in screen coordinates, of the window. * This must be greater than zero. * @param[in] height The desired height, in screen coordinates, of the window. * This must be greater than zero. * @param[in] title The initial, UTF-8 encoded window title. * @param[in] monitor The monitor to use for full screen mode, or `NULL` for * windowed mode. * @param[in] share The window whose context to share resources with, or `NULL` * to not share resources. * @return The handle of the created window, or `NULL` if an * [error](@ref error_handling) occurred. * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED, @ref * GLFW_INVALID_ENUM, @ref GLFW_INVALID_VALUE, @ref GLFW_API_UNAVAILABLE, @ref * GLFW_VERSION_UNAVAILABLE, @ref GLFW_FORMAT_UNAVAILABLE and @ref * GLFW_PLATFORM_ERROR. * * @remark @win32 Window creation will fail if the Microsoft GDI software * OpenGL implementation is the only one available. * * @remark @win32 If the executable has an icon resource named `GLFW_ICON,` it * will be set as the initial icon for the window. If no such icon is present, * the `IDI_APPLICATION` icon will be used instead. To set a different icon, * see @ref glfwSetWindowIcon. * * @remark @win32 The context to share resources with must not be current on * any other thread. * * @remark @macos The OS only supports forward-compatible core profile contexts * for OpenGL versions 3.2 and later. Before creating an OpenGL context of * version 3.2 or later you must set the * [GLFW_OPENGL_FORWARD_COMPAT](@ref GLFW_OPENGL_FORWARD_COMPAT_hint) and * [GLFW_OPENGL_PROFILE](@ref GLFW_OPENGL_PROFILE_hint) hints accordingly. * OpenGL 3.0 and 3.1 contexts are not supported at all on macOS. * * @remark @macos The GLFW window has no icon, as it is not a document * window, but the dock icon will be the same as the application bundle's icon. * For more information on bundles, see the * [Bundle Programming Guide](https://developer.apple.com/library/mac/documentation/CoreFoundation/Conceptual/CFBundles/) * in the Mac Developer Library. * * @remark @macos The first time a window is created the menu bar is created. * If GLFW finds a `MainMenu.nib` it is loaded and assumed to contain a menu * bar. Otherwise a minimal menu bar is created manually with common commands * like Hide, Quit and About. The About entry opens a minimal about dialog * with information from the application's bundle. Menu bar creation can be * disabled entirely with the @ref GLFW_COCOA_MENUBAR init hint. * * @remark @macos On OS X 10.10 and later the window frame will not be rendered * at full resolution on Retina displays unless the * [GLFW_COCOA_RETINA_FRAMEBUFFER](@ref GLFW_COCOA_RETINA_FRAMEBUFFER_hint) * hint is `GLFW_TRUE` and the `NSHighResolutionCapable` key is enabled in the * application bundle's `Info.plist`. For more information, see * [High Resolution Guidelines for OS X](https://developer.apple.com/library/mac/documentation/GraphicsAnimation/Conceptual/HighResolutionOSX/Explained/Explained.html) * in the Mac Developer Library. The GLFW test and example programs use * a custom `Info.plist` template for this, which can be found as * `CMake/MacOSXBundleInfo.plist.in` in the source tree. * * @remark @macos When activating frame autosaving with * [GLFW_COCOA_FRAME_NAME](@ref GLFW_COCOA_FRAME_NAME_hint), the specified * window size and position may be overridden by previously saved values. * * @remark @x11 Some window managers will not respect the placement of * initially hidden windows. * * @remark @x11 Due to the asynchronous nature of X11, it may take a moment for * a window to reach its requested state. This means you may not be able to * query the final size, position or other attributes directly after window * creation. * * @remark @x11 The class part of the `WM_CLASS` window property will by * default be set to the window title passed to this function. The instance * part will use the contents of the `RESOURCE_NAME` environment variable, if * present and not empty, or fall back to the window title. Set the * [GLFW_X11_CLASS_NAME](@ref GLFW_X11_CLASS_NAME_hint) and * [GLFW_X11_INSTANCE_NAME](@ref GLFW_X11_INSTANCE_NAME_hint) window hints to * override this. * * @remark @wayland Compositors should implement the xdg-decoration protocol * for GLFW to decorate the window properly. If this protocol isn't * supported, or if the compositor prefers client-side decorations, a very * simple fallback frame will be drawn using the wp_viewporter protocol. A * compositor can still emit close, maximize or fullscreen events, using for * instance a keybind mechanism. If neither of these protocols is supported, * the window won't be decorated. * * @remark @wayland A full screen window will not attempt to change the mode, * no matter what the requested size or refresh rate. * * @remark @wayland Screensaver inhibition requires the idle-inhibit protocol * to be implemented in the user's compositor. * * @thread_safety This function must only be called from the main thread. * * @sa @ref window_creation * @sa @ref glfwDestroyWindow * * @since Added in version 3.0. Replaces `glfwOpenWindow`. * * @ingroup window */ GLFWAPI GLFWwindow* glfwCreateWindow(int width, int height, const char* title, GLFWmonitor* monitor, GLFWwindow* share); /*! @brief Destroys the specified window and its context. * * This function destroys the specified window and its context. On calling * this function, no further callbacks will be called for that window. * * If the context of the specified window is current on the main thread, it is * detached before being destroyed. * * @param[in] window The window to destroy. * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED and @ref * GLFW_PLATFORM_ERROR. * * @note The context of the specified window must not be current on any other * thread when this function is called. * * @reentrancy This function must not be called from a callback. * * @thread_safety This function must only be called from the main thread. * * @sa @ref window_creation * @sa @ref glfwCreateWindow * * @since Added in version 3.0. Replaces `glfwCloseWindow`. * * @ingroup window */ GLFWAPI void glfwDestroyWindow(GLFWwindow* window); /*! @brief Checks the close flag of the specified window. * * This function returns the value of the close flag of the specified window. * * @param[in] window The window to query. * @return The value of the close flag. * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED. * * @thread_safety This function may be called from any thread. Access is not * synchronized. * * @sa @ref window_close * * @since Added in version 3.0. * * @ingroup window */ GLFWAPI int glfwWindowShouldClose(GLFWwindow* window); /*! @brief Sets the close flag of the specified window. * * This function sets the value of the close flag of the specified window. * This can be used to override the user's attempt to close the window, or * to signal that it should be closed. * * @param[in] window The window whose flag to change. * @param[in] value The new value. * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED. * * @thread_safety This function may be called from any thread. Access is not * synchronized. * * @sa @ref window_close * * @since Added in version 3.0. * * @ingroup window */ GLFWAPI void glfwSetWindowShouldClose(GLFWwindow* window, int value); /*! @brief Sets the title of the specified window. * * This function sets the window title, encoded as UTF-8, of the specified * window. * * @param[in] window The window whose title to change. * @param[in] title The UTF-8 encoded window title. * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED and @ref * GLFW_PLATFORM_ERROR. * * @remark @macos The window title will not be updated until the next time you * process events. * * @thread_safety This function must only be called from the main thread. * * @sa @ref window_title * * @since Added in version 1.0. * @glfw3 Added window handle parameter. * * @ingroup window */ GLFWAPI void glfwSetWindowTitle(GLFWwindow* window, const char* title); /*! @brief Sets the icon for the specified window. * * This function sets the icon of the specified window. If passed an array of * candidate images, those of or closest to the sizes desired by the system are * selected. If no images are specified, the window reverts to its default * icon. * * The pixels are 32-bit, little-endian, non-premultiplied RGBA, i.e. eight * bits per channel with the red channel first. They are arranged canonically * as packed sequential rows, starting from the top-left corner. * * The desired image sizes varies depending on platform and system settings. * The selected images will be rescaled as needed. Good sizes include 16x16, * 32x32 and 48x48. * * @param[in] window The window whose icon to set. * @param[in] count The number of images in the specified array, or zero to * revert to the default window icon. * @param[in] images The images to create the icon from. This is ignored if * count is zero. * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED and @ref * GLFW_PLATFORM_ERROR. * * @pointer_lifetime The specified image data is copied before this function * returns. * * @remark @macos The GLFW window has no icon, as it is not a document * window, so this function does nothing. The dock icon will be the same as * the application bundle's icon. For more information on bundles, see the * [Bundle Programming Guide](https://developer.apple.com/library/mac/documentation/CoreFoundation/Conceptual/CFBundles/) * in the Mac Developer Library. * * @remark @wayland There is no existing protocol to change an icon, the * window will thus inherit the one defined in the application's desktop file. * This function always emits @ref GLFW_PLATFORM_ERROR. * * @thread_safety This function must only be called from the main thread. * * @sa @ref window_icon * * @since Added in version 3.2. * * @ingroup window */ GLFWAPI void glfwSetWindowIcon(GLFWwindow* window, int count, const GLFWimage* images); /*! @brief Retrieves the position of the content area of the specified window. * * This function retrieves the position, in screen coordinates, of the * upper-left corner of the content area of the specified window. * * Any or all of the position arguments may be `NULL`. If an error occurs, all * non-`NULL` position arguments will be set to zero. * * @param[in] window The window to query. * @param[out] xpos Where to store the x-coordinate of the upper-left corner of * the content area, or `NULL`. * @param[out] ypos Where to store the y-coordinate of the upper-left corner of * the content area, or `NULL`. * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED and @ref * GLFW_PLATFORM_ERROR. * * @remark @wayland There is no way for an application to retrieve the global * position of its windows, this function will always emit @ref * GLFW_PLATFORM_ERROR. * * @thread_safety This function must only be called from the main thread. * * @sa @ref window_pos * @sa @ref glfwSetWindowPos * * @since Added in version 3.0. * * @ingroup window */ GLFWAPI void glfwGetWindowPos(GLFWwindow* window, int* xpos, int* ypos); /*! @brief Sets the position of the content area of the specified window. * * This function sets the position, in screen coordinates, of the upper-left * corner of the content area of the specified windowed mode window. If the * window is a full screen window, this function does nothing. * * __Do not use this function__ to move an already visible window unless you * have very good reasons for doing so, as it will confuse and annoy the user. * * The window manager may put limits on what positions are allowed. GLFW * cannot and should not override these limits. * * @param[in] window The window to query. * @param[in] xpos The x-coordinate of the upper-left corner of the content area. * @param[in] ypos The y-coordinate of the upper-left corner of the content area. * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED and @ref * GLFW_PLATFORM_ERROR. * * @remark @wayland There is no way for an application to set the global * position of its windows, this function will always emit @ref * GLFW_PLATFORM_ERROR. * * @thread_safety This function must only be called from the main thread. * * @sa @ref window_pos * @sa @ref glfwGetWindowPos * * @since Added in version 1.0. * @glfw3 Added window handle parameter. * * @ingroup window */ GLFWAPI void glfwSetWindowPos(GLFWwindow* window, int xpos, int ypos); /*! @brief Retrieves the size of the content area of the specified window. * * This function retrieves the size, in screen coordinates, of the content area * of the specified window. If you wish to retrieve the size of the * framebuffer of the window in pixels, see @ref glfwGetFramebufferSize. * * Any or all of the size arguments may be `NULL`. If an error occurs, all * non-`NULL` size arguments will be set to zero. * * @param[in] window The window whose size to retrieve. * @param[out] width Where to store the width, in screen coordinates, of the * content area, or `NULL`. * @param[out] height Where to store the height, in screen coordinates, of the * content area, or `NULL`. * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED and @ref * GLFW_PLATFORM_ERROR. * * @thread_safety This function must only be called from the main thread. * * @sa @ref window_size * @sa @ref glfwSetWindowSize * * @since Added in version 1.0. * @glfw3 Added window handle parameter. * * @ingroup window */ GLFWAPI void glfwGetWindowSize(GLFWwindow* window, int* width, int* height); /*! @brief Sets the size limits of the specified window. * * This function sets the size limits of the content area of the specified * window. If the window is full screen, the size limits only take effect * once it is made windowed. If the window is not resizable, this function * does nothing. * * The size limits are applied immediately to a windowed mode window and may * cause it to be resized. * * The maximum dimensions must be greater than or equal to the minimum * dimensions and all must be greater than or equal to zero. * * @param[in] window The window to set limits for. * @param[in] minwidth The minimum width, in screen coordinates, of the content * area, or `GLFW_DONT_CARE`. * @param[in] minheight The minimum height, in screen coordinates, of the * content area, or `GLFW_DONT_CARE`. * @param[in] maxwidth The maximum width, in screen coordinates, of the content * area, or `GLFW_DONT_CARE`. * @param[in] maxheight The maximum height, in screen coordinates, of the * content area, or `GLFW_DONT_CARE`. * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED, @ref * GLFW_INVALID_VALUE and @ref GLFW_PLATFORM_ERROR. * * @remark If you set size limits and an aspect ratio that conflict, the * results are undefined. * * @remark @wayland The size limits will not be applied until the window is * actually resized, either by the user or by the compositor. * * @thread_safety This function must only be called from the main thread. * * @sa @ref window_sizelimits * @sa @ref glfwSetWindowAspectRatio * * @since Added in version 3.2. * * @ingroup window */ GLFWAPI void glfwSetWindowSizeLimits(GLFWwindow* window, int minwidth, int minheight, int maxwidth, int maxheight); /*! @brief Sets the aspect ratio of the specified window. * * This function sets the required aspect ratio of the content area of the * specified window. If the window is full screen, the aspect ratio only takes * effect once it is made windowed. If the window is not resizable, this * function does nothing. * * The aspect ratio is specified as a numerator and a denominator and both * values must be greater than zero. For example, the common 16:9 aspect ratio * is specified as 16 and 9, respectively. * * If the numerator and denominator is set to `GLFW_DONT_CARE` then the aspect * ratio limit is disabled. * * The aspect ratio is applied immediately to a windowed mode window and may * cause it to be resized. * * @param[in] window The window to set limits for. * @param[in] numer The numerator of the desired aspect ratio, or * `GLFW_DONT_CARE`. * @param[in] denom The denominator of the desired aspect ratio, or * `GLFW_DONT_CARE`. * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED, @ref * GLFW_INVALID_VALUE and @ref GLFW_PLATFORM_ERROR. * * @remark If you set size limits and an aspect ratio that conflict, the * results are undefined. * * @remark @wayland The aspect ratio will not be applied until the window is * actually resized, either by the user or by the compositor. * * @thread_safety This function must only be called from the main thread. * * @sa @ref window_sizelimits * @sa @ref glfwSetWindowSizeLimits * * @since Added in version 3.2. * * @ingroup window */ GLFWAPI void glfwSetWindowAspectRatio(GLFWwindow* window, int numer, int denom); /*! @brief Sets the size of the content area of the specified window. * * This function sets the size, in screen coordinates, of the content area of * the specified window. * * For full screen windows, this function updates the resolution of its desired * video mode and switches to the video mode closest to it, without affecting * the window's context. As the context is unaffected, the bit depths of the * framebuffer remain unchanged. * * If you wish to update the refresh rate of the desired video mode in addition * to its resolution, see @ref glfwSetWindowMonitor. * * The window manager may put limits on what sizes are allowed. GLFW cannot * and should not override these limits. * * @param[in] window The window to resize. * @param[in] width The desired width, in screen coordinates, of the window * content area. * @param[in] height The desired height, in screen coordinates, of the window * content area. * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED and @ref * GLFW_PLATFORM_ERROR. * * @remark @wayland A full screen window will not attempt to change the mode, * no matter what the requested size. * * @thread_safety This function must only be called from the main thread. * * @sa @ref window_size * @sa @ref glfwGetWindowSize * @sa @ref glfwSetWindowMonitor * * @since Added in version 1.0. * @glfw3 Added window handle parameter. * * @ingroup window */ GLFWAPI void glfwSetWindowSize(GLFWwindow* window, int width, int height); /*! @brief Retrieves the size of the framebuffer of the specified window. * * This function retrieves the size, in pixels, of the framebuffer of the * specified window. If you wish to retrieve the size of the window in screen * coordinates, see @ref glfwGetWindowSize. * * Any or all of the size arguments may be `NULL`. If an error occurs, all * non-`NULL` size arguments will be set to zero. * * @param[in] window The window whose framebuffer to query. * @param[out] width Where to store the width, in pixels, of the framebuffer, * or `NULL`. * @param[out] height Where to store the height, in pixels, of the framebuffer, * or `NULL`. * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED and @ref * GLFW_PLATFORM_ERROR. * * @thread_safety This function must only be called from the main thread. * * @sa @ref window_fbsize * @sa @ref glfwSetFramebufferSizeCallback * * @since Added in version 3.0. * * @ingroup window */ GLFWAPI void glfwGetFramebufferSize(GLFWwindow* window, int* width, int* height); /*! @brief Retrieves the size of the frame of the window. * * This function retrieves the size, in screen coordinates, of each edge of the * frame of the specified window. This size includes the title bar, if the * window has one. The size of the frame may vary depending on the * [window-related hints](@ref window_hints_wnd) used to create it. * * Because this function retrieves the size of each window frame edge and not * the offset along a particular coordinate axis, the retrieved values will * always be zero or positive. * * Any or all of the size arguments may be `NULL`. If an error occurs, all * non-`NULL` size arguments will be set to zero. * * @param[in] window The window whose frame size to query. * @param[out] left Where to store the size, in screen coordinates, of the left * edge of the window frame, or `NULL`. * @param[out] top Where to store the size, in screen coordinates, of the top * edge of the window frame, or `NULL`. * @param[out] right Where to store the size, in screen coordinates, of the * right edge of the window frame, or `NULL`. * @param[out] bottom Where to store the size, in screen coordinates, of the * bottom edge of the window frame, or `NULL`. * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED and @ref * GLFW_PLATFORM_ERROR. * * @thread_safety This function must only be called from the main thread. * * @sa @ref window_size * * @since Added in version 3.1. * * @ingroup window */ GLFWAPI void glfwGetWindowFrameSize(GLFWwindow* window, int* left, int* top, int* right, int* bottom); /*! @brief Retrieves the content scale for the specified window. * * This function retrieves the content scale for the specified window. The * content scale is the ratio between the current DPI and the platform's * default DPI. This is especially important for text and any UI elements. If * the pixel dimensions of your UI scaled by this look appropriate on your * machine then it should appear at a reasonable size on other machines * regardless of their DPI and scaling settings. This relies on the system DPI * and scaling settings being somewhat correct. * * On systems where each monitors can have its own content scale, the window * content scale will depend on which monitor the system considers the window * to be on. * * @param[in] window The window to query. * @param[out] xscale Where to store the x-axis content scale, or `NULL`. * @param[out] yscale Where to store the y-axis content scale, or `NULL`. * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED and @ref * GLFW_PLATFORM_ERROR. * * @thread_safety This function must only be called from the main thread. * * @sa @ref window_scale * @sa @ref glfwSetWindowContentScaleCallback * @sa @ref glfwGetMonitorContentScale * * @since Added in version 3.3. * * @ingroup window */ GLFWAPI void glfwGetWindowContentScale(GLFWwindow* window, float* xscale, float* yscale); /*! @brief Returns the opacity of the whole window. * * This function returns the opacity of the window, including any decorations. * * The opacity (or alpha) value is a positive finite number between zero and * one, where zero is fully transparent and one is fully opaque. If the system * does not support whole window transparency, this function always returns one. * * The initial opacity value for newly created windows is one. * * @param[in] window The window to query. * @return The opacity value of the specified window. * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED and @ref * GLFW_PLATFORM_ERROR. * * @thread_safety This function must only be called from the main thread. * * @sa @ref window_transparency * @sa @ref glfwSetWindowOpacity * * @since Added in version 3.3. * * @ingroup window */ GLFWAPI float glfwGetWindowOpacity(GLFWwindow* window); /*! @brief Sets the opacity of the whole window. * * This function sets the opacity of the window, including any decorations. * * The opacity (or alpha) value is a positive finite number between zero and * one, where zero is fully transparent and one is fully opaque. * * The initial opacity value for newly created windows is one. * * A window created with framebuffer transparency may not use whole window * transparency. The results of doing this are undefined. * * @param[in] window The window to set the opacity for. * @param[in] opacity The desired opacity of the specified window. * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED and @ref * GLFW_PLATFORM_ERROR. * * @thread_safety This function must only be called from the main thread. * * @sa @ref window_transparency * @sa @ref glfwGetWindowOpacity * * @since Added in version 3.3. * * @ingroup window */ GLFWAPI void glfwSetWindowOpacity(GLFWwindow* window, float opacity); /*! @brief Iconifies the specified window. * * This function iconifies (minimizes) the specified window if it was * previously restored. If the window is already iconified, this function does * nothing. * * If the specified window is a full screen window, the original monitor * resolution is restored until the window is restored. * * @param[in] window The window to iconify. * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED and @ref * GLFW_PLATFORM_ERROR. * * @remark @wayland There is no concept of iconification in wl_shell, this * function will emit @ref GLFW_PLATFORM_ERROR when using this deprecated * protocol. * * @thread_safety This function must only be called from the main thread. * * @sa @ref window_iconify * @sa @ref glfwRestoreWindow * @sa @ref glfwMaximizeWindow * * @since Added in version 2.1. * @glfw3 Added window handle parameter. * * @ingroup window */ GLFWAPI void glfwIconifyWindow(GLFWwindow* window); /*! @brief Restores the specified window. * * This function restores the specified window if it was previously iconified * (minimized) or maximized. If the window is already restored, this function * does nothing. * * If the specified window is a full screen window, the resolution chosen for * the window is restored on the selected monitor. * * @param[in] window The window to restore. * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED and @ref * GLFW_PLATFORM_ERROR. * * @thread_safety This function must only be called from the main thread. * * @sa @ref window_iconify * @sa @ref glfwIconifyWindow * @sa @ref glfwMaximizeWindow * * @since Added in version 2.1. * @glfw3 Added window handle parameter. * * @ingroup window */ GLFWAPI void glfwRestoreWindow(GLFWwindow* window); /*! @brief Maximizes the specified window. * * This function maximizes the specified window if it was previously not * maximized. If the window is already maximized, this function does nothing. * * If the specified window is a full screen window, this function does nothing. * * @param[in] window The window to maximize. * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED and @ref * GLFW_PLATFORM_ERROR. * * @par Thread Safety * This function may only be called from the main thread. * * @sa @ref window_iconify * @sa @ref glfwIconifyWindow * @sa @ref glfwRestoreWindow * * @since Added in GLFW 3.2. * * @ingroup window */ GLFWAPI void glfwMaximizeWindow(GLFWwindow* window); /*! @brief Makes the specified window visible. * * This function makes the specified window visible if it was previously * hidden. If the window is already visible or is in full screen mode, this * function does nothing. * * By default, windowed mode windows are focused when shown * Set the [GLFW_FOCUS_ON_SHOW](@ref GLFW_FOCUS_ON_SHOW_hint) window hint * to change this behavior for all newly created windows, or change the * behavior for an existing window with @ref glfwSetWindowAttrib. * * @param[in] window The window to make visible. * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED and @ref * GLFW_PLATFORM_ERROR. * * @thread_safety This function must only be called from the main thread. * * @sa @ref window_hide * @sa @ref glfwHideWindow * * @since Added in version 3.0. * * @ingroup window */ GLFWAPI void glfwShowWindow(GLFWwindow* window); /*! @brief Hides the specified window. * * This function hides the specified window if it was previously visible. If * the window is already hidden or is in full screen mode, this function does * nothing. * * @param[in] window The window to hide. * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED and @ref * GLFW_PLATFORM_ERROR. * * @thread_safety This function must only be called from the main thread. * * @sa @ref window_hide * @sa @ref glfwShowWindow * * @since Added in version 3.0. * * @ingroup window */ GLFWAPI void glfwHideWindow(GLFWwindow* window); /*! @brief Brings the specified window to front and sets input focus. * * This function brings the specified window to front and sets input focus. * The window should already be visible and not iconified. * * By default, both windowed and full screen mode windows are focused when * initially created. Set the [GLFW_FOCUSED](@ref GLFW_FOCUSED_hint) to * disable this behavior. * * Also by default, windowed mode windows are focused when shown * with @ref glfwShowWindow. Set the * [GLFW_FOCUS_ON_SHOW](@ref GLFW_FOCUS_ON_SHOW_hint) to disable this behavior. * * __Do not use this function__ to steal focus from other applications unless * you are certain that is what the user wants. Focus stealing can be * extremely disruptive. * * For a less disruptive way of getting the user's attention, see * [attention requests](@ref window_attention). * * @param[in] window The window to give input focus. * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED and @ref * GLFW_PLATFORM_ERROR. * * @remark @wayland It is not possible for an application to bring its windows * to front, this function will always emit @ref GLFW_PLATFORM_ERROR. * * @thread_safety This function must only be called from the main thread. * * @sa @ref window_focus * @sa @ref window_attention * * @since Added in version 3.2. * * @ingroup window */ GLFWAPI void glfwFocusWindow(GLFWwindow* window); /*! @brief Requests user attention to the specified window. * * This function requests user attention to the specified window. On * platforms where this is not supported, attention is requested to the * application as a whole. * * Once the user has given attention, usually by focusing the window or * application, the system will end the request automatically. * * @param[in] window The window to request attention to. * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED and @ref * GLFW_PLATFORM_ERROR. * * @remark @macos Attention is requested to the application as a whole, not the * specific window. * * @thread_safety This function must only be called from the main thread. * * @sa @ref window_attention * * @since Added in version 3.3. * * @ingroup window */ GLFWAPI void glfwRequestWindowAttention(GLFWwindow* window); /*! @brief Returns the monitor that the window uses for full screen mode. * * This function returns the handle of the monitor that the specified window is * in full screen on. * * @param[in] window The window to query. * @return The monitor, or `NULL` if the window is in windowed mode or an * [error](@ref error_handling) occurred. * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED. * * @thread_safety This function must only be called from the main thread. * * @sa @ref window_monitor * @sa @ref glfwSetWindowMonitor * * @since Added in version 3.0. * * @ingroup window */ GLFWAPI GLFWmonitor* glfwGetWindowMonitor(GLFWwindow* window); /*! @brief Sets the mode, monitor, video mode and placement of a window. * * This function sets the monitor that the window uses for full screen mode or, * if the monitor is `NULL`, makes it windowed mode. * * When setting a monitor, this function updates the width, height and refresh * rate of the desired video mode and switches to the video mode closest to it. * The window position is ignored when setting a monitor. * * When the monitor is `NULL`, the position, width and height are used to * place the window content area. The refresh rate is ignored when no monitor * is specified. * * If you only wish to update the resolution of a full screen window or the * size of a windowed mode window, see @ref glfwSetWindowSize. * * When a window transitions from full screen to windowed mode, this function * restores any previous window settings such as whether it is decorated, * floating, resizable, has size or aspect ratio limits, etc. * * @param[in] window The window whose monitor, size or video mode to set. * @param[in] monitor The desired monitor, or `NULL` to set windowed mode. * @param[in] xpos The desired x-coordinate of the upper-left corner of the * content area. * @param[in] ypos The desired y-coordinate of the upper-left corner of the * content area. * @param[in] width The desired with, in screen coordinates, of the content * area or video mode. * @param[in] height The desired height, in screen coordinates, of the content * area or video mode. * @param[in] refreshRate The desired refresh rate, in Hz, of the video mode, * or `GLFW_DONT_CARE`. * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED and @ref * GLFW_PLATFORM_ERROR. * * @remark The OpenGL or OpenGL ES context will not be destroyed or otherwise * affected by any resizing or mode switching, although you may need to update * your viewport if the framebuffer size has changed. * * @remark @wayland The desired window position is ignored, as there is no way * for an application to set this property. * * @remark @wayland Setting the window to full screen will not attempt to * change the mode, no matter what the requested size or refresh rate. * * @thread_safety This function must only be called from the main thread. * * @sa @ref window_monitor * @sa @ref window_full_screen * @sa @ref glfwGetWindowMonitor * @sa @ref glfwSetWindowSize * * @since Added in version 3.2. * * @ingroup window */ GLFWAPI void glfwSetWindowMonitor(GLFWwindow* window, GLFWmonitor* monitor, int xpos, int ypos, int width, int height, int refreshRate); /*! @brief Returns an attribute of the specified window. * * This function returns the value of an attribute of the specified window or * its OpenGL or OpenGL ES context. * * @param[in] window The window to query. * @param[in] attrib The [window attribute](@ref window_attribs) whose value to * return. * @return The value of the attribute, or zero if an * [error](@ref error_handling) occurred. * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED, @ref * GLFW_INVALID_ENUM and @ref GLFW_PLATFORM_ERROR. * * @remark Framebuffer related hints are not window attributes. See @ref * window_attribs_fb for more information. * * @remark Zero is a valid value for many window and context related * attributes so you cannot use a return value of zero as an indication of * errors. However, this function should not fail as long as it is passed * valid arguments and the library has been [initialized](@ref intro_init). * * @thread_safety This function must only be called from the main thread. * * @sa @ref window_attribs * @sa @ref glfwSetWindowAttrib * * @since Added in version 3.0. Replaces `glfwGetWindowParam` and * `glfwGetGLVersion`. * * @ingroup window */ GLFWAPI int glfwGetWindowAttrib(GLFWwindow* window, int attrib); /*! @brief Sets an attribute of the specified window. * * This function sets the value of an attribute of the specified window. * * The supported attributes are [GLFW_DECORATED](@ref GLFW_DECORATED_attrib), * [GLFW_RESIZABLE](@ref GLFW_RESIZABLE_attrib), * [GLFW_FLOATING](@ref GLFW_FLOATING_attrib), * [GLFW_AUTO_ICONIFY](@ref GLFW_AUTO_ICONIFY_attrib) and * [GLFW_FOCUS_ON_SHOW](@ref GLFW_FOCUS_ON_SHOW_attrib). * * Some of these attributes are ignored for full screen windows. The new * value will take effect if the window is later made windowed. * * Some of these attributes are ignored for windowed mode windows. The new * value will take effect if the window is later made full screen. * * @param[in] window The window to set the attribute for. * @param[in] attrib A supported window attribute. * @param[in] value `GLFW_TRUE` or `GLFW_FALSE`. * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED, @ref * GLFW_INVALID_ENUM, @ref GLFW_INVALID_VALUE and @ref GLFW_PLATFORM_ERROR. * * @remark Calling @ref glfwGetWindowAttrib will always return the latest * value, even if that value is ignored by the current mode of the window. * * @thread_safety This function must only be called from the main thread. * * @sa @ref window_attribs * @sa @ref glfwGetWindowAttrib * * @since Added in version 3.3. * * @ingroup window */ GLFWAPI void glfwSetWindowAttrib(GLFWwindow* window, int attrib, int value); /*! @brief Sets the user pointer of the specified window. * * This function sets the user-defined pointer of the specified window. The * current value is retained until the window is destroyed. The initial value * is `NULL`. * * @param[in] window The window whose pointer to set. * @param[in] pointer The new value. * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED. * * @thread_safety This function may be called from any thread. Access is not * synchronized. * * @sa @ref window_userptr * @sa @ref glfwGetWindowUserPointer * * @since Added in version 3.0. * * @ingroup window */ GLFWAPI void glfwSetWindowUserPointer(GLFWwindow* window, void* pointer); /*! @brief Returns the user pointer of the specified window. * * This function returns the current value of the user-defined pointer of the * specified window. The initial value is `NULL`. * * @param[in] window The window whose pointer to return. * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED. * * @thread_safety This function may be called from any thread. Access is not * synchronized. * * @sa @ref window_userptr * @sa @ref glfwSetWindowUserPointer * * @since Added in version 3.0. * * @ingroup window */ GLFWAPI void* glfwGetWindowUserPointer(GLFWwindow* window); /*! @brief Sets the position callback for the specified window. * * This function sets the position callback of the specified window, which is * called when the window is moved. The callback is provided with the * position, in screen coordinates, of the upper-left corner of the content * area of the window. * * @param[in] window The window whose callback to set. * @param[in] callback The new callback, or `NULL` to remove the currently set * callback. * @return The previously set callback, or `NULL` if no callback was set or the * library had not been [initialized](@ref intro_init). * * @callback_signature * @code * void function_name(GLFWwindow* window, int xpos, int ypos) * @endcode * For more information about the callback parameters, see the * [function pointer type](@ref GLFWwindowposfun). * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED. * * @remark @wayland This callback will never be called, as there is no way for * an application to know its global position. * * @thread_safety This function must only be called from the main thread. * * @sa @ref window_pos * * @since Added in version 3.0. * * @ingroup window */ GLFWAPI GLFWwindowposfun glfwSetWindowPosCallback(GLFWwindow* window, GLFWwindowposfun callback); /*! @brief Sets the size callback for the specified window. * * This function sets the size callback of the specified window, which is * called when the window is resized. The callback is provided with the size, * in screen coordinates, of the content area of the window. * * @param[in] window The window whose callback to set. * @param[in] callback The new callback, or `NULL` to remove the currently set * callback. * @return The previously set callback, or `NULL` if no callback was set or the * library had not been [initialized](@ref intro_init). * * @callback_signature * @code * void function_name(GLFWwindow* window, int width, int height) * @endcode * For more information about the callback parameters, see the * [function pointer type](@ref GLFWwindowsizefun). * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED. * * @thread_safety This function must only be called from the main thread. * * @sa @ref window_size * * @since Added in version 1.0. * @glfw3 Added window handle parameter and return value. * * @ingroup window */ GLFWAPI GLFWwindowsizefun glfwSetWindowSizeCallback(GLFWwindow* window, GLFWwindowsizefun callback); /*! @brief Sets the close callback for the specified window. * * This function sets the close callback of the specified window, which is * called when the user attempts to close the window, for example by clicking * the close widget in the title bar. * * The close flag is set before this callback is called, but you can modify it * at any time with @ref glfwSetWindowShouldClose. * * The close callback is not triggered by @ref glfwDestroyWindow. * * @param[in] window The window whose callback to set. * @param[in] callback The new callback, or `NULL` to remove the currently set * callback. * @return The previously set callback, or `NULL` if no callback was set or the * library had not been [initialized](@ref intro_init). * * @callback_signature * @code * void function_name(GLFWwindow* window) * @endcode * For more information about the callback parameters, see the * [function pointer type](@ref GLFWwindowclosefun). * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED. * * @remark @macos Selecting Quit from the application menu will trigger the * close callback for all windows. * * @thread_safety This function must only be called from the main thread. * * @sa @ref window_close * * @since Added in version 2.5. * @glfw3 Added window handle parameter and return value. * * @ingroup window */ GLFWAPI GLFWwindowclosefun glfwSetWindowCloseCallback(GLFWwindow* window, GLFWwindowclosefun callback); /*! @brief Sets the refresh callback for the specified window. * * This function sets the refresh callback of the specified window, which is * called when the content area of the window needs to be redrawn, for example * if the window has been exposed after having been covered by another window. * * On compositing window systems such as Aero, Compiz, Aqua or Wayland, where * the window contents are saved off-screen, this callback may be called only * very infrequently or never at all. * * @param[in] window The window whose callback to set. * @param[in] callback The new callback, or `NULL` to remove the currently set * callback. * @return The previously set callback, or `NULL` if no callback was set or the * library had not been [initialized](@ref intro_init). * * @callback_signature * @code * void function_name(GLFWwindow* window); * @endcode * For more information about the callback parameters, see the * [function pointer type](@ref GLFWwindowrefreshfun). * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED. * * @thread_safety This function must only be called from the main thread. * * @sa @ref window_refresh * * @since Added in version 2.5. * @glfw3 Added window handle parameter and return value. * * @ingroup window */ GLFWAPI GLFWwindowrefreshfun glfwSetWindowRefreshCallback(GLFWwindow* window, GLFWwindowrefreshfun callback); /*! @brief Sets the focus callback for the specified window. * * This function sets the focus callback of the specified window, which is * called when the window gains or loses input focus. * * After the focus callback is called for a window that lost input focus, * synthetic key and mouse button release events will be generated for all such * that had been pressed. For more information, see @ref glfwSetKeyCallback * and @ref glfwSetMouseButtonCallback. * * @param[in] window The window whose callback to set. * @param[in] callback The new callback, or `NULL` to remove the currently set * callback. * @return The previously set callback, or `NULL` if no callback was set or the * library had not been [initialized](@ref intro_init). * * @callback_signature * @code * void function_name(GLFWwindow* window, int focused) * @endcode * For more information about the callback parameters, see the * [function pointer type](@ref GLFWwindowfocusfun). * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED. * * @thread_safety This function must only be called from the main thread. * * @sa @ref window_focus * * @since Added in version 3.0. * * @ingroup window */ GLFWAPI GLFWwindowfocusfun glfwSetWindowFocusCallback(GLFWwindow* window, GLFWwindowfocusfun callback); /*! @brief Sets the iconify callback for the specified window. * * This function sets the iconification callback of the specified window, which * is called when the window is iconified or restored. * * @param[in] window The window whose callback to set. * @param[in] callback The new callback, or `NULL` to remove the currently set * callback. * @return The previously set callback, or `NULL` if no callback was set or the * library had not been [initialized](@ref intro_init). * * @callback_signature * @code * void function_name(GLFWwindow* window, int iconified) * @endcode * For more information about the callback parameters, see the * [function pointer type](@ref GLFWwindowiconifyfun). * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED. * * @remark @wayland The wl_shell protocol has no concept of iconification, * this callback will never be called when using this deprecated protocol. * * @thread_safety This function must only be called from the main thread. * * @sa @ref window_iconify * * @since Added in version 3.0. * * @ingroup window */ GLFWAPI GLFWwindowiconifyfun glfwSetWindowIconifyCallback(GLFWwindow* window, GLFWwindowiconifyfun callback); /*! @brief Sets the maximize callback for the specified window. * * This function sets the maximization callback of the specified window, which * is called when the window is maximized or restored. * * @param[in] window The window whose callback to set. * @param[in] callback The new callback, or `NULL` to remove the currently set * callback. * @return The previously set callback, or `NULL` if no callback was set or the * library had not been [initialized](@ref intro_init). * * @callback_signature * @code * void function_name(GLFWwindow* window, int maximized) * @endcode * For more information about the callback parameters, see the * [function pointer type](@ref GLFWwindowmaximizefun). * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED. * * @thread_safety This function must only be called from the main thread. * * @sa @ref window_maximize * * @since Added in version 3.3. * * @ingroup window */ GLFWAPI GLFWwindowmaximizefun glfwSetWindowMaximizeCallback(GLFWwindow* window, GLFWwindowmaximizefun callback); /*! @brief Sets the framebuffer resize callback for the specified window. * * This function sets the framebuffer resize callback of the specified window, * which is called when the framebuffer of the specified window is resized. * * @param[in] window The window whose callback to set. * @param[in] callback The new callback, or `NULL` to remove the currently set * callback. * @return The previously set callback, or `NULL` if no callback was set or the * library had not been [initialized](@ref intro_init). * * @callback_signature * @code * void function_name(GLFWwindow* window, int width, int height) * @endcode * For more information about the callback parameters, see the * [function pointer type](@ref GLFWframebuffersizefun). * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED. * * @thread_safety This function must only be called from the main thread. * * @sa @ref window_fbsize * * @since Added in version 3.0. * * @ingroup window */ GLFWAPI GLFWframebuffersizefun glfwSetFramebufferSizeCallback(GLFWwindow* window, GLFWframebuffersizefun callback); /*! @brief Sets the window content scale callback for the specified window. * * This function sets the window content scale callback of the specified window, * which is called when the content scale of the specified window changes. * * @param[in] window The window whose callback to set. * @param[in] callback The new callback, or `NULL` to remove the currently set * callback. * @return The previously set callback, or `NULL` if no callback was set or the * library had not been [initialized](@ref intro_init). * * @callback_signature * @code * void function_name(GLFWwindow* window, float xscale, float yscale) * @endcode * For more information about the callback parameters, see the * [function pointer type](@ref GLFWwindowcontentscalefun). * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED. * * @thread_safety This function must only be called from the main thread. * * @sa @ref window_scale * @sa @ref glfwGetWindowContentScale * * @since Added in version 3.3. * * @ingroup window */ GLFWAPI GLFWwindowcontentscalefun glfwSetWindowContentScaleCallback(GLFWwindow* window, GLFWwindowcontentscalefun callback); /*! @brief Processes all pending events. * * This function processes only those events that are already in the event * queue and then returns immediately. Processing events will cause the window * and input callbacks associated with those events to be called. * * On some platforms, a window move, resize or menu operation will cause event * processing to block. This is due to how event processing is designed on * those platforms. You can use the * [window refresh callback](@ref window_refresh) to redraw the contents of * your window when necessary during such operations. * * Do not assume that callbacks you set will _only_ be called in response to * event processing functions like this one. While it is necessary to poll for * events, window systems that require GLFW to register callbacks of its own * can pass events to GLFW in response to many window system function calls. * GLFW will pass those events on to the application callbacks before * returning. * * Event processing is not required for joystick input to work. * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED and @ref * GLFW_PLATFORM_ERROR. * * @reentrancy This function must not be called from a callback. * * @thread_safety This function must only be called from the main thread. * * @sa @ref events * @sa @ref glfwWaitEvents * @sa @ref glfwWaitEventsTimeout * * @since Added in version 1.0. * * @ingroup window */ GLFWAPI void glfwPollEvents(void); /*! @brief Waits until events are queued and processes them. * * This function puts the calling thread to sleep until at least one event is * available in the event queue. Once one or more events are available, * it behaves exactly like @ref glfwPollEvents, i.e. the events in the queue * are processed and the function then returns immediately. Processing events * will cause the window and input callbacks associated with those events to be * called. * * Since not all events are associated with callbacks, this function may return * without a callback having been called even if you are monitoring all * callbacks. * * On some platforms, a window move, resize or menu operation will cause event * processing to block. This is due to how event processing is designed on * those platforms. You can use the * [window refresh callback](@ref window_refresh) to redraw the contents of * your window when necessary during such operations. * * Do not assume that callbacks you set will _only_ be called in response to * event processing functions like this one. While it is necessary to poll for * events, window systems that require GLFW to register callbacks of its own * can pass events to GLFW in response to many window system function calls. * GLFW will pass those events on to the application callbacks before * returning. * * Event processing is not required for joystick input to work. * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED and @ref * GLFW_PLATFORM_ERROR. * * @reentrancy This function must not be called from a callback. * * @thread_safety This function must only be called from the main thread. * * @sa @ref events * @sa @ref glfwPollEvents * @sa @ref glfwWaitEventsTimeout * * @since Added in version 2.5. * * @ingroup window */ GLFWAPI void glfwWaitEvents(void); /*! @brief Waits with timeout until events are queued and processes them. * * This function puts the calling thread to sleep until at least one event is * available in the event queue, or until the specified timeout is reached. If * one or more events are available, it behaves exactly like @ref * glfwPollEvents, i.e. the events in the queue are processed and the function * then returns immediately. Processing events will cause the window and input * callbacks associated with those events to be called. * * The timeout value must be a positive finite number. * * Since not all events are associated with callbacks, this function may return * without a callback having been called even if you are monitoring all * callbacks. * * On some platforms, a window move, resize or menu operation will cause event * processing to block. This is due to how event processing is designed on * those platforms. You can use the * [window refresh callback](@ref window_refresh) to redraw the contents of * your window when necessary during such operations. * * Do not assume that callbacks you set will _only_ be called in response to * event processing functions like this one. While it is necessary to poll for * events, window systems that require GLFW to register callbacks of its own * can pass events to GLFW in response to many window system function calls. * GLFW will pass those events on to the application callbacks before * returning. * * Event processing is not required for joystick input to work. * * @param[in] timeout The maximum amount of time, in seconds, to wait. * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED, @ref * GLFW_INVALID_VALUE and @ref GLFW_PLATFORM_ERROR. * * @reentrancy This function must not be called from a callback. * * @thread_safety This function must only be called from the main thread. * * @sa @ref events * @sa @ref glfwPollEvents * @sa @ref glfwWaitEvents * * @since Added in version 3.2. * * @ingroup window */ GLFWAPI void glfwWaitEventsTimeout(double timeout); /*! @brief Posts an empty event to the event queue. * * This function posts an empty event from the current thread to the event * queue, causing @ref glfwWaitEvents or @ref glfwWaitEventsTimeout to return. * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED and @ref * GLFW_PLATFORM_ERROR. * * @thread_safety This function may be called from any thread. * * @sa @ref events * @sa @ref glfwWaitEvents * @sa @ref glfwWaitEventsTimeout * * @since Added in version 3.1. * * @ingroup window */ GLFWAPI void glfwPostEmptyEvent(void); /*! @brief Returns the value of an input option for the specified window. * * This function returns the value of an input option for the specified window. * The mode must be one of @ref GLFW_CURSOR, @ref GLFW_STICKY_KEYS, * @ref GLFW_STICKY_MOUSE_BUTTONS, @ref GLFW_LOCK_KEY_MODS or * @ref GLFW_RAW_MOUSE_MOTION. * * @param[in] window The window to query. * @param[in] mode One of `GLFW_CURSOR`, `GLFW_STICKY_KEYS`, * `GLFW_STICKY_MOUSE_BUTTONS`, `GLFW_LOCK_KEY_MODS` or * `GLFW_RAW_MOUSE_MOTION`. * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED and @ref * GLFW_INVALID_ENUM. * * @thread_safety This function must only be called from the main thread. * * @sa @ref glfwSetInputMode * * @since Added in version 3.0. * * @ingroup input */ GLFWAPI int glfwGetInputMode(GLFWwindow* window, int mode); /*! @brief Sets an input option for the specified window. * * This function sets an input mode option for the specified window. The mode * must be one of @ref GLFW_CURSOR, @ref GLFW_STICKY_KEYS, * @ref GLFW_STICKY_MOUSE_BUTTONS, @ref GLFW_LOCK_KEY_MODS or * @ref GLFW_RAW_MOUSE_MOTION. * * If the mode is `GLFW_CURSOR`, the value must be one of the following cursor * modes: * - `GLFW_CURSOR_NORMAL` makes the cursor visible and behaving normally. * - `GLFW_CURSOR_HIDDEN` makes the cursor invisible when it is over the * content area of the window but does not restrict the cursor from leaving. * - `GLFW_CURSOR_DISABLED` hides and grabs the cursor, providing virtual * and unlimited cursor movement. This is useful for implementing for * example 3D camera controls. * * If the mode is `GLFW_STICKY_KEYS`, the value must be either `GLFW_TRUE` to * enable sticky keys, or `GLFW_FALSE` to disable it. If sticky keys are * enabled, a key press will ensure that @ref glfwGetKey returns `GLFW_PRESS` * the next time it is called even if the key had been released before the * call. This is useful when you are only interested in whether keys have been * pressed but not when or in which order. * * If the mode is `GLFW_STICKY_MOUSE_BUTTONS`, the value must be either * `GLFW_TRUE` to enable sticky mouse buttons, or `GLFW_FALSE` to disable it. * If sticky mouse buttons are enabled, a mouse button press will ensure that * @ref glfwGetMouseButton returns `GLFW_PRESS` the next time it is called even * if the mouse button had been released before the call. This is useful when * you are only interested in whether mouse buttons have been pressed but not * when or in which order. * * If the mode is `GLFW_LOCK_KEY_MODS`, the value must be either `GLFW_TRUE` to * enable lock key modifier bits, or `GLFW_FALSE` to disable them. If enabled, * callbacks that receive modifier bits will also have the @ref * GLFW_MOD_CAPS_LOCK bit set when the event was generated with Caps Lock on, * and the @ref GLFW_MOD_NUM_LOCK bit when Num Lock was on. * * If the mode is `GLFW_RAW_MOUSE_MOTION`, the value must be either `GLFW_TRUE` * to enable raw (unscaled and unaccelerated) mouse motion when the cursor is * disabled, or `GLFW_FALSE` to disable it. If raw motion is not supported, * attempting to set this will emit @ref GLFW_PLATFORM_ERROR. Call @ref * glfwRawMouseMotionSupported to check for support. * * @param[in] window The window whose input mode to set. * @param[in] mode One of `GLFW_CURSOR`, `GLFW_STICKY_KEYS`, * `GLFW_STICKY_MOUSE_BUTTONS`, `GLFW_LOCK_KEY_MODS` or * `GLFW_RAW_MOUSE_MOTION`. * @param[in] value The new value of the specified input mode. * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED, @ref * GLFW_INVALID_ENUM and @ref GLFW_PLATFORM_ERROR. * * @thread_safety This function must only be called from the main thread. * * @sa @ref glfwGetInputMode * * @since Added in version 3.0. Replaces `glfwEnable` and `glfwDisable`. * * @ingroup input */ GLFWAPI void glfwSetInputMode(GLFWwindow* window, int mode, int value); /*! @brief Returns whether raw mouse motion is supported. * * This function returns whether raw mouse motion is supported on the current * system. This status does not change after GLFW has been initialized so you * only need to check this once. If you attempt to enable raw motion on * a system that does not support it, @ref GLFW_PLATFORM_ERROR will be emitted. * * Raw mouse motion is closer to the actual motion of the mouse across * a surface. It is not affected by the scaling and acceleration applied to * the motion of the desktop cursor. That processing is suitable for a cursor * while raw motion is better for controlling for example a 3D camera. Because * of this, raw mouse motion is only provided when the cursor is disabled. * * @return `GLFW_TRUE` if raw mouse motion is supported on the current machine, * or `GLFW_FALSE` otherwise. * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED. * * @thread_safety This function must only be called from the main thread. * * @sa @ref raw_mouse_motion * @sa @ref glfwSetInputMode * * @since Added in version 3.3. * * @ingroup input */ GLFWAPI int glfwRawMouseMotionSupported(void); /*! @brief Returns the layout-specific name of the specified printable key. * * This function returns the name of the specified printable key, encoded as * UTF-8. This is typically the character that key would produce without any * modifier keys, intended for displaying key bindings to the user. For dead * keys, it is typically the diacritic it would add to a character. * * __Do not use this function__ for [text input](@ref input_char). You will * break text input for many languages even if it happens to work for yours. * * If the key is `GLFW_KEY_UNKNOWN`, the scancode is used to identify the key, * otherwise the scancode is ignored. If you specify a non-printable key, or * `GLFW_KEY_UNKNOWN` and a scancode that maps to a non-printable key, this * function returns `NULL` but does not emit an error. * * This behavior allows you to always pass in the arguments in the * [key callback](@ref input_key) without modification. * * The printable keys are: * - `GLFW_KEY_APOSTROPHE` * - `GLFW_KEY_COMMA` * - `GLFW_KEY_MINUS` * - `GLFW_KEY_PERIOD` * - `GLFW_KEY_SLASH` * - `GLFW_KEY_SEMICOLON` * - `GLFW_KEY_EQUAL` * - `GLFW_KEY_LEFT_BRACKET` * - `GLFW_KEY_RIGHT_BRACKET` * - `GLFW_KEY_BACKSLASH` * - `GLFW_KEY_WORLD_1` * - `GLFW_KEY_WORLD_2` * - `GLFW_KEY_0` to `GLFW_KEY_9` * - `GLFW_KEY_A` to `GLFW_KEY_Z` * - `GLFW_KEY_KP_0` to `GLFW_KEY_KP_9` * - `GLFW_KEY_KP_DECIMAL` * - `GLFW_KEY_KP_DIVIDE` * - `GLFW_KEY_KP_MULTIPLY` * - `GLFW_KEY_KP_SUBTRACT` * - `GLFW_KEY_KP_ADD` * - `GLFW_KEY_KP_EQUAL` * * Names for printable keys depend on keyboard layout, while names for * non-printable keys are the same across layouts but depend on the application * language and should be localized along with other user interface text. * * @param[in] key The key to query, or `GLFW_KEY_UNKNOWN`. * @param[in] scancode The scancode of the key to query. * @return The UTF-8 encoded, layout-specific name of the key, or `NULL`. * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED and @ref * GLFW_PLATFORM_ERROR. * * @remark The contents of the returned string may change when a keyboard * layout change event is received. * * @pointer_lifetime The returned string is allocated and freed by GLFW. You * should not free it yourself. It is valid until the library is terminated. * * @thread_safety This function must only be called from the main thread. * * @sa @ref input_key_name * * @since Added in version 3.2. * * @ingroup input */ GLFWAPI const char* glfwGetKeyName(int key, int scancode); /*! @brief Returns the platform-specific scancode of the specified key. * * This function returns the platform-specific scancode of the specified key. * * If the key is `GLFW_KEY_UNKNOWN` or does not exist on the keyboard this * method will return `-1`. * * @param[in] key Any [named key](@ref keys). * @return The platform-specific scancode for the key, or `-1` if an * [error](@ref error_handling) occurred. * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED, @ref * GLFW_INVALID_ENUM and @ref GLFW_PLATFORM_ERROR. * * @thread_safety This function may be called from any thread. * * @sa @ref input_key * * @since Added in version 3.3. * * @ingroup input */ GLFWAPI int glfwGetKeyScancode(int key); /*! @brief Returns the last reported state of a keyboard key for the specified * window. * * This function returns the last state reported for the specified key to the * specified window. The returned state is one of `GLFW_PRESS` or * `GLFW_RELEASE`. The higher-level action `GLFW_REPEAT` is only reported to * the key callback. * * If the @ref GLFW_STICKY_KEYS input mode is enabled, this function returns * `GLFW_PRESS` the first time you call it for a key that was pressed, even if * that key has already been released. * * The key functions deal with physical keys, with [key tokens](@ref keys) * named after their use on the standard US keyboard layout. If you want to * input text, use the Unicode character callback instead. * * The [modifier key bit masks](@ref mods) are not key tokens and cannot be * used with this function. * * __Do not use this function__ to implement [text input](@ref input_char). * * @param[in] window The desired window. * @param[in] key The desired [keyboard key](@ref keys). `GLFW_KEY_UNKNOWN` is * not a valid key for this function. * @return One of `GLFW_PRESS` or `GLFW_RELEASE`. * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED and @ref * GLFW_INVALID_ENUM. * * @thread_safety This function must only be called from the main thread. * * @sa @ref input_key * * @since Added in version 1.0. * @glfw3 Added window handle parameter. * * @ingroup input */ GLFWAPI int glfwGetKey(GLFWwindow* window, int key); /*! @brief Returns the last reported state of a mouse button for the specified * window. * * This function returns the last state reported for the specified mouse button * to the specified window. The returned state is one of `GLFW_PRESS` or * `GLFW_RELEASE`. * * If the @ref GLFW_STICKY_MOUSE_BUTTONS input mode is enabled, this function * returns `GLFW_PRESS` the first time you call it for a mouse button that was * pressed, even if that mouse button has already been released. * * @param[in] window The desired window. * @param[in] button The desired [mouse button](@ref buttons). * @return One of `GLFW_PRESS` or `GLFW_RELEASE`. * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED and @ref * GLFW_INVALID_ENUM. * * @thread_safety This function must only be called from the main thread. * * @sa @ref input_mouse_button * * @since Added in version 1.0. * @glfw3 Added window handle parameter. * * @ingroup input */ GLFWAPI int glfwGetMouseButton(GLFWwindow* window, int button); /*! @brief Retrieves the position of the cursor relative to the content area of * the window. * * This function returns the position of the cursor, in screen coordinates, * relative to the upper-left corner of the content area of the specified * window. * * If the cursor is disabled (with `GLFW_CURSOR_DISABLED`) then the cursor * position is unbounded and limited only by the minimum and maximum values of * a `double`. * * The coordinate can be converted to their integer equivalents with the * `floor` function. Casting directly to an integer type works for positive * coordinates, but fails for negative ones. * * Any or all of the position arguments may be `NULL`. If an error occurs, all * non-`NULL` position arguments will be set to zero. * * @param[in] window The desired window. * @param[out] xpos Where to store the cursor x-coordinate, relative to the * left edge of the content area, or `NULL`. * @param[out] ypos Where to store the cursor y-coordinate, relative to the to * top edge of the content area, or `NULL`. * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED and @ref * GLFW_PLATFORM_ERROR. * * @thread_safety This function must only be called from the main thread. * * @sa @ref cursor_pos * @sa @ref glfwSetCursorPos * * @since Added in version 3.0. Replaces `glfwGetMousePos`. * * @ingroup input */ GLFWAPI void glfwGetCursorPos(GLFWwindow* window, double* xpos, double* ypos); /*! @brief Sets the position of the cursor, relative to the content area of the * window. * * This function sets the position, in screen coordinates, of the cursor * relative to the upper-left corner of the content area of the specified * window. The window must have input focus. If the window does not have * input focus when this function is called, it fails silently. * * __Do not use this function__ to implement things like camera controls. GLFW * already provides the `GLFW_CURSOR_DISABLED` cursor mode that hides the * cursor, transparently re-centers it and provides unconstrained cursor * motion. See @ref glfwSetInputMode for more information. * * If the cursor mode is `GLFW_CURSOR_DISABLED` then the cursor position is * unconstrained and limited only by the minimum and maximum values of * a `double`. * * @param[in] window The desired window. * @param[in] xpos The desired x-coordinate, relative to the left edge of the * content area. * @param[in] ypos The desired y-coordinate, relative to the top edge of the * content area. * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED and @ref * GLFW_PLATFORM_ERROR. * * @remark @wayland This function will only work when the cursor mode is * `GLFW_CURSOR_DISABLED`, otherwise it will do nothing. * * @thread_safety This function must only be called from the main thread. * * @sa @ref cursor_pos * @sa @ref glfwGetCursorPos * * @since Added in version 3.0. Replaces `glfwSetMousePos`. * * @ingroup input */ GLFWAPI void glfwSetCursorPos(GLFWwindow* window, double xpos, double ypos); /*! @brief Creates a custom cursor. * * Creates a new custom cursor image that can be set for a window with @ref * glfwSetCursor. The cursor can be destroyed with @ref glfwDestroyCursor. * Any remaining cursors are destroyed by @ref glfwTerminate. * * The pixels are 32-bit, little-endian, non-premultiplied RGBA, i.e. eight * bits per channel with the red channel first. They are arranged canonically * as packed sequential rows, starting from the top-left corner. * * The cursor hotspot is specified in pixels, relative to the upper-left corner * of the cursor image. Like all other coordinate systems in GLFW, the X-axis * points to the right and the Y-axis points down. * * @param[in] image The desired cursor image. * @param[in] xhot The desired x-coordinate, in pixels, of the cursor hotspot. * @param[in] yhot The desired y-coordinate, in pixels, of the cursor hotspot. * @return The handle of the created cursor, or `NULL` if an * [error](@ref error_handling) occurred. * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED and @ref * GLFW_PLATFORM_ERROR. * * @pointer_lifetime The specified image data is copied before this function * returns. * * @thread_safety This function must only be called from the main thread. * * @sa @ref cursor_object * @sa @ref glfwDestroyCursor * @sa @ref glfwCreateStandardCursor * * @since Added in version 3.1. * * @ingroup input */ GLFWAPI GLFWcursor* glfwCreateCursor(const GLFWimage* image, int xhot, int yhot); /*! @brief Creates a cursor with a standard shape. * * Returns a cursor with a [standard shape](@ref shapes), that can be set for * a window with @ref glfwSetCursor. * * @param[in] shape One of the [standard shapes](@ref shapes). * @return A new cursor ready to use or `NULL` if an * [error](@ref error_handling) occurred. * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED, @ref * GLFW_INVALID_ENUM and @ref GLFW_PLATFORM_ERROR. * * @thread_safety This function must only be called from the main thread. * * @sa @ref cursor_object * @sa @ref glfwCreateCursor * * @since Added in version 3.1. * * @ingroup input */ GLFWAPI GLFWcursor* glfwCreateStandardCursor(int shape); /*! @brief Destroys a cursor. * * This function destroys a cursor previously created with @ref * glfwCreateCursor. Any remaining cursors will be destroyed by @ref * glfwTerminate. * * If the specified cursor is current for any window, that window will be * reverted to the default cursor. This does not affect the cursor mode. * * @param[in] cursor The cursor object to destroy. * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED and @ref * GLFW_PLATFORM_ERROR. * * @reentrancy This function must not be called from a callback. * * @thread_safety This function must only be called from the main thread. * * @sa @ref cursor_object * @sa @ref glfwCreateCursor * * @since Added in version 3.1. * * @ingroup input */ GLFWAPI void glfwDestroyCursor(GLFWcursor* cursor); /*! @brief Sets the cursor for the window. * * This function sets the cursor image to be used when the cursor is over the * content area of the specified window. The set cursor will only be visible * when the [cursor mode](@ref cursor_mode) of the window is * `GLFW_CURSOR_NORMAL`. * * On some platforms, the set cursor may not be visible unless the window also * has input focus. * * @param[in] window The window to set the cursor for. * @param[in] cursor The cursor to set, or `NULL` to switch back to the default * arrow cursor. * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED and @ref * GLFW_PLATFORM_ERROR. * * @thread_safety This function must only be called from the main thread. * * @sa @ref cursor_object * * @since Added in version 3.1. * * @ingroup input */ GLFWAPI void glfwSetCursor(GLFWwindow* window, GLFWcursor* cursor); /*! @brief Sets the key callback. * * This function sets the key callback of the specified window, which is called * when a key is pressed, repeated or released. * * The key functions deal with physical keys, with layout independent * [key tokens](@ref keys) named after their values in the standard US keyboard * layout. If you want to input text, use the * [character callback](@ref glfwSetCharCallback) instead. * * When a window loses input focus, it will generate synthetic key release * events for all pressed keys. You can tell these events from user-generated * events by the fact that the synthetic ones are generated after the focus * loss event has been processed, i.e. after the * [window focus callback](@ref glfwSetWindowFocusCallback) has been called. * * The scancode of a key is specific to that platform or sometimes even to that * machine. Scancodes are intended to allow users to bind keys that don't have * a GLFW key token. Such keys have `key` set to `GLFW_KEY_UNKNOWN`, their * state is not saved and so it cannot be queried with @ref glfwGetKey. * * Sometimes GLFW needs to generate synthetic key events, in which case the * scancode may be zero. * * @param[in] window The window whose callback to set. * @param[in] callback The new key callback, or `NULL` to remove the currently * set callback. * @return The previously set callback, or `NULL` if no callback was set or the * library had not been [initialized](@ref intro_init). * * @callback_signature * @code * void function_name(GLFWwindow* window, int key, int scancode, int action, int mods) * @endcode * For more information about the callback parameters, see the * [function pointer type](@ref GLFWkeyfun). * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED. * * @thread_safety This function must only be called from the main thread. * * @sa @ref input_key * * @since Added in version 1.0. * @glfw3 Added window handle parameter and return value. * * @ingroup input */ GLFWAPI GLFWkeyfun glfwSetKeyCallback(GLFWwindow* window, GLFWkeyfun callback); /*! @brief Sets the Unicode character callback. * * This function sets the character callback of the specified window, which is * called when a Unicode character is input. * * The character callback is intended for Unicode text input. As it deals with * characters, it is keyboard layout dependent, whereas the * [key callback](@ref glfwSetKeyCallback) is not. Characters do not map 1:1 * to physical keys, as a key may produce zero, one or more characters. If you * want to know whether a specific physical key was pressed or released, see * the key callback instead. * * The character callback behaves as system text input normally does and will * not be called if modifier keys are held down that would prevent normal text * input on that platform, for example a Super (Command) key on macOS or Alt key * on Windows. * * @param[in] window The window whose callback to set. * @param[in] callback The new callback, or `NULL` to remove the currently set * callback. * @return The previously set callback, or `NULL` if no callback was set or the * library had not been [initialized](@ref intro_init). * * @callback_signature * @code * void function_name(GLFWwindow* window, unsigned int codepoint) * @endcode * For more information about the callback parameters, see the * [function pointer type](@ref GLFWcharfun). * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED. * * @thread_safety This function must only be called from the main thread. * * @sa @ref input_char * * @since Added in version 2.4. * @glfw3 Added window handle parameter and return value. * * @ingroup input */ GLFWAPI GLFWcharfun glfwSetCharCallback(GLFWwindow* window, GLFWcharfun callback); /*! @brief Sets the Unicode character with modifiers callback. * * This function sets the character with modifiers callback of the specified * window, which is called when a Unicode character is input regardless of what * modifier keys are used. * * The character with modifiers callback is intended for implementing custom * Unicode character input. For regular Unicode text input, see the * [character callback](@ref glfwSetCharCallback). Like the character * callback, the character with modifiers callback deals with characters and is * keyboard layout dependent. Characters do not map 1:1 to physical keys, as * a key may produce zero, one or more characters. If you want to know whether * a specific physical key was pressed or released, see the * [key callback](@ref glfwSetKeyCallback) instead. * * @param[in] window The window whose callback to set. * @param[in] callback The new callback, or `NULL` to remove the currently set * callback. * @return The previously set callback, or `NULL` if no callback was set or an * [error](@ref error_handling) occurred. * * @callback_signature * @code * void function_name(GLFWwindow* window, unsigned int codepoint, int mods) * @endcode * For more information about the callback parameters, see the * [function pointer type](@ref GLFWcharmodsfun). * * @deprecated Scheduled for removal in version 4.0. * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED. * * @thread_safety This function must only be called from the main thread. * * @sa @ref input_char * * @since Added in version 3.1. * * @ingroup input */ GLFWAPI GLFWcharmodsfun glfwSetCharModsCallback(GLFWwindow* window, GLFWcharmodsfun callback); /*! @brief Sets the mouse button callback. * * This function sets the mouse button callback of the specified window, which * is called when a mouse button is pressed or released. * * When a window loses input focus, it will generate synthetic mouse button * release events for all pressed mouse buttons. You can tell these events * from user-generated events by the fact that the synthetic ones are generated * after the focus loss event has been processed, i.e. after the * [window focus callback](@ref glfwSetWindowFocusCallback) has been called. * * @param[in] window The window whose callback to set. * @param[in] callback The new callback, or `NULL` to remove the currently set * callback. * @return The previously set callback, or `NULL` if no callback was set or the * library had not been [initialized](@ref intro_init). * * @callback_signature * @code * void function_name(GLFWwindow* window, int button, int action, int mods) * @endcode * For more information about the callback parameters, see the * [function pointer type](@ref GLFWmousebuttonfun). * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED. * * @thread_safety This function must only be called from the main thread. * * @sa @ref input_mouse_button * * @since Added in version 1.0. * @glfw3 Added window handle parameter and return value. * * @ingroup input */ GLFWAPI GLFWmousebuttonfun glfwSetMouseButtonCallback(GLFWwindow* window, GLFWmousebuttonfun callback); /*! @brief Sets the cursor position callback. * * This function sets the cursor position callback of the specified window, * which is called when the cursor is moved. The callback is provided with the * position, in screen coordinates, relative to the upper-left corner of the * content area of the window. * * @param[in] window The window whose callback to set. * @param[in] callback The new callback, or `NULL` to remove the currently set * callback. * @return The previously set callback, or `NULL` if no callback was set or the * library had not been [initialized](@ref intro_init). * * @callback_signature * @code * void function_name(GLFWwindow* window, double xpos, double ypos); * @endcode * For more information about the callback parameters, see the * [function pointer type](@ref GLFWcursorposfun). * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED. * * @thread_safety This function must only be called from the main thread. * * @sa @ref cursor_pos * * @since Added in version 3.0. Replaces `glfwSetMousePosCallback`. * * @ingroup input */ GLFWAPI GLFWcursorposfun glfwSetCursorPosCallback(GLFWwindow* window, GLFWcursorposfun callback); /*! @brief Sets the cursor enter/leave callback. * * This function sets the cursor boundary crossing callback of the specified * window, which is called when the cursor enters or leaves the content area of * the window. * * @param[in] window The window whose callback to set. * @param[in] callback The new callback, or `NULL` to remove the currently set * callback. * @return The previously set callback, or `NULL` if no callback was set or the * library had not been [initialized](@ref intro_init). * * @callback_signature * @code * void function_name(GLFWwindow* window, int entered) * @endcode * For more information about the callback parameters, see the * [function pointer type](@ref GLFWcursorenterfun). * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED. * * @thread_safety This function must only be called from the main thread. * * @sa @ref cursor_enter * * @since Added in version 3.0. * * @ingroup input */ GLFWAPI GLFWcursorenterfun glfwSetCursorEnterCallback(GLFWwindow* window, GLFWcursorenterfun callback); /*! @brief Sets the scroll callback. * * This function sets the scroll callback of the specified window, which is * called when a scrolling device is used, such as a mouse wheel or scrolling * area of a touchpad. * * The scroll callback receives all scrolling input, like that from a mouse * wheel or a touchpad scrolling area. * * @param[in] window The window whose callback to set. * @param[in] callback The new scroll callback, or `NULL` to remove the * currently set callback. * @return The previously set callback, or `NULL` if no callback was set or the * library had not been [initialized](@ref intro_init). * * @callback_signature * @code * void function_name(GLFWwindow* window, double xoffset, double yoffset) * @endcode * For more information about the callback parameters, see the * [function pointer type](@ref GLFWscrollfun). * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED. * * @thread_safety This function must only be called from the main thread. * * @sa @ref scrolling * * @since Added in version 3.0. Replaces `glfwSetMouseWheelCallback`. * * @ingroup input */ GLFWAPI GLFWscrollfun glfwSetScrollCallback(GLFWwindow* window, GLFWscrollfun callback); /*! @brief Sets the path drop callback. * * This function sets the path drop callback of the specified window, which is * called when one or more dragged paths are dropped on the window. * * Because the path array and its strings may have been generated specifically * for that event, they are not guaranteed to be valid after the callback has * returned. If you wish to use them after the callback returns, you need to * make a deep copy. * * @param[in] window The window whose callback to set. * @param[in] callback The new file drop callback, or `NULL` to remove the * currently set callback. * @return The previously set callback, or `NULL` if no callback was set or the * library had not been [initialized](@ref intro_init). * * @callback_signature * @code * void function_name(GLFWwindow* window, int path_count, const char* paths[]) * @endcode * For more information about the callback parameters, see the * [function pointer type](@ref GLFWdropfun). * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED. * * @remark @wayland File drop is currently unimplemented. * * @thread_safety This function must only be called from the main thread. * * @sa @ref path_drop * * @since Added in version 3.1. * * @ingroup input */ GLFWAPI GLFWdropfun glfwSetDropCallback(GLFWwindow* window, GLFWdropfun callback); /*! @brief Returns whether the specified joystick is present. * * This function returns whether the specified joystick is present. * * There is no need to call this function before other functions that accept * a joystick ID, as they all check for presence before performing any other * work. * * @param[in] jid The [joystick](@ref joysticks) to query. * @return `GLFW_TRUE` if the joystick is present, or `GLFW_FALSE` otherwise. * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED, @ref * GLFW_INVALID_ENUM and @ref GLFW_PLATFORM_ERROR. * * @thread_safety This function must only be called from the main thread. * * @sa @ref joystick * * @since Added in version 3.0. Replaces `glfwGetJoystickParam`. * * @ingroup input */ GLFWAPI int glfwJoystickPresent(int jid); /*! @brief Returns the values of all axes of the specified joystick. * * This function returns the values of all axes of the specified joystick. * Each element in the array is a value between -1.0 and 1.0. * * If the specified joystick is not present this function will return `NULL` * but will not generate an error. This can be used instead of first calling * @ref glfwJoystickPresent. * * @param[in] jid The [joystick](@ref joysticks) to query. * @param[out] count Where to store the number of axis values in the returned * array. This is set to zero if the joystick is not present or an error * occurred. * @return An array of axis values, or `NULL` if the joystick is not present or * an [error](@ref error_handling) occurred. * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED, @ref * GLFW_INVALID_ENUM and @ref GLFW_PLATFORM_ERROR. * * @pointer_lifetime The returned array is allocated and freed by GLFW. You * should not free it yourself. It is valid until the specified joystick is * disconnected or the library is terminated. * * @thread_safety This function must only be called from the main thread. * * @sa @ref joystick_axis * * @since Added in version 3.0. Replaces `glfwGetJoystickPos`. * * @ingroup input */ GLFWAPI const float* glfwGetJoystickAxes(int jid, int* count); /*! @brief Returns the state of all buttons of the specified joystick. * * This function returns the state of all buttons of the specified joystick. * Each element in the array is either `GLFW_PRESS` or `GLFW_RELEASE`. * * For backward compatibility with earlier versions that did not have @ref * glfwGetJoystickHats, the button array also includes all hats, each * represented as four buttons. The hats are in the same order as returned by * __glfwGetJoystickHats__ and are in the order _up_, _right_, _down_ and * _left_. To disable these extra buttons, set the @ref * GLFW_JOYSTICK_HAT_BUTTONS init hint before initialization. * * If the specified joystick is not present this function will return `NULL` * but will not generate an error. This can be used instead of first calling * @ref glfwJoystickPresent. * * @param[in] jid The [joystick](@ref joysticks) to query. * @param[out] count Where to store the number of button states in the returned * array. This is set to zero if the joystick is not present or an error * occurred. * @return An array of button states, or `NULL` if the joystick is not present * or an [error](@ref error_handling) occurred. * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED, @ref * GLFW_INVALID_ENUM and @ref GLFW_PLATFORM_ERROR. * * @pointer_lifetime The returned array is allocated and freed by GLFW. You * should not free it yourself. It is valid until the specified joystick is * disconnected or the library is terminated. * * @thread_safety This function must only be called from the main thread. * * @sa @ref joystick_button * * @since Added in version 2.2. * @glfw3 Changed to return a dynamic array. * * @ingroup input */ GLFWAPI const unsigned char* glfwGetJoystickButtons(int jid, int* count); /*! @brief Returns the state of all hats of the specified joystick. * * This function returns the state of all hats of the specified joystick. * Each element in the array is one of the following values: * * Name | Value * ---- | ----- * `GLFW_HAT_CENTERED` | 0 * `GLFW_HAT_UP` | 1 * `GLFW_HAT_RIGHT` | 2 * `GLFW_HAT_DOWN` | 4 * `GLFW_HAT_LEFT` | 8 * `GLFW_HAT_RIGHT_UP` | `GLFW_HAT_RIGHT` \| `GLFW_HAT_UP` * `GLFW_HAT_RIGHT_DOWN` | `GLFW_HAT_RIGHT` \| `GLFW_HAT_DOWN` * `GLFW_HAT_LEFT_UP` | `GLFW_HAT_LEFT` \| `GLFW_HAT_UP` * `GLFW_HAT_LEFT_DOWN` | `GLFW_HAT_LEFT` \| `GLFW_HAT_DOWN` * * The diagonal directions are bitwise combinations of the primary (up, right, * down and left) directions and you can test for these individually by ANDing * it with the corresponding direction. * * @code * if (hats[2] & GLFW_HAT_RIGHT) * { * // State of hat 2 could be right-up, right or right-down * } * @endcode * * If the specified joystick is not present this function will return `NULL` * but will not generate an error. This can be used instead of first calling * @ref glfwJoystickPresent. * * @param[in] jid The [joystick](@ref joysticks) to query. * @param[out] count Where to store the number of hat states in the returned * array. This is set to zero if the joystick is not present or an error * occurred. * @return An array of hat states, or `NULL` if the joystick is not present * or an [error](@ref error_handling) occurred. * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED, @ref * GLFW_INVALID_ENUM and @ref GLFW_PLATFORM_ERROR. * * @pointer_lifetime The returned array is allocated and freed by GLFW. You * should not free it yourself. It is valid until the specified joystick is * disconnected, this function is called again for that joystick or the library * is terminated. * * @thread_safety This function must only be called from the main thread. * * @sa @ref joystick_hat * * @since Added in version 3.3. * * @ingroup input */ GLFWAPI const unsigned char* glfwGetJoystickHats(int jid, int* count); /*! @brief Returns the name of the specified joystick. * * This function returns the name, encoded as UTF-8, of the specified joystick. * The returned string is allocated and freed by GLFW. You should not free it * yourself. * * If the specified joystick is not present this function will return `NULL` * but will not generate an error. This can be used instead of first calling * @ref glfwJoystickPresent. * * @param[in] jid The [joystick](@ref joysticks) to query. * @return The UTF-8 encoded name of the joystick, or `NULL` if the joystick * is not present or an [error](@ref error_handling) occurred. * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED, @ref * GLFW_INVALID_ENUM and @ref GLFW_PLATFORM_ERROR. * * @pointer_lifetime The returned string is allocated and freed by GLFW. You * should not free it yourself. It is valid until the specified joystick is * disconnected or the library is terminated. * * @thread_safety This function must only be called from the main thread. * * @sa @ref joystick_name * * @since Added in version 3.0. * * @ingroup input */ GLFWAPI const char* glfwGetJoystickName(int jid); /*! @brief Returns the SDL compatible GUID of the specified joystick. * * This function returns the SDL compatible GUID, as a UTF-8 encoded * hexadecimal string, of the specified joystick. The returned string is * allocated and freed by GLFW. You should not free it yourself. * * The GUID is what connects a joystick to a gamepad mapping. A connected * joystick will always have a GUID even if there is no gamepad mapping * assigned to it. * * If the specified joystick is not present this function will return `NULL` * but will not generate an error. This can be used instead of first calling * @ref glfwJoystickPresent. * * The GUID uses the format introduced in SDL 2.0.5. This GUID tries to * uniquely identify the make and model of a joystick but does not identify * a specific unit, e.g. all wired Xbox 360 controllers will have the same * GUID on that platform. The GUID for a unit may vary between platforms * depending on what hardware information the platform specific APIs provide. * * @param[in] jid The [joystick](@ref joysticks) to query. * @return The UTF-8 encoded GUID of the joystick, or `NULL` if the joystick * is not present or an [error](@ref error_handling) occurred. * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED, @ref * GLFW_INVALID_ENUM and @ref GLFW_PLATFORM_ERROR. * * @pointer_lifetime The returned string is allocated and freed by GLFW. You * should not free it yourself. It is valid until the specified joystick is * disconnected or the library is terminated. * * @thread_safety This function must only be called from the main thread. * * @sa @ref gamepad * * @since Added in version 3.3. * * @ingroup input */ GLFWAPI const char* glfwGetJoystickGUID(int jid); /*! @brief Sets the user pointer of the specified joystick. * * This function sets the user-defined pointer of the specified joystick. The * current value is retained until the joystick is disconnected. The initial * value is `NULL`. * * This function may be called from the joystick callback, even for a joystick * that is being disconnected. * * @param[in] jid The joystick whose pointer to set. * @param[in] pointer The new value. * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED. * * @thread_safety This function may be called from any thread. Access is not * synchronized. * * @sa @ref joystick_userptr * @sa @ref glfwGetJoystickUserPointer * * @since Added in version 3.3. * * @ingroup input */ GLFWAPI void glfwSetJoystickUserPointer(int jid, void* pointer); /*! @brief Returns the user pointer of the specified joystick. * * This function returns the current value of the user-defined pointer of the * specified joystick. The initial value is `NULL`. * * This function may be called from the joystick callback, even for a joystick * that is being disconnected. * * @param[in] jid The joystick whose pointer to return. * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED. * * @thread_safety This function may be called from any thread. Access is not * synchronized. * * @sa @ref joystick_userptr * @sa @ref glfwSetJoystickUserPointer * * @since Added in version 3.3. * * @ingroup input */ GLFWAPI void* glfwGetJoystickUserPointer(int jid); /*! @brief Returns whether the specified joystick has a gamepad mapping. * * This function returns whether the specified joystick is both present and has * a gamepad mapping. * * If the specified joystick is present but does not have a gamepad mapping * this function will return `GLFW_FALSE` but will not generate an error. Call * @ref glfwJoystickPresent to check if a joystick is present regardless of * whether it has a mapping. * * @param[in] jid The [joystick](@ref joysticks) to query. * @return `GLFW_TRUE` if a joystick is both present and has a gamepad mapping, * or `GLFW_FALSE` otherwise. * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED and @ref * GLFW_INVALID_ENUM. * * @thread_safety This function must only be called from the main thread. * * @sa @ref gamepad * @sa @ref glfwGetGamepadState * * @since Added in version 3.3. * * @ingroup input */ GLFWAPI int glfwJoystickIsGamepad(int jid); /*! @brief Sets the joystick configuration callback. * * This function sets the joystick configuration callback, or removes the * currently set callback. This is called when a joystick is connected to or * disconnected from the system. * * For joystick connection and disconnection events to be delivered on all * platforms, you need to call one of the [event processing](@ref events) * functions. Joystick disconnection may also be detected and the callback * called by joystick functions. The function will then return whatever it * returns if the joystick is not present. * * @param[in] callback The new callback, or `NULL` to remove the currently set * callback. * @return The previously set callback, or `NULL` if no callback was set or the * library had not been [initialized](@ref intro_init). * * @callback_signature * @code * void function_name(int jid, int event) * @endcode * For more information about the callback parameters, see the * [function pointer type](@ref GLFWjoystickfun). * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED. * * @thread_safety This function must only be called from the main thread. * * @sa @ref joystick_event * * @since Added in version 3.2. * * @ingroup input */ GLFWAPI GLFWjoystickfun glfwSetJoystickCallback(GLFWjoystickfun callback); /*! @brief Adds the specified SDL_GameControllerDB gamepad mappings. * * This function parses the specified ASCII encoded string and updates the * internal list with any gamepad mappings it finds. This string may * contain either a single gamepad mapping or many mappings separated by * newlines. The parser supports the full format of the `gamecontrollerdb.txt` * source file including empty lines and comments. * * See @ref gamepad_mapping for a description of the format. * * If there is already a gamepad mapping for a given GUID in the internal list, * it will be replaced by the one passed to this function. If the library is * terminated and re-initialized the internal list will revert to the built-in * default. * * @param[in] string The string containing the gamepad mappings. * @return `GLFW_TRUE` if successful, or `GLFW_FALSE` if an * [error](@ref error_handling) occurred. * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED and @ref * GLFW_INVALID_VALUE. * * @thread_safety This function must only be called from the main thread. * * @sa @ref gamepad * @sa @ref glfwJoystickIsGamepad * @sa @ref glfwGetGamepadName * * @since Added in version 3.3. * * @ingroup input */ GLFWAPI int glfwUpdateGamepadMappings(const char* string); /*! @brief Returns the human-readable gamepad name for the specified joystick. * * This function returns the human-readable name of the gamepad from the * gamepad mapping assigned to the specified joystick. * * If the specified joystick is not present or does not have a gamepad mapping * this function will return `NULL` but will not generate an error. Call * @ref glfwJoystickPresent to check whether it is present regardless of * whether it has a mapping. * * @param[in] jid The [joystick](@ref joysticks) to query. * @return The UTF-8 encoded name of the gamepad, or `NULL` if the * joystick is not present, does not have a mapping or an * [error](@ref error_handling) occurred. * * @pointer_lifetime The returned string is allocated and freed by GLFW. You * should not free it yourself. It is valid until the specified joystick is * disconnected, the gamepad mappings are updated or the library is terminated. * * @thread_safety This function must only be called from the main thread. * * @sa @ref gamepad * @sa @ref glfwJoystickIsGamepad * * @since Added in version 3.3. * * @ingroup input */ GLFWAPI const char* glfwGetGamepadName(int jid); /*! @brief Retrieves the state of the specified joystick remapped as a gamepad. * * This function retrieves the state of the specified joystick remapped to * an Xbox-like gamepad. * * If the specified joystick is not present or does not have a gamepad mapping * this function will return `GLFW_FALSE` but will not generate an error. Call * @ref glfwJoystickPresent to check whether it is present regardless of * whether it has a mapping. * * The Guide button may not be available for input as it is often hooked by the * system or the Steam client. * * Not all devices have all the buttons or axes provided by @ref * GLFWgamepadstate. Unavailable buttons and axes will always report * `GLFW_RELEASE` and 0.0 respectively. * * @param[in] jid The [joystick](@ref joysticks) to query. * @param[out] state The gamepad input state of the joystick. * @return `GLFW_TRUE` if successful, or `GLFW_FALSE` if no joystick is * connected, it has no gamepad mapping or an [error](@ref error_handling) * occurred. * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED and @ref * GLFW_INVALID_ENUM. * * @thread_safety This function must only be called from the main thread. * * @sa @ref gamepad * @sa @ref glfwUpdateGamepadMappings * @sa @ref glfwJoystickIsGamepad * * @since Added in version 3.3. * * @ingroup input */ GLFWAPI int glfwGetGamepadState(int jid, GLFWgamepadstate* state); /*! @brief Sets the clipboard to the specified string. * * This function sets the system clipboard to the specified, UTF-8 encoded * string. * * @param[in] window Deprecated. Any valid window or `NULL`. * @param[in] string A UTF-8 encoded string. * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED and @ref * GLFW_PLATFORM_ERROR. * * @pointer_lifetime The specified string is copied before this function * returns. * * @thread_safety This function must only be called from the main thread. * * @sa @ref clipboard * @sa @ref glfwGetClipboardString * * @since Added in version 3.0. * * @ingroup input */ GLFWAPI void glfwSetClipboardString(GLFWwindow* window, const char* string); /*! @brief Returns the contents of the clipboard as a string. * * This function returns the contents of the system clipboard, if it contains * or is convertible to a UTF-8 encoded string. If the clipboard is empty or * if its contents cannot be converted, `NULL` is returned and a @ref * GLFW_FORMAT_UNAVAILABLE error is generated. * * @param[in] window Deprecated. Any valid window or `NULL`. * @return The contents of the clipboard as a UTF-8 encoded string, or `NULL` * if an [error](@ref error_handling) occurred. * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED and @ref * GLFW_PLATFORM_ERROR. * * @pointer_lifetime The returned string is allocated and freed by GLFW. You * should not free it yourself. It is valid until the next call to @ref * glfwGetClipboardString or @ref glfwSetClipboardString, or until the library * is terminated. * * @thread_safety This function must only be called from the main thread. * * @sa @ref clipboard * @sa @ref glfwSetClipboardString * * @since Added in version 3.0. * * @ingroup input */ GLFWAPI const char* glfwGetClipboardString(GLFWwindow* window); /*! @brief Returns the GLFW time. * * This function returns the current GLFW time, in seconds. Unless the time * has been set using @ref glfwSetTime it measures time elapsed since GLFW was * initialized. * * This function and @ref glfwSetTime are helper functions on top of @ref * glfwGetTimerFrequency and @ref glfwGetTimerValue. * * The resolution of the timer is system dependent, but is usually on the order * of a few micro- or nanoseconds. It uses the highest-resolution monotonic * time source on each supported platform. * * @return The current time, in seconds, or zero if an * [error](@ref error_handling) occurred. * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED. * * @thread_safety This function may be called from any thread. Reading and * writing of the internal base time is not atomic, so it needs to be * externally synchronized with calls to @ref glfwSetTime. * * @sa @ref time * * @since Added in version 1.0. * * @ingroup input */ GLFWAPI double glfwGetTime(void); /*! @brief Sets the GLFW time. * * This function sets the current GLFW time, in seconds. The value must be * a positive finite number less than or equal to 18446744073.0, which is * approximately 584.5 years. * * This function and @ref glfwGetTime are helper functions on top of @ref * glfwGetTimerFrequency and @ref glfwGetTimerValue. * * @param[in] time The new value, in seconds. * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED and @ref * GLFW_INVALID_VALUE. * * @remark The upper limit of GLFW time is calculated as * floor((2<sup>64</sup> - 1) / 10<sup>9</sup>) and is due to implementations * storing nanoseconds in 64 bits. The limit may be increased in the future. * * @thread_safety This function may be called from any thread. Reading and * writing of the internal base time is not atomic, so it needs to be * externally synchronized with calls to @ref glfwGetTime. * * @sa @ref time * * @since Added in version 2.2. * * @ingroup input */ GLFWAPI void glfwSetTime(double time); /*! @brief Returns the current value of the raw timer. * * This function returns the current value of the raw timer, measured in * 1&nbsp;/&nbsp;frequency seconds. To get the frequency, call @ref * glfwGetTimerFrequency. * * @return The value of the timer, or zero if an * [error](@ref error_handling) occurred. * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED. * * @thread_safety This function may be called from any thread. * * @sa @ref time * @sa @ref glfwGetTimerFrequency * * @since Added in version 3.2. * * @ingroup input */ GLFWAPI uint64_t glfwGetTimerValue(void); /*! @brief Returns the frequency, in Hz, of the raw timer. * * This function returns the frequency, in Hz, of the raw timer. * * @return The frequency of the timer, in Hz, or zero if an * [error](@ref error_handling) occurred. * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED. * * @thread_safety This function may be called from any thread. * * @sa @ref time * @sa @ref glfwGetTimerValue * * @since Added in version 3.2. * * @ingroup input */ GLFWAPI uint64_t glfwGetTimerFrequency(void); /*! @brief Makes the context of the specified window current for the calling * thread. * * This function makes the OpenGL or OpenGL ES context of the specified window * current on the calling thread. A context must only be made current on * a single thread at a time and each thread can have only a single current * context at a time. * * When moving a context between threads, you must make it non-current on the * old thread before making it current on the new one. * * By default, making a context non-current implicitly forces a pipeline flush. * On machines that support `GL_KHR_context_flush_control`, you can control * whether a context performs this flush by setting the * [GLFW_CONTEXT_RELEASE_BEHAVIOR](@ref GLFW_CONTEXT_RELEASE_BEHAVIOR_hint) * hint. * * The specified window must have an OpenGL or OpenGL ES context. Specifying * a window without a context will generate a @ref GLFW_NO_WINDOW_CONTEXT * error. * * @param[in] window The window whose context to make current, or `NULL` to * detach the current context. * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED, @ref * GLFW_NO_WINDOW_CONTEXT and @ref GLFW_PLATFORM_ERROR. * * @thread_safety This function may be called from any thread. * * @sa @ref context_current * @sa @ref glfwGetCurrentContext * * @since Added in version 3.0. * * @ingroup context */ GLFWAPI void glfwMakeContextCurrent(GLFWwindow* window); /*! @brief Returns the window whose context is current on the calling thread. * * This function returns the window whose OpenGL or OpenGL ES context is * current on the calling thread. * * @return The window whose context is current, or `NULL` if no window's * context is current. * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED. * * @thread_safety This function may be called from any thread. * * @sa @ref context_current * @sa @ref glfwMakeContextCurrent * * @since Added in version 3.0. * * @ingroup context */ GLFWAPI GLFWwindow* glfwGetCurrentContext(void); /*! @brief Swaps the front and back buffers of the specified window. * * This function swaps the front and back buffers of the specified window when * rendering with OpenGL or OpenGL ES. If the swap interval is greater than * zero, the GPU driver waits the specified number of screen updates before * swapping the buffers. * * The specified window must have an OpenGL or OpenGL ES context. Specifying * a window without a context will generate a @ref GLFW_NO_WINDOW_CONTEXT * error. * * This function does not apply to Vulkan. If you are rendering with Vulkan, * see `vkQueuePresentKHR` instead. * * @param[in] window The window whose buffers to swap. * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED, @ref * GLFW_NO_WINDOW_CONTEXT and @ref GLFW_PLATFORM_ERROR. * * @remark __EGL:__ The context of the specified window must be current on the * calling thread. * * @thread_safety This function may be called from any thread. * * @sa @ref buffer_swap * @sa @ref glfwSwapInterval * * @since Added in version 1.0. * @glfw3 Added window handle parameter. * * @ingroup window */ GLFWAPI void glfwSwapBuffers(GLFWwindow* window); /*! @brief Sets the swap interval for the current context. * * This function sets the swap interval for the current OpenGL or OpenGL ES * context, i.e. the number of screen updates to wait from the time @ref * glfwSwapBuffers was called before swapping the buffers and returning. This * is sometimes called _vertical synchronization_, _vertical retrace * synchronization_ or just _vsync_. * * A context that supports either of the `WGL_EXT_swap_control_tear` and * `GLX_EXT_swap_control_tear` extensions also accepts _negative_ swap * intervals, which allows the driver to swap immediately even if a frame * arrives a little bit late. You can check for these extensions with @ref * glfwExtensionSupported. * * A context must be current on the calling thread. Calling this function * without a current context will cause a @ref GLFW_NO_CURRENT_CONTEXT error. * * This function does not apply to Vulkan. If you are rendering with Vulkan, * see the present mode of your swapchain instead. * * @param[in] interval The minimum number of screen updates to wait for * until the buffers are swapped by @ref glfwSwapBuffers. * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED, @ref * GLFW_NO_CURRENT_CONTEXT and @ref GLFW_PLATFORM_ERROR. * * @remark This function is not called during context creation, leaving the * swap interval set to whatever is the default on that platform. This is done * because some swap interval extensions used by GLFW do not allow the swap * interval to be reset to zero once it has been set to a non-zero value. * * @remark Some GPU drivers do not honor the requested swap interval, either * because of a user setting that overrides the application's request or due to * bugs in the driver. * * @thread_safety This function may be called from any thread. * * @sa @ref buffer_swap * @sa @ref glfwSwapBuffers * * @since Added in version 1.0. * * @ingroup context */ GLFWAPI void glfwSwapInterval(int interval); /*! @brief Returns whether the specified extension is available. * * This function returns whether the specified * [API extension](@ref context_glext) is supported by the current OpenGL or * OpenGL ES context. It searches both for client API extension and context * creation API extensions. * * A context must be current on the calling thread. Calling this function * without a current context will cause a @ref GLFW_NO_CURRENT_CONTEXT error. * * As this functions retrieves and searches one or more extension strings each * call, it is recommended that you cache its results if it is going to be used * frequently. The extension strings will not change during the lifetime of * a context, so there is no danger in doing this. * * This function does not apply to Vulkan. If you are using Vulkan, see @ref * glfwGetRequiredInstanceExtensions, `vkEnumerateInstanceExtensionProperties` * and `vkEnumerateDeviceExtensionProperties` instead. * * @param[in] extension The ASCII encoded name of the extension. * @return `GLFW_TRUE` if the extension is available, or `GLFW_FALSE` * otherwise. * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED, @ref * GLFW_NO_CURRENT_CONTEXT, @ref GLFW_INVALID_VALUE and @ref * GLFW_PLATFORM_ERROR. * * @thread_safety This function may be called from any thread. * * @sa @ref context_glext * @sa @ref glfwGetProcAddress * * @since Added in version 1.0. * * @ingroup context */ GLFWAPI int glfwExtensionSupported(const char* extension); /*! @brief Returns the address of the specified function for the current * context. * * This function returns the address of the specified OpenGL or OpenGL ES * [core or extension function](@ref context_glext), if it is supported * by the current context. * * A context must be current on the calling thread. Calling this function * without a current context will cause a @ref GLFW_NO_CURRENT_CONTEXT error. * * This function does not apply to Vulkan. If you are rendering with Vulkan, * see @ref glfwGetInstanceProcAddress, `vkGetInstanceProcAddr` and * `vkGetDeviceProcAddr` instead. * * @param[in] procname The ASCII encoded name of the function. * @return The address of the function, or `NULL` if an * [error](@ref error_handling) occurred. * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED, @ref * GLFW_NO_CURRENT_CONTEXT and @ref GLFW_PLATFORM_ERROR. * * @remark The address of a given function is not guaranteed to be the same * between contexts. * * @remark This function may return a non-`NULL` address despite the * associated version or extension not being available. Always check the * context version or extension string first. * * @pointer_lifetime The returned function pointer is valid until the context * is destroyed or the library is terminated. * * @thread_safety This function may be called from any thread. * * @sa @ref context_glext * @sa @ref glfwExtensionSupported * * @since Added in version 1.0. * * @ingroup context */ GLFWAPI GLFWglproc glfwGetProcAddress(const char* procname); /*! @brief Returns whether the Vulkan loader and an ICD have been found. * * This function returns whether the Vulkan loader and any minimally functional * ICD have been found. * * The availability of a Vulkan loader and even an ICD does not by itself * guarantee that surface creation or even instance creation is possible. * For example, on Fermi systems Nvidia will install an ICD that provides no * actual Vulkan support. Call @ref glfwGetRequiredInstanceExtensions to check * whether the extensions necessary for Vulkan surface creation are available * and @ref glfwGetPhysicalDevicePresentationSupport to check whether a queue * family of a physical device supports image presentation. * * @return `GLFW_TRUE` if Vulkan is minimally available, or `GLFW_FALSE` * otherwise. * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED. * * @thread_safety This function may be called from any thread. * * @sa @ref vulkan_support * * @since Added in version 3.2. * * @ingroup vulkan */ GLFWAPI int glfwVulkanSupported(void); /*! @brief Returns the Vulkan instance extensions required by GLFW. * * This function returns an array of names of Vulkan instance extensions required * by GLFW for creating Vulkan surfaces for GLFW windows. If successful, the * list will always contain `VK_KHR_surface`, so if you don't require any * additional extensions you can pass this list directly to the * `VkInstanceCreateInfo` struct. * * If Vulkan is not available on the machine, this function returns `NULL` and * generates a @ref GLFW_API_UNAVAILABLE error. Call @ref glfwVulkanSupported * to check whether Vulkan is at least minimally available. * * If Vulkan is available but no set of extensions allowing window surface * creation was found, this function returns `NULL`. You may still use Vulkan * for off-screen rendering and compute work. * * @param[out] count Where to store the number of extensions in the returned * array. This is set to zero if an error occurred. * @return An array of ASCII encoded extension names, or `NULL` if an * [error](@ref error_handling) occurred. * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED and @ref * GLFW_API_UNAVAILABLE. * * @remark Additional extensions may be required by future versions of GLFW. * You should check if any extensions you wish to enable are already in the * returned array, as it is an error to specify an extension more than once in * the `VkInstanceCreateInfo` struct. * * @remark @macos This function currently supports either the * `VK_MVK_macos_surface` extension from MoltenVK or `VK_EXT_metal_surface` * extension. * * @pointer_lifetime The returned array is allocated and freed by GLFW. You * should not free it yourself. It is guaranteed to be valid only until the * library is terminated. * * @thread_safety This function may be called from any thread. * * @sa @ref vulkan_ext * @sa @ref glfwCreateWindowSurface * * @since Added in version 3.2. * * @ingroup vulkan */ GLFWAPI const char** glfwGetRequiredInstanceExtensions(uint32_t* count); #if defined(VK_VERSION_1_0) /*! @brief Returns the address of the specified Vulkan instance function. * * This function returns the address of the specified Vulkan core or extension * function for the specified instance. If instance is set to `NULL` it can * return any function exported from the Vulkan loader, including at least the * following functions: * * - `vkEnumerateInstanceExtensionProperties` * - `vkEnumerateInstanceLayerProperties` * - `vkCreateInstance` * - `vkGetInstanceProcAddr` * * If Vulkan is not available on the machine, this function returns `NULL` and * generates a @ref GLFW_API_UNAVAILABLE error. Call @ref glfwVulkanSupported * to check whether Vulkan is at least minimally available. * * This function is equivalent to calling `vkGetInstanceProcAddr` with * a platform-specific query of the Vulkan loader as a fallback. * * @param[in] instance The Vulkan instance to query, or `NULL` to retrieve * functions related to instance creation. * @param[in] procname The ASCII encoded name of the function. * @return The address of the function, or `NULL` if an * [error](@ref error_handling) occurred. * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED and @ref * GLFW_API_UNAVAILABLE. * * @pointer_lifetime The returned function pointer is valid until the library * is terminated. * * @thread_safety This function may be called from any thread. * * @sa @ref vulkan_proc * * @since Added in version 3.2. * * @ingroup vulkan */ GLFWAPI GLFWvkproc glfwGetInstanceProcAddress(VkInstance instance, const char* procname); /*! @brief Returns whether the specified queue family can present images. * * This function returns whether the specified queue family of the specified * physical device supports presentation to the platform GLFW was built for. * * If Vulkan or the required window surface creation instance extensions are * not available on the machine, or if the specified instance was not created * with the required extensions, this function returns `GLFW_FALSE` and * generates a @ref GLFW_API_UNAVAILABLE error. Call @ref glfwVulkanSupported * to check whether Vulkan is at least minimally available and @ref * glfwGetRequiredInstanceExtensions to check what instance extensions are * required. * * @param[in] instance The instance that the physical device belongs to. * @param[in] device The physical device that the queue family belongs to. * @param[in] queuefamily The index of the queue family to query. * @return `GLFW_TRUE` if the queue family supports presentation, or * `GLFW_FALSE` otherwise. * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED, @ref * GLFW_API_UNAVAILABLE and @ref GLFW_PLATFORM_ERROR. * * @remark @macos This function currently always returns `GLFW_TRUE`, as the * `VK_MVK_macos_surface` extension does not provide * a `vkGetPhysicalDevice*PresentationSupport` type function. * * @thread_safety This function may be called from any thread. For * synchronization details of Vulkan objects, see the Vulkan specification. * * @sa @ref vulkan_present * * @since Added in version 3.2. * * @ingroup vulkan */ GLFWAPI int glfwGetPhysicalDevicePresentationSupport(VkInstance instance, VkPhysicalDevice device, uint32_t queuefamily); /*! @brief Creates a Vulkan surface for the specified window. * * This function creates a Vulkan surface for the specified window. * * If the Vulkan loader or at least one minimally functional ICD were not found, * this function returns `VK_ERROR_INITIALIZATION_FAILED` and generates a @ref * GLFW_API_UNAVAILABLE error. Call @ref glfwVulkanSupported to check whether * Vulkan is at least minimally available. * * If the required window surface creation instance extensions are not * available or if the specified instance was not created with these extensions * enabled, this function returns `VK_ERROR_EXTENSION_NOT_PRESENT` and * generates a @ref GLFW_API_UNAVAILABLE error. Call @ref * glfwGetRequiredInstanceExtensions to check what instance extensions are * required. * * The window surface cannot be shared with another API so the window must * have been created with the [client api hint](@ref GLFW_CLIENT_API_attrib) * set to `GLFW_NO_API` otherwise it generates a @ref GLFW_INVALID_VALUE error * and returns `VK_ERROR_NATIVE_WINDOW_IN_USE_KHR`. * * The window surface must be destroyed before the specified Vulkan instance. * It is the responsibility of the caller to destroy the window surface. GLFW * does not destroy it for you. Call `vkDestroySurfaceKHR` to destroy the * surface. * * @param[in] instance The Vulkan instance to create the surface in. * @param[in] window The window to create the surface for. * @param[in] allocator The allocator to use, or `NULL` to use the default * allocator. * @param[out] surface Where to store the handle of the surface. This is set * to `VK_NULL_HANDLE` if an error occurred. * @return `VK_SUCCESS` if successful, or a Vulkan error code if an * [error](@ref error_handling) occurred. * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED, @ref * GLFW_API_UNAVAILABLE, @ref GLFW_PLATFORM_ERROR and @ref GLFW_INVALID_VALUE * * @remark If an error occurs before the creation call is made, GLFW returns * the Vulkan error code most appropriate for the error. Appropriate use of * @ref glfwVulkanSupported and @ref glfwGetRequiredInstanceExtensions should * eliminate almost all occurrences of these errors. * * @remark @macos This function currently only supports the * `VK_MVK_macos_surface` extension from MoltenVK. * * @remark @macos This function creates and sets a `CAMetalLayer` instance for * the window content view, which is required for MoltenVK to function. * * @thread_safety This function may be called from any thread. For * synchronization details of Vulkan objects, see the Vulkan specification. * * @sa @ref vulkan_surface * @sa @ref glfwGetRequiredInstanceExtensions * * @since Added in version 3.2. * * @ingroup vulkan */ GLFWAPI VkResult glfwCreateWindowSurface(VkInstance instance, GLFWwindow* window, const VkAllocationCallbacks* allocator, VkSurfaceKHR* surface); #endif /*VK_VERSION_1_0*/ /************************************************************************* * Global definition cleanup *************************************************************************/ /* ------------------- BEGIN SYSTEM/COMPILER SPECIFIC -------------------- */ #ifdef GLFW_WINGDIAPI_DEFINED #undef WINGDIAPI #undef GLFW_WINGDIAPI_DEFINED #endif #ifdef GLFW_CALLBACK_DEFINED #undef CALLBACK #undef GLFW_CALLBACK_DEFINED #endif /* Some OpenGL related headers need GLAPIENTRY, but it is unconditionally * defined by some gl.h variants (OpenBSD) so define it after if needed. */ #ifndef GLAPIENTRY #define GLAPIENTRY APIENTRY #endif /* -------------------- END SYSTEM/COMPILER SPECIFIC --------------------- */ #ifdef __cplusplus } #endif #endif /* _glfw3_h_ */
0
repos/gotta-go-fast/src/tetris/include
repos/gotta-go-fast/src/tetris/include/epoxy/gl.h
/* * Copyright © 2013 Intel Corporation * * 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: * * The above copyright notice and this permission notice (including the next * paragraph) shall be included in all copies or substantial portions of the * Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS * IN THE SOFTWARE. */ /** @file gl.h * * Provides an implementation of a GL dispatch layer using either * global function pointers or a hidden vtable. * * You should include `<epoxy/gl.h>` instead of `<GL/gl.h>` and `<GL/glext.h>`. */ #ifndef EPOXY_GL_H #define EPOXY_GL_H #include "epoxy/common.h" #if defined(__gl_h_) || defined(__glext_h_) #error epoxy/gl.h must be included before (or in place of) GL/gl.h #else #define __gl_h_ #define __glext_h_ #endif #define KHRONOS_SUPPORT_INT64 1 #define KHRONOS_SUPPORT_FLOAT 1 #define KHRONOS_APIATTRIBUTES #ifndef _WIN32 /* APIENTRY and GLAPIENTRY are not used on Linux or Mac. */ #define APIENTRY #define GLAPIENTRY #define EPOXY_CALLSPEC #define GLAPI #define KHRONOS_APIENTRY #define KHRONOS_APICALL #else #ifndef APIENTRY #define APIENTRY __stdcall #endif #ifndef GLAPIENTRY #define GLAPIENTRY APIENTRY #endif #ifndef EPOXY_CALLSPEC #define EPOXY_CALLSPEC __stdcall #endif #ifndef GLAPI #define GLAPI extern #endif #define KHRONOS_APIENTRY __stdcall #define KHRONOS_APICALL __declspec(dllimport) __stdcall #endif /* _WIN32 */ #ifndef APIENTRYP #define APIENTRYP APIENTRY * #endif #ifndef GLAPIENTRYP #define GLAPIENTRYP GLAPIENTRY * #endif EPOXY_BEGIN_DECLS #include "epoxy/gl_generated.h" EPOXY_PUBLIC bool epoxy_has_gl_extension(const char *extension); EPOXY_PUBLIC bool epoxy_is_desktop_gl(void); EPOXY_PUBLIC int epoxy_gl_version(void); EPOXY_PUBLIC int epoxy_glsl_version(void); /* * the type of the stub function that the failure handler must return; * this function will be called on subsequent calls to the same bogus * function name */ typedef void (*epoxy_resolver_stub_t)(void); /* the type of the failure handler itself */ typedef epoxy_resolver_stub_t (*epoxy_resolver_failure_handler_t)(const char *name); EPOXY_PUBLIC epoxy_resolver_failure_handler_t epoxy_set_resolver_failure_handler(epoxy_resolver_failure_handler_t handler); EPOXY_END_DECLS #endif /* EPOXY_GL_H */
0
repos/gotta-go-fast/src/tetris/include
repos/gotta-go-fast/src/tetris/include/epoxy/common.h
/* * Copyright 2017 Emmanuele Bassi * * 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: * * The above copyright notice and this permission notice (including the next * paragraph) shall be included in all copies or substantial portions of the * Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS * IN THE SOFTWARE. */ /** @file common.h * * A common header file, used to define macros and shared symbols. */ #ifndef EPOXY_COMMON_H #define EPOXY_COMMON_H #ifdef __cplusplus # define EPOXY_BEGIN_DECLS extern "C" { # define EPOXY_END_DECLS } #else # define EPOXY_BEGIN_DECLS # define EPOXY_END_DECLS #endif #ifndef EPOXY_PUBLIC # if defined(_MSC_VER) # define EPOXY_PUBLIC __declspec(dllimport) extern # else # define EPOXY_PUBLIC extern # endif #endif #if defined(_MSC_VER) && !defined(__bool_true_false_are_defined) && (_MSC_VER < 1800) typedef unsigned char bool; # define false 0 # define true 1 #else # include <stdbool.h> #endif EPOXY_BEGIN_DECLS EPOXY_PUBLIC bool epoxy_extension_in_string(const char *extension_list, const char *ext); EPOXY_END_DECLS #endif /* EPOXY_COMMON_H */
0
repos/gotta-go-fast/src/tetris/include
repos/gotta-go-fast/src/tetris/include/epoxy/gl_generated.h
/* GL dispatch header. * This is code-generated from the GL API XML files from Khronos. * * Copyright (c) 2013-2018 The Khronos Group Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * */ #pragma once #include <inttypes.h> #include <stddef.h> #include "epoxy/common.h" #define __khrplatform_h_ 1 typedef int8_t khronos_int8_t; typedef int16_t khronos_int16_t; typedef int32_t khronos_int32_t; typedef int64_t khronos_int64_t; typedef uint8_t khronos_uint8_t; typedef uint16_t khronos_uint16_t; typedef uint32_t khronos_uint32_t; typedef uint64_t khronos_uint64_t; typedef float khronos_float_t; typedef long khronos_intptr_t; typedef long khronos_ssize_t; typedef unsigned long khronos_usize_t; typedef uint64_t khronos_utime_nanoseconds_t; typedef int64_t khronos_stime_nanoseconds_t; #define KHRONOS_MAX_ENUM 0x7FFFFFFF typedef enum { KHRONOS_FALSE = 0, KHRONOS_TRUE = 1, KHRONOS_BOOLEAN_ENUM_FORCE_SIZE = KHRONOS_MAX_ENUM } khronos_boolean_enum_t; typedef uintptr_t khronos_uintptr_t; typedef unsigned int GLenum; typedef unsigned char GLboolean; typedef unsigned int GLbitfield; typedef void GLvoid; typedef khronos_int8_t GLbyte; typedef khronos_uint8_t GLubyte; typedef khronos_int16_t GLshort; typedef khronos_uint16_t GLushort; typedef int GLint; typedef unsigned int GLuint; typedef khronos_int32_t GLclampx; typedef int GLsizei; typedef khronos_float_t GLfloat; typedef khronos_float_t GLclampf; typedef double GLdouble; typedef double GLclampd; typedef void *GLeglClientBufferEXT; typedef void *GLeglImageOES; typedef char GLchar; typedef char GLcharARB; #ifdef __APPLE__ typedef void *GLhandleARB; #else typedef unsigned int GLhandleARB; #endif typedef khronos_uint16_t GLhalf; typedef khronos_uint16_t GLhalfARB; typedef khronos_int32_t GLfixed; typedef khronos_intptr_t GLintptr; typedef khronos_intptr_t GLintptrARB; typedef khronos_ssize_t GLsizeiptr; typedef khronos_ssize_t GLsizeiptrARB; typedef khronos_int64_t GLint64; typedef khronos_int64_t GLint64EXT; typedef khronos_uint64_t GLuint64; typedef khronos_uint64_t GLuint64EXT; typedef struct __GLsync *GLsync; struct _cl_context; struct _cl_event; typedef void (APIENTRY *GLDEBUGPROC)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,const void *userParam); typedef void (APIENTRY *GLDEBUGPROCARB)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,const void *userParam); typedef void (APIENTRY *GLDEBUGPROCKHR)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,const void *userParam); typedef void (APIENTRY *GLDEBUGPROCAMD)(GLuint id,GLenum category,GLenum severity,GLsizei length,const GLchar *message,void *userParam); typedef unsigned short GLhalfNV; typedef GLintptr GLvdpauSurfaceNV; typedef void (APIENTRY *GLVULKANPROCNV)(void); #define GL_ES_VERSION_2_0 1 #define GL_ES_VERSION_3_0 1 #define GL_ES_VERSION_3_1 1 #define GL_ES_VERSION_3_2 1 #define GL_SC_VERSION_2_0 1 #define GL_VERSION_1_0 1 #define GL_VERSION_1_1 1 #define GL_VERSION_1_2 1 #define GL_VERSION_1_3 1 #define GL_VERSION_1_4 1 #define GL_VERSION_1_5 1 #define GL_VERSION_2_0 1 #define GL_VERSION_2_1 1 #define GL_VERSION_3_0 1 #define GL_VERSION_3_1 1 #define GL_VERSION_3_2 1 #define GL_VERSION_3_3 1 #define GL_VERSION_4_0 1 #define GL_VERSION_4_1 1 #define GL_VERSION_4_2 1 #define GL_VERSION_4_3 1 #define GL_VERSION_4_4 1 #define GL_VERSION_4_5 1 #define GL_VERSION_4_6 1 #define GL_VERSION_ES_CM_1_0 1 #define GL_3DFX_multisample 1 #define GL_3DFX_tbuffer 1 #define GL_3DFX_texture_compression_FXT1 1 #define GL_AMD_blend_minmax_factor 1 #define GL_AMD_compressed_3DC_texture 1 #define GL_AMD_compressed_ATC_texture 1 #define GL_AMD_conservative_depth 1 #define GL_AMD_debug_output 1 #define GL_AMD_depth_clamp_separate 1 #define GL_AMD_draw_buffers_blend 1 #define GL_AMD_framebuffer_multisample_advanced 1 #define GL_AMD_framebuffer_sample_positions 1 #define GL_AMD_gcn_shader 1 #define GL_AMD_gpu_shader_half_float 1 #define GL_AMD_gpu_shader_int16 1 #define GL_AMD_gpu_shader_int64 1 #define GL_AMD_interleaved_elements 1 #define GL_AMD_multi_draw_indirect 1 #define GL_AMD_name_gen_delete 1 #define GL_AMD_occlusion_query_event 1 #define GL_AMD_performance_monitor 1 #define GL_AMD_pinned_memory 1 #define GL_AMD_program_binary_Z400 1 #define GL_AMD_query_buffer_object 1 #define GL_AMD_sample_positions 1 #define GL_AMD_seamless_cubemap_per_texture 1 #define GL_AMD_shader_atomic_counter_ops 1 #define GL_AMD_shader_ballot 1 #define GL_AMD_shader_explicit_vertex_parameter 1 #define GL_AMD_shader_gpu_shader_half_float_fetch 1 #define GL_AMD_shader_image_load_store_lod 1 #define GL_AMD_shader_stencil_export 1 #define GL_AMD_shader_trinary_minmax 1 #define GL_AMD_sparse_texture 1 #define GL_AMD_stencil_operation_extended 1 #define GL_AMD_texture_gather_bias_lod 1 #define GL_AMD_texture_texture4 1 #define GL_AMD_transform_feedback3_lines_triangles 1 #define GL_AMD_transform_feedback4 1 #define GL_AMD_vertex_shader_layer 1 #define GL_AMD_vertex_shader_tessellator 1 #define GL_AMD_vertex_shader_viewport_index 1 #define GL_ANDROID_extension_pack_es31a 1 #define GL_ANGLE_depth_texture 1 #define GL_ANGLE_framebuffer_blit 1 #define GL_ANGLE_framebuffer_multisample 1 #define GL_ANGLE_instanced_arrays 1 #define GL_ANGLE_pack_reverse_row_order 1 #define GL_ANGLE_program_binary 1 #define GL_ANGLE_texture_compression_dxt3 1 #define GL_ANGLE_texture_compression_dxt5 1 #define GL_ANGLE_texture_usage 1 #define GL_ANGLE_translated_shader_source 1 #define GL_APPLE_aux_depth_stencil 1 #define GL_APPLE_client_storage 1 #define GL_APPLE_clip_distance 1 #define GL_APPLE_color_buffer_packed_float 1 #define GL_APPLE_copy_texture_levels 1 #define GL_APPLE_element_array 1 #define GL_APPLE_fence 1 #define GL_APPLE_float_pixels 1 #define GL_APPLE_flush_buffer_range 1 #define GL_APPLE_framebuffer_multisample 1 #define GL_APPLE_object_purgeable 1 #define GL_APPLE_rgb_422 1 #define GL_APPLE_row_bytes 1 #define GL_APPLE_specular_vector 1 #define GL_APPLE_sync 1 #define GL_APPLE_texture_2D_limited_npot 1 #define GL_APPLE_texture_format_BGRA8888 1 #define GL_APPLE_texture_max_level 1 #define GL_APPLE_texture_packed_float 1 #define GL_APPLE_texture_range 1 #define GL_APPLE_transform_hint 1 #define GL_APPLE_vertex_array_object 1 #define GL_APPLE_vertex_array_range 1 #define GL_APPLE_vertex_program_evaluators 1 #define GL_APPLE_ycbcr_422 1 #define GL_ARB_ES2_compatibility 1 #define GL_ARB_ES3_1_compatibility 1 #define GL_ARB_ES3_2_compatibility 1 #define GL_ARB_ES3_compatibility 1 #define GL_ARB_arrays_of_arrays 1 #define GL_ARB_base_instance 1 #define GL_ARB_bindless_texture 1 #define GL_ARB_blend_func_extended 1 #define GL_ARB_buffer_storage 1 #define GL_ARB_cl_event 1 #define GL_ARB_clear_buffer_object 1 #define GL_ARB_clear_texture 1 #define GL_ARB_clip_control 1 #define GL_ARB_color_buffer_float 1 #define GL_ARB_compatibility 1 #define GL_ARB_compressed_texture_pixel_storage 1 #define GL_ARB_compute_shader 1 #define GL_ARB_compute_variable_group_size 1 #define GL_ARB_conditional_render_inverted 1 #define GL_ARB_conservative_depth 1 #define GL_ARB_copy_buffer 1 #define GL_ARB_copy_image 1 #define GL_ARB_cull_distance 1 #define GL_ARB_debug_output 1 #define GL_ARB_depth_buffer_float 1 #define GL_ARB_depth_clamp 1 #define GL_ARB_depth_texture 1 #define GL_ARB_derivative_control 1 #define GL_ARB_direct_state_access 1 #define GL_ARB_draw_buffers 1 #define GL_ARB_draw_buffers_blend 1 #define GL_ARB_draw_elements_base_vertex 1 #define GL_ARB_draw_indirect 1 #define GL_ARB_draw_instanced 1 #define GL_ARB_enhanced_layouts 1 #define GL_ARB_explicit_attrib_location 1 #define GL_ARB_explicit_uniform_location 1 #define GL_ARB_fragment_coord_conventions 1 #define GL_ARB_fragment_layer_viewport 1 #define GL_ARB_fragment_program 1 #define GL_ARB_fragment_program_shadow 1 #define GL_ARB_fragment_shader 1 #define GL_ARB_fragment_shader_interlock 1 #define GL_ARB_framebuffer_no_attachments 1 #define GL_ARB_framebuffer_object 1 #define GL_ARB_framebuffer_sRGB 1 #define GL_ARB_geometry_shader4 1 #define GL_ARB_get_program_binary 1 #define GL_ARB_get_texture_sub_image 1 #define GL_ARB_gl_spirv 1 #define GL_ARB_gpu_shader5 1 #define GL_ARB_gpu_shader_fp64 1 #define GL_ARB_gpu_shader_int64 1 #define GL_ARB_half_float_pixel 1 #define GL_ARB_half_float_vertex 1 #define GL_ARB_imaging 1 #define GL_ARB_indirect_parameters 1 #define GL_ARB_instanced_arrays 1 #define GL_ARB_internalformat_query 1 #define GL_ARB_internalformat_query2 1 #define GL_ARB_invalidate_subdata 1 #define GL_ARB_map_buffer_alignment 1 #define GL_ARB_map_buffer_range 1 #define GL_ARB_matrix_palette 1 #define GL_ARB_multi_bind 1 #define GL_ARB_multi_draw_indirect 1 #define GL_ARB_multisample 1 #define GL_ARB_multitexture 1 #define GL_ARB_occlusion_query 1 #define GL_ARB_occlusion_query2 1 #define GL_ARB_parallel_shader_compile 1 #define GL_ARB_pipeline_statistics_query 1 #define GL_ARB_pixel_buffer_object 1 #define GL_ARB_point_parameters 1 #define GL_ARB_point_sprite 1 #define GL_ARB_polygon_offset_clamp 1 #define GL_ARB_post_depth_coverage 1 #define GL_ARB_program_interface_query 1 #define GL_ARB_provoking_vertex 1 #define GL_ARB_query_buffer_object 1 #define GL_ARB_robust_buffer_access_behavior 1 #define GL_ARB_robustness 1 #define GL_ARB_robustness_isolation 1 #define GL_ARB_sample_locations 1 #define GL_ARB_sample_shading 1 #define GL_ARB_sampler_objects 1 #define GL_ARB_seamless_cube_map 1 #define GL_ARB_seamless_cubemap_per_texture 1 #define GL_ARB_separate_shader_objects 1 #define GL_ARB_shader_atomic_counter_ops 1 #define GL_ARB_shader_atomic_counters 1 #define GL_ARB_shader_ballot 1 #define GL_ARB_shader_bit_encoding 1 #define GL_ARB_shader_clock 1 #define GL_ARB_shader_draw_parameters 1 #define GL_ARB_shader_group_vote 1 #define GL_ARB_shader_image_load_store 1 #define GL_ARB_shader_image_size 1 #define GL_ARB_shader_objects 1 #define GL_ARB_shader_precision 1 #define GL_ARB_shader_stencil_export 1 #define GL_ARB_shader_storage_buffer_object 1 #define GL_ARB_shader_subroutine 1 #define GL_ARB_shader_texture_image_samples 1 #define GL_ARB_shader_texture_lod 1 #define GL_ARB_shader_viewport_layer_array 1 #define GL_ARB_shading_language_100 1 #define GL_ARB_shading_language_420pack 1 #define GL_ARB_shading_language_include 1 #define GL_ARB_shading_language_packing 1 #define GL_ARB_shadow 1 #define GL_ARB_shadow_ambient 1 #define GL_ARB_sparse_buffer 1 #define GL_ARB_sparse_texture 1 #define GL_ARB_sparse_texture2 1 #define GL_ARB_sparse_texture_clamp 1 #define GL_ARB_spirv_extensions 1 #define GL_ARB_stencil_texturing 1 #define GL_ARB_sync 1 #define GL_ARB_tessellation_shader 1 #define GL_ARB_texture_barrier 1 #define GL_ARB_texture_border_clamp 1 #define GL_ARB_texture_buffer_object 1 #define GL_ARB_texture_buffer_object_rgb32 1 #define GL_ARB_texture_buffer_range 1 #define GL_ARB_texture_compression 1 #define GL_ARB_texture_compression_bptc 1 #define GL_ARB_texture_compression_rgtc 1 #define GL_ARB_texture_cube_map 1 #define GL_ARB_texture_cube_map_array 1 #define GL_ARB_texture_env_add 1 #define GL_ARB_texture_env_combine 1 #define GL_ARB_texture_env_crossbar 1 #define GL_ARB_texture_env_dot3 1 #define GL_ARB_texture_filter_anisotropic 1 #define GL_ARB_texture_filter_minmax 1 #define GL_ARB_texture_float 1 #define GL_ARB_texture_gather 1 #define GL_ARB_texture_mirror_clamp_to_edge 1 #define GL_ARB_texture_mirrored_repeat 1 #define GL_ARB_texture_multisample 1 #define GL_ARB_texture_non_power_of_two 1 #define GL_ARB_texture_query_levels 1 #define GL_ARB_texture_query_lod 1 #define GL_ARB_texture_rectangle 1 #define GL_ARB_texture_rg 1 #define GL_ARB_texture_rgb10_a2ui 1 #define GL_ARB_texture_stencil8 1 #define GL_ARB_texture_storage 1 #define GL_ARB_texture_storage_multisample 1 #define GL_ARB_texture_swizzle 1 #define GL_ARB_texture_view 1 #define GL_ARB_timer_query 1 #define GL_ARB_transform_feedback2 1 #define GL_ARB_transform_feedback3 1 #define GL_ARB_transform_feedback_instanced 1 #define GL_ARB_transform_feedback_overflow_query 1 #define GL_ARB_transpose_matrix 1 #define GL_ARB_uniform_buffer_object 1 #define GL_ARB_vertex_array_bgra 1 #define GL_ARB_vertex_array_object 1 #define GL_ARB_vertex_attrib_64bit 1 #define GL_ARB_vertex_attrib_binding 1 #define GL_ARB_vertex_blend 1 #define GL_ARB_vertex_buffer_object 1 #define GL_ARB_vertex_program 1 #define GL_ARB_vertex_shader 1 #define GL_ARB_vertex_type_10f_11f_11f_rev 1 #define GL_ARB_vertex_type_2_10_10_10_rev 1 #define GL_ARB_viewport_array 1 #define GL_ARB_window_pos 1 #define GL_ARM_mali_program_binary 1 #define GL_ARM_mali_shader_binary 1 #define GL_ARM_rgba8 1 #define GL_ARM_shader_framebuffer_fetch 1 #define GL_ARM_shader_framebuffer_fetch_depth_stencil 1 #define GL_ATI_draw_buffers 1 #define GL_ATI_element_array 1 #define GL_ATI_envmap_bumpmap 1 #define GL_ATI_fragment_shader 1 #define GL_ATI_map_object_buffer 1 #define GL_ATI_meminfo 1 #define GL_ATI_pixel_format_float 1 #define GL_ATI_pn_triangles 1 #define GL_ATI_separate_stencil 1 #define GL_ATI_text_fragment_shader 1 #define GL_ATI_texture_env_combine3 1 #define GL_ATI_texture_float 1 #define GL_ATI_texture_mirror_once 1 #define GL_ATI_vertex_array_object 1 #define GL_ATI_vertex_attrib_array_object 1 #define GL_ATI_vertex_streams 1 #define GL_DMP_program_binary 1 #define GL_DMP_shader_binary 1 #define GL_EXT_422_pixels 1 #define GL_EXT_EGL_image_array 1 #define GL_EXT_EGL_image_storage 1 #define GL_EXT_YUV_target 1 #define GL_EXT_abgr 1 #define GL_EXT_base_instance 1 #define GL_EXT_bgra 1 #define GL_EXT_bindable_uniform 1 #define GL_EXT_blend_color 1 #define GL_EXT_blend_equation_separate 1 #define GL_EXT_blend_func_extended 1 #define GL_EXT_blend_func_separate 1 #define GL_EXT_blend_logic_op 1 #define GL_EXT_blend_minmax 1 #define GL_EXT_blend_subtract 1 #define GL_EXT_buffer_storage 1 #define GL_EXT_clear_texture 1 #define GL_EXT_clip_control 1 #define GL_EXT_clip_cull_distance 1 #define GL_EXT_clip_volume_hint 1 #define GL_EXT_cmyka 1 #define GL_EXT_color_buffer_float 1 #define GL_EXT_color_buffer_half_float 1 #define GL_EXT_color_subtable 1 #define GL_EXT_compiled_vertex_array 1 #define GL_EXT_conservative_depth 1 #define GL_EXT_convolution 1 #define GL_EXT_coordinate_frame 1 #define GL_EXT_copy_image 1 #define GL_EXT_copy_texture 1 #define GL_EXT_cull_vertex 1 #define GL_EXT_debug_label 1 #define GL_EXT_debug_marker 1 #define GL_EXT_depth_bounds_test 1 #define GL_EXT_depth_clamp 1 #define GL_EXT_direct_state_access 1 #define GL_EXT_discard_framebuffer 1 #define GL_EXT_disjoint_timer_query 1 #define GL_EXT_draw_buffers 1 #define GL_EXT_draw_buffers2 1 #define GL_EXT_draw_buffers_indexed 1 #define GL_EXT_draw_elements_base_vertex 1 #define GL_EXT_draw_instanced 1 #define GL_EXT_draw_range_elements 1 #define GL_EXT_draw_transform_feedback 1 #define GL_EXT_external_buffer 1 #define GL_EXT_float_blend 1 #define GL_EXT_fog_coord 1 #define GL_EXT_framebuffer_blit 1 #define GL_EXT_framebuffer_multisample 1 #define GL_EXT_framebuffer_multisample_blit_scaled 1 #define GL_EXT_framebuffer_object 1 #define GL_EXT_framebuffer_sRGB 1 #define GL_EXT_geometry_point_size 1 #define GL_EXT_geometry_shader 1 #define GL_EXT_geometry_shader4 1 #define GL_EXT_gpu_program_parameters 1 #define GL_EXT_gpu_shader4 1 #define GL_EXT_gpu_shader5 1 #define GL_EXT_histogram 1 #define GL_EXT_index_array_formats 1 #define GL_EXT_index_func 1 #define GL_EXT_index_material 1 #define GL_EXT_index_texture 1 #define GL_EXT_instanced_arrays 1 #define GL_EXT_light_texture 1 #define GL_EXT_map_buffer_range 1 #define GL_EXT_memory_object 1 #define GL_EXT_memory_object_fd 1 #define GL_EXT_memory_object_win32 1 #define GL_EXT_misc_attribute 1 #define GL_EXT_multi_draw_arrays 1 #define GL_EXT_multi_draw_indirect 1 #define GL_EXT_multisample 1 #define GL_EXT_multisampled_compatibility 1 #define GL_EXT_multisampled_render_to_texture 1 #define GL_EXT_multiview_draw_buffers 1 #define GL_EXT_multiview_tessellation_geometry_shader 1 #define GL_EXT_multiview_texture_multisample 1 #define GL_EXT_multiview_timer_query 1 #define GL_EXT_occlusion_query_boolean 1 #define GL_EXT_packed_depth_stencil 1 #define GL_EXT_packed_float 1 #define GL_EXT_packed_pixels 1 #define GL_EXT_paletted_texture 1 #define GL_EXT_pixel_buffer_object 1 #define GL_EXT_pixel_transform 1 #define GL_EXT_pixel_transform_color_table 1 #define GL_EXT_point_parameters 1 #define GL_EXT_polygon_offset 1 #define GL_EXT_polygon_offset_clamp 1 #define GL_EXT_post_depth_coverage 1 #define GL_EXT_primitive_bounding_box 1 #define GL_EXT_protected_textures 1 #define GL_EXT_provoking_vertex 1 #define GL_EXT_pvrtc_sRGB 1 #define GL_EXT_raster_multisample 1 #define GL_EXT_read_format_bgra 1 #define GL_EXT_render_snorm 1 #define GL_EXT_rescale_normal 1 #define GL_EXT_robustness 1 #define GL_EXT_sRGB 1 #define GL_EXT_sRGB_write_control 1 #define GL_EXT_secondary_color 1 #define GL_EXT_semaphore 1 #define GL_EXT_semaphore_fd 1 #define GL_EXT_semaphore_win32 1 #define GL_EXT_separate_shader_objects 1 #define GL_EXT_separate_specular_color 1 #define GL_EXT_shader_framebuffer_fetch 1 #define GL_EXT_shader_framebuffer_fetch_non_coherent 1 #define GL_EXT_shader_group_vote 1 #define GL_EXT_shader_image_load_formatted 1 #define GL_EXT_shader_image_load_store 1 #define GL_EXT_shader_implicit_conversions 1 #define GL_EXT_shader_integer_mix 1 #define GL_EXT_shader_io_blocks 1 #define GL_EXT_shader_non_constant_global_initializers 1 #define GL_EXT_shader_pixel_local_storage 1 #define GL_EXT_shader_pixel_local_storage2 1 #define GL_EXT_shader_texture_lod 1 #define GL_EXT_shadow_funcs 1 #define GL_EXT_shadow_samplers 1 #define GL_EXT_shared_texture_palette 1 #define GL_EXT_sparse_texture 1 #define GL_EXT_sparse_texture2 1 #define GL_EXT_stencil_clear_tag 1 #define GL_EXT_stencil_two_side 1 #define GL_EXT_stencil_wrap 1 #define GL_EXT_subtexture 1 #define GL_EXT_tessellation_point_size 1 #define GL_EXT_tessellation_shader 1 #define GL_EXT_texture 1 #define GL_EXT_texture3D 1 #define GL_EXT_texture_array 1 #define GL_EXT_texture_border_clamp 1 #define GL_EXT_texture_buffer 1 #define GL_EXT_texture_buffer_object 1 #define GL_EXT_texture_compression_astc_decode_mode 1 #define GL_EXT_texture_compression_bptc 1 #define GL_EXT_texture_compression_dxt1 1 #define GL_EXT_texture_compression_latc 1 #define GL_EXT_texture_compression_rgtc 1 #define GL_EXT_texture_compression_s3tc 1 #define GL_EXT_texture_compression_s3tc_srgb 1 #define GL_EXT_texture_cube_map 1 #define GL_EXT_texture_cube_map_array 1 #define GL_EXT_texture_env_add 1 #define GL_EXT_texture_env_combine 1 #define GL_EXT_texture_env_dot3 1 #define GL_EXT_texture_filter_anisotropic 1 #define GL_EXT_texture_filter_minmax 1 #define GL_EXT_texture_format_BGRA8888 1 #define GL_EXT_texture_format_sRGB_override 1 #define GL_EXT_texture_integer 1 #define GL_EXT_texture_lod_bias 1 #define GL_EXT_texture_mirror_clamp 1 #define GL_EXT_texture_mirror_clamp_to_edge 1 #define GL_EXT_texture_norm16 1 #define GL_EXT_texture_object 1 #define GL_EXT_texture_perturb_normal 1 #define GL_EXT_texture_query_lod 1 #define GL_EXT_texture_rg 1 #define GL_EXT_texture_sRGB 1 #define GL_EXT_texture_sRGB_R8 1 #define GL_EXT_texture_sRGB_RG8 1 #define GL_EXT_texture_sRGB_decode 1 #define GL_EXT_texture_shadow_lod 1 #define GL_EXT_texture_shared_exponent 1 #define GL_EXT_texture_snorm 1 #define GL_EXT_texture_storage 1 #define GL_EXT_texture_swizzle 1 #define GL_EXT_texture_type_2_10_10_10_REV 1 #define GL_EXT_texture_view 1 #define GL_EXT_timer_query 1 #define GL_EXT_transform_feedback 1 #define GL_EXT_unpack_subimage 1 #define GL_EXT_vertex_array 1 #define GL_EXT_vertex_array_bgra 1 #define GL_EXT_vertex_attrib_64bit 1 #define GL_EXT_vertex_shader 1 #define GL_EXT_vertex_weighting 1 #define GL_EXT_win32_keyed_mutex 1 #define GL_EXT_window_rectangles 1 #define GL_EXT_x11_sync_object 1 #define GL_FJ_shader_binary_GCCSO 1 #define GL_GREMEDY_frame_terminator 1 #define GL_GREMEDY_string_marker 1 #define GL_HP_convolution_border_modes 1 #define GL_HP_image_transform 1 #define GL_HP_occlusion_test 1 #define GL_HP_texture_lighting 1 #define GL_IBM_cull_vertex 1 #define GL_IBM_multimode_draw_arrays 1 #define GL_IBM_rasterpos_clip 1 #define GL_IBM_static_data 1 #define GL_IBM_texture_mirrored_repeat 1 #define GL_IBM_vertex_array_lists 1 #define GL_IMG_bindless_texture 1 #define GL_IMG_framebuffer_downsample 1 #define GL_IMG_multisampled_render_to_texture 1 #define GL_IMG_program_binary 1 #define GL_IMG_read_format 1 #define GL_IMG_shader_binary 1 #define GL_IMG_texture_compression_pvrtc 1 #define GL_IMG_texture_compression_pvrtc2 1 #define GL_IMG_texture_env_enhanced_fixed_function 1 #define GL_IMG_texture_filter_cubic 1 #define GL_IMG_user_clip_plane 1 #define GL_INGR_blend_func_separate 1 #define GL_INGR_color_clamp 1 #define GL_INGR_interlace_read 1 #define GL_INTEL_blackhole_render 1 #define GL_INTEL_conservative_rasterization 1 #define GL_INTEL_fragment_shader_ordering 1 #define GL_INTEL_framebuffer_CMAA 1 #define GL_INTEL_map_texture 1 #define GL_INTEL_parallel_arrays 1 #define GL_INTEL_performance_query 1 #define GL_KHR_blend_equation_advanced 1 #define GL_KHR_blend_equation_advanced_coherent 1 #define GL_KHR_context_flush_control 1 #define GL_KHR_debug 1 #define GL_KHR_no_error 1 #define GL_KHR_parallel_shader_compile 1 #define GL_KHR_robust_buffer_access_behavior 1 #define GL_KHR_robustness 1 #define GL_KHR_shader_subgroup 1 #define GL_KHR_texture_compression_astc_hdr 1 #define GL_KHR_texture_compression_astc_ldr 1 #define GL_KHR_texture_compression_astc_sliced_3d 1 #define GL_MESAX_texture_stack 1 #define GL_MESA_framebuffer_flip_y 1 #define GL_MESA_pack_invert 1 #define GL_MESA_program_binary_formats 1 #define GL_MESA_resize_buffers 1 #define GL_MESA_shader_integer_functions 1 #define GL_MESA_tile_raster_order 1 #define GL_MESA_window_pos 1 #define GL_MESA_ycbcr_texture 1 #define GL_NVX_blend_equation_advanced_multi_draw_buffers 1 #define GL_NVX_conditional_render 1 #define GL_NVX_cross_process_interop 1 #define GL_NVX_gpu_memory_info 1 #define GL_NVX_gpu_multicast2 1 #define GL_NVX_linked_gpu_multicast 1 #define GL_NVX_progress_fence 1 #define GL_NV_alpha_to_coverage_dither_control 1 #define GL_NV_bindless_multi_draw_indirect 1 #define GL_NV_bindless_multi_draw_indirect_count 1 #define GL_NV_bindless_texture 1 #define GL_NV_blend_equation_advanced 1 #define GL_NV_blend_equation_advanced_coherent 1 #define GL_NV_blend_minmax_factor 1 #define GL_NV_blend_square 1 #define GL_NV_clip_space_w_scaling 1 #define GL_NV_command_list 1 #define GL_NV_compute_program5 1 #define GL_NV_compute_shader_derivatives 1 #define GL_NV_conditional_render 1 #define GL_NV_conservative_raster 1 #define GL_NV_conservative_raster_dilate 1 #define GL_NV_conservative_raster_pre_snap 1 #define GL_NV_conservative_raster_pre_snap_triangles 1 #define GL_NV_conservative_raster_underestimation 1 #define GL_NV_copy_buffer 1 #define GL_NV_copy_depth_to_color 1 #define GL_NV_copy_image 1 #define GL_NV_coverage_sample 1 #define GL_NV_deep_texture3D 1 #define GL_NV_depth_buffer_float 1 #define GL_NV_depth_clamp 1 #define GL_NV_depth_nonlinear 1 #define GL_NV_draw_buffers 1 #define GL_NV_draw_instanced 1 #define GL_NV_draw_texture 1 #define GL_NV_draw_vulkan_image 1 #define GL_NV_evaluators 1 #define GL_NV_explicit_attrib_location 1 #define GL_NV_explicit_multisample 1 #define GL_NV_fbo_color_attachments 1 #define GL_NV_fence 1 #define GL_NV_fill_rectangle 1 #define GL_NV_float_buffer 1 #define GL_NV_fog_distance 1 #define GL_NV_fragment_coverage_to_color 1 #define GL_NV_fragment_program 1 #define GL_NV_fragment_program2 1 #define GL_NV_fragment_program4 1 #define GL_NV_fragment_program_option 1 #define GL_NV_fragment_shader_barycentric 1 #define GL_NV_fragment_shader_interlock 1 #define GL_NV_framebuffer_blit 1 #define GL_NV_framebuffer_mixed_samples 1 #define GL_NV_framebuffer_multisample 1 #define GL_NV_framebuffer_multisample_coverage 1 #define GL_NV_generate_mipmap_sRGB 1 #define GL_NV_geometry_program4 1 #define GL_NV_geometry_shader4 1 #define GL_NV_geometry_shader_passthrough 1 #define GL_NV_gpu_multicast 1 #define GL_NV_gpu_program4 1 #define GL_NV_gpu_program5 1 #define GL_NV_gpu_program5_mem_extended 1 #define GL_NV_gpu_shader5 1 #define GL_NV_half_float 1 #define GL_NV_image_formats 1 #define GL_NV_instanced_arrays 1 #define GL_NV_internalformat_sample_query 1 #define GL_NV_light_max_exponent 1 #define GL_NV_memory_attachment 1 #define GL_NV_mesh_shader 1 #define GL_NV_multisample_coverage 1 #define GL_NV_multisample_filter_hint 1 #define GL_NV_non_square_matrices 1 #define GL_NV_occlusion_query 1 #define GL_NV_packed_depth_stencil 1 #define GL_NV_parameter_buffer_object 1 #define GL_NV_parameter_buffer_object2 1 #define GL_NV_path_rendering 1 #define GL_NV_path_rendering_shared_edge 1 #define GL_NV_pixel_buffer_object 1 #define GL_NV_pixel_data_range 1 #define GL_NV_point_sprite 1 #define GL_NV_polygon_mode 1 #define GL_NV_present_video 1 #define GL_NV_primitive_restart 1 #define GL_NV_query_resource 1 #define GL_NV_query_resource_tag 1 #define GL_NV_read_buffer 1 #define GL_NV_read_buffer_front 1 #define GL_NV_read_depth 1 #define GL_NV_read_depth_stencil 1 #define GL_NV_read_stencil 1 #define GL_NV_register_combiners 1 #define GL_NV_register_combiners2 1 #define GL_NV_representative_fragment_test 1 #define GL_NV_robustness_video_memory_purge 1 #define GL_NV_sRGB_formats 1 #define GL_NV_sample_locations 1 #define GL_NV_sample_mask_override_coverage 1 #define GL_NV_scissor_exclusive 1 #define GL_NV_shader_atomic_counters 1 #define GL_NV_shader_atomic_float 1 #define GL_NV_shader_atomic_float64 1 #define GL_NV_shader_atomic_fp16_vector 1 #define GL_NV_shader_atomic_int64 1 #define GL_NV_shader_buffer_load 1 #define GL_NV_shader_buffer_store 1 #define GL_NV_shader_noperspective_interpolation 1 #define GL_NV_shader_storage_buffer_object 1 #define GL_NV_shader_subgroup_partitioned 1 #define GL_NV_shader_texture_footprint 1 #define GL_NV_shader_thread_group 1 #define GL_NV_shader_thread_shuffle 1 #define GL_NV_shading_rate_image 1 #define GL_NV_shadow_samplers_array 1 #define GL_NV_shadow_samplers_cube 1 #define GL_NV_stereo_view_rendering 1 #define GL_NV_tessellation_program5 1 #define GL_NV_texgen_emboss 1 #define GL_NV_texgen_reflection 1 #define GL_NV_texture_barrier 1 #define GL_NV_texture_border_clamp 1 #define GL_NV_texture_compression_s3tc_update 1 #define GL_NV_texture_compression_vtc 1 #define GL_NV_texture_env_combine4 1 #define GL_NV_texture_expand_normal 1 #define GL_NV_texture_multisample 1 #define GL_NV_texture_npot_2D_mipmap 1 #define GL_NV_texture_rectangle 1 #define GL_NV_texture_rectangle_compressed 1 #define GL_NV_texture_shader 1 #define GL_NV_texture_shader2 1 #define GL_NV_texture_shader3 1 #define GL_NV_transform_feedback 1 #define GL_NV_transform_feedback2 1 #define GL_NV_uniform_buffer_unified_memory 1 #define GL_NV_vdpau_interop 1 #define GL_NV_vdpau_interop2 1 #define GL_NV_vertex_array_range 1 #define GL_NV_vertex_array_range2 1 #define GL_NV_vertex_attrib_integer_64bit 1 #define GL_NV_vertex_buffer_unified_memory 1 #define GL_NV_vertex_program 1 #define GL_NV_vertex_program1_1 1 #define GL_NV_vertex_program2 1 #define GL_NV_vertex_program2_option 1 #define GL_NV_vertex_program3 1 #define GL_NV_vertex_program4 1 #define GL_NV_video_capture 1 #define GL_NV_viewport_array 1 #define GL_NV_viewport_array2 1 #define GL_NV_viewport_swizzle 1 #define GL_OES_EGL_image 1 #define GL_OES_EGL_image_external 1 #define GL_OES_EGL_image_external_essl3 1 #define GL_OES_blend_equation_separate 1 #define GL_OES_blend_func_separate 1 #define GL_OES_blend_subtract 1 #define GL_OES_byte_coordinates 1 #define GL_OES_compressed_ETC1_RGB8_sub_texture 1 #define GL_OES_compressed_ETC1_RGB8_texture 1 #define GL_OES_compressed_paletted_texture 1 #define GL_OES_copy_image 1 #define GL_OES_depth24 1 #define GL_OES_depth32 1 #define GL_OES_depth_texture 1 #define GL_OES_draw_buffers_indexed 1 #define GL_OES_draw_elements_base_vertex 1 #define GL_OES_draw_texture 1 #define GL_OES_element_index_uint 1 #define GL_OES_extended_matrix_palette 1 #define GL_OES_fbo_render_mipmap 1 #define GL_OES_fixed_point 1 #define GL_OES_fragment_precision_high 1 #define GL_OES_framebuffer_object 1 #define GL_OES_geometry_point_size 1 #define GL_OES_geometry_shader 1 #define GL_OES_get_program_binary 1 #define GL_OES_gpu_shader5 1 #define GL_OES_mapbuffer 1 #define GL_OES_matrix_get 1 #define GL_OES_matrix_palette 1 #define GL_OES_packed_depth_stencil 1 #define GL_OES_point_size_array 1 #define GL_OES_point_sprite 1 #define GL_OES_primitive_bounding_box 1 #define GL_OES_query_matrix 1 #define GL_OES_read_format 1 #define GL_OES_required_internalformat 1 #define GL_OES_rgb8_rgba8 1 #define GL_OES_sample_shading 1 #define GL_OES_sample_variables 1 #define GL_OES_shader_image_atomic 1 #define GL_OES_shader_io_blocks 1 #define GL_OES_shader_multisample_interpolation 1 #define GL_OES_single_precision 1 #define GL_OES_standard_derivatives 1 #define GL_OES_stencil1 1 #define GL_OES_stencil4 1 #define GL_OES_stencil8 1 #define GL_OES_stencil_wrap 1 #define GL_OES_surfaceless_context 1 #define GL_OES_tessellation_point_size 1 #define GL_OES_tessellation_shader 1 #define GL_OES_texture_3D 1 #define GL_OES_texture_border_clamp 1 #define GL_OES_texture_buffer 1 #define GL_OES_texture_compression_astc 1 #define GL_OES_texture_cube_map 1 #define GL_OES_texture_cube_map_array 1 #define GL_OES_texture_env_crossbar 1 #define GL_OES_texture_float 1 #define GL_OES_texture_float_linear 1 #define GL_OES_texture_half_float 1 #define GL_OES_texture_half_float_linear 1 #define GL_OES_texture_mirrored_repeat 1 #define GL_OES_texture_npot 1 #define GL_OES_texture_stencil8 1 #define GL_OES_texture_storage_multisample_2d_array 1 #define GL_OES_texture_view 1 #define GL_OES_vertex_array_object 1 #define GL_OES_vertex_half_float 1 #define GL_OES_vertex_type_10_10_10_2 1 #define GL_OES_viewport_array 1 #define GL_OML_interlace 1 #define GL_OML_resample 1 #define GL_OML_subsample 1 #define GL_OVR_multiview 1 #define GL_OVR_multiview2 1 #define GL_OVR_multiview_multisampled_render_to_texture 1 #define GL_PGI_misc_hints 1 #define GL_PGI_vertex_hints 1 #define GL_QCOM_YUV_texture_gather 1 #define GL_QCOM_alpha_test 1 #define GL_QCOM_binning_control 1 #define GL_QCOM_driver_control 1 #define GL_QCOM_extended_get 1 #define GL_QCOM_extended_get2 1 #define GL_QCOM_framebuffer_foveated 1 #define GL_QCOM_perfmon_global_mode 1 #define GL_QCOM_shader_framebuffer_fetch_noncoherent 1 #define GL_QCOM_shader_framebuffer_fetch_rate 1 #define GL_QCOM_texture_foveated 1 #define GL_QCOM_texture_foveated_subsampled_layout 1 #define GL_QCOM_tiled_rendering 1 #define GL_QCOM_writeonly_rendering 1 #define GL_REND_screen_coordinates 1 #define GL_S3_s3tc 1 #define GL_SGIS_detail_texture 1 #define GL_SGIS_fog_function 1 #define GL_SGIS_generate_mipmap 1 #define GL_SGIS_multisample 1 #define GL_SGIS_pixel_texture 1 #define GL_SGIS_point_line_texgen 1 #define GL_SGIS_point_parameters 1 #define GL_SGIS_sharpen_texture 1 #define GL_SGIS_texture4D 1 #define GL_SGIS_texture_border_clamp 1 #define GL_SGIS_texture_color_mask 1 #define GL_SGIS_texture_edge_clamp 1 #define GL_SGIS_texture_filter4 1 #define GL_SGIS_texture_lod 1 #define GL_SGIS_texture_select 1 #define GL_SGIX_async 1 #define GL_SGIX_async_histogram 1 #define GL_SGIX_async_pixel 1 #define GL_SGIX_blend_alpha_minmax 1 #define GL_SGIX_calligraphic_fragment 1 #define GL_SGIX_clipmap 1 #define GL_SGIX_convolution_accuracy 1 #define GL_SGIX_depth_pass_instrument 1 #define GL_SGIX_depth_texture 1 #define GL_SGIX_flush_raster 1 #define GL_SGIX_fog_offset 1 #define GL_SGIX_fragment_lighting 1 #define GL_SGIX_framezoom 1 #define GL_SGIX_igloo_interface 1 #define GL_SGIX_instruments 1 #define GL_SGIX_interlace 1 #define GL_SGIX_ir_instrument1 1 #define GL_SGIX_list_priority 1 #define GL_SGIX_pixel_texture 1 #define GL_SGIX_pixel_tiles 1 #define GL_SGIX_polynomial_ffd 1 #define GL_SGIX_reference_plane 1 #define GL_SGIX_resample 1 #define GL_SGIX_scalebias_hint 1 #define GL_SGIX_shadow 1 #define GL_SGIX_shadow_ambient 1 #define GL_SGIX_sprite 1 #define GL_SGIX_subsample 1 #define GL_SGIX_tag_sample_buffer 1 #define GL_SGIX_texture_add_env 1 #define GL_SGIX_texture_coordinate_clamp 1 #define GL_SGIX_texture_lod_bias 1 #define GL_SGIX_texture_multi_buffer 1 #define GL_SGIX_texture_scale_bias 1 #define GL_SGIX_vertex_preclip 1 #define GL_SGIX_ycrcb 1 #define GL_SGIX_ycrcb_subsample 1 #define GL_SGIX_ycrcba 1 #define GL_SGI_color_matrix 1 #define GL_SGI_color_table 1 #define GL_SGI_texture_color_table 1 #define GL_SUNX_constant_data 1 #define GL_SUN_convolution_border_modes 1 #define GL_SUN_global_alpha 1 #define GL_SUN_mesh_array 1 #define GL_SUN_slice_accum 1 #define GL_SUN_triangle_list 1 #define GL_SUN_vertex 1 #define GL_VIV_shader_binary 1 #define GL_WIN_phong_shading 1 #define GL_WIN_specular_fog 1 #define GL_NEXT_BUFFER_NV -2 #define GL_SKIP_COMPONENTS4_NV -3 #define GL_SKIP_COMPONENTS3_NV -4 #define GL_SKIP_COMPONENTS2_NV -5 #define GL_SKIP_COMPONENTS1_NV -6 #define GL_FALSE 0 #define GL_LAYOUT_DEFAULT_INTEL 0 #define GL_NONE 0 #define GL_NONE_OES 0 #define GL_NO_ERROR 0 #define GL_ZERO 0 #define GL_CLOSE_PATH_NV 0x00 #define GL_POINTS 0x0000 #define GL_TERMINATE_SEQUENCE_COMMAND_NV 0x0000 #define GL_PERFQUERY_SINGLE_CONTEXT_INTEL 0x00000000 #define GL_2X_BIT_ATI 0x00000001 #define GL_CLIENT_PIXEL_STORE_BIT 0x00000001 #define GL_COLOR_BUFFER_BIT0_QCOM 0x00000001 #define GL_CONTEXT_CORE_PROFILE_BIT 0x00000001 #define GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT 0x00000001 #define GL_CURRENT_BIT 0x00000001 #define GL_FOVEATION_ENABLE_BIT_QCOM 0x00000001 #define GL_PERFQUERY_GLOBAL_CONTEXT_INTEL 0x00000001 #define GL_QUERY_DEPTH_PASS_EVENT_BIT_AMD 0x00000001 #define GL_RED_BIT_ATI 0x00000001 #define GL_SUBGROUP_FEATURE_BASIC_BIT_KHR 0x00000001 #define GL_SYNC_FLUSH_COMMANDS_BIT 0x00000001 #define GL_SYNC_FLUSH_COMMANDS_BIT_APPLE 0x00000001 #define GL_TEXTURE_DEFORMATION_BIT_SGIX 0x00000001 #define GL_TEXTURE_STORAGE_SPARSE_BIT_AMD 0x00000001 #define GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT 0x00000001 #define GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT_EXT 0x00000001 #define GL_VERTEX_SHADER_BIT 0x00000001 #define GL_VERTEX_SHADER_BIT_EXT 0x00000001 #define GL_4X_BIT_ATI 0x00000002 #define GL_CLIENT_VERTEX_ARRAY_BIT 0x00000002 #define GL_COLOR_BUFFER_BIT1_QCOM 0x00000002 #define GL_COMP_BIT_ATI 0x00000002 #define GL_CONTEXT_COMPATIBILITY_PROFILE_BIT 0x00000002 #define GL_CONTEXT_FLAG_DEBUG_BIT 0x00000002 #define GL_CONTEXT_FLAG_DEBUG_BIT_KHR 0x00000002 #define GL_ELEMENT_ARRAY_BARRIER_BIT 0x00000002 #define GL_ELEMENT_ARRAY_BARRIER_BIT_EXT 0x00000002 #define GL_FOVEATION_SCALED_BIN_METHOD_BIT_QCOM 0x00000002 #define GL_FRAGMENT_SHADER_BIT 0x00000002 #define GL_FRAGMENT_SHADER_BIT_EXT 0x00000002 #define GL_GEOMETRY_DEFORMATION_BIT_SGIX 0x00000002 #define GL_GREEN_BIT_ATI 0x00000002 #define GL_POINT_BIT 0x00000002 #define GL_QUERY_DEPTH_FAIL_EVENT_BIT_AMD 0x00000002 #define GL_SUBGROUP_FEATURE_VOTE_BIT_KHR 0x00000002 #define GL_8X_BIT_ATI 0x00000004 #define GL_BLUE_BIT_ATI 0x00000004 #define GL_COLOR_BUFFER_BIT2_QCOM 0x00000004 #define GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT 0x00000004 #define GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT_ARB 0x00000004 #define GL_FOVEATION_SUBSAMPLED_LAYOUT_METHOD_BIT_QCOM 0x00000004 #define GL_GEOMETRY_SHADER_BIT 0x00000004 #define GL_GEOMETRY_SHADER_BIT_EXT 0x00000004 #define GL_GEOMETRY_SHADER_BIT_OES 0x00000004 #define GL_LINE_BIT 0x00000004 #define GL_NEGATE_BIT_ATI 0x00000004 #define GL_QUERY_STENCIL_FAIL_EVENT_BIT_AMD 0x00000004 #define GL_SUBGROUP_FEATURE_ARITHMETIC_BIT_KHR 0x00000004 #define GL_UNIFORM_BARRIER_BIT 0x00000004 #define GL_UNIFORM_BARRIER_BIT_EXT 0x00000004 #define GL_VERTEX23_BIT_PGI 0x00000004 #define GL_BIAS_BIT_ATI 0x00000008 #define GL_COLOR_BUFFER_BIT3_QCOM 0x00000008 #define GL_CONTEXT_FLAG_NO_ERROR_BIT 0x00000008 #define GL_CONTEXT_FLAG_NO_ERROR_BIT_KHR 0x00000008 #define GL_HALF_BIT_ATI 0x00000008 #define GL_POLYGON_BIT 0x00000008 #define GL_QUERY_DEPTH_BOUNDS_FAIL_EVENT_BIT_AMD 0x00000008 #define GL_SUBGROUP_FEATURE_BALLOT_BIT_KHR 0x00000008 #define GL_TESS_CONTROL_SHADER_BIT 0x00000008 #define GL_TESS_CONTROL_SHADER_BIT_EXT 0x00000008 #define GL_TESS_CONTROL_SHADER_BIT_OES 0x00000008 #define GL_TEXTURE_FETCH_BARRIER_BIT 0x00000008 #define GL_TEXTURE_FETCH_BARRIER_BIT_EXT 0x00000008 #define GL_VERTEX4_BIT_PGI 0x00000008 #define GL_COLOR_BUFFER_BIT4_QCOM 0x00000010 #define GL_CONTEXT_FLAG_PROTECTED_CONTENT_BIT_EXT 0x00000010 #define GL_POLYGON_STIPPLE_BIT 0x00000010 #define GL_QUARTER_BIT_ATI 0x00000010 #define GL_SHADER_GLOBAL_ACCESS_BARRIER_BIT_NV 0x00000010 #define GL_SUBGROUP_FEATURE_SHUFFLE_BIT_KHR 0x00000010 #define GL_TESS_EVALUATION_SHADER_BIT 0x00000010 #define GL_TESS_EVALUATION_SHADER_BIT_EXT 0x00000010 #define GL_TESS_EVALUATION_SHADER_BIT_OES 0x00000010 #define GL_COLOR_BUFFER_BIT5_QCOM 0x00000020 #define GL_COMPUTE_SHADER_BIT 0x00000020 #define GL_EIGHTH_BIT_ATI 0x00000020 #define GL_PIXEL_MODE_BIT 0x00000020 #define GL_SHADER_IMAGE_ACCESS_BARRIER_BIT 0x00000020 #define GL_SHADER_IMAGE_ACCESS_BARRIER_BIT_EXT 0x00000020 #define GL_SUBGROUP_FEATURE_SHUFFLE_RELATIVE_BIT_KHR 0x00000020 #define GL_COLOR_BUFFER_BIT6_QCOM 0x00000040 #define GL_COMMAND_BARRIER_BIT 0x00000040 #define GL_COMMAND_BARRIER_BIT_EXT 0x00000040 #define GL_LIGHTING_BIT 0x00000040 #define GL_MESH_SHADER_BIT_NV 0x00000040 #define GL_SATURATE_BIT_ATI 0x00000040 #define GL_SUBGROUP_FEATURE_CLUSTERED_BIT_KHR 0x00000040 #define GL_COLOR_BUFFER_BIT7_QCOM 0x00000080 #define GL_FOG_BIT 0x00000080 #define GL_PIXEL_BUFFER_BARRIER_BIT 0x00000080 #define GL_PIXEL_BUFFER_BARRIER_BIT_EXT 0x00000080 #define GL_SUBGROUP_FEATURE_QUAD_BIT_KHR 0x00000080 #define GL_TASK_SHADER_BIT_NV 0x00000080 #define GL_DEPTH_BUFFER_BIT 0x00000100 #define GL_DEPTH_BUFFER_BIT0_QCOM 0x00000100 #define GL_SUBGROUP_FEATURE_PARTITIONED_BIT_NV 0x00000100 #define GL_TEXTURE_UPDATE_BARRIER_BIT 0x00000100 #define GL_TEXTURE_UPDATE_BARRIER_BIT_EXT 0x00000100 #define GL_ACCUM_BUFFER_BIT 0x00000200 #define GL_BUFFER_UPDATE_BARRIER_BIT 0x00000200 #define GL_BUFFER_UPDATE_BARRIER_BIT_EXT 0x00000200 #define GL_DEPTH_BUFFER_BIT1_QCOM 0x00000200 #define GL_DEPTH_BUFFER_BIT2_QCOM 0x00000400 #define GL_FRAMEBUFFER_BARRIER_BIT 0x00000400 #define GL_FRAMEBUFFER_BARRIER_BIT_EXT 0x00000400 #define GL_STENCIL_BUFFER_BIT 0x00000400 #define GL_DEPTH_BUFFER_BIT3_QCOM 0x00000800 #define GL_TRANSFORM_FEEDBACK_BARRIER_BIT 0x00000800 #define GL_TRANSFORM_FEEDBACK_BARRIER_BIT_EXT 0x00000800 #define GL_VIEWPORT_BIT 0x00000800 #define GL_ATOMIC_COUNTER_BARRIER_BIT 0x00001000 #define GL_ATOMIC_COUNTER_BARRIER_BIT_EXT 0x00001000 #define GL_DEPTH_BUFFER_BIT4_QCOM 0x00001000 #define GL_TRANSFORM_BIT 0x00001000 #define GL_DEPTH_BUFFER_BIT5_QCOM 0x00002000 #define GL_ENABLE_BIT 0x00002000 #define GL_SHADER_STORAGE_BARRIER_BIT 0x00002000 #define GL_CLIENT_MAPPED_BUFFER_BARRIER_BIT 0x00004000 #define GL_CLIENT_MAPPED_BUFFER_BARRIER_BIT_EXT 0x00004000 #define GL_COLOR_BUFFER_BIT 0x00004000 #define GL_DEPTH_BUFFER_BIT6_QCOM 0x00004000 #define GL_COVERAGE_BUFFER_BIT_NV 0x00008000 #define GL_DEPTH_BUFFER_BIT7_QCOM 0x00008000 #define GL_HINT_BIT 0x00008000 #define GL_QUERY_BUFFER_BARRIER_BIT 0x00008000 #define GL_LINES 0x0001 #define GL_MAP_READ_BIT 0x0001 #define GL_MAP_READ_BIT_EXT 0x0001 #define GL_NOP_COMMAND_NV 0x0001 #define GL_RESTART_SUN 0x0001 #define GL_TRACE_OPERATIONS_BIT_MESA 0x0001 #define GL_COLOR3_BIT_PGI 0x00010000 #define GL_EVAL_BIT 0x00010000 #define GL_FONT_X_MIN_BOUNDS_BIT_NV 0x00010000 #define GL_STENCIL_BUFFER_BIT0_QCOM 0x00010000 #define GL_DRAW_ELEMENTS_COMMAND_NV 0x0002 #define GL_LINE_LOOP 0x0002 #define GL_MAP_WRITE_BIT 0x0002 #define GL_MAP_WRITE_BIT_EXT 0x0002 #define GL_REPLACE_MIDDLE_SUN 0x0002 #define GL_TRACE_PRIMITIVES_BIT_MESA 0x0002 #define GL_COLOR4_BIT_PGI 0x00020000 #define GL_FONT_Y_MIN_BOUNDS_BIT_NV 0x00020000 #define GL_LIST_BIT 0x00020000 #define GL_STENCIL_BUFFER_BIT1_QCOM 0x00020000 #define GL_DRAW_ARRAYS_COMMAND_NV 0x0003 #define GL_LINE_STRIP 0x0003 #define GL_REPLACE_OLDEST_SUN 0x0003 #define GL_DRAW_ELEMENTS_STRIP_COMMAND_NV 0x0004 #define GL_MAP_INVALIDATE_RANGE_BIT 0x0004 #define GL_MAP_INVALIDATE_RANGE_BIT_EXT 0x0004 #define GL_TRACE_ARRAYS_BIT_MESA 0x0004 #define GL_TRIANGLES 0x0004 #define GL_EDGEFLAG_BIT_PGI 0x00040000 #define GL_FONT_X_MAX_BOUNDS_BIT_NV 0x00040000 #define GL_STENCIL_BUFFER_BIT2_QCOM 0x00040000 #define GL_TEXTURE_BIT 0x00040000 #define GL_DRAW_ARRAYS_STRIP_COMMAND_NV 0x0005 #define GL_TRIANGLE_STRIP 0x0005 #define GL_DRAW_ELEMENTS_INSTANCED_COMMAND_NV 0x0006 #define GL_TRIANGLE_FAN 0x0006 #define GL_DRAW_ARRAYS_INSTANCED_COMMAND_NV 0x0007 #define GL_QUADS 0x0007 #define GL_QUADS_EXT 0x0007 #define GL_QUADS_OES 0x0007 #define GL_ELEMENT_ADDRESS_COMMAND_NV 0x0008 #define GL_MAP_INVALIDATE_BUFFER_BIT 0x0008 #define GL_MAP_INVALIDATE_BUFFER_BIT_EXT 0x0008 #define GL_QUAD_STRIP 0x0008 #define GL_TRACE_TEXTURES_BIT_MESA 0x0008 #define GL_FONT_Y_MAX_BOUNDS_BIT_NV 0x00080000 #define GL_INDEX_BIT_PGI 0x00080000 #define GL_SCISSOR_BIT 0x00080000 #define GL_STENCIL_BUFFER_BIT3_QCOM 0x00080000 #define GL_ATTRIBUTE_ADDRESS_COMMAND_NV 0x0009 #define GL_POLYGON 0x0009 #define GL_LINES_ADJACENCY 0x000A #define GL_LINES_ADJACENCY_ARB 0x000A #define GL_LINES_ADJACENCY_EXT 0x000A #define GL_LINES_ADJACENCY_OES 0x000A #define GL_UNIFORM_ADDRESS_COMMAND_NV 0x000A #define GL_BLEND_COLOR_COMMAND_NV 0x000B #define GL_LINE_STRIP_ADJACENCY 0x000B #define GL_LINE_STRIP_ADJACENCY_ARB 0x000B #define GL_LINE_STRIP_ADJACENCY_EXT 0x000B #define GL_LINE_STRIP_ADJACENCY_OES 0x000B #define GL_STENCIL_REF_COMMAND_NV 0x000C #define GL_TRIANGLES_ADJACENCY 0x000C #define GL_TRIANGLES_ADJACENCY_ARB 0x000C #define GL_TRIANGLES_ADJACENCY_EXT 0x000C #define GL_TRIANGLES_ADJACENCY_OES 0x000C #define GL_LINE_WIDTH_COMMAND_NV 0x000D #define GL_TRIANGLE_STRIP_ADJACENCY 0x000D #define GL_TRIANGLE_STRIP_ADJACENCY_ARB 0x000D #define GL_TRIANGLE_STRIP_ADJACENCY_EXT 0x000D #define GL_TRIANGLE_STRIP_ADJACENCY_OES 0x000D #define GL_PATCHES 0x000E #define GL_PATCHES_EXT 0x000E #define GL_PATCHES_OES 0x000E #define GL_POLYGON_OFFSET_COMMAND_NV 0x000E #define GL_ALPHA_REF_COMMAND_NV 0x000F #define GL_MAP_FLUSH_EXPLICIT_BIT 0x0010 #define GL_MAP_FLUSH_EXPLICIT_BIT_EXT 0x0010 #define GL_TRACE_PIXELS_BIT_MESA 0x0010 #define GL_VIEWPORT_COMMAND_NV 0x0010 #define GL_FONT_UNITS_PER_EM_BIT_NV 0x00100000 #define GL_MAT_AMBIENT_BIT_PGI 0x00100000 #define GL_STENCIL_BUFFER_BIT4_QCOM 0x00100000 #define GL_SCISSOR_COMMAND_NV 0x0011 #define GL_FRONT_FACE_COMMAND_NV 0x0012 #define GL_MAP_UNSYNCHRONIZED_BIT 0x0020 #define GL_MAP_UNSYNCHRONIZED_BIT_EXT 0x0020 #define GL_TRACE_ERRORS_BIT_MESA 0x0020 #define GL_FONT_ASCENDER_BIT_NV 0x00200000 #define GL_MAT_AMBIENT_AND_DIFFUSE_BIT_PGI 0x00200000 #define GL_STENCIL_BUFFER_BIT5_QCOM 0x00200000 #define GL_MAP_PERSISTENT_BIT 0x0040 #define GL_MAP_PERSISTENT_BIT_EXT 0x0040 #define GL_FONT_DESCENDER_BIT_NV 0x00400000 #define GL_MAT_DIFFUSE_BIT_PGI 0x00400000 #define GL_STENCIL_BUFFER_BIT6_QCOM 0x00400000 #define GL_MAP_COHERENT_BIT 0x0080 #define GL_MAP_COHERENT_BIT_EXT 0x0080 #define GL_FONT_HEIGHT_BIT_NV 0x00800000 #define GL_MAT_EMISSION_BIT_PGI 0x00800000 #define GL_STENCIL_BUFFER_BIT7_QCOM 0x00800000 #define GL_BOLD_BIT_NV 0x01 #define GL_GLYPH_WIDTH_BIT_NV 0x01 #define GL_ACCUM 0x0100 #define GL_DYNAMIC_STORAGE_BIT 0x0100 #define GL_DYNAMIC_STORAGE_BIT_EXT 0x0100 #define GL_FONT_MAX_ADVANCE_WIDTH_BIT_NV 0x01000000 #define GL_MAT_COLOR_INDEXES_BIT_PGI 0x01000000 #define GL_MULTISAMPLE_BUFFER_BIT0_QCOM 0x01000000 #define GL_LOAD 0x0101 #define GL_RETURN 0x0102 #define GL_MULT 0x0103 #define GL_ADD 0x0104 #define GL_GLYPH_HEIGHT_BIT_NV 0x02 #define GL_ITALIC_BIT_NV 0x02 #define GL_MOVE_TO_NV 0x02 #define GL_CLIENT_STORAGE_BIT 0x0200 #define GL_CLIENT_STORAGE_BIT_EXT 0x0200 #define GL_NEVER 0x0200 #define GL_FONT_MAX_ADVANCE_HEIGHT_BIT_NV 0x02000000 #define GL_MAT_SHININESS_BIT_PGI 0x02000000 #define GL_MULTISAMPLE_BUFFER_BIT1_QCOM 0x02000000 #define GL_LESS 0x0201 #define GL_EQUAL 0x0202 #define GL_LEQUAL 0x0203 #define GL_GREATER 0x0204 #define GL_NOTEQUAL 0x0205 #define GL_GEQUAL 0x0206 #define GL_ALWAYS 0x0207 #define GL_RELATIVE_MOVE_TO_NV 0x03 #define GL_SRC_COLOR 0x0300 #define GL_ONE_MINUS_SRC_COLOR 0x0301 #define GL_SRC_ALPHA 0x0302 #define GL_ONE_MINUS_SRC_ALPHA 0x0303 #define GL_DST_ALPHA 0x0304 #define GL_ONE_MINUS_DST_ALPHA 0x0305 #define GL_DST_COLOR 0x0306 #define GL_ONE_MINUS_DST_COLOR 0x0307 #define GL_SRC_ALPHA_SATURATE 0x0308 #define GL_SRC_ALPHA_SATURATE_EXT 0x0308 #define GL_GLYPH_HORIZONTAL_BEARING_X_BIT_NV 0x04 #define GL_LINE_TO_NV 0x04 #define GL_FRONT_LEFT 0x0400 #define GL_SPARSE_STORAGE_BIT_ARB 0x0400 #define GL_FONT_UNDERLINE_POSITION_BIT_NV 0x04000000 #define GL_MAT_SPECULAR_BIT_PGI 0x04000000 #define GL_MULTISAMPLE_BUFFER_BIT2_QCOM 0x04000000 #define GL_FRONT_RIGHT 0x0401 #define GL_BACK_LEFT 0x0402 #define GL_BACK_RIGHT 0x0403 #define GL_FRONT 0x0404 #define GL_BACK 0x0405 #define GL_LEFT 0x0406 #define GL_RIGHT 0x0407 #define GL_FRONT_AND_BACK 0x0408 #define GL_AUX0 0x0409 #define GL_AUX1 0x040A #define GL_AUX2 0x040B #define GL_AUX3 0x040C #define GL_RELATIVE_LINE_TO_NV 0x05 #define GL_INVALID_ENUM 0x0500 #define GL_INVALID_VALUE 0x0501 #define GL_INVALID_OPERATION 0x0502 #define GL_STACK_OVERFLOW 0x0503 #define GL_STACK_OVERFLOW_KHR 0x0503 #define GL_STACK_UNDERFLOW 0x0504 #define GL_STACK_UNDERFLOW_KHR 0x0504 #define GL_OUT_OF_MEMORY 0x0505 #define GL_INVALID_FRAMEBUFFER_OPERATION 0x0506 #define GL_INVALID_FRAMEBUFFER_OPERATION_EXT 0x0506 #define GL_INVALID_FRAMEBUFFER_OPERATION_OES 0x0506 #define GL_CONTEXT_LOST 0x0507 #define GL_CONTEXT_LOST_KHR 0x0507 #define GL_HORIZONTAL_LINE_TO_NV 0x06 #define GL_2D 0x0600 #define GL_3D 0x0601 #define GL_3D_COLOR 0x0602 #define GL_3D_COLOR_TEXTURE 0x0603 #define GL_4D_COLOR_TEXTURE 0x0604 #define GL_RELATIVE_HORIZONTAL_LINE_TO_NV 0x07 #define GL_PASS_THROUGH_TOKEN 0x0700 #define GL_POINT_TOKEN 0x0701 #define GL_LINE_TOKEN 0x0702 #define GL_POLYGON_TOKEN 0x0703 #define GL_BITMAP_TOKEN 0x0704 #define GL_DRAW_PIXEL_TOKEN 0x0705 #define GL_COPY_PIXEL_TOKEN 0x0706 #define GL_LINE_RESET_TOKEN 0x0707 #define GL_GLYPH_HORIZONTAL_BEARING_Y_BIT_NV 0x08 #define GL_VERTICAL_LINE_TO_NV 0x08 #define GL_EXP 0x0800 #define GL_LGPU_SEPARATE_STORAGE_BIT_NVX 0x0800 #define GL_PER_GPU_STORAGE_BIT_NV 0x0800 #define GL_FONT_UNDERLINE_THICKNESS_BIT_NV 0x08000000 #define GL_MULTISAMPLE_BUFFER_BIT3_QCOM 0x08000000 #define GL_NORMAL_BIT_PGI 0x08000000 #define GL_EXP2 0x0801 #define GL_RELATIVE_VERTICAL_LINE_TO_NV 0x09 #define GL_CW 0x0900 #define GL_CCW 0x0901 #define GL_QUADRATIC_CURVE_TO_NV 0x0A #define GL_COEFF 0x0A00 #define GL_ORDER 0x0A01 #define GL_DOMAIN 0x0A02 #define GL_RELATIVE_QUADRATIC_CURVE_TO_NV 0x0B #define GL_CURRENT_COLOR 0x0B00 #define GL_CURRENT_INDEX 0x0B01 #define GL_CURRENT_NORMAL 0x0B02 #define GL_CURRENT_TEXTURE_COORDS 0x0B03 #define GL_CURRENT_RASTER_COLOR 0x0B04 #define GL_CURRENT_RASTER_INDEX 0x0B05 #define GL_CURRENT_RASTER_TEXTURE_COORDS 0x0B06 #define GL_CURRENT_RASTER_POSITION 0x0B07 #define GL_CURRENT_RASTER_POSITION_VALID 0x0B08 #define GL_CURRENT_RASTER_DISTANCE 0x0B09 #define GL_POINT_SMOOTH 0x0B10 #define GL_POINT_SIZE 0x0B11 #define GL_POINT_SIZE_RANGE 0x0B12 #define GL_SMOOTH_POINT_SIZE_RANGE 0x0B12 #define GL_POINT_SIZE_GRANULARITY 0x0B13 #define GL_SMOOTH_POINT_SIZE_GRANULARITY 0x0B13 #define GL_LINE_SMOOTH 0x0B20 #define GL_LINE_WIDTH 0x0B21 #define GL_LINE_WIDTH_RANGE 0x0B22 #define GL_SMOOTH_LINE_WIDTH_RANGE 0x0B22 #define GL_LINE_WIDTH_GRANULARITY 0x0B23 #define GL_SMOOTH_LINE_WIDTH_GRANULARITY 0x0B23 #define GL_LINE_STIPPLE 0x0B24 #define GL_LINE_STIPPLE_PATTERN 0x0B25 #define GL_LINE_STIPPLE_REPEAT 0x0B26 #define GL_LIST_MODE 0x0B30 #define GL_MAX_LIST_NESTING 0x0B31 #define GL_LIST_BASE 0x0B32 #define GL_LIST_INDEX 0x0B33 #define GL_POLYGON_MODE 0x0B40 #define GL_POLYGON_MODE_NV 0x0B40 #define GL_POLYGON_SMOOTH 0x0B41 #define GL_POLYGON_STIPPLE 0x0B42 #define GL_EDGE_FLAG 0x0B43 #define GL_CULL_FACE 0x0B44 #define GL_CULL_FACE_MODE 0x0B45 #define GL_FRONT_FACE 0x0B46 #define GL_LIGHTING 0x0B50 #define GL_LIGHT_MODEL_LOCAL_VIEWER 0x0B51 #define GL_LIGHT_MODEL_TWO_SIDE 0x0B52 #define GL_LIGHT_MODEL_AMBIENT 0x0B53 #define GL_SHADE_MODEL 0x0B54 #define GL_COLOR_MATERIAL_FACE 0x0B55 #define GL_COLOR_MATERIAL_PARAMETER 0x0B56 #define GL_COLOR_MATERIAL 0x0B57 #define GL_FOG 0x0B60 #define GL_FOG_INDEX 0x0B61 #define GL_FOG_DENSITY 0x0B62 #define GL_FOG_START 0x0B63 #define GL_FOG_END 0x0B64 #define GL_FOG_MODE 0x0B65 #define GL_FOG_COLOR 0x0B66 #define GL_DEPTH_RANGE 0x0B70 #define GL_DEPTH_TEST 0x0B71 #define GL_DEPTH_WRITEMASK 0x0B72 #define GL_DEPTH_CLEAR_VALUE 0x0B73 #define GL_DEPTH_FUNC 0x0B74 #define GL_ACCUM_CLEAR_VALUE 0x0B80 #define GL_STENCIL_TEST 0x0B90 #define GL_STENCIL_CLEAR_VALUE 0x0B91 #define GL_STENCIL_FUNC 0x0B92 #define GL_STENCIL_VALUE_MASK 0x0B93 #define GL_STENCIL_FAIL 0x0B94 #define GL_STENCIL_PASS_DEPTH_FAIL 0x0B95 #define GL_STENCIL_PASS_DEPTH_PASS 0x0B96 #define GL_STENCIL_REF 0x0B97 #define GL_STENCIL_WRITEMASK 0x0B98 #define GL_MATRIX_MODE 0x0BA0 #define GL_NORMALIZE 0x0BA1 #define GL_VIEWPORT 0x0BA2 #define GL_MODELVIEW0_STACK_DEPTH_EXT 0x0BA3 #define GL_MODELVIEW_STACK_DEPTH 0x0BA3 #define GL_PATH_MODELVIEW_STACK_DEPTH_NV 0x0BA3 #define GL_PATH_PROJECTION_STACK_DEPTH_NV 0x0BA4 #define GL_PROJECTION_STACK_DEPTH 0x0BA4 #define GL_TEXTURE_STACK_DEPTH 0x0BA5 #define GL_MODELVIEW0_MATRIX_EXT 0x0BA6 #define GL_MODELVIEW_MATRIX 0x0BA6 #define GL_PATH_MODELVIEW_MATRIX_NV 0x0BA6 #define GL_PATH_PROJECTION_MATRIX_NV 0x0BA7 #define GL_PROJECTION_MATRIX 0x0BA7 #define GL_TEXTURE_MATRIX 0x0BA8 #define GL_ATTRIB_STACK_DEPTH 0x0BB0 #define GL_CLIENT_ATTRIB_STACK_DEPTH 0x0BB1 #define GL_ALPHA_TEST 0x0BC0 #define GL_ALPHA_TEST_QCOM 0x0BC0 #define GL_ALPHA_TEST_FUNC 0x0BC1 #define GL_ALPHA_TEST_FUNC_QCOM 0x0BC1 #define GL_ALPHA_TEST_REF 0x0BC2 #define GL_ALPHA_TEST_REF_QCOM 0x0BC2 #define GL_DITHER 0x0BD0 #define GL_BLEND_DST 0x0BE0 #define GL_BLEND_SRC 0x0BE1 #define GL_BLEND 0x0BE2 #define GL_LOGIC_OP_MODE 0x0BF0 #define GL_INDEX_LOGIC_OP 0x0BF1 #define GL_LOGIC_OP 0x0BF1 #define GL_COLOR_LOGIC_OP 0x0BF2 #define GL_CUBIC_CURVE_TO_NV 0x0C #define GL_AUX_BUFFERS 0x0C00 #define GL_DRAW_BUFFER 0x0C01 #define GL_DRAW_BUFFER_EXT 0x0C01 #define GL_READ_BUFFER 0x0C02 #define GL_READ_BUFFER_EXT 0x0C02 #define GL_READ_BUFFER_NV 0x0C02 #define GL_SCISSOR_BOX 0x0C10 #define GL_SCISSOR_TEST 0x0C11 #define GL_INDEX_CLEAR_VALUE 0x0C20 #define GL_INDEX_WRITEMASK 0x0C21 #define GL_COLOR_CLEAR_VALUE 0x0C22 #define GL_COLOR_WRITEMASK 0x0C23 #define GL_INDEX_MODE 0x0C30 #define GL_RGBA_MODE 0x0C31 #define GL_DOUBLEBUFFER 0x0C32 #define GL_STEREO 0x0C33 #define GL_RENDER_MODE 0x0C40 #define GL_PERSPECTIVE_CORRECTION_HINT 0x0C50 #define GL_POINT_SMOOTH_HINT 0x0C51 #define GL_LINE_SMOOTH_HINT 0x0C52 #define GL_POLYGON_SMOOTH_HINT 0x0C53 #define GL_FOG_HINT 0x0C54 #define GL_TEXTURE_GEN_S 0x0C60 #define GL_TEXTURE_GEN_T 0x0C61 #define GL_TEXTURE_GEN_R 0x0C62 #define GL_TEXTURE_GEN_Q 0x0C63 #define GL_PIXEL_MAP_I_TO_I 0x0C70 #define GL_PIXEL_MAP_S_TO_S 0x0C71 #define GL_PIXEL_MAP_I_TO_R 0x0C72 #define GL_PIXEL_MAP_I_TO_G 0x0C73 #define GL_PIXEL_MAP_I_TO_B 0x0C74 #define GL_PIXEL_MAP_I_TO_A 0x0C75 #define GL_PIXEL_MAP_R_TO_R 0x0C76 #define GL_PIXEL_MAP_G_TO_G 0x0C77 #define GL_PIXEL_MAP_B_TO_B 0x0C78 #define GL_PIXEL_MAP_A_TO_A 0x0C79 #define GL_PIXEL_MAP_I_TO_I_SIZE 0x0CB0 #define GL_PIXEL_MAP_S_TO_S_SIZE 0x0CB1 #define GL_PIXEL_MAP_I_TO_R_SIZE 0x0CB2 #define GL_PIXEL_MAP_I_TO_G_SIZE 0x0CB3 #define GL_PIXEL_MAP_I_TO_B_SIZE 0x0CB4 #define GL_PIXEL_MAP_I_TO_A_SIZE 0x0CB5 #define GL_PIXEL_MAP_R_TO_R_SIZE 0x0CB6 #define GL_PIXEL_MAP_G_TO_G_SIZE 0x0CB7 #define GL_PIXEL_MAP_B_TO_B_SIZE 0x0CB8 #define GL_PIXEL_MAP_A_TO_A_SIZE 0x0CB9 #define GL_UNPACK_SWAP_BYTES 0x0CF0 #define GL_UNPACK_LSB_FIRST 0x0CF1 #define GL_UNPACK_ROW_LENGTH 0x0CF2 #define GL_UNPACK_ROW_LENGTH_EXT 0x0CF2 #define GL_UNPACK_SKIP_ROWS 0x0CF3 #define GL_UNPACK_SKIP_ROWS_EXT 0x0CF3 #define GL_UNPACK_SKIP_PIXELS 0x0CF4 #define GL_UNPACK_SKIP_PIXELS_EXT 0x0CF4 #define GL_UNPACK_ALIGNMENT 0x0CF5 #define GL_RELATIVE_CUBIC_CURVE_TO_NV 0x0D #define GL_PACK_SWAP_BYTES 0x0D00 #define GL_PACK_LSB_FIRST 0x0D01 #define GL_PACK_ROW_LENGTH 0x0D02 #define GL_PACK_SKIP_ROWS 0x0D03 #define GL_PACK_SKIP_PIXELS 0x0D04 #define GL_PACK_ALIGNMENT 0x0D05 #define GL_MAP_COLOR 0x0D10 #define GL_MAP_STENCIL 0x0D11 #define GL_INDEX_SHIFT 0x0D12 #define GL_INDEX_OFFSET 0x0D13 #define GL_RED_SCALE 0x0D14 #define GL_RED_BIAS 0x0D15 #define GL_ZOOM_X 0x0D16 #define GL_ZOOM_Y 0x0D17 #define GL_GREEN_SCALE 0x0D18 #define GL_GREEN_BIAS 0x0D19 #define GL_BLUE_SCALE 0x0D1A #define GL_BLUE_BIAS 0x0D1B #define GL_ALPHA_SCALE 0x0D1C #define GL_ALPHA_BIAS 0x0D1D #define GL_DEPTH_SCALE 0x0D1E #define GL_DEPTH_BIAS 0x0D1F #define GL_MAX_EVAL_ORDER 0x0D30 #define GL_MAX_LIGHTS 0x0D31 #define GL_MAX_CLIP_DISTANCES 0x0D32 #define GL_MAX_CLIP_DISTANCES_APPLE 0x0D32 #define GL_MAX_CLIP_DISTANCES_EXT 0x0D32 #define GL_MAX_CLIP_PLANES 0x0D32 #define GL_MAX_CLIP_PLANES_IMG 0x0D32 #define GL_MAX_TEXTURE_SIZE 0x0D33 #define GL_MAX_PIXEL_MAP_TABLE 0x0D34 #define GL_MAX_ATTRIB_STACK_DEPTH 0x0D35 #define GL_MAX_MODELVIEW_STACK_DEPTH 0x0D36 #define GL_PATH_MAX_MODELVIEW_STACK_DEPTH_NV 0x0D36 #define GL_MAX_NAME_STACK_DEPTH 0x0D37 #define GL_MAX_PROJECTION_STACK_DEPTH 0x0D38 #define GL_PATH_MAX_PROJECTION_STACK_DEPTH_NV 0x0D38 #define GL_MAX_TEXTURE_STACK_DEPTH 0x0D39 #define GL_MAX_VIEWPORT_DIMS 0x0D3A #define GL_MAX_CLIENT_ATTRIB_STACK_DEPTH 0x0D3B #define GL_SUBPIXEL_BITS 0x0D50 #define GL_INDEX_BITS 0x0D51 #define GL_RED_BITS 0x0D52 #define GL_GREEN_BITS 0x0D53 #define GL_BLUE_BITS 0x0D54 #define GL_ALPHA_BITS 0x0D55 #define GL_DEPTH_BITS 0x0D56 #define GL_STENCIL_BITS 0x0D57 #define GL_ACCUM_RED_BITS 0x0D58 #define GL_ACCUM_GREEN_BITS 0x0D59 #define GL_ACCUM_BLUE_BITS 0x0D5A #define GL_ACCUM_ALPHA_BITS 0x0D5B #define GL_NAME_STACK_DEPTH 0x0D70 #define GL_AUTO_NORMAL 0x0D80 #define GL_MAP1_COLOR_4 0x0D90 #define GL_MAP1_INDEX 0x0D91 #define GL_MAP1_NORMAL 0x0D92 #define GL_MAP1_TEXTURE_COORD_1 0x0D93 #define GL_MAP1_TEXTURE_COORD_2 0x0D94 #define GL_MAP1_TEXTURE_COORD_3 0x0D95 #define GL_MAP1_TEXTURE_COORD_4 0x0D96 #define GL_MAP1_VERTEX_3 0x0D97 #define GL_MAP1_VERTEX_4 0x0D98 #define GL_MAP2_COLOR_4 0x0DB0 #define GL_MAP2_INDEX 0x0DB1 #define GL_MAP2_NORMAL 0x0DB2 #define GL_MAP2_TEXTURE_COORD_1 0x0DB3 #define GL_MAP2_TEXTURE_COORD_2 0x0DB4 #define GL_MAP2_TEXTURE_COORD_3 0x0DB5 #define GL_MAP2_TEXTURE_COORD_4 0x0DB6 #define GL_MAP2_VERTEX_3 0x0DB7 #define GL_MAP2_VERTEX_4 0x0DB8 #define GL_MAP1_GRID_DOMAIN 0x0DD0 #define GL_MAP1_GRID_SEGMENTS 0x0DD1 #define GL_MAP2_GRID_DOMAIN 0x0DD2 #define GL_MAP2_GRID_SEGMENTS 0x0DD3 #define GL_TEXTURE_1D 0x0DE0 #define GL_TEXTURE_2D 0x0DE1 #define GL_FEEDBACK_BUFFER_POINTER 0x0DF0 #define GL_FEEDBACK_BUFFER_SIZE 0x0DF1 #define GL_FEEDBACK_BUFFER_TYPE 0x0DF2 #define GL_SELECTION_BUFFER_POINTER 0x0DF3 #define GL_SELECTION_BUFFER_SIZE 0x0DF4 #define GL_SMOOTH_QUADRATIC_CURVE_TO_NV 0x0E #define GL_RELATIVE_SMOOTH_QUADRATIC_CURVE_TO_NV 0x0F #define GL_GLYPH_HORIZONTAL_BEARING_ADVANCE_BIT_NV 0x10 #define GL_SMOOTH_CUBIC_CURVE_TO_NV 0x10 #define GL_GLYPH_HAS_KERNING_BIT_NV 0x100 #define GL_TEXTURE_WIDTH 0x1000 #define GL_FONT_HAS_KERNING_BIT_NV 0x10000000 #define GL_MULTISAMPLE_BUFFER_BIT4_QCOM 0x10000000 #define GL_TEXCOORD1_BIT_PGI 0x10000000 #define GL_TEXTURE_HEIGHT 0x1001 #define GL_TEXTURE_COMPONENTS 0x1003 #define GL_TEXTURE_INTERNAL_FORMAT 0x1003 #define GL_TEXTURE_BORDER_COLOR 0x1004 #define GL_TEXTURE_BORDER_COLOR_EXT 0x1004 #define GL_TEXTURE_BORDER_COLOR_NV 0x1004 #define GL_TEXTURE_BORDER_COLOR_OES 0x1004 #define GL_TEXTURE_BORDER 0x1005 #define GL_TEXTURE_TARGET 0x1006 #define GL_RELATIVE_SMOOTH_CUBIC_CURVE_TO_NV 0x11 #define GL_DONT_CARE 0x1100 #define GL_FASTEST 0x1101 #define GL_NICEST 0x1102 #define GL_SMALL_CCW_ARC_TO_NV 0x12 #define GL_AMBIENT 0x1200 #define GL_DIFFUSE 0x1201 #define GL_SPECULAR 0x1202 #define GL_POSITION 0x1203 #define GL_SPOT_DIRECTION 0x1204 #define GL_SPOT_EXPONENT 0x1205 #define GL_SPOT_CUTOFF 0x1206 #define GL_CONSTANT_ATTENUATION 0x1207 #define GL_LINEAR_ATTENUATION 0x1208 #define GL_QUADRATIC_ATTENUATION 0x1209 #define GL_RELATIVE_SMALL_CCW_ARC_TO_NV 0x13 #define GL_COMPILE 0x1300 #define GL_COMPILE_AND_EXECUTE 0x1301 #define GL_SMALL_CW_ARC_TO_NV 0x14 #define GL_BYTE 0x1400 #define GL_UNSIGNED_BYTE 0x1401 #define GL_SHORT 0x1402 #define GL_UNSIGNED_SHORT 0x1403 #define GL_INT 0x1404 #define GL_UNSIGNED_INT 0x1405 #define GL_FLOAT 0x1406 #define GL_2_BYTES 0x1407 #define GL_2_BYTES_NV 0x1407 #define GL_3_BYTES 0x1408 #define GL_3_BYTES_NV 0x1408 #define GL_4_BYTES 0x1409 #define GL_4_BYTES_NV 0x1409 #define GL_DOUBLE 0x140A #define GL_DOUBLE_EXT 0x140A #define GL_HALF_APPLE 0x140B #define GL_HALF_FLOAT 0x140B #define GL_HALF_FLOAT_ARB 0x140B #define GL_HALF_FLOAT_NV 0x140B #define GL_FIXED 0x140C #define GL_FIXED_OES 0x140C #define GL_INT64_ARB 0x140E #define GL_INT64_NV 0x140E #define GL_UNSIGNED_INT64_ARB 0x140F #define GL_UNSIGNED_INT64_NV 0x140F #define GL_RELATIVE_SMALL_CW_ARC_TO_NV 0x15 #define GL_CLEAR 0x1500 #define GL_AND 0x1501 #define GL_AND_REVERSE 0x1502 #define GL_COPY 0x1503 #define GL_AND_INVERTED 0x1504 #define GL_NOOP 0x1505 #define GL_XOR 0x1506 #define GL_XOR_NV 0x1506 #define GL_OR 0x1507 #define GL_NOR 0x1508 #define GL_EQUIV 0x1509 #define GL_INVERT 0x150A #define GL_OR_REVERSE 0x150B #define GL_COPY_INVERTED 0x150C #define GL_OR_INVERTED 0x150D #define GL_NAND 0x150E #define GL_SET 0x150F #define GL_LARGE_CCW_ARC_TO_NV 0x16 #define GL_EMISSION 0x1600 #define GL_SHININESS 0x1601 #define GL_AMBIENT_AND_DIFFUSE 0x1602 #define GL_COLOR_INDEXES 0x1603 #define GL_RELATIVE_LARGE_CCW_ARC_TO_NV 0x17 #define GL_MODELVIEW 0x1700 #define GL_MODELVIEW0_ARB 0x1700 #define GL_MODELVIEW0_EXT 0x1700 #define GL_PATH_MODELVIEW_NV 0x1700 #define GL_PATH_PROJECTION_NV 0x1701 #define GL_PROJECTION 0x1701 #define GL_TEXTURE 0x1702 #define GL_LARGE_CW_ARC_TO_NV 0x18 #define GL_COLOR 0x1800 #define GL_COLOR_EXT 0x1800 #define GL_DEPTH 0x1801 #define GL_DEPTH_EXT 0x1801 #define GL_STENCIL 0x1802 #define GL_STENCIL_EXT 0x1802 #define GL_RELATIVE_LARGE_CW_ARC_TO_NV 0x19 #define GL_COLOR_INDEX 0x1900 #define GL_STENCIL_INDEX 0x1901 #define GL_STENCIL_INDEX_OES 0x1901 #define GL_DEPTH_COMPONENT 0x1902 #define GL_RED 0x1903 #define GL_RED_EXT 0x1903 #define GL_RED_NV 0x1903 #define GL_GREEN 0x1904 #define GL_GREEN_NV 0x1904 #define GL_BLUE 0x1905 #define GL_BLUE_NV 0x1905 #define GL_ALPHA 0x1906 #define GL_RGB 0x1907 #define GL_RGBA 0x1908 #define GL_LUMINANCE 0x1909 #define GL_LUMINANCE_ALPHA 0x190A #define GL_RASTER_POSITION_UNCLIPPED_IBM 0x19262 #define GL_CONIC_CURVE_TO_NV 0x1A #define GL_BITMAP 0x1A00 #define GL_PREFER_DOUBLEBUFFER_HINT_PGI 0x1A1F8 #define GL_CONSERVE_MEMORY_HINT_PGI 0x1A1FD #define GL_RECLAIM_MEMORY_HINT_PGI 0x1A1FE #define GL_NATIVE_GRAPHICS_HANDLE_PGI 0x1A202 #define GL_NATIVE_GRAPHICS_BEGIN_HINT_PGI 0x1A203 #define GL_NATIVE_GRAPHICS_END_HINT_PGI 0x1A204 #define GL_ALWAYS_FAST_HINT_PGI 0x1A20C #define GL_ALWAYS_SOFT_HINT_PGI 0x1A20D #define GL_ALLOW_DRAW_OBJ_HINT_PGI 0x1A20E #define GL_ALLOW_DRAW_WIN_HINT_PGI 0x1A20F #define GL_ALLOW_DRAW_FRG_HINT_PGI 0x1A210 #define GL_ALLOW_DRAW_MEM_HINT_PGI 0x1A211 #define GL_STRICT_DEPTHFUNC_HINT_PGI 0x1A216 #define GL_STRICT_LIGHTING_HINT_PGI 0x1A217 #define GL_STRICT_SCISSOR_HINT_PGI 0x1A218 #define GL_FULL_STIPPLE_HINT_PGI 0x1A219 #define GL_CLIP_NEAR_HINT_PGI 0x1A220 #define GL_CLIP_FAR_HINT_PGI 0x1A221 #define GL_WIDE_LINE_HINT_PGI 0x1A222 #define GL_BACK_NORMALS_HINT_PGI 0x1A223 #define GL_VERTEX_DATA_HINT_PGI 0x1A22A #define GL_VERTEX_CONSISTENT_HINT_PGI 0x1A22B #define GL_MATERIAL_SIDE_HINT_PGI 0x1A22C #define GL_MAX_VERTEX_HINT_PGI 0x1A22D #define GL_RELATIVE_CONIC_CURVE_TO_NV 0x1B #define GL_POINT 0x1B00 #define GL_POINT_NV 0x1B00 #define GL_LINE 0x1B01 #define GL_LINE_NV 0x1B01 #define GL_FILL 0x1B02 #define GL_FILL_NV 0x1B02 #define GL_RENDER 0x1C00 #define GL_FEEDBACK 0x1C01 #define GL_SELECT 0x1C02 #define GL_FLAT 0x1D00 #define GL_SMOOTH 0x1D01 #define GL_KEEP 0x1E00 #define GL_REPLACE 0x1E01 #define GL_INCR 0x1E02 #define GL_DECR 0x1E03 #define GL_VENDOR 0x1F00 #define GL_RENDERER 0x1F01 #define GL_VERSION 0x1F02 #define GL_EXTENSIONS 0x1F03 #define GL_GLYPH_VERTICAL_BEARING_X_BIT_NV 0x20 #define GL_EXTERNAL_STORAGE_BIT_NVX 0x2000 #define GL_S 0x2000 #define GL_FONT_NUM_GLYPH_INDICES_BIT_NV 0x20000000 #define GL_MULTISAMPLE_BIT 0x20000000 #define GL_MULTISAMPLE_BIT_3DFX 0x20000000 #define GL_MULTISAMPLE_BIT_ARB 0x20000000 #define GL_MULTISAMPLE_BIT_EXT 0x20000000 #define GL_MULTISAMPLE_BUFFER_BIT5_QCOM 0x20000000 #define GL_TEXCOORD2_BIT_PGI 0x20000000 #define GL_T 0x2001 #define GL_R 0x2002 #define GL_Q 0x2003 #define GL_MODULATE 0x2100 #define GL_DECAL 0x2101 #define GL_TEXTURE_ENV_MODE 0x2200 #define GL_TEXTURE_ENV_COLOR 0x2201 #define GL_TEXTURE_ENV 0x2300 #define GL_EYE_LINEAR 0x2400 #define GL_EYE_LINEAR_NV 0x2400 #define GL_OBJECT_LINEAR 0x2401 #define GL_OBJECT_LINEAR_NV 0x2401 #define GL_SPHERE_MAP 0x2402 #define GL_TEXTURE_GEN_MODE 0x2500 #define GL_TEXTURE_GEN_MODE_OES 0x2500 #define GL_OBJECT_PLANE 0x2501 #define GL_EYE_PLANE 0x2502 #define GL_NEAREST 0x2600 #define GL_LINEAR 0x2601 #define GL_NEAREST_MIPMAP_NEAREST 0x2700 #define GL_LINEAR_MIPMAP_NEAREST 0x2701 #define GL_NEAREST_MIPMAP_LINEAR 0x2702 #define GL_LINEAR_MIPMAP_LINEAR 0x2703 #define GL_TEXTURE_MAG_FILTER 0x2800 #define GL_TEXTURE_MIN_FILTER 0x2801 #define GL_TEXTURE_WRAP_S 0x2802 #define GL_TEXTURE_WRAP_T 0x2803 #define GL_CLAMP 0x2900 #define GL_REPEAT 0x2901 #define GL_POLYGON_OFFSET_UNITS 0x2A00 #define GL_POLYGON_OFFSET_POINT 0x2A01 #define GL_POLYGON_OFFSET_POINT_NV 0x2A01 #define GL_POLYGON_OFFSET_LINE 0x2A02 #define GL_POLYGON_OFFSET_LINE_NV 0x2A02 #define GL_R3_G3_B2 0x2A10 #define GL_V2F 0x2A20 #define GL_V3F 0x2A21 #define GL_C4UB_V2F 0x2A22 #define GL_C4UB_V3F 0x2A23 #define GL_C3F_V3F 0x2A24 #define GL_N3F_V3F 0x2A25 #define GL_C4F_N3F_V3F 0x2A26 #define GL_T2F_V3F 0x2A27 #define GL_T4F_V4F 0x2A28 #define GL_T2F_C4UB_V3F 0x2A29 #define GL_T2F_C3F_V3F 0x2A2A #define GL_T2F_N3F_V3F 0x2A2B #define GL_T2F_C4F_N3F_V3F 0x2A2C #define GL_T4F_C4F_N3F_V4F 0x2A2D #define GL_CLIP_DISTANCE0 0x3000 #define GL_CLIP_DISTANCE0_APPLE 0x3000 #define GL_CLIP_DISTANCE0_EXT 0x3000 #define GL_CLIP_PLANE0 0x3000 #define GL_CLIP_PLANE0_IMG 0x3000 #define GL_CLIP_DISTANCE1 0x3001 #define GL_CLIP_DISTANCE1_APPLE 0x3001 #define GL_CLIP_DISTANCE1_EXT 0x3001 #define GL_CLIP_PLANE1 0x3001 #define GL_CLIP_PLANE1_IMG 0x3001 #define GL_CLIP_DISTANCE2 0x3002 #define GL_CLIP_DISTANCE2_APPLE 0x3002 #define GL_CLIP_DISTANCE2_EXT 0x3002 #define GL_CLIP_PLANE2 0x3002 #define GL_CLIP_PLANE2_IMG 0x3002 #define GL_CLIP_DISTANCE3 0x3003 #define GL_CLIP_DISTANCE3_APPLE 0x3003 #define GL_CLIP_DISTANCE3_EXT 0x3003 #define GL_CLIP_PLANE3 0x3003 #define GL_CLIP_PLANE3_IMG 0x3003 #define GL_CLIP_DISTANCE4 0x3004 #define GL_CLIP_DISTANCE4_APPLE 0x3004 #define GL_CLIP_DISTANCE4_EXT 0x3004 #define GL_CLIP_PLANE4 0x3004 #define GL_CLIP_PLANE4_IMG 0x3004 #define GL_CLIP_DISTANCE5 0x3005 #define GL_CLIP_DISTANCE5_APPLE 0x3005 #define GL_CLIP_DISTANCE5_EXT 0x3005 #define GL_CLIP_PLANE5 0x3005 #define GL_CLIP_PLANE5_IMG 0x3005 #define GL_CLIP_DISTANCE6 0x3006 #define GL_CLIP_DISTANCE6_APPLE 0x3006 #define GL_CLIP_DISTANCE6_EXT 0x3006 #define GL_CLIP_DISTANCE7 0x3007 #define GL_CLIP_DISTANCE7_APPLE 0x3007 #define GL_CLIP_DISTANCE7_EXT 0x3007 #define GL_GLYPH_VERTICAL_BEARING_Y_BIT_NV 0x40 #define GL_LIGHT0 0x4000 #define GL_MULTISAMPLE_BUFFER_BIT6_QCOM 0x40000000 #define GL_TEXCOORD3_BIT_PGI 0x40000000 #define GL_LIGHT1 0x4001 #define GL_LIGHT2 0x4002 #define GL_LIGHT3 0x4003 #define GL_LIGHT4 0x4004 #define GL_LIGHT5 0x4005 #define GL_LIGHT6 0x4006 #define GL_LIGHT7 0x4007 #define GL_GLYPH_VERTICAL_BEARING_ADVANCE_BIT_NV 0x80 #define GL_ABGR_EXT 0x8000 #define GL_MULTISAMPLE_BUFFER_BIT7_QCOM 0x80000000 #define GL_TEXCOORD4_BIT_PGI 0x80000000 #define GL_CONSTANT_COLOR 0x8001 #define GL_CONSTANT_COLOR_EXT 0x8001 #define GL_ONE_MINUS_CONSTANT_COLOR 0x8002 #define GL_ONE_MINUS_CONSTANT_COLOR_EXT 0x8002 #define GL_CONSTANT_ALPHA 0x8003 #define GL_CONSTANT_ALPHA_EXT 0x8003 #define GL_ONE_MINUS_CONSTANT_ALPHA 0x8004 #define GL_ONE_MINUS_CONSTANT_ALPHA_EXT 0x8004 #define GL_BLEND_COLOR 0x8005 #define GL_BLEND_COLOR_EXT 0x8005 #define GL_FUNC_ADD 0x8006 #define GL_FUNC_ADD_EXT 0x8006 #define GL_FUNC_ADD_OES 0x8006 #define GL_MIN 0x8007 #define GL_MIN_EXT 0x8007 #define GL_MAX 0x8008 #define GL_MAX_EXT 0x8008 #define GL_BLEND_EQUATION 0x8009 #define GL_BLEND_EQUATION_EXT 0x8009 #define GL_BLEND_EQUATION_OES 0x8009 #define GL_BLEND_EQUATION_RGB 0x8009 #define GL_BLEND_EQUATION_RGB_EXT 0x8009 #define GL_BLEND_EQUATION_RGB_OES 0x8009 #define GL_FUNC_SUBTRACT 0x800A #define GL_FUNC_SUBTRACT_EXT 0x800A #define GL_FUNC_SUBTRACT_OES 0x800A #define GL_FUNC_REVERSE_SUBTRACT 0x800B #define GL_FUNC_REVERSE_SUBTRACT_EXT 0x800B #define GL_FUNC_REVERSE_SUBTRACT_OES 0x800B #define GL_CMYK_EXT 0x800C #define GL_CMYKA_EXT 0x800D #define GL_PACK_CMYK_HINT_EXT 0x800E #define GL_UNPACK_CMYK_HINT_EXT 0x800F #define GL_CONVOLUTION_1D 0x8010 #define GL_CONVOLUTION_1D_EXT 0x8010 #define GL_CONVOLUTION_2D 0x8011 #define GL_CONVOLUTION_2D_EXT 0x8011 #define GL_SEPARABLE_2D 0x8012 #define GL_SEPARABLE_2D_EXT 0x8012 #define GL_CONVOLUTION_BORDER_MODE 0x8013 #define GL_CONVOLUTION_BORDER_MODE_EXT 0x8013 #define GL_CONVOLUTION_FILTER_SCALE 0x8014 #define GL_CONVOLUTION_FILTER_SCALE_EXT 0x8014 #define GL_CONVOLUTION_FILTER_BIAS 0x8015 #define GL_CONVOLUTION_FILTER_BIAS_EXT 0x8015 #define GL_REDUCE 0x8016 #define GL_REDUCE_EXT 0x8016 #define GL_CONVOLUTION_FORMAT 0x8017 #define GL_CONVOLUTION_FORMAT_EXT 0x8017 #define GL_CONVOLUTION_WIDTH 0x8018 #define GL_CONVOLUTION_WIDTH_EXT 0x8018 #define GL_CONVOLUTION_HEIGHT 0x8019 #define GL_CONVOLUTION_HEIGHT_EXT 0x8019 #define GL_MAX_CONVOLUTION_WIDTH 0x801A #define GL_MAX_CONVOLUTION_WIDTH_EXT 0x801A #define GL_MAX_CONVOLUTION_HEIGHT 0x801B #define GL_MAX_CONVOLUTION_HEIGHT_EXT 0x801B #define GL_POST_CONVOLUTION_RED_SCALE 0x801C #define GL_POST_CONVOLUTION_RED_SCALE_EXT 0x801C #define GL_POST_CONVOLUTION_GREEN_SCALE 0x801D #define GL_POST_CONVOLUTION_GREEN_SCALE_EXT 0x801D #define GL_POST_CONVOLUTION_BLUE_SCALE 0x801E #define GL_POST_CONVOLUTION_BLUE_SCALE_EXT 0x801E #define GL_POST_CONVOLUTION_ALPHA_SCALE 0x801F #define GL_POST_CONVOLUTION_ALPHA_SCALE_EXT 0x801F #define GL_POST_CONVOLUTION_RED_BIAS 0x8020 #define GL_POST_CONVOLUTION_RED_BIAS_EXT 0x8020 #define GL_POST_CONVOLUTION_GREEN_BIAS 0x8021 #define GL_POST_CONVOLUTION_GREEN_BIAS_EXT 0x8021 #define GL_POST_CONVOLUTION_BLUE_BIAS 0x8022 #define GL_POST_CONVOLUTION_BLUE_BIAS_EXT 0x8022 #define GL_POST_CONVOLUTION_ALPHA_BIAS 0x8023 #define GL_POST_CONVOLUTION_ALPHA_BIAS_EXT 0x8023 #define GL_HISTOGRAM 0x8024 #define GL_HISTOGRAM_EXT 0x8024 #define GL_PROXY_HISTOGRAM 0x8025 #define GL_PROXY_HISTOGRAM_EXT 0x8025 #define GL_HISTOGRAM_WIDTH 0x8026 #define GL_HISTOGRAM_WIDTH_EXT 0x8026 #define GL_HISTOGRAM_FORMAT 0x8027 #define GL_HISTOGRAM_FORMAT_EXT 0x8027 #define GL_HISTOGRAM_RED_SIZE 0x8028 #define GL_HISTOGRAM_RED_SIZE_EXT 0x8028 #define GL_HISTOGRAM_GREEN_SIZE 0x8029 #define GL_HISTOGRAM_GREEN_SIZE_EXT 0x8029 #define GL_HISTOGRAM_BLUE_SIZE 0x802A #define GL_HISTOGRAM_BLUE_SIZE_EXT 0x802A #define GL_HISTOGRAM_ALPHA_SIZE 0x802B #define GL_HISTOGRAM_ALPHA_SIZE_EXT 0x802B #define GL_HISTOGRAM_LUMINANCE_SIZE 0x802C #define GL_HISTOGRAM_LUMINANCE_SIZE_EXT 0x802C #define GL_HISTOGRAM_SINK 0x802D #define GL_HISTOGRAM_SINK_EXT 0x802D #define GL_MINMAX 0x802E #define GL_MINMAX_EXT 0x802E #define GL_MINMAX_FORMAT 0x802F #define GL_MINMAX_FORMAT_EXT 0x802F #define GL_MINMAX_SINK 0x8030 #define GL_MINMAX_SINK_EXT 0x8030 #define GL_TABLE_TOO_LARGE 0x8031 #define GL_TABLE_TOO_LARGE_EXT 0x8031 #define GL_UNSIGNED_BYTE_3_3_2 0x8032 #define GL_UNSIGNED_BYTE_3_3_2_EXT 0x8032 #define GL_UNSIGNED_SHORT_4_4_4_4 0x8033 #define GL_UNSIGNED_SHORT_4_4_4_4_EXT 0x8033 #define GL_UNSIGNED_SHORT_5_5_5_1 0x8034 #define GL_UNSIGNED_SHORT_5_5_5_1_EXT 0x8034 #define GL_UNSIGNED_INT_8_8_8_8 0x8035 #define GL_UNSIGNED_INT_8_8_8_8_EXT 0x8035 #define GL_UNSIGNED_INT_10_10_10_2 0x8036 #define GL_UNSIGNED_INT_10_10_10_2_EXT 0x8036 #define GL_POLYGON_OFFSET_EXT 0x8037 #define GL_POLYGON_OFFSET_FILL 0x8037 #define GL_POLYGON_OFFSET_FACTOR 0x8038 #define GL_POLYGON_OFFSET_FACTOR_EXT 0x8038 #define GL_POLYGON_OFFSET_BIAS_EXT 0x8039 #define GL_RESCALE_NORMAL 0x803A #define GL_RESCALE_NORMAL_EXT 0x803A #define GL_ALPHA4 0x803B #define GL_ALPHA4_EXT 0x803B #define GL_ALPHA8 0x803C #define GL_ALPHA8_EXT 0x803C #define GL_ALPHA8_OES 0x803C #define GL_ALPHA12 0x803D #define GL_ALPHA12_EXT 0x803D #define GL_ALPHA16 0x803E #define GL_ALPHA16_EXT 0x803E #define GL_LUMINANCE4 0x803F #define GL_LUMINANCE4_EXT 0x803F #define GL_LUMINANCE8 0x8040 #define GL_LUMINANCE8_EXT 0x8040 #define GL_LUMINANCE8_OES 0x8040 #define GL_LUMINANCE12 0x8041 #define GL_LUMINANCE12_EXT 0x8041 #define GL_LUMINANCE16 0x8042 #define GL_LUMINANCE16_EXT 0x8042 #define GL_LUMINANCE4_ALPHA4 0x8043 #define GL_LUMINANCE4_ALPHA4_EXT 0x8043 #define GL_LUMINANCE4_ALPHA4_OES 0x8043 #define GL_LUMINANCE6_ALPHA2 0x8044 #define GL_LUMINANCE6_ALPHA2_EXT 0x8044 #define GL_LUMINANCE8_ALPHA8 0x8045 #define GL_LUMINANCE8_ALPHA8_EXT 0x8045 #define GL_LUMINANCE8_ALPHA8_OES 0x8045 #define GL_LUMINANCE12_ALPHA4 0x8046 #define GL_LUMINANCE12_ALPHA4_EXT 0x8046 #define GL_LUMINANCE12_ALPHA12 0x8047 #define GL_LUMINANCE12_ALPHA12_EXT 0x8047 #define GL_LUMINANCE16_ALPHA16 0x8048 #define GL_LUMINANCE16_ALPHA16_EXT 0x8048 #define GL_INTENSITY 0x8049 #define GL_INTENSITY_EXT 0x8049 #define GL_INTENSITY4 0x804A #define GL_INTENSITY4_EXT 0x804A #define GL_INTENSITY8 0x804B #define GL_INTENSITY8_EXT 0x804B #define GL_INTENSITY12 0x804C #define GL_INTENSITY12_EXT 0x804C #define GL_INTENSITY16 0x804D #define GL_INTENSITY16_EXT 0x804D #define GL_RGB2_EXT 0x804E #define GL_RGB4 0x804F #define GL_RGB4_EXT 0x804F #define GL_RGB5 0x8050 #define GL_RGB5_EXT 0x8050 #define GL_RGB8 0x8051 #define GL_RGB8_EXT 0x8051 #define GL_RGB8_OES 0x8051 #define GL_RGB10 0x8052 #define GL_RGB10_EXT 0x8052 #define GL_RGB12 0x8053 #define GL_RGB12_EXT 0x8053 #define GL_RGB16 0x8054 #define GL_RGB16_EXT 0x8054 #define GL_RGBA2 0x8055 #define GL_RGBA2_EXT 0x8055 #define GL_RGBA4 0x8056 #define GL_RGBA4_EXT 0x8056 #define GL_RGBA4_OES 0x8056 #define GL_RGB5_A1 0x8057 #define GL_RGB5_A1_EXT 0x8057 #define GL_RGB5_A1_OES 0x8057 #define GL_RGBA8 0x8058 #define GL_RGBA8_EXT 0x8058 #define GL_RGBA8_OES 0x8058 #define GL_RGB10_A2 0x8059 #define GL_RGB10_A2_EXT 0x8059 #define GL_RGBA12 0x805A #define GL_RGBA12_EXT 0x805A #define GL_RGBA16 0x805B #define GL_RGBA16_EXT 0x805B #define GL_TEXTURE_RED_SIZE 0x805C #define GL_TEXTURE_RED_SIZE_EXT 0x805C #define GL_TEXTURE_GREEN_SIZE 0x805D #define GL_TEXTURE_GREEN_SIZE_EXT 0x805D #define GL_TEXTURE_BLUE_SIZE 0x805E #define GL_TEXTURE_BLUE_SIZE_EXT 0x805E #define GL_TEXTURE_ALPHA_SIZE 0x805F #define GL_TEXTURE_ALPHA_SIZE_EXT 0x805F #define GL_TEXTURE_LUMINANCE_SIZE 0x8060 #define GL_TEXTURE_LUMINANCE_SIZE_EXT 0x8060 #define GL_TEXTURE_INTENSITY_SIZE 0x8061 #define GL_TEXTURE_INTENSITY_SIZE_EXT 0x8061 #define GL_REPLACE_EXT 0x8062 #define GL_PROXY_TEXTURE_1D 0x8063 #define GL_PROXY_TEXTURE_1D_EXT 0x8063 #define GL_PROXY_TEXTURE_2D 0x8064 #define GL_PROXY_TEXTURE_2D_EXT 0x8064 #define GL_TEXTURE_TOO_LARGE_EXT 0x8065 #define GL_TEXTURE_PRIORITY 0x8066 #define GL_TEXTURE_PRIORITY_EXT 0x8066 #define GL_TEXTURE_RESIDENT 0x8067 #define GL_TEXTURE_RESIDENT_EXT 0x8067 #define GL_TEXTURE_1D_BINDING_EXT 0x8068 #define GL_TEXTURE_BINDING_1D 0x8068 #define GL_TEXTURE_2D_BINDING_EXT 0x8069 #define GL_TEXTURE_BINDING_2D 0x8069 #define GL_TEXTURE_3D_BINDING_EXT 0x806A #define GL_TEXTURE_3D_BINDING_OES 0x806A #define GL_TEXTURE_BINDING_3D 0x806A #define GL_TEXTURE_BINDING_3D_OES 0x806A #define GL_PACK_SKIP_IMAGES 0x806B #define GL_PACK_SKIP_IMAGES_EXT 0x806B #define GL_PACK_IMAGE_HEIGHT 0x806C #define GL_PACK_IMAGE_HEIGHT_EXT 0x806C #define GL_UNPACK_SKIP_IMAGES 0x806D #define GL_UNPACK_SKIP_IMAGES_EXT 0x806D #define GL_UNPACK_IMAGE_HEIGHT 0x806E #define GL_UNPACK_IMAGE_HEIGHT_EXT 0x806E #define GL_TEXTURE_3D 0x806F #define GL_TEXTURE_3D_EXT 0x806F #define GL_TEXTURE_3D_OES 0x806F #define GL_PROXY_TEXTURE_3D 0x8070 #define GL_PROXY_TEXTURE_3D_EXT 0x8070 #define GL_TEXTURE_DEPTH 0x8071 #define GL_TEXTURE_DEPTH_EXT 0x8071 #define GL_TEXTURE_WRAP_R 0x8072 #define GL_TEXTURE_WRAP_R_EXT 0x8072 #define GL_TEXTURE_WRAP_R_OES 0x8072 #define GL_MAX_3D_TEXTURE_SIZE 0x8073 #define GL_MAX_3D_TEXTURE_SIZE_EXT 0x8073 #define GL_MAX_3D_TEXTURE_SIZE_OES 0x8073 #define GL_VERTEX_ARRAY 0x8074 #define GL_VERTEX_ARRAY_EXT 0x8074 #define GL_VERTEX_ARRAY_KHR 0x8074 #define GL_NORMAL_ARRAY 0x8075 #define GL_NORMAL_ARRAY_EXT 0x8075 #define GL_COLOR_ARRAY 0x8076 #define GL_COLOR_ARRAY_EXT 0x8076 #define GL_INDEX_ARRAY 0x8077 #define GL_INDEX_ARRAY_EXT 0x8077 #define GL_TEXTURE_COORD_ARRAY 0x8078 #define GL_TEXTURE_COORD_ARRAY_EXT 0x8078 #define GL_EDGE_FLAG_ARRAY 0x8079 #define GL_EDGE_FLAG_ARRAY_EXT 0x8079 #define GL_VERTEX_ARRAY_SIZE 0x807A #define GL_VERTEX_ARRAY_SIZE_EXT 0x807A #define GL_VERTEX_ARRAY_TYPE 0x807B #define GL_VERTEX_ARRAY_TYPE_EXT 0x807B #define GL_VERTEX_ARRAY_STRIDE 0x807C #define GL_VERTEX_ARRAY_STRIDE_EXT 0x807C #define GL_VERTEX_ARRAY_COUNT_EXT 0x807D #define GL_NORMAL_ARRAY_TYPE 0x807E #define GL_NORMAL_ARRAY_TYPE_EXT 0x807E #define GL_NORMAL_ARRAY_STRIDE 0x807F #define GL_NORMAL_ARRAY_STRIDE_EXT 0x807F #define GL_NORMAL_ARRAY_COUNT_EXT 0x8080 #define GL_COLOR_ARRAY_SIZE 0x8081 #define GL_COLOR_ARRAY_SIZE_EXT 0x8081 #define GL_COLOR_ARRAY_TYPE 0x8082 #define GL_COLOR_ARRAY_TYPE_EXT 0x8082 #define GL_COLOR_ARRAY_STRIDE 0x8083 #define GL_COLOR_ARRAY_STRIDE_EXT 0x8083 #define GL_COLOR_ARRAY_COUNT_EXT 0x8084 #define GL_INDEX_ARRAY_TYPE 0x8085 #define GL_INDEX_ARRAY_TYPE_EXT 0x8085 #define GL_INDEX_ARRAY_STRIDE 0x8086 #define GL_INDEX_ARRAY_STRIDE_EXT 0x8086 #define GL_INDEX_ARRAY_COUNT_EXT 0x8087 #define GL_TEXTURE_COORD_ARRAY_SIZE 0x8088 #define GL_TEXTURE_COORD_ARRAY_SIZE_EXT 0x8088 #define GL_TEXTURE_COORD_ARRAY_TYPE 0x8089 #define GL_TEXTURE_COORD_ARRAY_TYPE_EXT 0x8089 #define GL_TEXTURE_COORD_ARRAY_STRIDE 0x808A #define GL_TEXTURE_COORD_ARRAY_STRIDE_EXT 0x808A #define GL_TEXTURE_COORD_ARRAY_COUNT_EXT 0x808B #define GL_EDGE_FLAG_ARRAY_STRIDE 0x808C #define GL_EDGE_FLAG_ARRAY_STRIDE_EXT 0x808C #define GL_EDGE_FLAG_ARRAY_COUNT_EXT 0x808D #define GL_VERTEX_ARRAY_POINTER 0x808E #define GL_VERTEX_ARRAY_POINTER_EXT 0x808E #define GL_NORMAL_ARRAY_POINTER 0x808F #define GL_NORMAL_ARRAY_POINTER_EXT 0x808F #define GL_COLOR_ARRAY_POINTER 0x8090 #define GL_COLOR_ARRAY_POINTER_EXT 0x8090 #define GL_INDEX_ARRAY_POINTER 0x8091 #define GL_INDEX_ARRAY_POINTER_EXT 0x8091 #define GL_TEXTURE_COORD_ARRAY_POINTER 0x8092 #define GL_TEXTURE_COORD_ARRAY_POINTER_EXT 0x8092 #define GL_EDGE_FLAG_ARRAY_POINTER 0x8093 #define GL_EDGE_FLAG_ARRAY_POINTER_EXT 0x8093 #define GL_INTERLACE_SGIX 0x8094 #define GL_DETAIL_TEXTURE_2D_SGIS 0x8095 #define GL_DETAIL_TEXTURE_2D_BINDING_SGIS 0x8096 #define GL_LINEAR_DETAIL_SGIS 0x8097 #define GL_LINEAR_DETAIL_ALPHA_SGIS 0x8098 #define GL_LINEAR_DETAIL_COLOR_SGIS 0x8099 #define GL_DETAIL_TEXTURE_LEVEL_SGIS 0x809A #define GL_DETAIL_TEXTURE_MODE_SGIS 0x809B #define GL_DETAIL_TEXTURE_FUNC_POINTS_SGIS 0x809C #define GL_MULTISAMPLE 0x809D #define GL_MULTISAMPLE_ARB 0x809D #define GL_MULTISAMPLE_EXT 0x809D #define GL_MULTISAMPLE_SGIS 0x809D #define GL_SAMPLE_ALPHA_TO_COVERAGE 0x809E #define GL_SAMPLE_ALPHA_TO_COVERAGE_ARB 0x809E #define GL_SAMPLE_ALPHA_TO_MASK_EXT 0x809E #define GL_SAMPLE_ALPHA_TO_MASK_SGIS 0x809E #define GL_SAMPLE_ALPHA_TO_ONE 0x809F #define GL_SAMPLE_ALPHA_TO_ONE_ARB 0x809F #define GL_SAMPLE_ALPHA_TO_ONE_EXT 0x809F #define GL_SAMPLE_ALPHA_TO_ONE_SGIS 0x809F #define GL_SAMPLE_COVERAGE 0x80A0 #define GL_SAMPLE_COVERAGE_ARB 0x80A0 #define GL_SAMPLE_MASK_EXT 0x80A0 #define GL_SAMPLE_MASK_SGIS 0x80A0 #define GL_1PASS_EXT 0x80A1 #define GL_1PASS_SGIS 0x80A1 #define GL_2PASS_0_EXT 0x80A2 #define GL_2PASS_0_SGIS 0x80A2 #define GL_2PASS_1_EXT 0x80A3 #define GL_2PASS_1_SGIS 0x80A3 #define GL_4PASS_0_EXT 0x80A4 #define GL_4PASS_0_SGIS 0x80A4 #define GL_4PASS_1_EXT 0x80A5 #define GL_4PASS_1_SGIS 0x80A5 #define GL_4PASS_2_EXT 0x80A6 #define GL_4PASS_2_SGIS 0x80A6 #define GL_4PASS_3_EXT 0x80A7 #define GL_4PASS_3_SGIS 0x80A7 #define GL_SAMPLE_BUFFERS 0x80A8 #define GL_SAMPLE_BUFFERS_ARB 0x80A8 #define GL_SAMPLE_BUFFERS_EXT 0x80A8 #define GL_SAMPLE_BUFFERS_SGIS 0x80A8 #define GL_SAMPLES 0x80A9 #define GL_SAMPLES_ARB 0x80A9 #define GL_SAMPLES_EXT 0x80A9 #define GL_SAMPLES_SGIS 0x80A9 #define GL_SAMPLE_COVERAGE_VALUE 0x80AA #define GL_SAMPLE_COVERAGE_VALUE_ARB 0x80AA #define GL_SAMPLE_MASK_VALUE_EXT 0x80AA #define GL_SAMPLE_MASK_VALUE_SGIS 0x80AA #define GL_SAMPLE_COVERAGE_INVERT 0x80AB #define GL_SAMPLE_COVERAGE_INVERT_ARB 0x80AB #define GL_SAMPLE_MASK_INVERT_EXT 0x80AB #define GL_SAMPLE_MASK_INVERT_SGIS 0x80AB #define GL_SAMPLE_PATTERN_EXT 0x80AC #define GL_SAMPLE_PATTERN_SGIS 0x80AC #define GL_LINEAR_SHARPEN_SGIS 0x80AD #define GL_LINEAR_SHARPEN_ALPHA_SGIS 0x80AE #define GL_LINEAR_SHARPEN_COLOR_SGIS 0x80AF #define GL_SHARPEN_TEXTURE_FUNC_POINTS_SGIS 0x80B0 #define GL_COLOR_MATRIX 0x80B1 #define GL_COLOR_MATRIX_SGI 0x80B1 #define GL_COLOR_MATRIX_STACK_DEPTH 0x80B2 #define GL_COLOR_MATRIX_STACK_DEPTH_SGI 0x80B2 #define GL_MAX_COLOR_MATRIX_STACK_DEPTH 0x80B3 #define GL_MAX_COLOR_MATRIX_STACK_DEPTH_SGI 0x80B3 #define GL_POST_COLOR_MATRIX_RED_SCALE 0x80B4 #define GL_POST_COLOR_MATRIX_RED_SCALE_SGI 0x80B4 #define GL_POST_COLOR_MATRIX_GREEN_SCALE 0x80B5 #define GL_POST_COLOR_MATRIX_GREEN_SCALE_SGI 0x80B5 #define GL_POST_COLOR_MATRIX_BLUE_SCALE 0x80B6 #define GL_POST_COLOR_MATRIX_BLUE_SCALE_SGI 0x80B6 #define GL_POST_COLOR_MATRIX_ALPHA_SCALE 0x80B7 #define GL_POST_COLOR_MATRIX_ALPHA_SCALE_SGI 0x80B7 #define GL_POST_COLOR_MATRIX_RED_BIAS 0x80B8 #define GL_POST_COLOR_MATRIX_RED_BIAS_SGI 0x80B8 #define GL_POST_COLOR_MATRIX_GREEN_BIAS 0x80B9 #define GL_POST_COLOR_MATRIX_GREEN_BIAS_SGI 0x80B9 #define GL_POST_COLOR_MATRIX_BLUE_BIAS 0x80BA #define GL_POST_COLOR_MATRIX_BLUE_BIAS_SGI 0x80BA #define GL_POST_COLOR_MATRIX_ALPHA_BIAS 0x80BB #define GL_POST_COLOR_MATRIX_ALPHA_BIAS_SGI 0x80BB #define GL_TEXTURE_COLOR_TABLE_SGI 0x80BC #define GL_PROXY_TEXTURE_COLOR_TABLE_SGI 0x80BD #define GL_TEXTURE_ENV_BIAS_SGIX 0x80BE #define GL_SHADOW_AMBIENT_SGIX 0x80BF #define GL_TEXTURE_COMPARE_FAIL_VALUE_ARB 0x80BF #define GL_BLEND_DST_RGB 0x80C8 #define GL_BLEND_DST_RGB_EXT 0x80C8 #define GL_BLEND_DST_RGB_OES 0x80C8 #define GL_BLEND_SRC_RGB 0x80C9 #define GL_BLEND_SRC_RGB_EXT 0x80C9 #define GL_BLEND_SRC_RGB_OES 0x80C9 #define GL_BLEND_DST_ALPHA 0x80CA #define GL_BLEND_DST_ALPHA_EXT 0x80CA #define GL_BLEND_DST_ALPHA_OES 0x80CA #define GL_BLEND_SRC_ALPHA 0x80CB #define GL_BLEND_SRC_ALPHA_EXT 0x80CB #define GL_BLEND_SRC_ALPHA_OES 0x80CB #define GL_422_EXT 0x80CC #define GL_422_REV_EXT 0x80CD #define GL_422_AVERAGE_EXT 0x80CE #define GL_422_REV_AVERAGE_EXT 0x80CF #define GL_COLOR_TABLE 0x80D0 #define GL_COLOR_TABLE_SGI 0x80D0 #define GL_POST_CONVOLUTION_COLOR_TABLE 0x80D1 #define GL_POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D1 #define GL_POST_COLOR_MATRIX_COLOR_TABLE 0x80D2 #define GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D2 #define GL_PROXY_COLOR_TABLE 0x80D3 #define GL_PROXY_COLOR_TABLE_SGI 0x80D3 #define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE 0x80D4 #define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D4 #define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE 0x80D5 #define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D5 #define GL_COLOR_TABLE_SCALE 0x80D6 #define GL_COLOR_TABLE_SCALE_SGI 0x80D6 #define GL_COLOR_TABLE_BIAS 0x80D7 #define GL_COLOR_TABLE_BIAS_SGI 0x80D7 #define GL_COLOR_TABLE_FORMAT 0x80D8 #define GL_COLOR_TABLE_FORMAT_SGI 0x80D8 #define GL_COLOR_TABLE_WIDTH 0x80D9 #define GL_COLOR_TABLE_WIDTH_SGI 0x80D9 #define GL_COLOR_TABLE_RED_SIZE 0x80DA #define GL_COLOR_TABLE_RED_SIZE_SGI 0x80DA #define GL_COLOR_TABLE_GREEN_SIZE 0x80DB #define GL_COLOR_TABLE_GREEN_SIZE_SGI 0x80DB #define GL_COLOR_TABLE_BLUE_SIZE 0x80DC #define GL_COLOR_TABLE_BLUE_SIZE_SGI 0x80DC #define GL_COLOR_TABLE_ALPHA_SIZE 0x80DD #define GL_COLOR_TABLE_ALPHA_SIZE_SGI 0x80DD #define GL_COLOR_TABLE_LUMINANCE_SIZE 0x80DE #define GL_COLOR_TABLE_LUMINANCE_SIZE_SGI 0x80DE #define GL_COLOR_TABLE_INTENSITY_SIZE 0x80DF #define GL_COLOR_TABLE_INTENSITY_SIZE_SGI 0x80DF #define GL_BGR 0x80E0 #define GL_BGR_EXT 0x80E0 #define GL_BGRA 0x80E1 #define GL_BGRA_EXT 0x80E1 #define GL_BGRA_IMG 0x80E1 #define GL_COLOR_INDEX1_EXT 0x80E2 #define GL_COLOR_INDEX2_EXT 0x80E3 #define GL_COLOR_INDEX4_EXT 0x80E4 #define GL_COLOR_INDEX8_EXT 0x80E5 #define GL_COLOR_INDEX12_EXT 0x80E6 #define GL_COLOR_INDEX16_EXT 0x80E7 #define GL_MAX_ELEMENTS_VERTICES 0x80E8 #define GL_MAX_ELEMENTS_VERTICES_EXT 0x80E8 #define GL_MAX_ELEMENTS_INDICES 0x80E9 #define GL_MAX_ELEMENTS_INDICES_EXT 0x80E9 #define GL_PHONG_WIN 0x80EA #define GL_PHONG_HINT_WIN 0x80EB #define GL_FOG_SPECULAR_TEXTURE_WIN 0x80EC #define GL_TEXTURE_INDEX_SIZE_EXT 0x80ED #define GL_PARAMETER_BUFFER 0x80EE #define GL_PARAMETER_BUFFER_ARB 0x80EE #define GL_PARAMETER_BUFFER_BINDING 0x80EF #define GL_PARAMETER_BUFFER_BINDING_ARB 0x80EF #define GL_CLIP_VOLUME_CLIPPING_HINT_EXT 0x80F0 #define GL_DUAL_ALPHA4_SGIS 0x8110 #define GL_DUAL_ALPHA8_SGIS 0x8111 #define GL_DUAL_ALPHA12_SGIS 0x8112 #define GL_DUAL_ALPHA16_SGIS 0x8113 #define GL_DUAL_LUMINANCE4_SGIS 0x8114 #define GL_DUAL_LUMINANCE8_SGIS 0x8115 #define GL_DUAL_LUMINANCE12_SGIS 0x8116 #define GL_DUAL_LUMINANCE16_SGIS 0x8117 #define GL_DUAL_INTENSITY4_SGIS 0x8118 #define GL_DUAL_INTENSITY8_SGIS 0x8119 #define GL_DUAL_INTENSITY12_SGIS 0x811A #define GL_DUAL_INTENSITY16_SGIS 0x811B #define GL_DUAL_LUMINANCE_ALPHA4_SGIS 0x811C #define GL_DUAL_LUMINANCE_ALPHA8_SGIS 0x811D #define GL_QUAD_ALPHA4_SGIS 0x811E #define GL_QUAD_ALPHA8_SGIS 0x811F #define GL_QUAD_LUMINANCE4_SGIS 0x8120 #define GL_QUAD_LUMINANCE8_SGIS 0x8121 #define GL_QUAD_INTENSITY4_SGIS 0x8122 #define GL_QUAD_INTENSITY8_SGIS 0x8123 #define GL_DUAL_TEXTURE_SELECT_SGIS 0x8124 #define GL_QUAD_TEXTURE_SELECT_SGIS 0x8125 #define GL_POINT_SIZE_MIN 0x8126 #define GL_POINT_SIZE_MIN_ARB 0x8126 #define GL_POINT_SIZE_MIN_EXT 0x8126 #define GL_POINT_SIZE_MIN_SGIS 0x8126 #define GL_POINT_SIZE_MAX 0x8127 #define GL_POINT_SIZE_MAX_ARB 0x8127 #define GL_POINT_SIZE_MAX_EXT 0x8127 #define GL_POINT_SIZE_MAX_SGIS 0x8127 #define GL_POINT_FADE_THRESHOLD_SIZE 0x8128 #define GL_POINT_FADE_THRESHOLD_SIZE_ARB 0x8128 #define GL_POINT_FADE_THRESHOLD_SIZE_EXT 0x8128 #define GL_POINT_FADE_THRESHOLD_SIZE_SGIS 0x8128 #define GL_DISTANCE_ATTENUATION_EXT 0x8129 #define GL_DISTANCE_ATTENUATION_SGIS 0x8129 #define GL_POINT_DISTANCE_ATTENUATION 0x8129 #define GL_POINT_DISTANCE_ATTENUATION_ARB 0x8129 #define GL_FOG_FUNC_SGIS 0x812A #define GL_FOG_FUNC_POINTS_SGIS 0x812B #define GL_MAX_FOG_FUNC_POINTS_SGIS 0x812C #define GL_CLAMP_TO_BORDER 0x812D #define GL_CLAMP_TO_BORDER_ARB 0x812D #define GL_CLAMP_TO_BORDER_EXT 0x812D #define GL_CLAMP_TO_BORDER_NV 0x812D #define GL_CLAMP_TO_BORDER_OES 0x812D #define GL_CLAMP_TO_BORDER_SGIS 0x812D #define GL_TEXTURE_MULTI_BUFFER_HINT_SGIX 0x812E #define GL_CLAMP_TO_EDGE 0x812F #define GL_CLAMP_TO_EDGE_SGIS 0x812F #define GL_PACK_SKIP_VOLUMES_SGIS 0x8130 #define GL_PACK_IMAGE_DEPTH_SGIS 0x8131 #define GL_UNPACK_SKIP_VOLUMES_SGIS 0x8132 #define GL_UNPACK_IMAGE_DEPTH_SGIS 0x8133 #define GL_TEXTURE_4D_SGIS 0x8134 #define GL_PROXY_TEXTURE_4D_SGIS 0x8135 #define GL_TEXTURE_4DSIZE_SGIS 0x8136 #define GL_TEXTURE_WRAP_Q_SGIS 0x8137 #define GL_MAX_4D_TEXTURE_SIZE_SGIS 0x8138 #define GL_PIXEL_TEX_GEN_SGIX 0x8139 #define GL_TEXTURE_MIN_LOD 0x813A #define GL_TEXTURE_MIN_LOD_SGIS 0x813A #define GL_TEXTURE_MAX_LOD 0x813B #define GL_TEXTURE_MAX_LOD_SGIS 0x813B #define GL_TEXTURE_BASE_LEVEL 0x813C #define GL_TEXTURE_BASE_LEVEL_SGIS 0x813C #define GL_TEXTURE_MAX_LEVEL 0x813D #define GL_TEXTURE_MAX_LEVEL_APPLE 0x813D #define GL_TEXTURE_MAX_LEVEL_SGIS 0x813D #define GL_PIXEL_TILE_BEST_ALIGNMENT_SGIX 0x813E #define GL_PIXEL_TILE_CACHE_INCREMENT_SGIX 0x813F #define GL_PIXEL_TILE_WIDTH_SGIX 0x8140 #define GL_PIXEL_TILE_HEIGHT_SGIX 0x8141 #define GL_PIXEL_TILE_GRID_WIDTH_SGIX 0x8142 #define GL_PIXEL_TILE_GRID_HEIGHT_SGIX 0x8143 #define GL_PIXEL_TILE_GRID_DEPTH_SGIX 0x8144 #define GL_PIXEL_TILE_CACHE_SIZE_SGIX 0x8145 #define GL_FILTER4_SGIS 0x8146 #define GL_TEXTURE_FILTER4_SIZE_SGIS 0x8147 #define GL_SPRITE_SGIX 0x8148 #define GL_SPRITE_MODE_SGIX 0x8149 #define GL_SPRITE_AXIS_SGIX 0x814A #define GL_SPRITE_TRANSLATION_SGIX 0x814B #define GL_SPRITE_AXIAL_SGIX 0x814C #define GL_SPRITE_OBJECT_ALIGNED_SGIX 0x814D #define GL_SPRITE_EYE_ALIGNED_SGIX 0x814E #define GL_TEXTURE_4D_BINDING_SGIS 0x814F #define GL_IGNORE_BORDER_HP 0x8150 #define GL_CONSTANT_BORDER 0x8151 #define GL_CONSTANT_BORDER_HP 0x8151 #define GL_REPLICATE_BORDER 0x8153 #define GL_REPLICATE_BORDER_HP 0x8153 #define GL_CONVOLUTION_BORDER_COLOR 0x8154 #define GL_CONVOLUTION_BORDER_COLOR_HP 0x8154 #define GL_IMAGE_SCALE_X_HP 0x8155 #define GL_IMAGE_SCALE_Y_HP 0x8156 #define GL_IMAGE_TRANSLATE_X_HP 0x8157 #define GL_IMAGE_TRANSLATE_Y_HP 0x8158 #define GL_IMAGE_ROTATE_ANGLE_HP 0x8159 #define GL_IMAGE_ROTATE_ORIGIN_X_HP 0x815A #define GL_IMAGE_ROTATE_ORIGIN_Y_HP 0x815B #define GL_IMAGE_MAG_FILTER_HP 0x815C #define GL_IMAGE_MIN_FILTER_HP 0x815D #define GL_IMAGE_CUBIC_WEIGHT_HP 0x815E #define GL_CUBIC_HP 0x815F #define GL_AVERAGE_HP 0x8160 #define GL_IMAGE_TRANSFORM_2D_HP 0x8161 #define GL_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP 0x8162 #define GL_PROXY_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP 0x8163 #define GL_OCCLUSION_TEST_HP 0x8165 #define GL_OCCLUSION_TEST_RESULT_HP 0x8166 #define GL_TEXTURE_LIGHTING_MODE_HP 0x8167 #define GL_TEXTURE_POST_SPECULAR_HP 0x8168 #define GL_TEXTURE_PRE_SPECULAR_HP 0x8169 #define GL_LINEAR_CLIPMAP_LINEAR_SGIX 0x8170 #define GL_TEXTURE_CLIPMAP_CENTER_SGIX 0x8171 #define GL_TEXTURE_CLIPMAP_FRAME_SGIX 0x8172 #define GL_TEXTURE_CLIPMAP_OFFSET_SGIX 0x8173 #define GL_TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX 0x8174 #define GL_TEXTURE_CLIPMAP_LOD_OFFSET_SGIX 0x8175 #define GL_TEXTURE_CLIPMAP_DEPTH_SGIX 0x8176 #define GL_MAX_CLIPMAP_DEPTH_SGIX 0x8177 #define GL_MAX_CLIPMAP_VIRTUAL_DEPTH_SGIX 0x8178 #define GL_POST_TEXTURE_FILTER_BIAS_SGIX 0x8179 #define GL_POST_TEXTURE_FILTER_SCALE_SGIX 0x817A #define GL_POST_TEXTURE_FILTER_BIAS_RANGE_SGIX 0x817B #define GL_POST_TEXTURE_FILTER_SCALE_RANGE_SGIX 0x817C #define GL_REFERENCE_PLANE_SGIX 0x817D #define GL_REFERENCE_PLANE_EQUATION_SGIX 0x817E #define GL_IR_INSTRUMENT1_SGIX 0x817F #define GL_INSTRUMENT_BUFFER_POINTER_SGIX 0x8180 #define GL_INSTRUMENT_MEASUREMENTS_SGIX 0x8181 #define GL_LIST_PRIORITY_SGIX 0x8182 #define GL_CALLIGRAPHIC_FRAGMENT_SGIX 0x8183 #define GL_PIXEL_TEX_GEN_Q_CEILING_SGIX 0x8184 #define GL_PIXEL_TEX_GEN_Q_ROUND_SGIX 0x8185 #define GL_PIXEL_TEX_GEN_Q_FLOOR_SGIX 0x8186 #define GL_PIXEL_TEX_GEN_ALPHA_REPLACE_SGIX 0x8187 #define GL_PIXEL_TEX_GEN_ALPHA_NO_REPLACE_SGIX 0x8188 #define GL_PIXEL_TEX_GEN_ALPHA_LS_SGIX 0x8189 #define GL_PIXEL_TEX_GEN_ALPHA_MS_SGIX 0x818A #define GL_FRAMEZOOM_SGIX 0x818B #define GL_FRAMEZOOM_FACTOR_SGIX 0x818C #define GL_MAX_FRAMEZOOM_FACTOR_SGIX 0x818D #define GL_TEXTURE_LOD_BIAS_S_SGIX 0x818E #define GL_TEXTURE_LOD_BIAS_T_SGIX 0x818F #define GL_TEXTURE_LOD_BIAS_R_SGIX 0x8190 #define GL_GENERATE_MIPMAP 0x8191 #define GL_GENERATE_MIPMAP_SGIS 0x8191 #define GL_GENERATE_MIPMAP_HINT 0x8192 #define GL_GENERATE_MIPMAP_HINT_SGIS 0x8192 #define GL_GEOMETRY_DEFORMATION_SGIX 0x8194 #define GL_TEXTURE_DEFORMATION_SGIX 0x8195 #define GL_DEFORMATIONS_MASK_SGIX 0x8196 #define GL_MAX_DEFORMATION_ORDER_SGIX 0x8197 #define GL_FOG_OFFSET_SGIX 0x8198 #define GL_FOG_OFFSET_VALUE_SGIX 0x8199 #define GL_TEXTURE_COMPARE_SGIX 0x819A #define GL_TEXTURE_COMPARE_OPERATOR_SGIX 0x819B #define GL_TEXTURE_LEQUAL_R_SGIX 0x819C #define GL_TEXTURE_GEQUAL_R_SGIX 0x819D #define GL_DEPTH_COMPONENT16 0x81A5 #define GL_DEPTH_COMPONENT16_ARB 0x81A5 #define GL_DEPTH_COMPONENT16_OES 0x81A5 #define GL_DEPTH_COMPONENT16_SGIX 0x81A5 #define GL_DEPTH_COMPONENT24 0x81A6 #define GL_DEPTH_COMPONENT24_ARB 0x81A6 #define GL_DEPTH_COMPONENT24_OES 0x81A6 #define GL_DEPTH_COMPONENT24_SGIX 0x81A6 #define GL_DEPTH_COMPONENT32 0x81A7 #define GL_DEPTH_COMPONENT32_ARB 0x81A7 #define GL_DEPTH_COMPONENT32_OES 0x81A7 #define GL_DEPTH_COMPONENT32_SGIX 0x81A7 #define GL_ARRAY_ELEMENT_LOCK_FIRST_EXT 0x81A8 #define GL_ARRAY_ELEMENT_LOCK_COUNT_EXT 0x81A9 #define GL_CULL_VERTEX_EXT 0x81AA #define GL_CULL_VERTEX_EYE_POSITION_EXT 0x81AB #define GL_CULL_VERTEX_OBJECT_POSITION_EXT 0x81AC #define GL_IUI_V2F_EXT 0x81AD #define GL_IUI_V3F_EXT 0x81AE #define GL_IUI_N3F_V2F_EXT 0x81AF #define GL_IUI_N3F_V3F_EXT 0x81B0 #define GL_T2F_IUI_V2F_EXT 0x81B1 #define GL_T2F_IUI_V3F_EXT 0x81B2 #define GL_T2F_IUI_N3F_V2F_EXT 0x81B3 #define GL_T2F_IUI_N3F_V3F_EXT 0x81B4 #define GL_INDEX_TEST_EXT 0x81B5 #define GL_INDEX_TEST_FUNC_EXT 0x81B6 #define GL_INDEX_TEST_REF_EXT 0x81B7 #define GL_INDEX_MATERIAL_EXT 0x81B8 #define GL_INDEX_MATERIAL_PARAMETER_EXT 0x81B9 #define GL_INDEX_MATERIAL_FACE_EXT 0x81BA #define GL_YCRCB_422_SGIX 0x81BB #define GL_YCRCB_444_SGIX 0x81BC #define GL_WRAP_BORDER_SUN 0x81D4 #define GL_UNPACK_CONSTANT_DATA_SUNX 0x81D5 #define GL_TEXTURE_CONSTANT_DATA_SUNX 0x81D6 #define GL_TRIANGLE_LIST_SUN 0x81D7 #define GL_REPLACEMENT_CODE_SUN 0x81D8 #define GL_GLOBAL_ALPHA_SUN 0x81D9 #define GL_GLOBAL_ALPHA_FACTOR_SUN 0x81DA #define GL_TEXTURE_COLOR_WRITEMASK_SGIS 0x81EF #define GL_EYE_DISTANCE_TO_POINT_SGIS 0x81F0 #define GL_OBJECT_DISTANCE_TO_POINT_SGIS 0x81F1 #define GL_EYE_DISTANCE_TO_LINE_SGIS 0x81F2 #define GL_OBJECT_DISTANCE_TO_LINE_SGIS 0x81F3 #define GL_EYE_POINT_SGIS 0x81F4 #define GL_OBJECT_POINT_SGIS 0x81F5 #define GL_EYE_LINE_SGIS 0x81F6 #define GL_OBJECT_LINE_SGIS 0x81F7 #define GL_LIGHT_MODEL_COLOR_CONTROL 0x81F8 #define GL_LIGHT_MODEL_COLOR_CONTROL_EXT 0x81F8 #define GL_SINGLE_COLOR 0x81F9 #define GL_SINGLE_COLOR_EXT 0x81F9 #define GL_SEPARATE_SPECULAR_COLOR 0x81FA #define GL_SEPARATE_SPECULAR_COLOR_EXT 0x81FA #define GL_SHARED_TEXTURE_PALETTE_EXT 0x81FB #define GL_TEXT_FRAGMENT_SHADER_ATI 0x8200 #define GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING 0x8210 #define GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT 0x8210 #define GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE 0x8211 #define GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT 0x8211 #define GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE 0x8212 #define GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE 0x8213 #define GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE 0x8214 #define GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE 0x8215 #define GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE 0x8216 #define GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE 0x8217 #define GL_FRAMEBUFFER_DEFAULT 0x8218 #define GL_FRAMEBUFFER_UNDEFINED 0x8219 #define GL_FRAMEBUFFER_UNDEFINED_OES 0x8219 #define GL_DEPTH_STENCIL_ATTACHMENT 0x821A #define GL_MAJOR_VERSION 0x821B #define GL_MINOR_VERSION 0x821C #define GL_NUM_EXTENSIONS 0x821D #define GL_CONTEXT_FLAGS 0x821E #define GL_BUFFER_IMMUTABLE_STORAGE 0x821F #define GL_BUFFER_IMMUTABLE_STORAGE_EXT 0x821F #define GL_BUFFER_STORAGE_FLAGS 0x8220 #define GL_BUFFER_STORAGE_FLAGS_EXT 0x8220 #define GL_PRIMITIVE_RESTART_FOR_PATCHES_SUPPORTED 0x8221 #define GL_PRIMITIVE_RESTART_FOR_PATCHES_SUPPORTED_OES 0x8221 #define GL_INDEX 0x8222 #define GL_COMPRESSED_RED 0x8225 #define GL_COMPRESSED_RG 0x8226 #define GL_RG 0x8227 #define GL_RG_EXT 0x8227 #define GL_RG_INTEGER 0x8228 #define GL_R8 0x8229 #define GL_R8_EXT 0x8229 #define GL_R16 0x822A #define GL_R16_EXT 0x822A #define GL_RG8 0x822B #define GL_RG8_EXT 0x822B #define GL_RG16 0x822C #define GL_RG16_EXT 0x822C #define GL_R16F 0x822D #define GL_R16F_EXT 0x822D #define GL_R32F 0x822E #define GL_R32F_EXT 0x822E #define GL_RG16F 0x822F #define GL_RG16F_EXT 0x822F #define GL_RG32F 0x8230 #define GL_RG32F_EXT 0x8230 #define GL_R8I 0x8231 #define GL_R8UI 0x8232 #define GL_R16I 0x8233 #define GL_R16UI 0x8234 #define GL_R32I 0x8235 #define GL_R32UI 0x8236 #define GL_RG8I 0x8237 #define GL_RG8UI 0x8238 #define GL_RG16I 0x8239 #define GL_RG16UI 0x823A #define GL_RG32I 0x823B #define GL_RG32UI 0x823C #define GL_SYNC_CL_EVENT_ARB 0x8240 #define GL_SYNC_CL_EVENT_COMPLETE_ARB 0x8241 #define GL_DEBUG_OUTPUT_SYNCHRONOUS 0x8242 #define GL_DEBUG_OUTPUT_SYNCHRONOUS_ARB 0x8242 #define GL_DEBUG_OUTPUT_SYNCHRONOUS_KHR 0x8242 #define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH 0x8243 #define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH_ARB 0x8243 #define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH_KHR 0x8243 #define GL_DEBUG_CALLBACK_FUNCTION 0x8244 #define GL_DEBUG_CALLBACK_FUNCTION_ARB 0x8244 #define GL_DEBUG_CALLBACK_FUNCTION_KHR 0x8244 #define GL_DEBUG_CALLBACK_USER_PARAM 0x8245 #define GL_DEBUG_CALLBACK_USER_PARAM_ARB 0x8245 #define GL_DEBUG_CALLBACK_USER_PARAM_KHR 0x8245 #define GL_DEBUG_SOURCE_API 0x8246 #define GL_DEBUG_SOURCE_API_ARB 0x8246 #define GL_DEBUG_SOURCE_API_KHR 0x8246 #define GL_DEBUG_SOURCE_WINDOW_SYSTEM 0x8247 #define GL_DEBUG_SOURCE_WINDOW_SYSTEM_ARB 0x8247 #define GL_DEBUG_SOURCE_WINDOW_SYSTEM_KHR 0x8247 #define GL_DEBUG_SOURCE_SHADER_COMPILER 0x8248 #define GL_DEBUG_SOURCE_SHADER_COMPILER_ARB 0x8248 #define GL_DEBUG_SOURCE_SHADER_COMPILER_KHR 0x8248 #define GL_DEBUG_SOURCE_THIRD_PARTY 0x8249 #define GL_DEBUG_SOURCE_THIRD_PARTY_ARB 0x8249 #define GL_DEBUG_SOURCE_THIRD_PARTY_KHR 0x8249 #define GL_DEBUG_SOURCE_APPLICATION 0x824A #define GL_DEBUG_SOURCE_APPLICATION_ARB 0x824A #define GL_DEBUG_SOURCE_APPLICATION_KHR 0x824A #define GL_DEBUG_SOURCE_OTHER 0x824B #define GL_DEBUG_SOURCE_OTHER_ARB 0x824B #define GL_DEBUG_SOURCE_OTHER_KHR 0x824B #define GL_DEBUG_TYPE_ERROR 0x824C #define GL_DEBUG_TYPE_ERROR_ARB 0x824C #define GL_DEBUG_TYPE_ERROR_KHR 0x824C #define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR 0x824D #define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR_ARB 0x824D #define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR_KHR 0x824D #define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR 0x824E #define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR_ARB 0x824E #define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR_KHR 0x824E #define GL_DEBUG_TYPE_PORTABILITY 0x824F #define GL_DEBUG_TYPE_PORTABILITY_ARB 0x824F #define GL_DEBUG_TYPE_PORTABILITY_KHR 0x824F #define GL_DEBUG_TYPE_PERFORMANCE 0x8250 #define GL_DEBUG_TYPE_PERFORMANCE_ARB 0x8250 #define GL_DEBUG_TYPE_PERFORMANCE_KHR 0x8250 #define GL_DEBUG_TYPE_OTHER 0x8251 #define GL_DEBUG_TYPE_OTHER_ARB 0x8251 #define GL_DEBUG_TYPE_OTHER_KHR 0x8251 #define GL_LOSE_CONTEXT_ON_RESET 0x8252 #define GL_LOSE_CONTEXT_ON_RESET_ARB 0x8252 #define GL_LOSE_CONTEXT_ON_RESET_EXT 0x8252 #define GL_LOSE_CONTEXT_ON_RESET_KHR 0x8252 #define GL_GUILTY_CONTEXT_RESET 0x8253 #define GL_GUILTY_CONTEXT_RESET_ARB 0x8253 #define GL_GUILTY_CONTEXT_RESET_EXT 0x8253 #define GL_GUILTY_CONTEXT_RESET_KHR 0x8253 #define GL_INNOCENT_CONTEXT_RESET 0x8254 #define GL_INNOCENT_CONTEXT_RESET_ARB 0x8254 #define GL_INNOCENT_CONTEXT_RESET_EXT 0x8254 #define GL_INNOCENT_CONTEXT_RESET_KHR 0x8254 #define GL_UNKNOWN_CONTEXT_RESET 0x8255 #define GL_UNKNOWN_CONTEXT_RESET_ARB 0x8255 #define GL_UNKNOWN_CONTEXT_RESET_EXT 0x8255 #define GL_UNKNOWN_CONTEXT_RESET_KHR 0x8255 #define GL_RESET_NOTIFICATION_STRATEGY 0x8256 #define GL_RESET_NOTIFICATION_STRATEGY_ARB 0x8256 #define GL_RESET_NOTIFICATION_STRATEGY_EXT 0x8256 #define GL_RESET_NOTIFICATION_STRATEGY_KHR 0x8256 #define GL_PROGRAM_BINARY_RETRIEVABLE_HINT 0x8257 #define GL_PROGRAM_SEPARABLE 0x8258 #define GL_PROGRAM_SEPARABLE_EXT 0x8258 #define GL_ACTIVE_PROGRAM 0x8259 #define GL_PROGRAM_PIPELINE_BINDING 0x825A #define GL_PROGRAM_PIPELINE_BINDING_EXT 0x825A #define GL_MAX_VIEWPORTS 0x825B #define GL_MAX_VIEWPORTS_NV 0x825B #define GL_MAX_VIEWPORTS_OES 0x825B #define GL_VIEWPORT_SUBPIXEL_BITS 0x825C #define GL_VIEWPORT_SUBPIXEL_BITS_EXT 0x825C #define GL_VIEWPORT_SUBPIXEL_BITS_NV 0x825C #define GL_VIEWPORT_SUBPIXEL_BITS_OES 0x825C #define GL_VIEWPORT_BOUNDS_RANGE 0x825D #define GL_VIEWPORT_BOUNDS_RANGE_EXT 0x825D #define GL_VIEWPORT_BOUNDS_RANGE_NV 0x825D #define GL_VIEWPORT_BOUNDS_RANGE_OES 0x825D #define GL_LAYER_PROVOKING_VERTEX 0x825E #define GL_LAYER_PROVOKING_VERTEX_EXT 0x825E #define GL_LAYER_PROVOKING_VERTEX_OES 0x825E #define GL_VIEWPORT_INDEX_PROVOKING_VERTEX 0x825F #define GL_VIEWPORT_INDEX_PROVOKING_VERTEX_EXT 0x825F #define GL_VIEWPORT_INDEX_PROVOKING_VERTEX_NV 0x825F #define GL_VIEWPORT_INDEX_PROVOKING_VERTEX_OES 0x825F #define GL_UNDEFINED_VERTEX 0x8260 #define GL_UNDEFINED_VERTEX_EXT 0x8260 #define GL_UNDEFINED_VERTEX_OES 0x8260 #define GL_NO_RESET_NOTIFICATION 0x8261 #define GL_NO_RESET_NOTIFICATION_ARB 0x8261 #define GL_NO_RESET_NOTIFICATION_EXT 0x8261 #define GL_NO_RESET_NOTIFICATION_KHR 0x8261 #define GL_MAX_COMPUTE_SHARED_MEMORY_SIZE 0x8262 #define GL_MAX_COMPUTE_UNIFORM_COMPONENTS 0x8263 #define GL_MAX_COMPUTE_ATOMIC_COUNTER_BUFFERS 0x8264 #define GL_MAX_COMPUTE_ATOMIC_COUNTERS 0x8265 #define GL_MAX_COMBINED_COMPUTE_UNIFORM_COMPONENTS 0x8266 #define GL_COMPUTE_WORK_GROUP_SIZE 0x8267 #define GL_DEBUG_TYPE_MARKER 0x8268 #define GL_DEBUG_TYPE_MARKER_KHR 0x8268 #define GL_DEBUG_TYPE_PUSH_GROUP 0x8269 #define GL_DEBUG_TYPE_PUSH_GROUP_KHR 0x8269 #define GL_DEBUG_TYPE_POP_GROUP 0x826A #define GL_DEBUG_TYPE_POP_GROUP_KHR 0x826A #define GL_DEBUG_SEVERITY_NOTIFICATION 0x826B #define GL_DEBUG_SEVERITY_NOTIFICATION_KHR 0x826B #define GL_MAX_DEBUG_GROUP_STACK_DEPTH 0x826C #define GL_MAX_DEBUG_GROUP_STACK_DEPTH_KHR 0x826C #define GL_DEBUG_GROUP_STACK_DEPTH 0x826D #define GL_DEBUG_GROUP_STACK_DEPTH_KHR 0x826D #define GL_MAX_UNIFORM_LOCATIONS 0x826E #define GL_INTERNALFORMAT_SUPPORTED 0x826F #define GL_INTERNALFORMAT_PREFERRED 0x8270 #define GL_INTERNALFORMAT_RED_SIZE 0x8271 #define GL_INTERNALFORMAT_GREEN_SIZE 0x8272 #define GL_INTERNALFORMAT_BLUE_SIZE 0x8273 #define GL_INTERNALFORMAT_ALPHA_SIZE 0x8274 #define GL_INTERNALFORMAT_DEPTH_SIZE 0x8275 #define GL_INTERNALFORMAT_STENCIL_SIZE 0x8276 #define GL_INTERNALFORMAT_SHARED_SIZE 0x8277 #define GL_INTERNALFORMAT_RED_TYPE 0x8278 #define GL_INTERNALFORMAT_GREEN_TYPE 0x8279 #define GL_INTERNALFORMAT_BLUE_TYPE 0x827A #define GL_INTERNALFORMAT_ALPHA_TYPE 0x827B #define GL_INTERNALFORMAT_DEPTH_TYPE 0x827C #define GL_INTERNALFORMAT_STENCIL_TYPE 0x827D #define GL_MAX_WIDTH 0x827E #define GL_MAX_HEIGHT 0x827F #define GL_MAX_DEPTH 0x8280 #define GL_MAX_LAYERS 0x8281 #define GL_MAX_COMBINED_DIMENSIONS 0x8282 #define GL_COLOR_COMPONENTS 0x8283 #define GL_DEPTH_COMPONENTS 0x8284 #define GL_STENCIL_COMPONENTS 0x8285 #define GL_COLOR_RENDERABLE 0x8286 #define GL_DEPTH_RENDERABLE 0x8287 #define GL_STENCIL_RENDERABLE 0x8288 #define GL_FRAMEBUFFER_RENDERABLE 0x8289 #define GL_FRAMEBUFFER_RENDERABLE_LAYERED 0x828A #define GL_FRAMEBUFFER_BLEND 0x828B #define GL_READ_PIXELS 0x828C #define GL_READ_PIXELS_FORMAT 0x828D #define GL_READ_PIXELS_TYPE 0x828E #define GL_TEXTURE_IMAGE_FORMAT 0x828F #define GL_TEXTURE_IMAGE_TYPE 0x8290 #define GL_GET_TEXTURE_IMAGE_FORMAT 0x8291 #define GL_GET_TEXTURE_IMAGE_TYPE 0x8292 #define GL_MIPMAP 0x8293 #define GL_MANUAL_GENERATE_MIPMAP 0x8294 #define GL_AUTO_GENERATE_MIPMAP 0x8295 #define GL_COLOR_ENCODING 0x8296 #define GL_SRGB_READ 0x8297 #define GL_SRGB_WRITE 0x8298 #define GL_SRGB_DECODE_ARB 0x8299 #define GL_FILTER 0x829A #define GL_VERTEX_TEXTURE 0x829B #define GL_TESS_CONTROL_TEXTURE 0x829C #define GL_TESS_EVALUATION_TEXTURE 0x829D #define GL_GEOMETRY_TEXTURE 0x829E #define GL_FRAGMENT_TEXTURE 0x829F #define GL_COMPUTE_TEXTURE 0x82A0 #define GL_TEXTURE_SHADOW 0x82A1 #define GL_TEXTURE_GATHER 0x82A2 #define GL_TEXTURE_GATHER_SHADOW 0x82A3 #define GL_SHADER_IMAGE_LOAD 0x82A4 #define GL_SHADER_IMAGE_STORE 0x82A5 #define GL_SHADER_IMAGE_ATOMIC 0x82A6 #define GL_IMAGE_TEXEL_SIZE 0x82A7 #define GL_IMAGE_COMPATIBILITY_CLASS 0x82A8 #define GL_IMAGE_PIXEL_FORMAT 0x82A9 #define GL_IMAGE_PIXEL_TYPE 0x82AA #define GL_SIMULTANEOUS_TEXTURE_AND_DEPTH_TEST 0x82AC #define GL_SIMULTANEOUS_TEXTURE_AND_STENCIL_TEST 0x82AD #define GL_SIMULTANEOUS_TEXTURE_AND_DEPTH_WRITE 0x82AE #define GL_SIMULTANEOUS_TEXTURE_AND_STENCIL_WRITE 0x82AF #define GL_TEXTURE_COMPRESSED_BLOCK_WIDTH 0x82B1 #define GL_TEXTURE_COMPRESSED_BLOCK_HEIGHT 0x82B2 #define GL_TEXTURE_COMPRESSED_BLOCK_SIZE 0x82B3 #define GL_CLEAR_BUFFER 0x82B4 #define GL_TEXTURE_VIEW 0x82B5 #define GL_VIEW_COMPATIBILITY_CLASS 0x82B6 #define GL_FULL_SUPPORT 0x82B7 #define GL_CAVEAT_SUPPORT 0x82B8 #define GL_IMAGE_CLASS_4_X_32 0x82B9 #define GL_IMAGE_CLASS_2_X_32 0x82BA #define GL_IMAGE_CLASS_1_X_32 0x82BB #define GL_IMAGE_CLASS_4_X_16 0x82BC #define GL_IMAGE_CLASS_2_X_16 0x82BD #define GL_IMAGE_CLASS_1_X_16 0x82BE #define GL_IMAGE_CLASS_4_X_8 0x82BF #define GL_IMAGE_CLASS_2_X_8 0x82C0 #define GL_IMAGE_CLASS_1_X_8 0x82C1 #define GL_IMAGE_CLASS_11_11_10 0x82C2 #define GL_IMAGE_CLASS_10_10_10_2 0x82C3 #define GL_VIEW_CLASS_128_BITS 0x82C4 #define GL_VIEW_CLASS_96_BITS 0x82C5 #define GL_VIEW_CLASS_64_BITS 0x82C6 #define GL_VIEW_CLASS_48_BITS 0x82C7 #define GL_VIEW_CLASS_32_BITS 0x82C8 #define GL_VIEW_CLASS_24_BITS 0x82C9 #define GL_VIEW_CLASS_16_BITS 0x82CA #define GL_VIEW_CLASS_8_BITS 0x82CB #define GL_VIEW_CLASS_S3TC_DXT1_RGB 0x82CC #define GL_VIEW_CLASS_S3TC_DXT1_RGBA 0x82CD #define GL_VIEW_CLASS_S3TC_DXT3_RGBA 0x82CE #define GL_VIEW_CLASS_S3TC_DXT5_RGBA 0x82CF #define GL_VIEW_CLASS_RGTC1_RED 0x82D0 #define GL_VIEW_CLASS_RGTC2_RG 0x82D1 #define GL_VIEW_CLASS_BPTC_UNORM 0x82D2 #define GL_VIEW_CLASS_BPTC_FLOAT 0x82D3 #define GL_VERTEX_ATTRIB_BINDING 0x82D4 #define GL_VERTEX_ATTRIB_RELATIVE_OFFSET 0x82D5 #define GL_VERTEX_BINDING_DIVISOR 0x82D6 #define GL_VERTEX_BINDING_OFFSET 0x82D7 #define GL_VERTEX_BINDING_STRIDE 0x82D8 #define GL_MAX_VERTEX_ATTRIB_RELATIVE_OFFSET 0x82D9 #define GL_MAX_VERTEX_ATTRIB_BINDINGS 0x82DA #define GL_TEXTURE_VIEW_MIN_LEVEL 0x82DB #define GL_TEXTURE_VIEW_MIN_LEVEL_EXT 0x82DB #define GL_TEXTURE_VIEW_MIN_LEVEL_OES 0x82DB #define GL_TEXTURE_VIEW_NUM_LEVELS 0x82DC #define GL_TEXTURE_VIEW_NUM_LEVELS_EXT 0x82DC #define GL_TEXTURE_VIEW_NUM_LEVELS_OES 0x82DC #define GL_TEXTURE_VIEW_MIN_LAYER 0x82DD #define GL_TEXTURE_VIEW_MIN_LAYER_EXT 0x82DD #define GL_TEXTURE_VIEW_MIN_LAYER_OES 0x82DD #define GL_TEXTURE_VIEW_NUM_LAYERS 0x82DE #define GL_TEXTURE_VIEW_NUM_LAYERS_EXT 0x82DE #define GL_TEXTURE_VIEW_NUM_LAYERS_OES 0x82DE #define GL_TEXTURE_IMMUTABLE_LEVELS 0x82DF #define GL_BUFFER 0x82E0 #define GL_BUFFER_KHR 0x82E0 #define GL_SHADER 0x82E1 #define GL_SHADER_KHR 0x82E1 #define GL_PROGRAM 0x82E2 #define GL_PROGRAM_KHR 0x82E2 #define GL_QUERY 0x82E3 #define GL_QUERY_KHR 0x82E3 #define GL_PROGRAM_PIPELINE 0x82E4 #define GL_PROGRAM_PIPELINE_KHR 0x82E4 #define GL_MAX_VERTEX_ATTRIB_STRIDE 0x82E5 #define GL_SAMPLER 0x82E6 #define GL_SAMPLER_KHR 0x82E6 #define GL_DISPLAY_LIST 0x82E7 #define GL_MAX_LABEL_LENGTH 0x82E8 #define GL_MAX_LABEL_LENGTH_KHR 0x82E8 #define GL_NUM_SHADING_LANGUAGE_VERSIONS 0x82E9 #define GL_QUERY_TARGET 0x82EA #define GL_TRANSFORM_FEEDBACK_OVERFLOW 0x82EC #define GL_TRANSFORM_FEEDBACK_OVERFLOW_ARB 0x82EC #define GL_TRANSFORM_FEEDBACK_STREAM_OVERFLOW 0x82ED #define GL_TRANSFORM_FEEDBACK_STREAM_OVERFLOW_ARB 0x82ED #define GL_VERTICES_SUBMITTED 0x82EE #define GL_VERTICES_SUBMITTED_ARB 0x82EE #define GL_PRIMITIVES_SUBMITTED 0x82EF #define GL_PRIMITIVES_SUBMITTED_ARB 0x82EF #define GL_VERTEX_SHADER_INVOCATIONS 0x82F0 #define GL_VERTEX_SHADER_INVOCATIONS_ARB 0x82F0 #define GL_TESS_CONTROL_SHADER_PATCHES 0x82F1 #define GL_TESS_CONTROL_SHADER_PATCHES_ARB 0x82F1 #define GL_TESS_EVALUATION_SHADER_INVOCATIONS 0x82F2 #define GL_TESS_EVALUATION_SHADER_INVOCATIONS_ARB 0x82F2 #define GL_GEOMETRY_SHADER_PRIMITIVES_EMITTED 0x82F3 #define GL_GEOMETRY_SHADER_PRIMITIVES_EMITTED_ARB 0x82F3 #define GL_FRAGMENT_SHADER_INVOCATIONS 0x82F4 #define GL_FRAGMENT_SHADER_INVOCATIONS_ARB 0x82F4 #define GL_COMPUTE_SHADER_INVOCATIONS 0x82F5 #define GL_COMPUTE_SHADER_INVOCATIONS_ARB 0x82F5 #define GL_CLIPPING_INPUT_PRIMITIVES 0x82F6 #define GL_CLIPPING_INPUT_PRIMITIVES_ARB 0x82F6 #define GL_CLIPPING_OUTPUT_PRIMITIVES 0x82F7 #define GL_CLIPPING_OUTPUT_PRIMITIVES_ARB 0x82F7 #define GL_SPARSE_BUFFER_PAGE_SIZE_ARB 0x82F8 #define GL_MAX_CULL_DISTANCES 0x82F9 #define GL_MAX_CULL_DISTANCES_EXT 0x82F9 #define GL_MAX_COMBINED_CLIP_AND_CULL_DISTANCES 0x82FA #define GL_MAX_COMBINED_CLIP_AND_CULL_DISTANCES_EXT 0x82FA #define GL_CONTEXT_RELEASE_BEHAVIOR 0x82FB #define GL_CONTEXT_RELEASE_BEHAVIOR_KHR 0x82FB #define GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH 0x82FC #define GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH_KHR 0x82FC #define GL_ROBUST_GPU_TIMEOUT_MS_KHR 0x82FD #define GL_DEPTH_PASS_INSTRUMENT_SGIX 0x8310 #define GL_DEPTH_PASS_INSTRUMENT_COUNTERS_SGIX 0x8311 #define GL_DEPTH_PASS_INSTRUMENT_MAX_SGIX 0x8312 #define GL_FRAGMENTS_INSTRUMENT_SGIX 0x8313 #define GL_FRAGMENTS_INSTRUMENT_COUNTERS_SGIX 0x8314 #define GL_FRAGMENTS_INSTRUMENT_MAX_SGIX 0x8315 #define GL_CONVOLUTION_HINT_SGIX 0x8316 #define GL_YCRCB_SGIX 0x8318 #define GL_YCRCBA_SGIX 0x8319 #define GL_UNPACK_COMPRESSED_SIZE_SGIX 0x831A #define GL_PACK_MAX_COMPRESSED_SIZE_SGIX 0x831B #define GL_PACK_COMPRESSED_SIZE_SGIX 0x831C #define GL_SLIM8U_SGIX 0x831D #define GL_SLIM10U_SGIX 0x831E #define GL_SLIM12S_SGIX 0x831F #define GL_ALPHA_MIN_SGIX 0x8320 #define GL_ALPHA_MAX_SGIX 0x8321 #define GL_SCALEBIAS_HINT_SGIX 0x8322 #define GL_ASYNC_MARKER_SGIX 0x8329 #define GL_PIXEL_TEX_GEN_MODE_SGIX 0x832B #define GL_ASYNC_HISTOGRAM_SGIX 0x832C #define GL_MAX_ASYNC_HISTOGRAM_SGIX 0x832D #define GL_PIXEL_TRANSFORM_2D_EXT 0x8330 #define GL_PIXEL_MAG_FILTER_EXT 0x8331 #define GL_PIXEL_MIN_FILTER_EXT 0x8332 #define GL_PIXEL_CUBIC_WEIGHT_EXT 0x8333 #define GL_CUBIC_EXT 0x8334 #define GL_AVERAGE_EXT 0x8335 #define GL_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT 0x8336 #define GL_MAX_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT 0x8337 #define GL_PIXEL_TRANSFORM_2D_MATRIX_EXT 0x8338 #define GL_FRAGMENT_MATERIAL_EXT 0x8349 #define GL_FRAGMENT_NORMAL_EXT 0x834A #define GL_FRAGMENT_COLOR_EXT 0x834C #define GL_ATTENUATION_EXT 0x834D #define GL_SHADOW_ATTENUATION_EXT 0x834E #define GL_TEXTURE_APPLICATION_MODE_EXT 0x834F #define GL_TEXTURE_LIGHT_EXT 0x8350 #define GL_TEXTURE_MATERIAL_FACE_EXT 0x8351 #define GL_TEXTURE_MATERIAL_PARAMETER_EXT 0x8352 #define GL_PIXEL_TEXTURE_SGIS 0x8353 #define GL_PIXEL_FRAGMENT_RGB_SOURCE_SGIS 0x8354 #define GL_PIXEL_FRAGMENT_ALPHA_SOURCE_SGIS 0x8355 #define GL_PIXEL_GROUP_COLOR_SGIS 0x8356 #define GL_LINE_QUALITY_HINT_SGIX 0x835B #define GL_ASYNC_TEX_IMAGE_SGIX 0x835C #define GL_ASYNC_DRAW_PIXELS_SGIX 0x835D #define GL_ASYNC_READ_PIXELS_SGIX 0x835E #define GL_MAX_ASYNC_TEX_IMAGE_SGIX 0x835F #define GL_MAX_ASYNC_DRAW_PIXELS_SGIX 0x8360 #define GL_MAX_ASYNC_READ_PIXELS_SGIX 0x8361 #define GL_UNSIGNED_BYTE_2_3_3_REV 0x8362 #define GL_UNSIGNED_BYTE_2_3_3_REV_EXT 0x8362 #define GL_UNSIGNED_SHORT_5_6_5 0x8363 #define GL_UNSIGNED_SHORT_5_6_5_EXT 0x8363 #define GL_UNSIGNED_SHORT_5_6_5_REV 0x8364 #define GL_UNSIGNED_SHORT_5_6_5_REV_EXT 0x8364 #define GL_UNSIGNED_SHORT_4_4_4_4_REV 0x8365 #define GL_UNSIGNED_SHORT_4_4_4_4_REV_EXT 0x8365 #define GL_UNSIGNED_SHORT_4_4_4_4_REV_IMG 0x8365 #define GL_UNSIGNED_SHORT_1_5_5_5_REV 0x8366 #define GL_UNSIGNED_SHORT_1_5_5_5_REV_EXT 0x8366 #define GL_UNSIGNED_INT_8_8_8_8_REV 0x8367 #define GL_UNSIGNED_INT_8_8_8_8_REV_EXT 0x8367 #define GL_UNSIGNED_INT_2_10_10_10_REV 0x8368 #define GL_UNSIGNED_INT_2_10_10_10_REV_EXT 0x8368 #define GL_TEXTURE_MAX_CLAMP_S_SGIX 0x8369 #define GL_TEXTURE_MAX_CLAMP_T_SGIX 0x836A #define GL_TEXTURE_MAX_CLAMP_R_SGIX 0x836B #define GL_MIRRORED_REPEAT 0x8370 #define GL_MIRRORED_REPEAT_ARB 0x8370 #define GL_MIRRORED_REPEAT_IBM 0x8370 #define GL_MIRRORED_REPEAT_OES 0x8370 #define GL_RGB_S3TC 0x83A0 #define GL_RGB4_S3TC 0x83A1 #define GL_RGBA_S3TC 0x83A2 #define GL_RGBA4_S3TC 0x83A3 #define GL_RGBA_DXT5_S3TC 0x83A4 #define GL_RGBA4_DXT5_S3TC 0x83A5 #define GL_VERTEX_PRECLIP_SGIX 0x83EE #define GL_VERTEX_PRECLIP_HINT_SGIX 0x83EF #define GL_COMPRESSED_RGB_S3TC_DXT1_EXT 0x83F0 #define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT 0x83F1 #define GL_COMPRESSED_RGBA_S3TC_DXT3_ANGLE 0x83F2 #define GL_COMPRESSED_RGBA_S3TC_DXT3_EXT 0x83F2 #define GL_COMPRESSED_RGBA_S3TC_DXT5_ANGLE 0x83F3 #define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT 0x83F3 #define GL_PARALLEL_ARRAYS_INTEL 0x83F4 #define GL_VERTEX_ARRAY_PARALLEL_POINTERS_INTEL 0x83F5 #define GL_NORMAL_ARRAY_PARALLEL_POINTERS_INTEL 0x83F6 #define GL_COLOR_ARRAY_PARALLEL_POINTERS_INTEL 0x83F7 #define GL_TEXTURE_COORD_ARRAY_PARALLEL_POINTERS_INTEL 0x83F8 #define GL_PERFQUERY_DONOT_FLUSH_INTEL 0x83F9 #define GL_PERFQUERY_FLUSH_INTEL 0x83FA #define GL_PERFQUERY_WAIT_INTEL 0x83FB #define GL_BLACKHOLE_RENDER_INTEL 0x83FC #define GL_CONSERVATIVE_RASTERIZATION_INTEL 0x83FE #define GL_TEXTURE_MEMORY_LAYOUT_INTEL 0x83FF #define GL_FRAGMENT_LIGHTING_SGIX 0x8400 #define GL_FRAGMENT_COLOR_MATERIAL_SGIX 0x8401 #define GL_FRAGMENT_COLOR_MATERIAL_FACE_SGIX 0x8402 #define GL_FRAGMENT_COLOR_MATERIAL_PARAMETER_SGIX 0x8403 #define GL_MAX_FRAGMENT_LIGHTS_SGIX 0x8404 #define GL_MAX_ACTIVE_LIGHTS_SGIX 0x8405 #define GL_CURRENT_RASTER_NORMAL_SGIX 0x8406 #define GL_LIGHT_ENV_MODE_SGIX 0x8407 #define GL_FRAGMENT_LIGHT_MODEL_LOCAL_VIEWER_SGIX 0x8408 #define GL_FRAGMENT_LIGHT_MODEL_TWO_SIDE_SGIX 0x8409 #define GL_FRAGMENT_LIGHT_MODEL_AMBIENT_SGIX 0x840A #define GL_FRAGMENT_LIGHT_MODEL_NORMAL_INTERPOLATION_SGIX 0x840B #define GL_FRAGMENT_LIGHT0_SGIX 0x840C #define GL_FRAGMENT_LIGHT1_SGIX 0x840D #define GL_FRAGMENT_LIGHT2_SGIX 0x840E #define GL_FRAGMENT_LIGHT3_SGIX 0x840F #define GL_FRAGMENT_LIGHT4_SGIX 0x8410 #define GL_FRAGMENT_LIGHT5_SGIX 0x8411 #define GL_FRAGMENT_LIGHT6_SGIX 0x8412 #define GL_FRAGMENT_LIGHT7_SGIX 0x8413 #define GL_PACK_RESAMPLE_SGIX 0x842E #define GL_UNPACK_RESAMPLE_SGIX 0x842F #define GL_RESAMPLE_DECIMATE_SGIX 0x8430 #define GL_RESAMPLE_REPLICATE_SGIX 0x8433 #define GL_RESAMPLE_ZERO_FILL_SGIX 0x8434 #define GL_TANGENT_ARRAY_EXT 0x8439 #define GL_BINORMAL_ARRAY_EXT 0x843A #define GL_CURRENT_TANGENT_EXT 0x843B #define GL_CURRENT_BINORMAL_EXT 0x843C #define GL_TANGENT_ARRAY_TYPE_EXT 0x843E #define GL_TANGENT_ARRAY_STRIDE_EXT 0x843F #define GL_BINORMAL_ARRAY_TYPE_EXT 0x8440 #define GL_BINORMAL_ARRAY_STRIDE_EXT 0x8441 #define GL_TANGENT_ARRAY_POINTER_EXT 0x8442 #define GL_BINORMAL_ARRAY_POINTER_EXT 0x8443 #define GL_MAP1_TANGENT_EXT 0x8444 #define GL_MAP2_TANGENT_EXT 0x8445 #define GL_MAP1_BINORMAL_EXT 0x8446 #define GL_MAP2_BINORMAL_EXT 0x8447 #define GL_NEAREST_CLIPMAP_NEAREST_SGIX 0x844D #define GL_NEAREST_CLIPMAP_LINEAR_SGIX 0x844E #define GL_LINEAR_CLIPMAP_NEAREST_SGIX 0x844F #define GL_FOG_COORDINATE_SOURCE 0x8450 #define GL_FOG_COORDINATE_SOURCE_EXT 0x8450 #define GL_FOG_COORD_SRC 0x8450 #define GL_FOG_COORD 0x8451 #define GL_FOG_COORDINATE 0x8451 #define GL_FOG_COORDINATE_EXT 0x8451 #define GL_FRAGMENT_DEPTH 0x8452 #define GL_FRAGMENT_DEPTH_EXT 0x8452 #define GL_CURRENT_FOG_COORD 0x8453 #define GL_CURRENT_FOG_COORDINATE 0x8453 #define GL_CURRENT_FOG_COORDINATE_EXT 0x8453 #define GL_FOG_COORDINATE_ARRAY_TYPE 0x8454 #define GL_FOG_COORDINATE_ARRAY_TYPE_EXT 0x8454 #define GL_FOG_COORD_ARRAY_TYPE 0x8454 #define GL_FOG_COORDINATE_ARRAY_STRIDE 0x8455 #define GL_FOG_COORDINATE_ARRAY_STRIDE_EXT 0x8455 #define GL_FOG_COORD_ARRAY_STRIDE 0x8455 #define GL_FOG_COORDINATE_ARRAY_POINTER 0x8456 #define GL_FOG_COORDINATE_ARRAY_POINTER_EXT 0x8456 #define GL_FOG_COORD_ARRAY_POINTER 0x8456 #define GL_FOG_COORDINATE_ARRAY 0x8457 #define GL_FOG_COORDINATE_ARRAY_EXT 0x8457 #define GL_FOG_COORD_ARRAY 0x8457 #define GL_COLOR_SUM 0x8458 #define GL_COLOR_SUM_ARB 0x8458 #define GL_COLOR_SUM_EXT 0x8458 #define GL_CURRENT_SECONDARY_COLOR 0x8459 #define GL_CURRENT_SECONDARY_COLOR_EXT 0x8459 #define GL_SECONDARY_COLOR_ARRAY_SIZE 0x845A #define GL_SECONDARY_COLOR_ARRAY_SIZE_EXT 0x845A #define GL_SECONDARY_COLOR_ARRAY_TYPE 0x845B #define GL_SECONDARY_COLOR_ARRAY_TYPE_EXT 0x845B #define GL_SECONDARY_COLOR_ARRAY_STRIDE 0x845C #define GL_SECONDARY_COLOR_ARRAY_STRIDE_EXT 0x845C #define GL_SECONDARY_COLOR_ARRAY_POINTER 0x845D #define GL_SECONDARY_COLOR_ARRAY_POINTER_EXT 0x845D #define GL_SECONDARY_COLOR_ARRAY 0x845E #define GL_SECONDARY_COLOR_ARRAY_EXT 0x845E #define GL_CURRENT_RASTER_SECONDARY_COLOR 0x845F #define GL_ALIASED_POINT_SIZE_RANGE 0x846D #define GL_ALIASED_LINE_WIDTH_RANGE 0x846E #define GL_SCREEN_COORDINATES_REND 0x8490 #define GL_INVERTED_SCREEN_W_REND 0x8491 #define GL_TEXTURE0 0x84C0 #define GL_TEXTURE0_ARB 0x84C0 #define GL_TEXTURE1 0x84C1 #define GL_TEXTURE1_ARB 0x84C1 #define GL_TEXTURE2 0x84C2 #define GL_TEXTURE2_ARB 0x84C2 #define GL_TEXTURE3 0x84C3 #define GL_TEXTURE3_ARB 0x84C3 #define GL_TEXTURE4 0x84C4 #define GL_TEXTURE4_ARB 0x84C4 #define GL_TEXTURE5 0x84C5 #define GL_TEXTURE5_ARB 0x84C5 #define GL_TEXTURE6 0x84C6 #define GL_TEXTURE6_ARB 0x84C6 #define GL_TEXTURE7 0x84C7 #define GL_TEXTURE7_ARB 0x84C7 #define GL_TEXTURE8 0x84C8 #define GL_TEXTURE8_ARB 0x84C8 #define GL_TEXTURE9 0x84C9 #define GL_TEXTURE9_ARB 0x84C9 #define GL_TEXTURE10 0x84CA #define GL_TEXTURE10_ARB 0x84CA #define GL_TEXTURE11 0x84CB #define GL_TEXTURE11_ARB 0x84CB #define GL_TEXTURE12 0x84CC #define GL_TEXTURE12_ARB 0x84CC #define GL_TEXTURE13 0x84CD #define GL_TEXTURE13_ARB 0x84CD #define GL_TEXTURE14 0x84CE #define GL_TEXTURE14_ARB 0x84CE #define GL_TEXTURE15 0x84CF #define GL_TEXTURE15_ARB 0x84CF #define GL_TEXTURE16 0x84D0 #define GL_TEXTURE16_ARB 0x84D0 #define GL_TEXTURE17 0x84D1 #define GL_TEXTURE17_ARB 0x84D1 #define GL_TEXTURE18 0x84D2 #define GL_TEXTURE18_ARB 0x84D2 #define GL_TEXTURE19 0x84D3 #define GL_TEXTURE19_ARB 0x84D3 #define GL_TEXTURE20 0x84D4 #define GL_TEXTURE20_ARB 0x84D4 #define GL_TEXTURE21 0x84D5 #define GL_TEXTURE21_ARB 0x84D5 #define GL_TEXTURE22 0x84D6 #define GL_TEXTURE22_ARB 0x84D6 #define GL_TEXTURE23 0x84D7 #define GL_TEXTURE23_ARB 0x84D7 #define GL_TEXTURE24 0x84D8 #define GL_TEXTURE24_ARB 0x84D8 #define GL_TEXTURE25 0x84D9 #define GL_TEXTURE25_ARB 0x84D9 #define GL_TEXTURE26 0x84DA #define GL_TEXTURE26_ARB 0x84DA #define GL_TEXTURE27 0x84DB #define GL_TEXTURE27_ARB 0x84DB #define GL_TEXTURE28 0x84DC #define GL_TEXTURE28_ARB 0x84DC #define GL_TEXTURE29 0x84DD #define GL_TEXTURE29_ARB 0x84DD #define GL_TEXTURE30 0x84DE #define GL_TEXTURE30_ARB 0x84DE #define GL_TEXTURE31 0x84DF #define GL_TEXTURE31_ARB 0x84DF #define GL_ACTIVE_TEXTURE 0x84E0 #define GL_ACTIVE_TEXTURE_ARB 0x84E0 #define GL_CLIENT_ACTIVE_TEXTURE 0x84E1 #define GL_CLIENT_ACTIVE_TEXTURE_ARB 0x84E1 #define GL_MAX_TEXTURE_UNITS 0x84E2 #define GL_MAX_TEXTURE_UNITS_ARB 0x84E2 #define GL_PATH_TRANSPOSE_MODELVIEW_MATRIX_NV 0x84E3 #define GL_TRANSPOSE_MODELVIEW_MATRIX 0x84E3 #define GL_TRANSPOSE_MODELVIEW_MATRIX_ARB 0x84E3 #define GL_PATH_TRANSPOSE_PROJECTION_MATRIX_NV 0x84E4 #define GL_TRANSPOSE_PROJECTION_MATRIX 0x84E4 #define GL_TRANSPOSE_PROJECTION_MATRIX_ARB 0x84E4 #define GL_TRANSPOSE_TEXTURE_MATRIX 0x84E5 #define GL_TRANSPOSE_TEXTURE_MATRIX_ARB 0x84E5 #define GL_TRANSPOSE_COLOR_MATRIX 0x84E6 #define GL_TRANSPOSE_COLOR_MATRIX_ARB 0x84E6 #define GL_SUBTRACT 0x84E7 #define GL_SUBTRACT_ARB 0x84E7 #define GL_MAX_RENDERBUFFER_SIZE 0x84E8 #define GL_MAX_RENDERBUFFER_SIZE_EXT 0x84E8 #define GL_MAX_RENDERBUFFER_SIZE_OES 0x84E8 #define GL_COMPRESSED_ALPHA 0x84E9 #define GL_COMPRESSED_ALPHA_ARB 0x84E9 #define GL_COMPRESSED_LUMINANCE 0x84EA #define GL_COMPRESSED_LUMINANCE_ARB 0x84EA #define GL_COMPRESSED_LUMINANCE_ALPHA 0x84EB #define GL_COMPRESSED_LUMINANCE_ALPHA_ARB 0x84EB #define GL_COMPRESSED_INTENSITY 0x84EC #define GL_COMPRESSED_INTENSITY_ARB 0x84EC #define GL_COMPRESSED_RGB 0x84ED #define GL_COMPRESSED_RGB_ARB 0x84ED #define GL_COMPRESSED_RGBA 0x84EE #define GL_COMPRESSED_RGBA_ARB 0x84EE #define GL_TEXTURE_COMPRESSION_HINT 0x84EF #define GL_TEXTURE_COMPRESSION_HINT_ARB 0x84EF #define GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_CONTROL_SHADER 0x84F0 #define GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_EVALUATION_SHADER 0x84F1 #define GL_ALL_COMPLETED_NV 0x84F2 #define GL_FENCE_STATUS_NV 0x84F3 #define GL_FENCE_CONDITION_NV 0x84F4 #define GL_TEXTURE_RECTANGLE 0x84F5 #define GL_TEXTURE_RECTANGLE_ARB 0x84F5 #define GL_TEXTURE_RECTANGLE_NV 0x84F5 #define GL_TEXTURE_BINDING_RECTANGLE 0x84F6 #define GL_TEXTURE_BINDING_RECTANGLE_ARB 0x84F6 #define GL_TEXTURE_BINDING_RECTANGLE_NV 0x84F6 #define GL_PROXY_TEXTURE_RECTANGLE 0x84F7 #define GL_PROXY_TEXTURE_RECTANGLE_ARB 0x84F7 #define GL_PROXY_TEXTURE_RECTANGLE_NV 0x84F7 #define GL_MAX_RECTANGLE_TEXTURE_SIZE 0x84F8 #define GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB 0x84F8 #define GL_MAX_RECTANGLE_TEXTURE_SIZE_NV 0x84F8 #define GL_DEPTH_STENCIL 0x84F9 #define GL_DEPTH_STENCIL_EXT 0x84F9 #define GL_DEPTH_STENCIL_NV 0x84F9 #define GL_DEPTH_STENCIL_OES 0x84F9 #define GL_UNSIGNED_INT_24_8 0x84FA #define GL_UNSIGNED_INT_24_8_EXT 0x84FA #define GL_UNSIGNED_INT_24_8_NV 0x84FA #define GL_UNSIGNED_INT_24_8_OES 0x84FA #define GL_MAX_TEXTURE_LOD_BIAS 0x84FD #define GL_MAX_TEXTURE_LOD_BIAS_EXT 0x84FD #define GL_TEXTURE_MAX_ANISOTROPY 0x84FE #define GL_TEXTURE_MAX_ANISOTROPY_EXT 0x84FE #define GL_MAX_TEXTURE_MAX_ANISOTROPY 0x84FF #define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF #define GL_TEXTURE_FILTER_CONTROL 0x8500 #define GL_TEXTURE_FILTER_CONTROL_EXT 0x8500 #define GL_TEXTURE_LOD_BIAS 0x8501 #define GL_TEXTURE_LOD_BIAS_EXT 0x8501 #define GL_MODELVIEW1_STACK_DEPTH_EXT 0x8502 #define GL_COMBINE4_NV 0x8503 #define GL_MAX_SHININESS_NV 0x8504 #define GL_MAX_SPOT_EXPONENT_NV 0x8505 #define GL_MODELVIEW1_MATRIX_EXT 0x8506 #define GL_INCR_WRAP 0x8507 #define GL_INCR_WRAP_EXT 0x8507 #define GL_INCR_WRAP_OES 0x8507 #define GL_DECR_WRAP 0x8508 #define GL_DECR_WRAP_EXT 0x8508 #define GL_DECR_WRAP_OES 0x8508 #define GL_VERTEX_WEIGHTING_EXT 0x8509 #define GL_MODELVIEW1_ARB 0x850A #define GL_MODELVIEW1_EXT 0x850A #define GL_CURRENT_VERTEX_WEIGHT_EXT 0x850B #define GL_VERTEX_WEIGHT_ARRAY_EXT 0x850C #define GL_VERTEX_WEIGHT_ARRAY_SIZE_EXT 0x850D #define GL_VERTEX_WEIGHT_ARRAY_TYPE_EXT 0x850E #define GL_VERTEX_WEIGHT_ARRAY_STRIDE_EXT 0x850F #define GL_VERTEX_WEIGHT_ARRAY_POINTER_EXT 0x8510 #define GL_NORMAL_MAP 0x8511 #define GL_NORMAL_MAP_ARB 0x8511 #define GL_NORMAL_MAP_EXT 0x8511 #define GL_NORMAL_MAP_NV 0x8511 #define GL_NORMAL_MAP_OES 0x8511 #define GL_REFLECTION_MAP 0x8512 #define GL_REFLECTION_MAP_ARB 0x8512 #define GL_REFLECTION_MAP_EXT 0x8512 #define GL_REFLECTION_MAP_NV 0x8512 #define GL_REFLECTION_MAP_OES 0x8512 #define GL_TEXTURE_CUBE_MAP 0x8513 #define GL_TEXTURE_CUBE_MAP_ARB 0x8513 #define GL_TEXTURE_CUBE_MAP_EXT 0x8513 #define GL_TEXTURE_CUBE_MAP_OES 0x8513 #define GL_TEXTURE_BINDING_CUBE_MAP 0x8514 #define GL_TEXTURE_BINDING_CUBE_MAP_ARB 0x8514 #define GL_TEXTURE_BINDING_CUBE_MAP_EXT 0x8514 #define GL_TEXTURE_BINDING_CUBE_MAP_OES 0x8514 #define GL_TEXTURE_CUBE_MAP_POSITIVE_X 0x8515 #define GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB 0x8515 #define GL_TEXTURE_CUBE_MAP_POSITIVE_X_EXT 0x8515 #define GL_TEXTURE_CUBE_MAP_POSITIVE_X_OES 0x8515 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X 0x8516 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB 0x8516 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_EXT 0x8516 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_OES 0x8516 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y 0x8517 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB 0x8517 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_EXT 0x8517 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_OES 0x8517 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y 0x8518 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB 0x8518 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_EXT 0x8518 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_OES 0x8518 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z 0x8519 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB 0x8519 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_EXT 0x8519 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_OES 0x8519 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z 0x851A #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB 0x851A #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_EXT 0x851A #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_OES 0x851A #define GL_PROXY_TEXTURE_CUBE_MAP 0x851B #define GL_PROXY_TEXTURE_CUBE_MAP_ARB 0x851B #define GL_PROXY_TEXTURE_CUBE_MAP_EXT 0x851B #define GL_MAX_CUBE_MAP_TEXTURE_SIZE 0x851C #define GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB 0x851C #define GL_MAX_CUBE_MAP_TEXTURE_SIZE_EXT 0x851C #define GL_MAX_CUBE_MAP_TEXTURE_SIZE_OES 0x851C #define GL_VERTEX_ARRAY_RANGE_APPLE 0x851D #define GL_VERTEX_ARRAY_RANGE_NV 0x851D #define GL_VERTEX_ARRAY_RANGE_LENGTH_APPLE 0x851E #define GL_VERTEX_ARRAY_RANGE_LENGTH_NV 0x851E #define GL_VERTEX_ARRAY_RANGE_VALID_NV 0x851F #define GL_VERTEX_ARRAY_STORAGE_HINT_APPLE 0x851F #define GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_NV 0x8520 #define GL_VERTEX_ARRAY_RANGE_POINTER_APPLE 0x8521 #define GL_VERTEX_ARRAY_RANGE_POINTER_NV 0x8521 #define GL_REGISTER_COMBINERS_NV 0x8522 #define GL_VARIABLE_A_NV 0x8523 #define GL_VARIABLE_B_NV 0x8524 #define GL_VARIABLE_C_NV 0x8525 #define GL_VARIABLE_D_NV 0x8526 #define GL_VARIABLE_E_NV 0x8527 #define GL_VARIABLE_F_NV 0x8528 #define GL_VARIABLE_G_NV 0x8529 #define GL_CONSTANT_COLOR0_NV 0x852A #define GL_CONSTANT_COLOR1_NV 0x852B #define GL_PRIMARY_COLOR_NV 0x852C #define GL_SECONDARY_COLOR_NV 0x852D #define GL_SPARE0_NV 0x852E #define GL_SPARE1_NV 0x852F #define GL_DISCARD_NV 0x8530 #define GL_E_TIMES_F_NV 0x8531 #define GL_SPARE0_PLUS_SECONDARY_COLOR_NV 0x8532 #define GL_VERTEX_ARRAY_RANGE_WITHOUT_FLUSH_NV 0x8533 #define GL_MULTISAMPLE_FILTER_HINT_NV 0x8534 #define GL_PER_STAGE_CONSTANTS_NV 0x8535 #define GL_UNSIGNED_IDENTITY_NV 0x8536 #define GL_UNSIGNED_INVERT_NV 0x8537 #define GL_EXPAND_NORMAL_NV 0x8538 #define GL_EXPAND_NEGATE_NV 0x8539 #define GL_HALF_BIAS_NORMAL_NV 0x853A #define GL_HALF_BIAS_NEGATE_NV 0x853B #define GL_SIGNED_IDENTITY_NV 0x853C #define GL_SIGNED_NEGATE_NV 0x853D #define GL_SCALE_BY_TWO_NV 0x853E #define GL_SCALE_BY_FOUR_NV 0x853F #define GL_SCALE_BY_ONE_HALF_NV 0x8540 #define GL_BIAS_BY_NEGATIVE_ONE_HALF_NV 0x8541 #define GL_COMBINER_INPUT_NV 0x8542 #define GL_COMBINER_MAPPING_NV 0x8543 #define GL_COMBINER_COMPONENT_USAGE_NV 0x8544 #define GL_COMBINER_AB_DOT_PRODUCT_NV 0x8545 #define GL_COMBINER_CD_DOT_PRODUCT_NV 0x8546 #define GL_COMBINER_MUX_SUM_NV 0x8547 #define GL_COMBINER_SCALE_NV 0x8548 #define GL_COMBINER_BIAS_NV 0x8549 #define GL_COMBINER_AB_OUTPUT_NV 0x854A #define GL_COMBINER_CD_OUTPUT_NV 0x854B #define GL_COMBINER_SUM_OUTPUT_NV 0x854C #define GL_MAX_GENERAL_COMBINERS_NV 0x854D #define GL_NUM_GENERAL_COMBINERS_NV 0x854E #define GL_COLOR_SUM_CLAMP_NV 0x854F #define GL_COMBINER0_NV 0x8550 #define GL_COMBINER1_NV 0x8551 #define GL_COMBINER2_NV 0x8552 #define GL_COMBINER3_NV 0x8553 #define GL_COMBINER4_NV 0x8554 #define GL_COMBINER5_NV 0x8555 #define GL_COMBINER6_NV 0x8556 #define GL_COMBINER7_NV 0x8557 #define GL_PRIMITIVE_RESTART_NV 0x8558 #define GL_PRIMITIVE_RESTART_INDEX_NV 0x8559 #define GL_FOG_DISTANCE_MODE_NV 0x855A #define GL_EYE_RADIAL_NV 0x855B #define GL_EYE_PLANE_ABSOLUTE_NV 0x855C #define GL_EMBOSS_LIGHT_NV 0x855D #define GL_EMBOSS_CONSTANT_NV 0x855E #define GL_EMBOSS_MAP_NV 0x855F #define GL_RED_MIN_CLAMP_INGR 0x8560 #define GL_GREEN_MIN_CLAMP_INGR 0x8561 #define GL_BLUE_MIN_CLAMP_INGR 0x8562 #define GL_ALPHA_MIN_CLAMP_INGR 0x8563 #define GL_RED_MAX_CLAMP_INGR 0x8564 #define GL_GREEN_MAX_CLAMP_INGR 0x8565 #define GL_BLUE_MAX_CLAMP_INGR 0x8566 #define GL_ALPHA_MAX_CLAMP_INGR 0x8567 #define GL_INTERLACE_READ_INGR 0x8568 #define GL_COMBINE 0x8570 #define GL_COMBINE_ARB 0x8570 #define GL_COMBINE_EXT 0x8570 #define GL_COMBINE_RGB 0x8571 #define GL_COMBINE_RGB_ARB 0x8571 #define GL_COMBINE_RGB_EXT 0x8571 #define GL_COMBINE_ALPHA 0x8572 #define GL_COMBINE_ALPHA_ARB 0x8572 #define GL_COMBINE_ALPHA_EXT 0x8572 #define GL_RGB_SCALE 0x8573 #define GL_RGB_SCALE_ARB 0x8573 #define GL_RGB_SCALE_EXT 0x8573 #define GL_ADD_SIGNED 0x8574 #define GL_ADD_SIGNED_ARB 0x8574 #define GL_ADD_SIGNED_EXT 0x8574 #define GL_INTERPOLATE 0x8575 #define GL_INTERPOLATE_ARB 0x8575 #define GL_INTERPOLATE_EXT 0x8575 #define GL_CONSTANT 0x8576 #define GL_CONSTANT_ARB 0x8576 #define GL_CONSTANT_EXT 0x8576 #define GL_CONSTANT_NV 0x8576 #define GL_PRIMARY_COLOR 0x8577 #define GL_PRIMARY_COLOR_ARB 0x8577 #define GL_PRIMARY_COLOR_EXT 0x8577 #define GL_PREVIOUS 0x8578 #define GL_PREVIOUS_ARB 0x8578 #define GL_PREVIOUS_EXT 0x8578 #define GL_SOURCE0_RGB 0x8580 #define GL_SOURCE0_RGB_ARB 0x8580 #define GL_SOURCE0_RGB_EXT 0x8580 #define GL_SRC0_RGB 0x8580 #define GL_SOURCE1_RGB 0x8581 #define GL_SOURCE1_RGB_ARB 0x8581 #define GL_SOURCE1_RGB_EXT 0x8581 #define GL_SRC1_RGB 0x8581 #define GL_SOURCE2_RGB 0x8582 #define GL_SOURCE2_RGB_ARB 0x8582 #define GL_SOURCE2_RGB_EXT 0x8582 #define GL_SRC2_RGB 0x8582 #define GL_SOURCE3_RGB_NV 0x8583 #define GL_SOURCE0_ALPHA 0x8588 #define GL_SOURCE0_ALPHA_ARB 0x8588 #define GL_SOURCE0_ALPHA_EXT 0x8588 #define GL_SRC0_ALPHA 0x8588 #define GL_SOURCE1_ALPHA 0x8589 #define GL_SOURCE1_ALPHA_ARB 0x8589 #define GL_SOURCE1_ALPHA_EXT 0x8589 #define GL_SRC1_ALPHA 0x8589 #define GL_SRC1_ALPHA_EXT 0x8589 #define GL_SOURCE2_ALPHA 0x858A #define GL_SOURCE2_ALPHA_ARB 0x858A #define GL_SOURCE2_ALPHA_EXT 0x858A #define GL_SRC2_ALPHA 0x858A #define GL_SOURCE3_ALPHA_NV 0x858B #define GL_OPERAND0_RGB 0x8590 #define GL_OPERAND0_RGB_ARB 0x8590 #define GL_OPERAND0_RGB_EXT 0x8590 #define GL_OPERAND1_RGB 0x8591 #define GL_OPERAND1_RGB_ARB 0x8591 #define GL_OPERAND1_RGB_EXT 0x8591 #define GL_OPERAND2_RGB 0x8592 #define GL_OPERAND2_RGB_ARB 0x8592 #define GL_OPERAND2_RGB_EXT 0x8592 #define GL_OPERAND3_RGB_NV 0x8593 #define GL_OPERAND0_ALPHA 0x8598 #define GL_OPERAND0_ALPHA_ARB 0x8598 #define GL_OPERAND0_ALPHA_EXT 0x8598 #define GL_OPERAND1_ALPHA 0x8599 #define GL_OPERAND1_ALPHA_ARB 0x8599 #define GL_OPERAND1_ALPHA_EXT 0x8599 #define GL_OPERAND2_ALPHA 0x859A #define GL_OPERAND2_ALPHA_ARB 0x859A #define GL_OPERAND2_ALPHA_EXT 0x859A #define GL_OPERAND3_ALPHA_NV 0x859B #define GL_PACK_SUBSAMPLE_RATE_SGIX 0x85A0 #define GL_UNPACK_SUBSAMPLE_RATE_SGIX 0x85A1 #define GL_PIXEL_SUBSAMPLE_4444_SGIX 0x85A2 #define GL_PIXEL_SUBSAMPLE_2424_SGIX 0x85A3 #define GL_PIXEL_SUBSAMPLE_4242_SGIX 0x85A4 #define GL_PERTURB_EXT 0x85AE #define GL_TEXTURE_NORMAL_EXT 0x85AF #define GL_LIGHT_MODEL_SPECULAR_VECTOR_APPLE 0x85B0 #define GL_TRANSFORM_HINT_APPLE 0x85B1 #define GL_UNPACK_CLIENT_STORAGE_APPLE 0x85B2 #define GL_BUFFER_OBJECT_APPLE 0x85B3 #define GL_STORAGE_CLIENT_APPLE 0x85B4 #define GL_VERTEX_ARRAY_BINDING 0x85B5 #define GL_VERTEX_ARRAY_BINDING_APPLE 0x85B5 #define GL_VERTEX_ARRAY_BINDING_OES 0x85B5 #define GL_TEXTURE_RANGE_LENGTH_APPLE 0x85B7 #define GL_TEXTURE_RANGE_POINTER_APPLE 0x85B8 #define GL_YCBCR_422_APPLE 0x85B9 #define GL_UNSIGNED_SHORT_8_8_APPLE 0x85BA #define GL_UNSIGNED_SHORT_8_8_MESA 0x85BA #define GL_UNSIGNED_SHORT_8_8_REV_APPLE 0x85BB #define GL_UNSIGNED_SHORT_8_8_REV_MESA 0x85BB #define GL_TEXTURE_STORAGE_HINT_APPLE 0x85BC #define GL_STORAGE_PRIVATE_APPLE 0x85BD #define GL_STORAGE_CACHED_APPLE 0x85BE #define GL_STORAGE_SHARED_APPLE 0x85BF #define GL_REPLACEMENT_CODE_ARRAY_SUN 0x85C0 #define GL_REPLACEMENT_CODE_ARRAY_TYPE_SUN 0x85C1 #define GL_REPLACEMENT_CODE_ARRAY_STRIDE_SUN 0x85C2 #define GL_REPLACEMENT_CODE_ARRAY_POINTER_SUN 0x85C3 #define GL_R1UI_V3F_SUN 0x85C4 #define GL_R1UI_C4UB_V3F_SUN 0x85C5 #define GL_R1UI_C3F_V3F_SUN 0x85C6 #define GL_R1UI_N3F_V3F_SUN 0x85C7 #define GL_R1UI_C4F_N3F_V3F_SUN 0x85C8 #define GL_R1UI_T2F_V3F_SUN 0x85C9 #define GL_R1UI_T2F_N3F_V3F_SUN 0x85CA #define GL_R1UI_T2F_C4F_N3F_V3F_SUN 0x85CB #define GL_SLICE_ACCUM_SUN 0x85CC #define GL_QUAD_MESH_SUN 0x8614 #define GL_TRIANGLE_MESH_SUN 0x8615 #define GL_VERTEX_PROGRAM_ARB 0x8620 #define GL_VERTEX_PROGRAM_NV 0x8620 #define GL_VERTEX_STATE_PROGRAM_NV 0x8621 #define GL_VERTEX_ATTRIB_ARRAY_ENABLED 0x8622 #define GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB 0x8622 #define GL_ATTRIB_ARRAY_SIZE_NV 0x8623 #define GL_VERTEX_ATTRIB_ARRAY_SIZE 0x8623 #define GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB 0x8623 #define GL_ATTRIB_ARRAY_STRIDE_NV 0x8624 #define GL_VERTEX_ATTRIB_ARRAY_STRIDE 0x8624 #define GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB 0x8624 #define GL_ATTRIB_ARRAY_TYPE_NV 0x8625 #define GL_VERTEX_ATTRIB_ARRAY_TYPE 0x8625 #define GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB 0x8625 #define GL_CURRENT_ATTRIB_NV 0x8626 #define GL_CURRENT_VERTEX_ATTRIB 0x8626 #define GL_CURRENT_VERTEX_ATTRIB_ARB 0x8626 #define GL_PROGRAM_LENGTH_ARB 0x8627 #define GL_PROGRAM_LENGTH_NV 0x8627 #define GL_PROGRAM_STRING_ARB 0x8628 #define GL_PROGRAM_STRING_NV 0x8628 #define GL_MODELVIEW_PROJECTION_NV 0x8629 #define GL_IDENTITY_NV 0x862A #define GL_INVERSE_NV 0x862B #define GL_TRANSPOSE_NV 0x862C #define GL_INVERSE_TRANSPOSE_NV 0x862D #define GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB 0x862E #define GL_MAX_TRACK_MATRIX_STACK_DEPTH_NV 0x862E #define GL_MAX_PROGRAM_MATRICES_ARB 0x862F #define GL_MAX_TRACK_MATRICES_NV 0x862F #define GL_MATRIX0_NV 0x8630 #define GL_MATRIX1_NV 0x8631 #define GL_MATRIX2_NV 0x8632 #define GL_MATRIX3_NV 0x8633 #define GL_MATRIX4_NV 0x8634 #define GL_MATRIX5_NV 0x8635 #define GL_MATRIX6_NV 0x8636 #define GL_MATRIX7_NV 0x8637 #define GL_CURRENT_MATRIX_STACK_DEPTH_ARB 0x8640 #define GL_CURRENT_MATRIX_STACK_DEPTH_NV 0x8640 #define GL_CURRENT_MATRIX_ARB 0x8641 #define GL_CURRENT_MATRIX_NV 0x8641 #define GL_PROGRAM_POINT_SIZE 0x8642 #define GL_PROGRAM_POINT_SIZE_ARB 0x8642 #define GL_PROGRAM_POINT_SIZE_EXT 0x8642 #define GL_VERTEX_PROGRAM_POINT_SIZE 0x8642 #define GL_VERTEX_PROGRAM_POINT_SIZE_ARB 0x8642 #define GL_VERTEX_PROGRAM_POINT_SIZE_NV 0x8642 #define GL_VERTEX_PROGRAM_TWO_SIDE 0x8643 #define GL_VERTEX_PROGRAM_TWO_SIDE_ARB 0x8643 #define GL_VERTEX_PROGRAM_TWO_SIDE_NV 0x8643 #define GL_PROGRAM_PARAMETER_NV 0x8644 #define GL_ATTRIB_ARRAY_POINTER_NV 0x8645 #define GL_VERTEX_ATTRIB_ARRAY_POINTER 0x8645 #define GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB 0x8645 #define GL_PROGRAM_TARGET_NV 0x8646 #define GL_PROGRAM_RESIDENT_NV 0x8647 #define GL_TRACK_MATRIX_NV 0x8648 #define GL_TRACK_MATRIX_TRANSFORM_NV 0x8649 #define GL_VERTEX_PROGRAM_BINDING_NV 0x864A #define GL_PROGRAM_ERROR_POSITION_ARB 0x864B #define GL_PROGRAM_ERROR_POSITION_NV 0x864B #define GL_OFFSET_TEXTURE_RECTANGLE_NV 0x864C #define GL_OFFSET_TEXTURE_RECTANGLE_SCALE_NV 0x864D #define GL_DOT_PRODUCT_TEXTURE_RECTANGLE_NV 0x864E #define GL_DEPTH_CLAMP 0x864F #define GL_DEPTH_CLAMP_EXT 0x864F #define GL_DEPTH_CLAMP_NV 0x864F #define GL_VERTEX_ATTRIB_ARRAY0_NV 0x8650 #define GL_VERTEX_ATTRIB_ARRAY1_NV 0x8651 #define GL_VERTEX_ATTRIB_ARRAY2_NV 0x8652 #define GL_VERTEX_ATTRIB_ARRAY3_NV 0x8653 #define GL_VERTEX_ATTRIB_ARRAY4_NV 0x8654 #define GL_VERTEX_ATTRIB_ARRAY5_NV 0x8655 #define GL_VERTEX_ATTRIB_ARRAY6_NV 0x8656 #define GL_VERTEX_ATTRIB_ARRAY7_NV 0x8657 #define GL_VERTEX_ATTRIB_ARRAY8_NV 0x8658 #define GL_VERTEX_ATTRIB_ARRAY9_NV 0x8659 #define GL_VERTEX_ATTRIB_ARRAY10_NV 0x865A #define GL_VERTEX_ATTRIB_ARRAY11_NV 0x865B #define GL_VERTEX_ATTRIB_ARRAY12_NV 0x865C #define GL_VERTEX_ATTRIB_ARRAY13_NV 0x865D #define GL_VERTEX_ATTRIB_ARRAY14_NV 0x865E #define GL_VERTEX_ATTRIB_ARRAY15_NV 0x865F #define GL_MAP1_VERTEX_ATTRIB0_4_NV 0x8660 #define GL_MAP1_VERTEX_ATTRIB1_4_NV 0x8661 #define GL_MAP1_VERTEX_ATTRIB2_4_NV 0x8662 #define GL_MAP1_VERTEX_ATTRIB3_4_NV 0x8663 #define GL_MAP1_VERTEX_ATTRIB4_4_NV 0x8664 #define GL_MAP1_VERTEX_ATTRIB5_4_NV 0x8665 #define GL_MAP1_VERTEX_ATTRIB6_4_NV 0x8666 #define GL_MAP1_VERTEX_ATTRIB7_4_NV 0x8667 #define GL_MAP1_VERTEX_ATTRIB8_4_NV 0x8668 #define GL_MAP1_VERTEX_ATTRIB9_4_NV 0x8669 #define GL_MAP1_VERTEX_ATTRIB10_4_NV 0x866A #define GL_MAP1_VERTEX_ATTRIB11_4_NV 0x866B #define GL_MAP1_VERTEX_ATTRIB12_4_NV 0x866C #define GL_MAP1_VERTEX_ATTRIB13_4_NV 0x866D #define GL_MAP1_VERTEX_ATTRIB14_4_NV 0x866E #define GL_MAP1_VERTEX_ATTRIB15_4_NV 0x866F #define GL_MAP2_VERTEX_ATTRIB0_4_NV 0x8670 #define GL_MAP2_VERTEX_ATTRIB1_4_NV 0x8671 #define GL_MAP2_VERTEX_ATTRIB2_4_NV 0x8672 #define GL_MAP2_VERTEX_ATTRIB3_4_NV 0x8673 #define GL_MAP2_VERTEX_ATTRIB4_4_NV 0x8674 #define GL_MAP2_VERTEX_ATTRIB5_4_NV 0x8675 #define GL_MAP2_VERTEX_ATTRIB6_4_NV 0x8676 #define GL_MAP2_VERTEX_ATTRIB7_4_NV 0x8677 #define GL_PROGRAM_BINDING_ARB 0x8677 #define GL_MAP2_VERTEX_ATTRIB8_4_NV 0x8678 #define GL_MAP2_VERTEX_ATTRIB9_4_NV 0x8679 #define GL_MAP2_VERTEX_ATTRIB10_4_NV 0x867A #define GL_MAP2_VERTEX_ATTRIB11_4_NV 0x867B #define GL_MAP2_VERTEX_ATTRIB12_4_NV 0x867C #define GL_MAP2_VERTEX_ATTRIB13_4_NV 0x867D #define GL_MAP2_VERTEX_ATTRIB14_4_NV 0x867E #define GL_MAP2_VERTEX_ATTRIB15_4_NV 0x867F #define GL_TEXTURE_COMPRESSED_IMAGE_SIZE 0x86A0 #define GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB 0x86A0 #define GL_TEXTURE_COMPRESSED 0x86A1 #define GL_TEXTURE_COMPRESSED_ARB 0x86A1 #define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2 #define GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A2 #define GL_COMPRESSED_TEXTURE_FORMATS 0x86A3 #define GL_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A3 #define GL_MAX_VERTEX_UNITS_ARB 0x86A4 #define GL_MAX_VERTEX_UNITS_OES 0x86A4 #define GL_ACTIVE_VERTEX_UNITS_ARB 0x86A5 #define GL_WEIGHT_SUM_UNITY_ARB 0x86A6 #define GL_VERTEX_BLEND_ARB 0x86A7 #define GL_CURRENT_WEIGHT_ARB 0x86A8 #define GL_WEIGHT_ARRAY_TYPE_ARB 0x86A9 #define GL_WEIGHT_ARRAY_TYPE_OES 0x86A9 #define GL_WEIGHT_ARRAY_STRIDE_ARB 0x86AA #define GL_WEIGHT_ARRAY_STRIDE_OES 0x86AA #define GL_WEIGHT_ARRAY_SIZE_ARB 0x86AB #define GL_WEIGHT_ARRAY_SIZE_OES 0x86AB #define GL_WEIGHT_ARRAY_POINTER_ARB 0x86AC #define GL_WEIGHT_ARRAY_POINTER_OES 0x86AC #define GL_WEIGHT_ARRAY_ARB 0x86AD #define GL_WEIGHT_ARRAY_OES 0x86AD #define GL_DOT3_RGB 0x86AE #define GL_DOT3_RGB_ARB 0x86AE #define GL_DOT3_RGBA 0x86AF #define GL_DOT3_RGBA_ARB 0x86AF #define GL_DOT3_RGBA_IMG 0x86AF #define GL_COMPRESSED_RGB_FXT1_3DFX 0x86B0 #define GL_COMPRESSED_RGBA_FXT1_3DFX 0x86B1 #define GL_MULTISAMPLE_3DFX 0x86B2 #define GL_SAMPLE_BUFFERS_3DFX 0x86B3 #define GL_SAMPLES_3DFX 0x86B4 #define GL_EVAL_2D_NV 0x86C0 #define GL_EVAL_TRIANGULAR_2D_NV 0x86C1 #define GL_MAP_TESSELLATION_NV 0x86C2 #define GL_MAP_ATTRIB_U_ORDER_NV 0x86C3 #define GL_MAP_ATTRIB_V_ORDER_NV 0x86C4 #define GL_EVAL_FRACTIONAL_TESSELLATION_NV 0x86C5 #define GL_EVAL_VERTEX_ATTRIB0_NV 0x86C6 #define GL_EVAL_VERTEX_ATTRIB1_NV 0x86C7 #define GL_EVAL_VERTEX_ATTRIB2_NV 0x86C8 #define GL_EVAL_VERTEX_ATTRIB3_NV 0x86C9 #define GL_EVAL_VERTEX_ATTRIB4_NV 0x86CA #define GL_EVAL_VERTEX_ATTRIB5_NV 0x86CB #define GL_EVAL_VERTEX_ATTRIB6_NV 0x86CC #define GL_EVAL_VERTEX_ATTRIB7_NV 0x86CD #define GL_EVAL_VERTEX_ATTRIB8_NV 0x86CE #define GL_EVAL_VERTEX_ATTRIB9_NV 0x86CF #define GL_EVAL_VERTEX_ATTRIB10_NV 0x86D0 #define GL_EVAL_VERTEX_ATTRIB11_NV 0x86D1 #define GL_EVAL_VERTEX_ATTRIB12_NV 0x86D2 #define GL_EVAL_VERTEX_ATTRIB13_NV 0x86D3 #define GL_EVAL_VERTEX_ATTRIB14_NV 0x86D4 #define GL_EVAL_VERTEX_ATTRIB15_NV 0x86D5 #define GL_MAX_MAP_TESSELLATION_NV 0x86D6 #define GL_MAX_RATIONAL_EVAL_ORDER_NV 0x86D7 #define GL_MAX_PROGRAM_PATCH_ATTRIBS_NV 0x86D8 #define GL_RGBA_UNSIGNED_DOT_PRODUCT_MAPPING_NV 0x86D9 #define GL_UNSIGNED_INT_S8_S8_8_8_NV 0x86DA #define GL_UNSIGNED_INT_8_8_S8_S8_REV_NV 0x86DB #define GL_DSDT_MAG_INTENSITY_NV 0x86DC #define GL_SHADER_CONSISTENT_NV 0x86DD #define GL_TEXTURE_SHADER_NV 0x86DE #define GL_SHADER_OPERATION_NV 0x86DF #define GL_CULL_MODES_NV 0x86E0 #define GL_OFFSET_TEXTURE_2D_MATRIX_NV 0x86E1 #define GL_OFFSET_TEXTURE_MATRIX_NV 0x86E1 #define GL_OFFSET_TEXTURE_2D_SCALE_NV 0x86E2 #define GL_OFFSET_TEXTURE_SCALE_NV 0x86E2 #define GL_OFFSET_TEXTURE_2D_BIAS_NV 0x86E3 #define GL_OFFSET_TEXTURE_BIAS_NV 0x86E3 #define GL_PREVIOUS_TEXTURE_INPUT_NV 0x86E4 #define GL_CONST_EYE_NV 0x86E5 #define GL_PASS_THROUGH_NV 0x86E6 #define GL_CULL_FRAGMENT_NV 0x86E7 #define GL_OFFSET_TEXTURE_2D_NV 0x86E8 #define GL_DEPENDENT_AR_TEXTURE_2D_NV 0x86E9 #define GL_DEPENDENT_GB_TEXTURE_2D_NV 0x86EA #define GL_SURFACE_STATE_NV 0x86EB #define GL_DOT_PRODUCT_NV 0x86EC #define GL_DOT_PRODUCT_DEPTH_REPLACE_NV 0x86ED #define GL_DOT_PRODUCT_TEXTURE_2D_NV 0x86EE #define GL_DOT_PRODUCT_TEXTURE_3D_NV 0x86EF #define GL_DOT_PRODUCT_TEXTURE_CUBE_MAP_NV 0x86F0 #define GL_DOT_PRODUCT_DIFFUSE_CUBE_MAP_NV 0x86F1 #define GL_DOT_PRODUCT_REFLECT_CUBE_MAP_NV 0x86F2 #define GL_DOT_PRODUCT_CONST_EYE_REFLECT_CUBE_MAP_NV 0x86F3 #define GL_HILO_NV 0x86F4 #define GL_DSDT_NV 0x86F5 #define GL_DSDT_MAG_NV 0x86F6 #define GL_DSDT_MAG_VIB_NV 0x86F7 #define GL_HILO16_NV 0x86F8 #define GL_SIGNED_HILO_NV 0x86F9 #define GL_SIGNED_HILO16_NV 0x86FA #define GL_SIGNED_RGBA_NV 0x86FB #define GL_SIGNED_RGBA8_NV 0x86FC #define GL_SURFACE_REGISTERED_NV 0x86FD #define GL_SIGNED_RGB_NV 0x86FE #define GL_SIGNED_RGB8_NV 0x86FF #define GL_SURFACE_MAPPED_NV 0x8700 #define GL_SIGNED_LUMINANCE_NV 0x8701 #define GL_SIGNED_LUMINANCE8_NV 0x8702 #define GL_SIGNED_LUMINANCE_ALPHA_NV 0x8703 #define GL_SIGNED_LUMINANCE8_ALPHA8_NV 0x8704 #define GL_SIGNED_ALPHA_NV 0x8705 #define GL_SIGNED_ALPHA8_NV 0x8706 #define GL_SIGNED_INTENSITY_NV 0x8707 #define GL_SIGNED_INTENSITY8_NV 0x8708 #define GL_DSDT8_NV 0x8709 #define GL_DSDT8_MAG8_NV 0x870A #define GL_DSDT8_MAG8_INTENSITY8_NV 0x870B #define GL_SIGNED_RGB_UNSIGNED_ALPHA_NV 0x870C #define GL_SIGNED_RGB8_UNSIGNED_ALPHA8_NV 0x870D #define GL_HI_SCALE_NV 0x870E #define GL_LO_SCALE_NV 0x870F #define GL_DS_SCALE_NV 0x8710 #define GL_DT_SCALE_NV 0x8711 #define GL_MAGNITUDE_SCALE_NV 0x8712 #define GL_VIBRANCE_SCALE_NV 0x8713 #define GL_HI_BIAS_NV 0x8714 #define GL_LO_BIAS_NV 0x8715 #define GL_DS_BIAS_NV 0x8716 #define GL_DT_BIAS_NV 0x8717 #define GL_MAGNITUDE_BIAS_NV 0x8718 #define GL_VIBRANCE_BIAS_NV 0x8719 #define GL_TEXTURE_BORDER_VALUES_NV 0x871A #define GL_TEXTURE_HI_SIZE_NV 0x871B #define GL_TEXTURE_LO_SIZE_NV 0x871C #define GL_TEXTURE_DS_SIZE_NV 0x871D #define GL_TEXTURE_DT_SIZE_NV 0x871E #define GL_TEXTURE_MAG_SIZE_NV 0x871F #define GL_MODELVIEW2_ARB 0x8722 #define GL_MODELVIEW3_ARB 0x8723 #define GL_MODELVIEW4_ARB 0x8724 #define GL_MODELVIEW5_ARB 0x8725 #define GL_MODELVIEW6_ARB 0x8726 #define GL_MODELVIEW7_ARB 0x8727 #define GL_MODELVIEW8_ARB 0x8728 #define GL_MODELVIEW9_ARB 0x8729 #define GL_MODELVIEW10_ARB 0x872A #define GL_MODELVIEW11_ARB 0x872B #define GL_MODELVIEW12_ARB 0x872C #define GL_MODELVIEW13_ARB 0x872D #define GL_MODELVIEW14_ARB 0x872E #define GL_MODELVIEW15_ARB 0x872F #define GL_MODELVIEW16_ARB 0x8730 #define GL_MODELVIEW17_ARB 0x8731 #define GL_MODELVIEW18_ARB 0x8732 #define GL_MODELVIEW19_ARB 0x8733 #define GL_MODELVIEW20_ARB 0x8734 #define GL_MODELVIEW21_ARB 0x8735 #define GL_MODELVIEW22_ARB 0x8736 #define GL_MODELVIEW23_ARB 0x8737 #define GL_MODELVIEW24_ARB 0x8738 #define GL_MODELVIEW25_ARB 0x8739 #define GL_MODELVIEW26_ARB 0x873A #define GL_MODELVIEW27_ARB 0x873B #define GL_MODELVIEW28_ARB 0x873C #define GL_MODELVIEW29_ARB 0x873D #define GL_MODELVIEW30_ARB 0x873E #define GL_MODELVIEW31_ARB 0x873F #define GL_DOT3_RGB_EXT 0x8740 #define GL_Z400_BINARY_AMD 0x8740 #define GL_DOT3_RGBA_EXT 0x8741 #define GL_PROGRAM_BINARY_LENGTH 0x8741 #define GL_PROGRAM_BINARY_LENGTH_OES 0x8741 #define GL_MIRROR_CLAMP_ATI 0x8742 #define GL_MIRROR_CLAMP_EXT 0x8742 #define GL_MIRROR_CLAMP_TO_EDGE 0x8743 #define GL_MIRROR_CLAMP_TO_EDGE_ATI 0x8743 #define GL_MIRROR_CLAMP_TO_EDGE_EXT 0x8743 #define GL_MODULATE_ADD_ATI 0x8744 #define GL_MODULATE_SIGNED_ADD_ATI 0x8745 #define GL_MODULATE_SUBTRACT_ATI 0x8746 #define GL_SET_AMD 0x874A #define GL_REPLACE_VALUE_AMD 0x874B #define GL_STENCIL_OP_VALUE_AMD 0x874C #define GL_STENCIL_BACK_OP_VALUE_AMD 0x874D #define GL_VERTEX_ATTRIB_ARRAY_LONG 0x874E #define GL_OCCLUSION_QUERY_EVENT_MASK_AMD 0x874F #define GL_DEPTH_STENCIL_MESA 0x8750 #define GL_UNSIGNED_INT_24_8_MESA 0x8751 #define GL_UNSIGNED_INT_8_24_REV_MESA 0x8752 #define GL_UNSIGNED_SHORT_15_1_MESA 0x8753 #define GL_UNSIGNED_SHORT_1_15_REV_MESA 0x8754 #define GL_TRACE_MASK_MESA 0x8755 #define GL_TRACE_NAME_MESA 0x8756 #define GL_YCBCR_MESA 0x8757 #define GL_PACK_INVERT_MESA 0x8758 #define GL_DEBUG_OBJECT_MESA 0x8759 #define GL_TEXTURE_1D_STACK_MESAX 0x8759 #define GL_DEBUG_PRINT_MESA 0x875A #define GL_TEXTURE_2D_STACK_MESAX 0x875A #define GL_DEBUG_ASSERT_MESA 0x875B #define GL_PROXY_TEXTURE_1D_STACK_MESAX 0x875B #define GL_PROXY_TEXTURE_2D_STACK_MESAX 0x875C #define GL_TEXTURE_1D_STACK_BINDING_MESAX 0x875D #define GL_TEXTURE_2D_STACK_BINDING_MESAX 0x875E #define GL_PROGRAM_BINARY_FORMAT_MESA 0x875F #define GL_STATIC_ATI 0x8760 #define GL_DYNAMIC_ATI 0x8761 #define GL_PRESERVE_ATI 0x8762 #define GL_DISCARD_ATI 0x8763 #define GL_BUFFER_SIZE 0x8764 #define GL_BUFFER_SIZE_ARB 0x8764 #define GL_OBJECT_BUFFER_SIZE_ATI 0x8764 #define GL_BUFFER_USAGE 0x8765 #define GL_BUFFER_USAGE_ARB 0x8765 #define GL_OBJECT_BUFFER_USAGE_ATI 0x8765 #define GL_ARRAY_OBJECT_BUFFER_ATI 0x8766 #define GL_ARRAY_OBJECT_OFFSET_ATI 0x8767 #define GL_ELEMENT_ARRAY_ATI 0x8768 #define GL_ELEMENT_ARRAY_TYPE_ATI 0x8769 #define GL_ELEMENT_ARRAY_POINTER_ATI 0x876A #define GL_MAX_VERTEX_STREAMS_ATI 0x876B #define GL_VERTEX_STREAM0_ATI 0x876C #define GL_VERTEX_STREAM1_ATI 0x876D #define GL_VERTEX_STREAM2_ATI 0x876E #define GL_VERTEX_STREAM3_ATI 0x876F #define GL_VERTEX_STREAM4_ATI 0x8770 #define GL_VERTEX_STREAM5_ATI 0x8771 #define GL_VERTEX_STREAM6_ATI 0x8772 #define GL_VERTEX_STREAM7_ATI 0x8773 #define GL_VERTEX_SOURCE_ATI 0x8774 #define GL_BUMP_ROT_MATRIX_ATI 0x8775 #define GL_BUMP_ROT_MATRIX_SIZE_ATI 0x8776 #define GL_BUMP_NUM_TEX_UNITS_ATI 0x8777 #define GL_BUMP_TEX_UNITS_ATI 0x8778 #define GL_DUDV_ATI 0x8779 #define GL_DU8DV8_ATI 0x877A #define GL_BUMP_ENVMAP_ATI 0x877B #define GL_BUMP_TARGET_ATI 0x877C #define GL_VERTEX_SHADER_EXT 0x8780 #define GL_VERTEX_SHADER_BINDING_EXT 0x8781 #define GL_OP_INDEX_EXT 0x8782 #define GL_OP_NEGATE_EXT 0x8783 #define GL_OP_DOT3_EXT 0x8784 #define GL_OP_DOT4_EXT 0x8785 #define GL_OP_MUL_EXT 0x8786 #define GL_OP_ADD_EXT 0x8787 #define GL_OP_MADD_EXT 0x8788 #define GL_OP_FRAC_EXT 0x8789 #define GL_OP_MAX_EXT 0x878A #define GL_OP_MIN_EXT 0x878B #define GL_OP_SET_GE_EXT 0x878C #define GL_OP_SET_LT_EXT 0x878D #define GL_OP_CLAMP_EXT 0x878E #define GL_OP_FLOOR_EXT 0x878F #define GL_OP_ROUND_EXT 0x8790 #define GL_OP_EXP_BASE_2_EXT 0x8791 #define GL_OP_LOG_BASE_2_EXT 0x8792 #define GL_OP_POWER_EXT 0x8793 #define GL_OP_RECIP_EXT 0x8794 #define GL_OP_RECIP_SQRT_EXT 0x8795 #define GL_OP_SUB_EXT 0x8796 #define GL_OP_CROSS_PRODUCT_EXT 0x8797 #define GL_OP_MULTIPLY_MATRIX_EXT 0x8798 #define GL_OP_MOV_EXT 0x8799 #define GL_OUTPUT_VERTEX_EXT 0x879A #define GL_OUTPUT_COLOR0_EXT 0x879B #define GL_OUTPUT_COLOR1_EXT 0x879C #define GL_OUTPUT_TEXTURE_COORD0_EXT 0x879D #define GL_OUTPUT_TEXTURE_COORD1_EXT 0x879E #define GL_OUTPUT_TEXTURE_COORD2_EXT 0x879F #define GL_OUTPUT_TEXTURE_COORD3_EXT 0x87A0 #define GL_OUTPUT_TEXTURE_COORD4_EXT 0x87A1 #define GL_OUTPUT_TEXTURE_COORD5_EXT 0x87A2 #define GL_OUTPUT_TEXTURE_COORD6_EXT 0x87A3 #define GL_OUTPUT_TEXTURE_COORD7_EXT 0x87A4 #define GL_OUTPUT_TEXTURE_COORD8_EXT 0x87A5 #define GL_OUTPUT_TEXTURE_COORD9_EXT 0x87A6 #define GL_OUTPUT_TEXTURE_COORD10_EXT 0x87A7 #define GL_OUTPUT_TEXTURE_COORD11_EXT 0x87A8 #define GL_OUTPUT_TEXTURE_COORD12_EXT 0x87A9 #define GL_OUTPUT_TEXTURE_COORD13_EXT 0x87AA #define GL_OUTPUT_TEXTURE_COORD14_EXT 0x87AB #define GL_OUTPUT_TEXTURE_COORD15_EXT 0x87AC #define GL_OUTPUT_TEXTURE_COORD16_EXT 0x87AD #define GL_OUTPUT_TEXTURE_COORD17_EXT 0x87AE #define GL_OUTPUT_TEXTURE_COORD18_EXT 0x87AF #define GL_OUTPUT_TEXTURE_COORD19_EXT 0x87B0 #define GL_OUTPUT_TEXTURE_COORD20_EXT 0x87B1 #define GL_OUTPUT_TEXTURE_COORD21_EXT 0x87B2 #define GL_OUTPUT_TEXTURE_COORD22_EXT 0x87B3 #define GL_OUTPUT_TEXTURE_COORD23_EXT 0x87B4 #define GL_OUTPUT_TEXTURE_COORD24_EXT 0x87B5 #define GL_OUTPUT_TEXTURE_COORD25_EXT 0x87B6 #define GL_OUTPUT_TEXTURE_COORD26_EXT 0x87B7 #define GL_OUTPUT_TEXTURE_COORD27_EXT 0x87B8 #define GL_OUTPUT_TEXTURE_COORD28_EXT 0x87B9 #define GL_OUTPUT_TEXTURE_COORD29_EXT 0x87BA #define GL_OUTPUT_TEXTURE_COORD30_EXT 0x87BB #define GL_OUTPUT_TEXTURE_COORD31_EXT 0x87BC #define GL_OUTPUT_FOG_EXT 0x87BD #define GL_SCALAR_EXT 0x87BE #define GL_VECTOR_EXT 0x87BF #define GL_MATRIX_EXT 0x87C0 #define GL_VARIANT_EXT 0x87C1 #define GL_INVARIANT_EXT 0x87C2 #define GL_LOCAL_CONSTANT_EXT 0x87C3 #define GL_LOCAL_EXT 0x87C4 #define GL_MAX_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87C5 #define GL_MAX_VERTEX_SHADER_VARIANTS_EXT 0x87C6 #define GL_MAX_VERTEX_SHADER_INVARIANTS_EXT 0x87C7 #define GL_MAX_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87C8 #define GL_MAX_VERTEX_SHADER_LOCALS_EXT 0x87C9 #define GL_MAX_OPTIMIZED_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87CA #define GL_MAX_OPTIMIZED_VERTEX_SHADER_VARIANTS_EXT 0x87CB #define GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87CC #define GL_MAX_OPTIMIZED_VERTEX_SHADER_INVARIANTS_EXT 0x87CD #define GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCALS_EXT 0x87CE #define GL_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87CF #define GL_VERTEX_SHADER_VARIANTS_EXT 0x87D0 #define GL_VERTEX_SHADER_INVARIANTS_EXT 0x87D1 #define GL_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87D2 #define GL_VERTEX_SHADER_LOCALS_EXT 0x87D3 #define GL_VERTEX_SHADER_OPTIMIZED_EXT 0x87D4 #define GL_X_EXT 0x87D5 #define GL_Y_EXT 0x87D6 #define GL_Z_EXT 0x87D7 #define GL_W_EXT 0x87D8 #define GL_NEGATIVE_X_EXT 0x87D9 #define GL_NEGATIVE_Y_EXT 0x87DA #define GL_NEGATIVE_Z_EXT 0x87DB #define GL_NEGATIVE_W_EXT 0x87DC #define GL_ZERO_EXT 0x87DD #define GL_ONE_EXT 0x87DE #define GL_NEGATIVE_ONE_EXT 0x87DF #define GL_NORMALIZED_RANGE_EXT 0x87E0 #define GL_FULL_RANGE_EXT 0x87E1 #define GL_CURRENT_VERTEX_EXT 0x87E2 #define GL_MVP_MATRIX_EXT 0x87E3 #define GL_VARIANT_VALUE_EXT 0x87E4 #define GL_VARIANT_DATATYPE_EXT 0x87E5 #define GL_VARIANT_ARRAY_STRIDE_EXT 0x87E6 #define GL_VARIANT_ARRAY_TYPE_EXT 0x87E7 #define GL_VARIANT_ARRAY_EXT 0x87E8 #define GL_VARIANT_ARRAY_POINTER_EXT 0x87E9 #define GL_INVARIANT_VALUE_EXT 0x87EA #define GL_INVARIANT_DATATYPE_EXT 0x87EB #define GL_LOCAL_CONSTANT_VALUE_EXT 0x87EC #define GL_LOCAL_CONSTANT_DATATYPE_EXT 0x87ED #define GL_ATC_RGBA_INTERPOLATED_ALPHA_AMD 0x87EE #define GL_PN_TRIANGLES_ATI 0x87F0 #define GL_MAX_PN_TRIANGLES_TESSELATION_LEVEL_ATI 0x87F1 #define GL_PN_TRIANGLES_POINT_MODE_ATI 0x87F2 #define GL_PN_TRIANGLES_NORMAL_MODE_ATI 0x87F3 #define GL_PN_TRIANGLES_TESSELATION_LEVEL_ATI 0x87F4 #define GL_PN_TRIANGLES_POINT_MODE_LINEAR_ATI 0x87F5 #define GL_PN_TRIANGLES_POINT_MODE_CUBIC_ATI 0x87F6 #define GL_PN_TRIANGLES_NORMAL_MODE_LINEAR_ATI 0x87F7 #define GL_PN_TRIANGLES_NORMAL_MODE_QUADRATIC_ATI 0x87F8 #define GL_3DC_X_AMD 0x87F9 #define GL_3DC_XY_AMD 0x87FA #define GL_VBO_FREE_MEMORY_ATI 0x87FB #define GL_TEXTURE_FREE_MEMORY_ATI 0x87FC #define GL_RENDERBUFFER_FREE_MEMORY_ATI 0x87FD #define GL_NUM_PROGRAM_BINARY_FORMATS 0x87FE #define GL_NUM_PROGRAM_BINARY_FORMATS_OES 0x87FE #define GL_PROGRAM_BINARY_FORMATS 0x87FF #define GL_PROGRAM_BINARY_FORMATS_OES 0x87FF #define GL_STENCIL_BACK_FUNC 0x8800 #define GL_STENCIL_BACK_FUNC_ATI 0x8800 #define GL_STENCIL_BACK_FAIL 0x8801 #define GL_STENCIL_BACK_FAIL_ATI 0x8801 #define GL_STENCIL_BACK_PASS_DEPTH_FAIL 0x8802 #define GL_STENCIL_BACK_PASS_DEPTH_FAIL_ATI 0x8802 #define GL_STENCIL_BACK_PASS_DEPTH_PASS 0x8803 #define GL_STENCIL_BACK_PASS_DEPTH_PASS_ATI 0x8803 #define GL_FRAGMENT_PROGRAM_ARB 0x8804 #define GL_PROGRAM_ALU_INSTRUCTIONS_ARB 0x8805 #define GL_PROGRAM_TEX_INSTRUCTIONS_ARB 0x8806 #define GL_PROGRAM_TEX_INDIRECTIONS_ARB 0x8807 #define GL_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x8808 #define GL_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x8809 #define GL_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x880A #define GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB 0x880B #define GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB 0x880C #define GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB 0x880D #define GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x880E #define GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x880F #define GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x8810 #define GL_RGBA32F 0x8814 #define GL_RGBA32F_ARB 0x8814 #define GL_RGBA32F_EXT 0x8814 #define GL_RGBA_FLOAT32_APPLE 0x8814 #define GL_RGBA_FLOAT32_ATI 0x8814 #define GL_RGB32F 0x8815 #define GL_RGB32F_ARB 0x8815 #define GL_RGB32F_EXT 0x8815 #define GL_RGB_FLOAT32_APPLE 0x8815 #define GL_RGB_FLOAT32_ATI 0x8815 #define GL_ALPHA32F_ARB 0x8816 #define GL_ALPHA32F_EXT 0x8816 #define GL_ALPHA_FLOAT32_APPLE 0x8816 #define GL_ALPHA_FLOAT32_ATI 0x8816 #define GL_INTENSITY32F_ARB 0x8817 #define GL_INTENSITY_FLOAT32_APPLE 0x8817 #define GL_INTENSITY_FLOAT32_ATI 0x8817 #define GL_LUMINANCE32F_ARB 0x8818 #define GL_LUMINANCE32F_EXT 0x8818 #define GL_LUMINANCE_FLOAT32_APPLE 0x8818 #define GL_LUMINANCE_FLOAT32_ATI 0x8818 #define GL_LUMINANCE_ALPHA32F_ARB 0x8819 #define GL_LUMINANCE_ALPHA32F_EXT 0x8819 #define GL_LUMINANCE_ALPHA_FLOAT32_APPLE 0x8819 #define GL_LUMINANCE_ALPHA_FLOAT32_ATI 0x8819 #define GL_RGBA16F 0x881A #define GL_RGBA16F_ARB 0x881A #define GL_RGBA16F_EXT 0x881A #define GL_RGBA_FLOAT16_APPLE 0x881A #define GL_RGBA_FLOAT16_ATI 0x881A #define GL_RGB16F 0x881B #define GL_RGB16F_ARB 0x881B #define GL_RGB16F_EXT 0x881B #define GL_RGB_FLOAT16_APPLE 0x881B #define GL_RGB_FLOAT16_ATI 0x881B #define GL_ALPHA16F_ARB 0x881C #define GL_ALPHA16F_EXT 0x881C #define GL_ALPHA_FLOAT16_APPLE 0x881C #define GL_ALPHA_FLOAT16_ATI 0x881C #define GL_INTENSITY16F_ARB 0x881D #define GL_INTENSITY_FLOAT16_APPLE 0x881D #define GL_INTENSITY_FLOAT16_ATI 0x881D #define GL_LUMINANCE16F_ARB 0x881E #define GL_LUMINANCE16F_EXT 0x881E #define GL_LUMINANCE_FLOAT16_APPLE 0x881E #define GL_LUMINANCE_FLOAT16_ATI 0x881E #define GL_LUMINANCE_ALPHA16F_ARB 0x881F #define GL_LUMINANCE_ALPHA16F_EXT 0x881F #define GL_LUMINANCE_ALPHA_FLOAT16_APPLE 0x881F #define GL_LUMINANCE_ALPHA_FLOAT16_ATI 0x881F #define GL_RGBA_FLOAT_MODE_ARB 0x8820 #define GL_RGBA_FLOAT_MODE_ATI 0x8820 #define GL_WRITEONLY_RENDERING_QCOM 0x8823 #define GL_MAX_DRAW_BUFFERS 0x8824 #define GL_MAX_DRAW_BUFFERS_ARB 0x8824 #define GL_MAX_DRAW_BUFFERS_ATI 0x8824 #define GL_MAX_DRAW_BUFFERS_EXT 0x8824 #define GL_MAX_DRAW_BUFFERS_NV 0x8824 #define GL_DRAW_BUFFER0 0x8825 #define GL_DRAW_BUFFER0_ARB 0x8825 #define GL_DRAW_BUFFER0_ATI 0x8825 #define GL_DRAW_BUFFER0_EXT 0x8825 #define GL_DRAW_BUFFER0_NV 0x8825 #define GL_DRAW_BUFFER1 0x8826 #define GL_DRAW_BUFFER1_ARB 0x8826 #define GL_DRAW_BUFFER1_ATI 0x8826 #define GL_DRAW_BUFFER1_EXT 0x8826 #define GL_DRAW_BUFFER1_NV 0x8826 #define GL_DRAW_BUFFER2 0x8827 #define GL_DRAW_BUFFER2_ARB 0x8827 #define GL_DRAW_BUFFER2_ATI 0x8827 #define GL_DRAW_BUFFER2_EXT 0x8827 #define GL_DRAW_BUFFER2_NV 0x8827 #define GL_DRAW_BUFFER3 0x8828 #define GL_DRAW_BUFFER3_ARB 0x8828 #define GL_DRAW_BUFFER3_ATI 0x8828 #define GL_DRAW_BUFFER3_EXT 0x8828 #define GL_DRAW_BUFFER3_NV 0x8828 #define GL_DRAW_BUFFER4 0x8829 #define GL_DRAW_BUFFER4_ARB 0x8829 #define GL_DRAW_BUFFER4_ATI 0x8829 #define GL_DRAW_BUFFER4_EXT 0x8829 #define GL_DRAW_BUFFER4_NV 0x8829 #define GL_DRAW_BUFFER5 0x882A #define GL_DRAW_BUFFER5_ARB 0x882A #define GL_DRAW_BUFFER5_ATI 0x882A #define GL_DRAW_BUFFER5_EXT 0x882A #define GL_DRAW_BUFFER5_NV 0x882A #define GL_DRAW_BUFFER6 0x882B #define GL_DRAW_BUFFER6_ARB 0x882B #define GL_DRAW_BUFFER6_ATI 0x882B #define GL_DRAW_BUFFER6_EXT 0x882B #define GL_DRAW_BUFFER6_NV 0x882B #define GL_DRAW_BUFFER7 0x882C #define GL_DRAW_BUFFER7_ARB 0x882C #define GL_DRAW_BUFFER7_ATI 0x882C #define GL_DRAW_BUFFER7_EXT 0x882C #define GL_DRAW_BUFFER7_NV 0x882C #define GL_DRAW_BUFFER8 0x882D #define GL_DRAW_BUFFER8_ARB 0x882D #define GL_DRAW_BUFFER8_ATI 0x882D #define GL_DRAW_BUFFER8_EXT 0x882D #define GL_DRAW_BUFFER8_NV 0x882D #define GL_DRAW_BUFFER9 0x882E #define GL_DRAW_BUFFER9_ARB 0x882E #define GL_DRAW_BUFFER9_ATI 0x882E #define GL_DRAW_BUFFER9_EXT 0x882E #define GL_DRAW_BUFFER9_NV 0x882E #define GL_DRAW_BUFFER10 0x882F #define GL_DRAW_BUFFER10_ARB 0x882F #define GL_DRAW_BUFFER10_ATI 0x882F #define GL_DRAW_BUFFER10_EXT 0x882F #define GL_DRAW_BUFFER10_NV 0x882F #define GL_DRAW_BUFFER11 0x8830 #define GL_DRAW_BUFFER11_ARB 0x8830 #define GL_DRAW_BUFFER11_ATI 0x8830 #define GL_DRAW_BUFFER11_EXT 0x8830 #define GL_DRAW_BUFFER11_NV 0x8830 #define GL_DRAW_BUFFER12 0x8831 #define GL_DRAW_BUFFER12_ARB 0x8831 #define GL_DRAW_BUFFER12_ATI 0x8831 #define GL_DRAW_BUFFER12_EXT 0x8831 #define GL_DRAW_BUFFER12_NV 0x8831 #define GL_DRAW_BUFFER13 0x8832 #define GL_DRAW_BUFFER13_ARB 0x8832 #define GL_DRAW_BUFFER13_ATI 0x8832 #define GL_DRAW_BUFFER13_EXT 0x8832 #define GL_DRAW_BUFFER13_NV 0x8832 #define GL_DRAW_BUFFER14 0x8833 #define GL_DRAW_BUFFER14_ARB 0x8833 #define GL_DRAW_BUFFER14_ATI 0x8833 #define GL_DRAW_BUFFER14_EXT 0x8833 #define GL_DRAW_BUFFER14_NV 0x8833 #define GL_DRAW_BUFFER15 0x8834 #define GL_DRAW_BUFFER15_ARB 0x8834 #define GL_DRAW_BUFFER15_ATI 0x8834 #define GL_DRAW_BUFFER15_EXT 0x8834 #define GL_DRAW_BUFFER15_NV 0x8834 #define GL_COLOR_CLEAR_UNCLAMPED_VALUE_ATI 0x8835 #define GL_COMPRESSED_LUMINANCE_ALPHA_3DC_ATI 0x8837 #define GL_BLEND_EQUATION_ALPHA 0x883D #define GL_BLEND_EQUATION_ALPHA_EXT 0x883D #define GL_BLEND_EQUATION_ALPHA_OES 0x883D #define GL_SUBSAMPLE_DISTANCE_AMD 0x883F #define GL_MATRIX_PALETTE_ARB 0x8840 #define GL_MATRIX_PALETTE_OES 0x8840 #define GL_MAX_MATRIX_PALETTE_STACK_DEPTH_ARB 0x8841 #define GL_MAX_PALETTE_MATRICES_ARB 0x8842 #define GL_MAX_PALETTE_MATRICES_OES 0x8842 #define GL_CURRENT_PALETTE_MATRIX_ARB 0x8843 #define GL_CURRENT_PALETTE_MATRIX_OES 0x8843 #define GL_MATRIX_INDEX_ARRAY_ARB 0x8844 #define GL_MATRIX_INDEX_ARRAY_OES 0x8844 #define GL_CURRENT_MATRIX_INDEX_ARB 0x8845 #define GL_MATRIX_INDEX_ARRAY_SIZE_ARB 0x8846 #define GL_MATRIX_INDEX_ARRAY_SIZE_OES 0x8846 #define GL_MATRIX_INDEX_ARRAY_TYPE_ARB 0x8847 #define GL_MATRIX_INDEX_ARRAY_TYPE_OES 0x8847 #define GL_MATRIX_INDEX_ARRAY_STRIDE_ARB 0x8848 #define GL_MATRIX_INDEX_ARRAY_STRIDE_OES 0x8848 #define GL_MATRIX_INDEX_ARRAY_POINTER_ARB 0x8849 #define GL_MATRIX_INDEX_ARRAY_POINTER_OES 0x8849 #define GL_TEXTURE_DEPTH_SIZE 0x884A #define GL_TEXTURE_DEPTH_SIZE_ARB 0x884A #define GL_DEPTH_TEXTURE_MODE 0x884B #define GL_DEPTH_TEXTURE_MODE_ARB 0x884B #define GL_TEXTURE_COMPARE_MODE 0x884C #define GL_TEXTURE_COMPARE_MODE_ARB 0x884C #define GL_TEXTURE_COMPARE_MODE_EXT 0x884C #define GL_TEXTURE_COMPARE_FUNC 0x884D #define GL_TEXTURE_COMPARE_FUNC_ARB 0x884D #define GL_TEXTURE_COMPARE_FUNC_EXT 0x884D #define GL_COMPARE_REF_DEPTH_TO_TEXTURE_EXT 0x884E #define GL_COMPARE_REF_TO_TEXTURE 0x884E #define GL_COMPARE_REF_TO_TEXTURE_EXT 0x884E #define GL_COMPARE_R_TO_TEXTURE 0x884E #define GL_COMPARE_R_TO_TEXTURE_ARB 0x884E #define GL_TEXTURE_CUBE_MAP_SEAMLESS 0x884F #define GL_OFFSET_PROJECTIVE_TEXTURE_2D_NV 0x8850 #define GL_OFFSET_PROJECTIVE_TEXTURE_2D_SCALE_NV 0x8851 #define GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_NV 0x8852 #define GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_SCALE_NV 0x8853 #define GL_OFFSET_HILO_TEXTURE_2D_NV 0x8854 #define GL_OFFSET_HILO_TEXTURE_RECTANGLE_NV 0x8855 #define GL_OFFSET_HILO_PROJECTIVE_TEXTURE_2D_NV 0x8856 #define GL_OFFSET_HILO_PROJECTIVE_TEXTURE_RECTANGLE_NV 0x8857 #define GL_DEPENDENT_HILO_TEXTURE_2D_NV 0x8858 #define GL_DEPENDENT_RGB_TEXTURE_3D_NV 0x8859 #define GL_DEPENDENT_RGB_TEXTURE_CUBE_MAP_NV 0x885A #define GL_DOT_PRODUCT_PASS_THROUGH_NV 0x885B #define GL_DOT_PRODUCT_TEXTURE_1D_NV 0x885C #define GL_DOT_PRODUCT_AFFINE_DEPTH_REPLACE_NV 0x885D #define GL_HILO8_NV 0x885E #define GL_SIGNED_HILO8_NV 0x885F #define GL_FORCE_BLUE_TO_ONE_NV 0x8860 #define GL_POINT_SPRITE 0x8861 #define GL_POINT_SPRITE_ARB 0x8861 #define GL_POINT_SPRITE_NV 0x8861 #define GL_POINT_SPRITE_OES 0x8861 #define GL_COORD_REPLACE 0x8862 #define GL_COORD_REPLACE_ARB 0x8862 #define GL_COORD_REPLACE_NV 0x8862 #define GL_COORD_REPLACE_OES 0x8862 #define GL_POINT_SPRITE_R_MODE_NV 0x8863 #define GL_PIXEL_COUNTER_BITS_NV 0x8864 #define GL_QUERY_COUNTER_BITS 0x8864 #define GL_QUERY_COUNTER_BITS_ARB 0x8864 #define GL_QUERY_COUNTER_BITS_EXT 0x8864 #define GL_CURRENT_OCCLUSION_QUERY_ID_NV 0x8865 #define GL_CURRENT_QUERY 0x8865 #define GL_CURRENT_QUERY_ARB 0x8865 #define GL_CURRENT_QUERY_EXT 0x8865 #define GL_PIXEL_COUNT_NV 0x8866 #define GL_QUERY_RESULT 0x8866 #define GL_QUERY_RESULT_ARB 0x8866 #define GL_QUERY_RESULT_EXT 0x8866 #define GL_PIXEL_COUNT_AVAILABLE_NV 0x8867 #define GL_QUERY_RESULT_AVAILABLE 0x8867 #define GL_QUERY_RESULT_AVAILABLE_ARB 0x8867 #define GL_QUERY_RESULT_AVAILABLE_EXT 0x8867 #define GL_MAX_FRAGMENT_PROGRAM_LOCAL_PARAMETERS_NV 0x8868 #define GL_MAX_VERTEX_ATTRIBS 0x8869 #define GL_MAX_VERTEX_ATTRIBS_ARB 0x8869 #define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED 0x886A #define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB 0x886A #define GL_MAX_TESS_CONTROL_INPUT_COMPONENTS 0x886C #define GL_MAX_TESS_CONTROL_INPUT_COMPONENTS_EXT 0x886C #define GL_MAX_TESS_CONTROL_INPUT_COMPONENTS_OES 0x886C #define GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS 0x886D #define GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS_EXT 0x886D #define GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS_OES 0x886D #define GL_DEPTH_STENCIL_TO_RGBA_NV 0x886E #define GL_DEPTH_STENCIL_TO_BGRA_NV 0x886F #define GL_FRAGMENT_PROGRAM_NV 0x8870 #define GL_MAX_TEXTURE_COORDS 0x8871 #define GL_MAX_TEXTURE_COORDS_ARB 0x8871 #define GL_MAX_TEXTURE_COORDS_NV 0x8871 #define GL_MAX_TEXTURE_IMAGE_UNITS 0x8872 #define GL_MAX_TEXTURE_IMAGE_UNITS_ARB 0x8872 #define GL_MAX_TEXTURE_IMAGE_UNITS_NV 0x8872 #define GL_FRAGMENT_PROGRAM_BINDING_NV 0x8873 #define GL_PROGRAM_ERROR_STRING_ARB 0x8874 #define GL_PROGRAM_ERROR_STRING_NV 0x8874 #define GL_PROGRAM_FORMAT_ASCII_ARB 0x8875 #define GL_PROGRAM_FORMAT_ARB 0x8876 #define GL_WRITE_PIXEL_DATA_RANGE_NV 0x8878 #define GL_READ_PIXEL_DATA_RANGE_NV 0x8879 #define GL_WRITE_PIXEL_DATA_RANGE_LENGTH_NV 0x887A #define GL_READ_PIXEL_DATA_RANGE_LENGTH_NV 0x887B #define GL_WRITE_PIXEL_DATA_RANGE_POINTER_NV 0x887C #define GL_READ_PIXEL_DATA_RANGE_POINTER_NV 0x887D #define GL_GEOMETRY_SHADER_INVOCATIONS 0x887F #define GL_GEOMETRY_SHADER_INVOCATIONS_EXT 0x887F #define GL_GEOMETRY_SHADER_INVOCATIONS_OES 0x887F #define GL_FLOAT_R_NV 0x8880 #define GL_FLOAT_RG_NV 0x8881 #define GL_FLOAT_RGB_NV 0x8882 #define GL_FLOAT_RGBA_NV 0x8883 #define GL_FLOAT_R16_NV 0x8884 #define GL_FLOAT_R32_NV 0x8885 #define GL_FLOAT_RG16_NV 0x8886 #define GL_FLOAT_RG32_NV 0x8887 #define GL_FLOAT_RGB16_NV 0x8888 #define GL_FLOAT_RGB32_NV 0x8889 #define GL_FLOAT_RGBA16_NV 0x888A #define GL_FLOAT_RGBA32_NV 0x888B #define GL_TEXTURE_FLOAT_COMPONENTS_NV 0x888C #define GL_FLOAT_CLEAR_COLOR_VALUE_NV 0x888D #define GL_FLOAT_RGBA_MODE_NV 0x888E #define GL_TEXTURE_UNSIGNED_REMAP_MODE_NV 0x888F #define GL_DEPTH_BOUNDS_TEST_EXT 0x8890 #define GL_DEPTH_BOUNDS_EXT 0x8891 #define GL_ARRAY_BUFFER 0x8892 #define GL_ARRAY_BUFFER_ARB 0x8892 #define GL_ELEMENT_ARRAY_BUFFER 0x8893 #define GL_ELEMENT_ARRAY_BUFFER_ARB 0x8893 #define GL_ARRAY_BUFFER_BINDING 0x8894 #define GL_ARRAY_BUFFER_BINDING_ARB 0x8894 #define GL_ELEMENT_ARRAY_BUFFER_BINDING 0x8895 #define GL_ELEMENT_ARRAY_BUFFER_BINDING_ARB 0x8895 #define GL_VERTEX_ARRAY_BUFFER_BINDING 0x8896 #define GL_VERTEX_ARRAY_BUFFER_BINDING_ARB 0x8896 #define GL_NORMAL_ARRAY_BUFFER_BINDING 0x8897 #define GL_NORMAL_ARRAY_BUFFER_BINDING_ARB 0x8897 #define GL_COLOR_ARRAY_BUFFER_BINDING 0x8898 #define GL_COLOR_ARRAY_BUFFER_BINDING_ARB 0x8898 #define GL_INDEX_ARRAY_BUFFER_BINDING 0x8899 #define GL_INDEX_ARRAY_BUFFER_BINDING_ARB 0x8899 #define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING 0x889A #define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING_ARB 0x889A #define GL_EDGE_FLAG_ARRAY_BUFFER_BINDING 0x889B #define GL_EDGE_FLAG_ARRAY_BUFFER_BINDING_ARB 0x889B #define GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING 0x889C #define GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING_ARB 0x889C #define GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING 0x889D #define GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING_ARB 0x889D #define GL_FOG_COORD_ARRAY_BUFFER_BINDING 0x889D #define GL_WEIGHT_ARRAY_BUFFER_BINDING 0x889E #define GL_WEIGHT_ARRAY_BUFFER_BINDING_ARB 0x889E #define GL_WEIGHT_ARRAY_BUFFER_BINDING_OES 0x889E #define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING 0x889F #define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB 0x889F #define GL_PROGRAM_INSTRUCTIONS_ARB 0x88A0 #define GL_MAX_PROGRAM_INSTRUCTIONS_ARB 0x88A1 #define GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB 0x88A2 #define GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB 0x88A3 #define GL_PROGRAM_TEMPORARIES_ARB 0x88A4 #define GL_MAX_PROGRAM_TEMPORARIES_ARB 0x88A5 #define GL_PROGRAM_NATIVE_TEMPORARIES_ARB 0x88A6 #define GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB 0x88A7 #define GL_PROGRAM_PARAMETERS_ARB 0x88A8 #define GL_MAX_PROGRAM_PARAMETERS_ARB 0x88A9 #define GL_PROGRAM_NATIVE_PARAMETERS_ARB 0x88AA #define GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB 0x88AB #define GL_PROGRAM_ATTRIBS_ARB 0x88AC #define GL_MAX_PROGRAM_ATTRIBS_ARB 0x88AD #define GL_PROGRAM_NATIVE_ATTRIBS_ARB 0x88AE #define GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB 0x88AF #define GL_PROGRAM_ADDRESS_REGISTERS_ARB 0x88B0 #define GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB 0x88B1 #define GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB 0x88B2 #define GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB 0x88B3 #define GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB 0x88B4 #define GL_MAX_PROGRAM_ENV_PARAMETERS_ARB 0x88B5 #define GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB 0x88B6 #define GL_TRANSPOSE_CURRENT_MATRIX_ARB 0x88B7 #define GL_READ_ONLY 0x88B8 #define GL_READ_ONLY_ARB 0x88B8 #define GL_WRITE_ONLY 0x88B9 #define GL_WRITE_ONLY_ARB 0x88B9 #define GL_WRITE_ONLY_OES 0x88B9 #define GL_READ_WRITE 0x88BA #define GL_READ_WRITE_ARB 0x88BA #define GL_BUFFER_ACCESS 0x88BB #define GL_BUFFER_ACCESS_ARB 0x88BB #define GL_BUFFER_ACCESS_OES 0x88BB #define GL_BUFFER_MAPPED 0x88BC #define GL_BUFFER_MAPPED_ARB 0x88BC #define GL_BUFFER_MAPPED_OES 0x88BC #define GL_BUFFER_MAP_POINTER 0x88BD #define GL_BUFFER_MAP_POINTER_ARB 0x88BD #define GL_BUFFER_MAP_POINTER_OES 0x88BD #define GL_WRITE_DISCARD_NV 0x88BE #define GL_TIME_ELAPSED 0x88BF #define GL_TIME_ELAPSED_EXT 0x88BF #define GL_MATRIX0_ARB 0x88C0 #define GL_MATRIX1_ARB 0x88C1 #define GL_MATRIX2_ARB 0x88C2 #define GL_MATRIX3_ARB 0x88C3 #define GL_MATRIX4_ARB 0x88C4 #define GL_MATRIX5_ARB 0x88C5 #define GL_MATRIX6_ARB 0x88C6 #define GL_MATRIX7_ARB 0x88C7 #define GL_MATRIX8_ARB 0x88C8 #define GL_MATRIX9_ARB 0x88C9 #define GL_MATRIX10_ARB 0x88CA #define GL_MATRIX11_ARB 0x88CB #define GL_MATRIX12_ARB 0x88CC #define GL_MATRIX13_ARB 0x88CD #define GL_MATRIX14_ARB 0x88CE #define GL_MATRIX15_ARB 0x88CF #define GL_MATRIX16_ARB 0x88D0 #define GL_MATRIX17_ARB 0x88D1 #define GL_MATRIX18_ARB 0x88D2 #define GL_MATRIX19_ARB 0x88D3 #define GL_MATRIX20_ARB 0x88D4 #define GL_MATRIX21_ARB 0x88D5 #define GL_MATRIX22_ARB 0x88D6 #define GL_MATRIX23_ARB 0x88D7 #define GL_MATRIX24_ARB 0x88D8 #define GL_MATRIX25_ARB 0x88D9 #define GL_MATRIX26_ARB 0x88DA #define GL_MATRIX27_ARB 0x88DB #define GL_MATRIX28_ARB 0x88DC #define GL_MATRIX29_ARB 0x88DD #define GL_MATRIX30_ARB 0x88DE #define GL_MATRIX31_ARB 0x88DF #define GL_STREAM_DRAW 0x88E0 #define GL_STREAM_DRAW_ARB 0x88E0 #define GL_STREAM_READ 0x88E1 #define GL_STREAM_READ_ARB 0x88E1 #define GL_STREAM_COPY 0x88E2 #define GL_STREAM_COPY_ARB 0x88E2 #define GL_STATIC_DRAW 0x88E4 #define GL_STATIC_DRAW_ARB 0x88E4 #define GL_STATIC_READ 0x88E5 #define GL_STATIC_READ_ARB 0x88E5 #define GL_STATIC_COPY 0x88E6 #define GL_STATIC_COPY_ARB 0x88E6 #define GL_DYNAMIC_DRAW 0x88E8 #define GL_DYNAMIC_DRAW_ARB 0x88E8 #define GL_DYNAMIC_READ 0x88E9 #define GL_DYNAMIC_READ_ARB 0x88E9 #define GL_DYNAMIC_COPY 0x88EA #define GL_DYNAMIC_COPY_ARB 0x88EA #define GL_PIXEL_PACK_BUFFER 0x88EB #define GL_PIXEL_PACK_BUFFER_ARB 0x88EB #define GL_PIXEL_PACK_BUFFER_EXT 0x88EB #define GL_PIXEL_PACK_BUFFER_NV 0x88EB #define GL_PIXEL_UNPACK_BUFFER 0x88EC #define GL_PIXEL_UNPACK_BUFFER_ARB 0x88EC #define GL_PIXEL_UNPACK_BUFFER_EXT 0x88EC #define GL_PIXEL_UNPACK_BUFFER_NV 0x88EC #define GL_PIXEL_PACK_BUFFER_BINDING 0x88ED #define GL_PIXEL_PACK_BUFFER_BINDING_ARB 0x88ED #define GL_PIXEL_PACK_BUFFER_BINDING_EXT 0x88ED #define GL_PIXEL_PACK_BUFFER_BINDING_NV 0x88ED #define GL_ETC1_SRGB8_NV 0x88EE #define GL_PIXEL_UNPACK_BUFFER_BINDING 0x88EF #define GL_PIXEL_UNPACK_BUFFER_BINDING_ARB 0x88EF #define GL_PIXEL_UNPACK_BUFFER_BINDING_EXT 0x88EF #define GL_PIXEL_UNPACK_BUFFER_BINDING_NV 0x88EF #define GL_DEPTH24_STENCIL8 0x88F0 #define GL_DEPTH24_STENCIL8_EXT 0x88F0 #define GL_DEPTH24_STENCIL8_OES 0x88F0 #define GL_TEXTURE_STENCIL_SIZE 0x88F1 #define GL_TEXTURE_STENCIL_SIZE_EXT 0x88F1 #define GL_STENCIL_TAG_BITS_EXT 0x88F2 #define GL_STENCIL_CLEAR_TAG_VALUE_EXT 0x88F3 #define GL_MAX_PROGRAM_EXEC_INSTRUCTIONS_NV 0x88F4 #define GL_MAX_PROGRAM_CALL_DEPTH_NV 0x88F5 #define GL_MAX_PROGRAM_IF_DEPTH_NV 0x88F6 #define GL_MAX_PROGRAM_LOOP_DEPTH_NV 0x88F7 #define GL_MAX_PROGRAM_LOOP_COUNT_NV 0x88F8 #define GL_SRC1_COLOR 0x88F9 #define GL_SRC1_COLOR_EXT 0x88F9 #define GL_ONE_MINUS_SRC1_COLOR 0x88FA #define GL_ONE_MINUS_SRC1_COLOR_EXT 0x88FA #define GL_ONE_MINUS_SRC1_ALPHA 0x88FB #define GL_ONE_MINUS_SRC1_ALPHA_EXT 0x88FB #define GL_MAX_DUAL_SOURCE_DRAW_BUFFERS 0x88FC #define GL_MAX_DUAL_SOURCE_DRAW_BUFFERS_EXT 0x88FC #define GL_VERTEX_ATTRIB_ARRAY_INTEGER 0x88FD #define GL_VERTEX_ATTRIB_ARRAY_INTEGER_EXT 0x88FD #define GL_VERTEX_ATTRIB_ARRAY_INTEGER_NV 0x88FD #define GL_VERTEX_ATTRIB_ARRAY_DIVISOR 0x88FE #define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE 0x88FE #define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ARB 0x88FE #define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_EXT 0x88FE #define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_NV 0x88FE #define GL_MAX_ARRAY_TEXTURE_LAYERS 0x88FF #define GL_MAX_ARRAY_TEXTURE_LAYERS_EXT 0x88FF #define GL_MIN_PROGRAM_TEXEL_OFFSET 0x8904 #define GL_MIN_PROGRAM_TEXEL_OFFSET_EXT 0x8904 #define GL_MIN_PROGRAM_TEXEL_OFFSET_NV 0x8904 #define GL_MAX_PROGRAM_TEXEL_OFFSET 0x8905 #define GL_MAX_PROGRAM_TEXEL_OFFSET_EXT 0x8905 #define GL_MAX_PROGRAM_TEXEL_OFFSET_NV 0x8905 #define GL_PROGRAM_ATTRIB_COMPONENTS_NV 0x8906 #define GL_PROGRAM_RESULT_COMPONENTS_NV 0x8907 #define GL_MAX_PROGRAM_ATTRIB_COMPONENTS_NV 0x8908 #define GL_MAX_PROGRAM_RESULT_COMPONENTS_NV 0x8909 #define GL_STENCIL_TEST_TWO_SIDE_EXT 0x8910 #define GL_ACTIVE_STENCIL_FACE_EXT 0x8911 #define GL_MIRROR_CLAMP_TO_BORDER_EXT 0x8912 #define GL_SAMPLES_PASSED 0x8914 #define GL_SAMPLES_PASSED_ARB 0x8914 #define GL_GEOMETRY_LINKED_VERTICES_OUT_EXT 0x8916 #define GL_GEOMETRY_LINKED_VERTICES_OUT_OES 0x8916 #define GL_GEOMETRY_VERTICES_OUT 0x8916 #define GL_GEOMETRY_INPUT_TYPE 0x8917 #define GL_GEOMETRY_LINKED_INPUT_TYPE_EXT 0x8917 #define GL_GEOMETRY_LINKED_INPUT_TYPE_OES 0x8917 #define GL_GEOMETRY_LINKED_OUTPUT_TYPE_EXT 0x8918 #define GL_GEOMETRY_LINKED_OUTPUT_TYPE_OES 0x8918 #define GL_GEOMETRY_OUTPUT_TYPE 0x8918 #define GL_SAMPLER_BINDING 0x8919 #define GL_CLAMP_VERTEX_COLOR 0x891A #define GL_CLAMP_VERTEX_COLOR_ARB 0x891A #define GL_CLAMP_FRAGMENT_COLOR 0x891B #define GL_CLAMP_FRAGMENT_COLOR_ARB 0x891B #define GL_CLAMP_READ_COLOR 0x891C #define GL_CLAMP_READ_COLOR_ARB 0x891C #define GL_FIXED_ONLY 0x891D #define GL_FIXED_ONLY_ARB 0x891D #define GL_TESS_CONTROL_PROGRAM_NV 0x891E #define GL_TESS_EVALUATION_PROGRAM_NV 0x891F #define GL_FRAGMENT_SHADER_ATI 0x8920 #define GL_REG_0_ATI 0x8921 #define GL_REG_1_ATI 0x8922 #define GL_REG_2_ATI 0x8923 #define GL_REG_3_ATI 0x8924 #define GL_REG_4_ATI 0x8925 #define GL_REG_5_ATI 0x8926 #define GL_REG_6_ATI 0x8927 #define GL_REG_7_ATI 0x8928 #define GL_REG_8_ATI 0x8929 #define GL_REG_9_ATI 0x892A #define GL_REG_10_ATI 0x892B #define GL_REG_11_ATI 0x892C #define GL_REG_12_ATI 0x892D #define GL_REG_13_ATI 0x892E #define GL_REG_14_ATI 0x892F #define GL_REG_15_ATI 0x8930 #define GL_REG_16_ATI 0x8931 #define GL_REG_17_ATI 0x8932 #define GL_REG_18_ATI 0x8933 #define GL_REG_19_ATI 0x8934 #define GL_REG_20_ATI 0x8935 #define GL_REG_21_ATI 0x8936 #define GL_REG_22_ATI 0x8937 #define GL_REG_23_ATI 0x8938 #define GL_REG_24_ATI 0x8939 #define GL_REG_25_ATI 0x893A #define GL_REG_26_ATI 0x893B #define GL_REG_27_ATI 0x893C #define GL_REG_28_ATI 0x893D #define GL_REG_29_ATI 0x893E #define GL_REG_30_ATI 0x893F #define GL_REG_31_ATI 0x8940 #define GL_CON_0_ATI 0x8941 #define GL_CON_1_ATI 0x8942 #define GL_CON_2_ATI 0x8943 #define GL_CON_3_ATI 0x8944 #define GL_CON_4_ATI 0x8945 #define GL_CON_5_ATI 0x8946 #define GL_CON_6_ATI 0x8947 #define GL_CON_7_ATI 0x8948 #define GL_CON_8_ATI 0x8949 #define GL_CON_9_ATI 0x894A #define GL_CON_10_ATI 0x894B #define GL_CON_11_ATI 0x894C #define GL_CON_12_ATI 0x894D #define GL_CON_13_ATI 0x894E #define GL_CON_14_ATI 0x894F #define GL_CON_15_ATI 0x8950 #define GL_CON_16_ATI 0x8951 #define GL_CON_17_ATI 0x8952 #define GL_CON_18_ATI 0x8953 #define GL_CON_19_ATI 0x8954 #define GL_CON_20_ATI 0x8955 #define GL_CON_21_ATI 0x8956 #define GL_CON_22_ATI 0x8957 #define GL_CON_23_ATI 0x8958 #define GL_CON_24_ATI 0x8959 #define GL_CON_25_ATI 0x895A #define GL_CON_26_ATI 0x895B #define GL_CON_27_ATI 0x895C #define GL_CON_28_ATI 0x895D #define GL_CON_29_ATI 0x895E #define GL_CON_30_ATI 0x895F #define GL_CON_31_ATI 0x8960 #define GL_MOV_ATI 0x8961 #define GL_ADD_ATI 0x8963 #define GL_MUL_ATI 0x8964 #define GL_SUB_ATI 0x8965 #define GL_DOT3_ATI 0x8966 #define GL_DOT4_ATI 0x8967 #define GL_MAD_ATI 0x8968 #define GL_LERP_ATI 0x8969 #define GL_CND_ATI 0x896A #define GL_CND0_ATI 0x896B #define GL_DOT2_ADD_ATI 0x896C #define GL_SECONDARY_INTERPOLATOR_ATI 0x896D #define GL_NUM_FRAGMENT_REGISTERS_ATI 0x896E #define GL_NUM_FRAGMENT_CONSTANTS_ATI 0x896F #define GL_NUM_PASSES_ATI 0x8970 #define GL_NUM_INSTRUCTIONS_PER_PASS_ATI 0x8971 #define GL_NUM_INSTRUCTIONS_TOTAL_ATI 0x8972 #define GL_NUM_INPUT_INTERPOLATOR_COMPONENTS_ATI 0x8973 #define GL_NUM_LOOPBACK_COMPONENTS_ATI 0x8974 #define GL_COLOR_ALPHA_PAIRING_ATI 0x8975 #define GL_SWIZZLE_STR_ATI 0x8976 #define GL_SWIZZLE_STQ_ATI 0x8977 #define GL_SWIZZLE_STR_DR_ATI 0x8978 #define GL_SWIZZLE_STQ_DQ_ATI 0x8979 #define GL_SWIZZLE_STRQ_ATI 0x897A #define GL_SWIZZLE_STRQ_DQ_ATI 0x897B #define GL_INTERLACE_OML 0x8980 #define GL_INTERLACE_READ_OML 0x8981 #define GL_FORMAT_SUBSAMPLE_24_24_OML 0x8982 #define GL_FORMAT_SUBSAMPLE_244_244_OML 0x8983 #define GL_PACK_RESAMPLE_OML 0x8984 #define GL_UNPACK_RESAMPLE_OML 0x8985 #define GL_RESAMPLE_REPLICATE_OML 0x8986 #define GL_RESAMPLE_ZERO_FILL_OML 0x8987 #define GL_RESAMPLE_AVERAGE_OML 0x8988 #define GL_RESAMPLE_DECIMATE_OML 0x8989 #define GL_POINT_SIZE_ARRAY_TYPE_OES 0x898A #define GL_POINT_SIZE_ARRAY_STRIDE_OES 0x898B #define GL_POINT_SIZE_ARRAY_POINTER_OES 0x898C #define GL_MODELVIEW_MATRIX_FLOAT_AS_INT_BITS_OES 0x898D #define GL_PROJECTION_MATRIX_FLOAT_AS_INT_BITS_OES 0x898E #define GL_TEXTURE_MATRIX_FLOAT_AS_INT_BITS_OES 0x898F #define GL_VERTEX_ATTRIB_MAP1_APPLE 0x8A00 #define GL_VERTEX_ATTRIB_MAP2_APPLE 0x8A01 #define GL_VERTEX_ATTRIB_MAP1_SIZE_APPLE 0x8A02 #define GL_VERTEX_ATTRIB_MAP1_COEFF_APPLE 0x8A03 #define GL_VERTEX_ATTRIB_MAP1_ORDER_APPLE 0x8A04 #define GL_VERTEX_ATTRIB_MAP1_DOMAIN_APPLE 0x8A05 #define GL_VERTEX_ATTRIB_MAP2_SIZE_APPLE 0x8A06 #define GL_VERTEX_ATTRIB_MAP2_COEFF_APPLE 0x8A07 #define GL_VERTEX_ATTRIB_MAP2_ORDER_APPLE 0x8A08 #define GL_VERTEX_ATTRIB_MAP2_DOMAIN_APPLE 0x8A09 #define GL_DRAW_PIXELS_APPLE 0x8A0A #define GL_FENCE_APPLE 0x8A0B #define GL_ELEMENT_ARRAY_APPLE 0x8A0C #define GL_ELEMENT_ARRAY_TYPE_APPLE 0x8A0D #define GL_ELEMENT_ARRAY_POINTER_APPLE 0x8A0E #define GL_COLOR_FLOAT_APPLE 0x8A0F #define GL_UNIFORM_BUFFER 0x8A11 #define GL_BUFFER_SERIALIZED_MODIFY_APPLE 0x8A12 #define GL_BUFFER_FLUSHING_UNMAP_APPLE 0x8A13 #define GL_AUX_DEPTH_STENCIL_APPLE 0x8A14 #define GL_PACK_ROW_BYTES_APPLE 0x8A15 #define GL_UNPACK_ROW_BYTES_APPLE 0x8A16 #define GL_RELEASED_APPLE 0x8A19 #define GL_VOLATILE_APPLE 0x8A1A #define GL_RETAINED_APPLE 0x8A1B #define GL_UNDEFINED_APPLE 0x8A1C #define GL_PURGEABLE_APPLE 0x8A1D #define GL_RGB_422_APPLE 0x8A1F #define GL_UNIFORM_BUFFER_BINDING 0x8A28 #define GL_UNIFORM_BUFFER_START 0x8A29 #define GL_UNIFORM_BUFFER_SIZE 0x8A2A #define GL_MAX_VERTEX_UNIFORM_BLOCKS 0x8A2B #define GL_MAX_GEOMETRY_UNIFORM_BLOCKS 0x8A2C #define GL_MAX_GEOMETRY_UNIFORM_BLOCKS_EXT 0x8A2C #define GL_MAX_GEOMETRY_UNIFORM_BLOCKS_OES 0x8A2C #define GL_MAX_FRAGMENT_UNIFORM_BLOCKS 0x8A2D #define GL_MAX_COMBINED_UNIFORM_BLOCKS 0x8A2E #define GL_MAX_UNIFORM_BUFFER_BINDINGS 0x8A2F #define GL_MAX_UNIFORM_BLOCK_SIZE 0x8A30 #define GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS 0x8A31 #define GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS 0x8A32 #define GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS_EXT 0x8A32 #define GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS_OES 0x8A32 #define GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS 0x8A33 #define GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT 0x8A34 #define GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH 0x8A35 #define GL_ACTIVE_UNIFORM_BLOCKS 0x8A36 #define GL_UNIFORM_TYPE 0x8A37 #define GL_UNIFORM_SIZE 0x8A38 #define GL_UNIFORM_NAME_LENGTH 0x8A39 #define GL_UNIFORM_BLOCK_INDEX 0x8A3A #define GL_UNIFORM_OFFSET 0x8A3B #define GL_UNIFORM_ARRAY_STRIDE 0x8A3C #define GL_UNIFORM_MATRIX_STRIDE 0x8A3D #define GL_UNIFORM_IS_ROW_MAJOR 0x8A3E #define GL_UNIFORM_BLOCK_BINDING 0x8A3F #define GL_UNIFORM_BLOCK_DATA_SIZE 0x8A40 #define GL_UNIFORM_BLOCK_NAME_LENGTH 0x8A41 #define GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS 0x8A42 #define GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES 0x8A43 #define GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER 0x8A44 #define GL_UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADER 0x8A45 #define GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER 0x8A46 #define GL_TEXTURE_SRGB_DECODE_EXT 0x8A48 #define GL_DECODE_EXT 0x8A49 #define GL_SKIP_DECODE_EXT 0x8A4A #define GL_PROGRAM_PIPELINE_OBJECT_EXT 0x8A4F #define GL_RGB_RAW_422_APPLE 0x8A51 #define GL_FRAGMENT_SHADER_DISCARDS_SAMPLES_EXT 0x8A52 #define GL_SYNC_OBJECT_APPLE 0x8A53 #define GL_COMPRESSED_SRGB_PVRTC_2BPPV1_EXT 0x8A54 #define GL_COMPRESSED_SRGB_PVRTC_4BPPV1_EXT 0x8A55 #define GL_COMPRESSED_SRGB_ALPHA_PVRTC_2BPPV1_EXT 0x8A56 #define GL_COMPRESSED_SRGB_ALPHA_PVRTC_4BPPV1_EXT 0x8A57 #define GL_FRAGMENT_SHADER 0x8B30 #define GL_FRAGMENT_SHADER_ARB 0x8B30 #define GL_VERTEX_SHADER 0x8B31 #define GL_VERTEX_SHADER_ARB 0x8B31 #define GL_PROGRAM_OBJECT_ARB 0x8B40 #define GL_PROGRAM_OBJECT_EXT 0x8B40 #define GL_SHADER_OBJECT_ARB 0x8B48 #define GL_SHADER_OBJECT_EXT 0x8B48 #define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS 0x8B49 #define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB 0x8B49 #define GL_MAX_VERTEX_UNIFORM_COMPONENTS 0x8B4A #define GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB 0x8B4A #define GL_MAX_VARYING_COMPONENTS 0x8B4B #define GL_MAX_VARYING_COMPONENTS_EXT 0x8B4B #define GL_MAX_VARYING_FLOATS 0x8B4B #define GL_MAX_VARYING_FLOATS_ARB 0x8B4B #define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS 0x8B4C #define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB 0x8B4C #define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS 0x8B4D #define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB 0x8B4D #define GL_OBJECT_TYPE_ARB 0x8B4E #define GL_OBJECT_SUBTYPE_ARB 0x8B4F #define GL_SHADER_TYPE 0x8B4F #define GL_FLOAT_VEC2 0x8B50 #define GL_FLOAT_VEC2_ARB 0x8B50 #define GL_FLOAT_VEC3 0x8B51 #define GL_FLOAT_VEC3_ARB 0x8B51 #define GL_FLOAT_VEC4 0x8B52 #define GL_FLOAT_VEC4_ARB 0x8B52 #define GL_INT_VEC2 0x8B53 #define GL_INT_VEC2_ARB 0x8B53 #define GL_INT_VEC3 0x8B54 #define GL_INT_VEC3_ARB 0x8B54 #define GL_INT_VEC4 0x8B55 #define GL_INT_VEC4_ARB 0x8B55 #define GL_BOOL 0x8B56 #define GL_BOOL_ARB 0x8B56 #define GL_BOOL_VEC2 0x8B57 #define GL_BOOL_VEC2_ARB 0x8B57 #define GL_BOOL_VEC3 0x8B58 #define GL_BOOL_VEC3_ARB 0x8B58 #define GL_BOOL_VEC4 0x8B59 #define GL_BOOL_VEC4_ARB 0x8B59 #define GL_FLOAT_MAT2 0x8B5A #define GL_FLOAT_MAT2_ARB 0x8B5A #define GL_FLOAT_MAT3 0x8B5B #define GL_FLOAT_MAT3_ARB 0x8B5B #define GL_FLOAT_MAT4 0x8B5C #define GL_FLOAT_MAT4_ARB 0x8B5C #define GL_SAMPLER_1D 0x8B5D #define GL_SAMPLER_1D_ARB 0x8B5D #define GL_SAMPLER_2D 0x8B5E #define GL_SAMPLER_2D_ARB 0x8B5E #define GL_SAMPLER_3D 0x8B5F #define GL_SAMPLER_3D_ARB 0x8B5F #define GL_SAMPLER_3D_OES 0x8B5F #define GL_SAMPLER_CUBE 0x8B60 #define GL_SAMPLER_CUBE_ARB 0x8B60 #define GL_SAMPLER_1D_SHADOW 0x8B61 #define GL_SAMPLER_1D_SHADOW_ARB 0x8B61 #define GL_SAMPLER_2D_SHADOW 0x8B62 #define GL_SAMPLER_2D_SHADOW_ARB 0x8B62 #define GL_SAMPLER_2D_SHADOW_EXT 0x8B62 #define GL_SAMPLER_2D_RECT 0x8B63 #define GL_SAMPLER_2D_RECT_ARB 0x8B63 #define GL_SAMPLER_2D_RECT_SHADOW 0x8B64 #define GL_SAMPLER_2D_RECT_SHADOW_ARB 0x8B64 #define GL_FLOAT_MAT2x3 0x8B65 #define GL_FLOAT_MAT2x3_NV 0x8B65 #define GL_FLOAT_MAT2x4 0x8B66 #define GL_FLOAT_MAT2x4_NV 0x8B66 #define GL_FLOAT_MAT3x2 0x8B67 #define GL_FLOAT_MAT3x2_NV 0x8B67 #define GL_FLOAT_MAT3x4 0x8B68 #define GL_FLOAT_MAT3x4_NV 0x8B68 #define GL_FLOAT_MAT4x2 0x8B69 #define GL_FLOAT_MAT4x2_NV 0x8B69 #define GL_FLOAT_MAT4x3 0x8B6A #define GL_FLOAT_MAT4x3_NV 0x8B6A #define GL_DELETE_STATUS 0x8B80 #define GL_OBJECT_DELETE_STATUS_ARB 0x8B80 #define GL_COMPILE_STATUS 0x8B81 #define GL_OBJECT_COMPILE_STATUS_ARB 0x8B81 #define GL_LINK_STATUS 0x8B82 #define GL_OBJECT_LINK_STATUS_ARB 0x8B82 #define GL_OBJECT_VALIDATE_STATUS_ARB 0x8B83 #define GL_VALIDATE_STATUS 0x8B83 #define GL_INFO_LOG_LENGTH 0x8B84 #define GL_OBJECT_INFO_LOG_LENGTH_ARB 0x8B84 #define GL_ATTACHED_SHADERS 0x8B85 #define GL_OBJECT_ATTACHED_OBJECTS_ARB 0x8B85 #define GL_ACTIVE_UNIFORMS 0x8B86 #define GL_OBJECT_ACTIVE_UNIFORMS_ARB 0x8B86 #define GL_ACTIVE_UNIFORM_MAX_LENGTH 0x8B87 #define GL_OBJECT_ACTIVE_UNIFORM_MAX_LENGTH_ARB 0x8B87 #define GL_OBJECT_SHADER_SOURCE_LENGTH_ARB 0x8B88 #define GL_SHADER_SOURCE_LENGTH 0x8B88 #define GL_ACTIVE_ATTRIBUTES 0x8B89 #define GL_OBJECT_ACTIVE_ATTRIBUTES_ARB 0x8B89 #define GL_ACTIVE_ATTRIBUTE_MAX_LENGTH 0x8B8A #define GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB 0x8B8A #define GL_FRAGMENT_SHADER_DERIVATIVE_HINT 0x8B8B #define GL_FRAGMENT_SHADER_DERIVATIVE_HINT_ARB 0x8B8B #define GL_FRAGMENT_SHADER_DERIVATIVE_HINT_OES 0x8B8B #define GL_SHADING_LANGUAGE_VERSION 0x8B8C #define GL_SHADING_LANGUAGE_VERSION_ARB 0x8B8C #define GL_ACTIVE_PROGRAM_EXT 0x8B8D #define GL_CURRENT_PROGRAM 0x8B8D #define GL_PALETTE4_RGB8_OES 0x8B90 #define GL_PALETTE4_RGBA8_OES 0x8B91 #define GL_PALETTE4_R5_G6_B5_OES 0x8B92 #define GL_PALETTE4_RGBA4_OES 0x8B93 #define GL_PALETTE4_RGB5_A1_OES 0x8B94 #define GL_PALETTE8_RGB8_OES 0x8B95 #define GL_PALETTE8_RGBA8_OES 0x8B96 #define GL_PALETTE8_R5_G6_B5_OES 0x8B97 #define GL_PALETTE8_RGBA4_OES 0x8B98 #define GL_PALETTE8_RGB5_A1_OES 0x8B99 #define GL_IMPLEMENTATION_COLOR_READ_TYPE 0x8B9A #define GL_IMPLEMENTATION_COLOR_READ_TYPE_OES 0x8B9A #define GL_IMPLEMENTATION_COLOR_READ_FORMAT 0x8B9B #define GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES 0x8B9B #define GL_POINT_SIZE_ARRAY_OES 0x8B9C #define GL_TEXTURE_CROP_RECT_OES 0x8B9D #define GL_MATRIX_INDEX_ARRAY_BUFFER_BINDING_OES 0x8B9E #define GL_POINT_SIZE_ARRAY_BUFFER_BINDING_OES 0x8B9F #define GL_FRAGMENT_PROGRAM_POSITION_MESA 0x8BB0 #define GL_FRAGMENT_PROGRAM_CALLBACK_MESA 0x8BB1 #define GL_FRAGMENT_PROGRAM_CALLBACK_FUNC_MESA 0x8BB2 #define GL_FRAGMENT_PROGRAM_CALLBACK_DATA_MESA 0x8BB3 #define GL_VERTEX_PROGRAM_POSITION_MESA 0x8BB4 #define GL_VERTEX_PROGRAM_CALLBACK_MESA 0x8BB5 #define GL_VERTEX_PROGRAM_CALLBACK_FUNC_MESA 0x8BB6 #define GL_VERTEX_PROGRAM_CALLBACK_DATA_MESA 0x8BB7 #define GL_TILE_RASTER_ORDER_FIXED_MESA 0x8BB8 #define GL_TILE_RASTER_ORDER_INCREASING_X_MESA 0x8BB9 #define GL_TILE_RASTER_ORDER_INCREASING_Y_MESA 0x8BBA #define GL_FRAMEBUFFER_FLIP_Y_MESA 0x8BBB #define GL_COUNTER_TYPE_AMD 0x8BC0 #define GL_COUNTER_RANGE_AMD 0x8BC1 #define GL_UNSIGNED_INT64_AMD 0x8BC2 #define GL_PERCENTAGE_AMD 0x8BC3 #define GL_PERFMON_RESULT_AVAILABLE_AMD 0x8BC4 #define GL_PERFMON_RESULT_SIZE_AMD 0x8BC5 #define GL_PERFMON_RESULT_AMD 0x8BC6 #define GL_TEXTURE_WIDTH_QCOM 0x8BD2 #define GL_TEXTURE_HEIGHT_QCOM 0x8BD3 #define GL_TEXTURE_DEPTH_QCOM 0x8BD4 #define GL_TEXTURE_INTERNAL_FORMAT_QCOM 0x8BD5 #define GL_TEXTURE_FORMAT_QCOM 0x8BD6 #define GL_TEXTURE_TYPE_QCOM 0x8BD7 #define GL_TEXTURE_IMAGE_VALID_QCOM 0x8BD8 #define GL_TEXTURE_NUM_LEVELS_QCOM 0x8BD9 #define GL_TEXTURE_TARGET_QCOM 0x8BDA #define GL_TEXTURE_OBJECT_VALID_QCOM 0x8BDB #define GL_STATE_RESTORE 0x8BDC #define GL_SAMPLER_EXTERNAL_2D_Y2Y_EXT 0x8BE7 #define GL_TEXTURE_PROTECTED_EXT 0x8BFA #define GL_TEXTURE_FOVEATED_FEATURE_BITS_QCOM 0x8BFB #define GL_TEXTURE_FOVEATED_MIN_PIXEL_DENSITY_QCOM 0x8BFC #define GL_TEXTURE_FOVEATED_FEATURE_QUERY_QCOM 0x8BFD #define GL_TEXTURE_FOVEATED_NUM_FOCAL_POINTS_QUERY_QCOM 0x8BFE #define GL_FRAMEBUFFER_INCOMPLETE_FOVEATION_QCOM 0x8BFF #define GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG 0x8C00 #define GL_COMPRESSED_RGB_PVRTC_2BPPV1_IMG 0x8C01 #define GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG 0x8C02 #define GL_COMPRESSED_RGBA_PVRTC_2BPPV1_IMG 0x8C03 #define GL_MODULATE_COLOR_IMG 0x8C04 #define GL_RECIP_ADD_SIGNED_ALPHA_IMG 0x8C05 #define GL_TEXTURE_ALPHA_MODULATE_IMG 0x8C06 #define GL_FACTOR_ALPHA_MODULATE_IMG 0x8C07 #define GL_FRAGMENT_ALPHA_MODULATE_IMG 0x8C08 #define GL_ADD_BLEND_IMG 0x8C09 #define GL_SGX_BINARY_IMG 0x8C0A #define GL_TEXTURE_RED_TYPE 0x8C10 #define GL_TEXTURE_RED_TYPE_ARB 0x8C10 #define GL_TEXTURE_GREEN_TYPE 0x8C11 #define GL_TEXTURE_GREEN_TYPE_ARB 0x8C11 #define GL_TEXTURE_BLUE_TYPE 0x8C12 #define GL_TEXTURE_BLUE_TYPE_ARB 0x8C12 #define GL_TEXTURE_ALPHA_TYPE 0x8C13 #define GL_TEXTURE_ALPHA_TYPE_ARB 0x8C13 #define GL_TEXTURE_LUMINANCE_TYPE 0x8C14 #define GL_TEXTURE_LUMINANCE_TYPE_ARB 0x8C14 #define GL_TEXTURE_INTENSITY_TYPE 0x8C15 #define GL_TEXTURE_INTENSITY_TYPE_ARB 0x8C15 #define GL_TEXTURE_DEPTH_TYPE 0x8C16 #define GL_TEXTURE_DEPTH_TYPE_ARB 0x8C16 #define GL_UNSIGNED_NORMALIZED 0x8C17 #define GL_UNSIGNED_NORMALIZED_ARB 0x8C17 #define GL_UNSIGNED_NORMALIZED_EXT 0x8C17 #define GL_TEXTURE_1D_ARRAY 0x8C18 #define GL_TEXTURE_1D_ARRAY_EXT 0x8C18 #define GL_PROXY_TEXTURE_1D_ARRAY 0x8C19 #define GL_PROXY_TEXTURE_1D_ARRAY_EXT 0x8C19 #define GL_TEXTURE_2D_ARRAY 0x8C1A #define GL_TEXTURE_2D_ARRAY_EXT 0x8C1A #define GL_PROXY_TEXTURE_2D_ARRAY 0x8C1B #define GL_PROXY_TEXTURE_2D_ARRAY_EXT 0x8C1B #define GL_TEXTURE_BINDING_1D_ARRAY 0x8C1C #define GL_TEXTURE_BINDING_1D_ARRAY_EXT 0x8C1C #define GL_TEXTURE_BINDING_2D_ARRAY 0x8C1D #define GL_TEXTURE_BINDING_2D_ARRAY_EXT 0x8C1D #define GL_GEOMETRY_PROGRAM_NV 0x8C26 #define GL_MAX_PROGRAM_OUTPUT_VERTICES_NV 0x8C27 #define GL_MAX_PROGRAM_TOTAL_OUTPUT_COMPONENTS_NV 0x8C28 #define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS 0x8C29 #define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_ARB 0x8C29 #define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_EXT 0x8C29 #define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_OES 0x8C29 #define GL_TEXTURE_BUFFER 0x8C2A #define GL_TEXTURE_BUFFER_ARB 0x8C2A #define GL_TEXTURE_BUFFER_BINDING 0x8C2A #define GL_TEXTURE_BUFFER_BINDING_EXT 0x8C2A #define GL_TEXTURE_BUFFER_BINDING_OES 0x8C2A #define GL_TEXTURE_BUFFER_EXT 0x8C2A #define GL_TEXTURE_BUFFER_OES 0x8C2A #define GL_MAX_TEXTURE_BUFFER_SIZE 0x8C2B #define GL_MAX_TEXTURE_BUFFER_SIZE_ARB 0x8C2B #define GL_MAX_TEXTURE_BUFFER_SIZE_EXT 0x8C2B #define GL_MAX_TEXTURE_BUFFER_SIZE_OES 0x8C2B #define GL_TEXTURE_BINDING_BUFFER 0x8C2C #define GL_TEXTURE_BINDING_BUFFER_ARB 0x8C2C #define GL_TEXTURE_BINDING_BUFFER_EXT 0x8C2C #define GL_TEXTURE_BINDING_BUFFER_OES 0x8C2C #define GL_TEXTURE_BUFFER_DATA_STORE_BINDING 0x8C2D #define GL_TEXTURE_BUFFER_DATA_STORE_BINDING_ARB 0x8C2D #define GL_TEXTURE_BUFFER_DATA_STORE_BINDING_EXT 0x8C2D #define GL_TEXTURE_BUFFER_DATA_STORE_BINDING_OES 0x8C2D #define GL_TEXTURE_BUFFER_FORMAT_ARB 0x8C2E #define GL_TEXTURE_BUFFER_FORMAT_EXT 0x8C2E #define GL_ANY_SAMPLES_PASSED 0x8C2F #define GL_ANY_SAMPLES_PASSED_EXT 0x8C2F #define GL_SAMPLE_SHADING 0x8C36 #define GL_SAMPLE_SHADING_ARB 0x8C36 #define GL_SAMPLE_SHADING_OES 0x8C36 #define GL_MIN_SAMPLE_SHADING_VALUE 0x8C37 #define GL_MIN_SAMPLE_SHADING_VALUE_ARB 0x8C37 #define GL_MIN_SAMPLE_SHADING_VALUE_OES 0x8C37 #define GL_R11F_G11F_B10F 0x8C3A #define GL_R11F_G11F_B10F_APPLE 0x8C3A #define GL_R11F_G11F_B10F_EXT 0x8C3A #define GL_UNSIGNED_INT_10F_11F_11F_REV 0x8C3B #define GL_UNSIGNED_INT_10F_11F_11F_REV_APPLE 0x8C3B #define GL_UNSIGNED_INT_10F_11F_11F_REV_EXT 0x8C3B #define GL_RGBA_SIGNED_COMPONENTS_EXT 0x8C3C #define GL_RGB9_E5 0x8C3D #define GL_RGB9_E5_APPLE 0x8C3D #define GL_RGB9_E5_EXT 0x8C3D #define GL_UNSIGNED_INT_5_9_9_9_REV 0x8C3E #define GL_UNSIGNED_INT_5_9_9_9_REV_APPLE 0x8C3E #define GL_UNSIGNED_INT_5_9_9_9_REV_EXT 0x8C3E #define GL_TEXTURE_SHARED_SIZE 0x8C3F #define GL_TEXTURE_SHARED_SIZE_EXT 0x8C3F #define GL_SRGB 0x8C40 #define GL_SRGB_EXT 0x8C40 #define GL_SRGB8 0x8C41 #define GL_SRGB8_EXT 0x8C41 #define GL_SRGB8_NV 0x8C41 #define GL_SRGB_ALPHA 0x8C42 #define GL_SRGB_ALPHA_EXT 0x8C42 #define GL_SRGB8_ALPHA8 0x8C43 #define GL_SRGB8_ALPHA8_EXT 0x8C43 #define GL_SLUMINANCE_ALPHA 0x8C44 #define GL_SLUMINANCE_ALPHA_EXT 0x8C44 #define GL_SLUMINANCE_ALPHA_NV 0x8C44 #define GL_SLUMINANCE8_ALPHA8 0x8C45 #define GL_SLUMINANCE8_ALPHA8_EXT 0x8C45 #define GL_SLUMINANCE8_ALPHA8_NV 0x8C45 #define GL_SLUMINANCE 0x8C46 #define GL_SLUMINANCE_EXT 0x8C46 #define GL_SLUMINANCE_NV 0x8C46 #define GL_SLUMINANCE8 0x8C47 #define GL_SLUMINANCE8_EXT 0x8C47 #define GL_SLUMINANCE8_NV 0x8C47 #define GL_COMPRESSED_SRGB 0x8C48 #define GL_COMPRESSED_SRGB_EXT 0x8C48 #define GL_COMPRESSED_SRGB_ALPHA 0x8C49 #define GL_COMPRESSED_SRGB_ALPHA_EXT 0x8C49 #define GL_COMPRESSED_SLUMINANCE 0x8C4A #define GL_COMPRESSED_SLUMINANCE_EXT 0x8C4A #define GL_COMPRESSED_SLUMINANCE_ALPHA 0x8C4B #define GL_COMPRESSED_SLUMINANCE_ALPHA_EXT 0x8C4B #define GL_COMPRESSED_SRGB_S3TC_DXT1_EXT 0x8C4C #define GL_COMPRESSED_SRGB_S3TC_DXT1_NV 0x8C4C #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT 0x8C4D #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_NV 0x8C4D #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT 0x8C4E #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_NV 0x8C4E #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT 0x8C4F #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_NV 0x8C4F #define GL_COMPRESSED_LUMINANCE_LATC1_EXT 0x8C70 #define GL_COMPRESSED_SIGNED_LUMINANCE_LATC1_EXT 0x8C71 #define GL_COMPRESSED_LUMINANCE_ALPHA_LATC2_EXT 0x8C72 #define GL_COMPRESSED_SIGNED_LUMINANCE_ALPHA_LATC2_EXT 0x8C73 #define GL_TESS_CONTROL_PROGRAM_PARAMETER_BUFFER_NV 0x8C74 #define GL_TESS_EVALUATION_PROGRAM_PARAMETER_BUFFER_NV 0x8C75 #define GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH 0x8C76 #define GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH_EXT 0x8C76 #define GL_BACK_PRIMARY_COLOR_NV 0x8C77 #define GL_BACK_SECONDARY_COLOR_NV 0x8C78 #define GL_TEXTURE_COORD_NV 0x8C79 #define GL_CLIP_DISTANCE_NV 0x8C7A #define GL_VERTEX_ID_NV 0x8C7B #define GL_PRIMITIVE_ID_NV 0x8C7C #define GL_GENERIC_ATTRIB_NV 0x8C7D #define GL_TRANSFORM_FEEDBACK_ATTRIBS_NV 0x8C7E #define GL_TRANSFORM_FEEDBACK_BUFFER_MODE 0x8C7F #define GL_TRANSFORM_FEEDBACK_BUFFER_MODE_EXT 0x8C7F #define GL_TRANSFORM_FEEDBACK_BUFFER_MODE_NV 0x8C7F #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS 0x8C80 #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS_EXT 0x8C80 #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS_NV 0x8C80 #define GL_ACTIVE_VARYINGS_NV 0x8C81 #define GL_ACTIVE_VARYING_MAX_LENGTH_NV 0x8C82 #define GL_TRANSFORM_FEEDBACK_VARYINGS 0x8C83 #define GL_TRANSFORM_FEEDBACK_VARYINGS_EXT 0x8C83 #define GL_TRANSFORM_FEEDBACK_VARYINGS_NV 0x8C83 #define GL_TRANSFORM_FEEDBACK_BUFFER_START 0x8C84 #define GL_TRANSFORM_FEEDBACK_BUFFER_START_EXT 0x8C84 #define GL_TRANSFORM_FEEDBACK_BUFFER_START_NV 0x8C84 #define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE 0x8C85 #define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE_EXT 0x8C85 #define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE_NV 0x8C85 #define GL_TRANSFORM_FEEDBACK_RECORD_NV 0x8C86 #define GL_PRIMITIVES_GENERATED 0x8C87 #define GL_PRIMITIVES_GENERATED_EXT 0x8C87 #define GL_PRIMITIVES_GENERATED_NV 0x8C87 #define GL_PRIMITIVES_GENERATED_OES 0x8C87 #define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN 0x8C88 #define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN_EXT 0x8C88 #define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN_NV 0x8C88 #define GL_RASTERIZER_DISCARD 0x8C89 #define GL_RASTERIZER_DISCARD_EXT 0x8C89 #define GL_RASTERIZER_DISCARD_NV 0x8C89 #define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS 0x8C8A #define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS_EXT 0x8C8A #define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS_NV 0x8C8A #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS 0x8C8B #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS_EXT 0x8C8B #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS_NV 0x8C8B #define GL_INTERLEAVED_ATTRIBS 0x8C8C #define GL_INTERLEAVED_ATTRIBS_EXT 0x8C8C #define GL_INTERLEAVED_ATTRIBS_NV 0x8C8C #define GL_SEPARATE_ATTRIBS 0x8C8D #define GL_SEPARATE_ATTRIBS_EXT 0x8C8D #define GL_SEPARATE_ATTRIBS_NV 0x8C8D #define GL_TRANSFORM_FEEDBACK_BUFFER 0x8C8E #define GL_TRANSFORM_FEEDBACK_BUFFER_EXT 0x8C8E #define GL_TRANSFORM_FEEDBACK_BUFFER_NV 0x8C8E #define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING 0x8C8F #define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING_EXT 0x8C8F #define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING_NV 0x8C8F #define GL_ATC_RGB_AMD 0x8C92 #define GL_ATC_RGBA_EXPLICIT_ALPHA_AMD 0x8C93 #define GL_POINT_SPRITE_COORD_ORIGIN 0x8CA0 #define GL_LOWER_LEFT 0x8CA1 #define GL_LOWER_LEFT_EXT 0x8CA1 #define GL_UPPER_LEFT 0x8CA2 #define GL_UPPER_LEFT_EXT 0x8CA2 #define GL_STENCIL_BACK_REF 0x8CA3 #define GL_STENCIL_BACK_VALUE_MASK 0x8CA4 #define GL_STENCIL_BACK_WRITEMASK 0x8CA5 #define GL_DRAW_FRAMEBUFFER_BINDING 0x8CA6 #define GL_DRAW_FRAMEBUFFER_BINDING_ANGLE 0x8CA6 #define GL_DRAW_FRAMEBUFFER_BINDING_APPLE 0x8CA6 #define GL_DRAW_FRAMEBUFFER_BINDING_EXT 0x8CA6 #define GL_DRAW_FRAMEBUFFER_BINDING_NV 0x8CA6 #define GL_FRAMEBUFFER_BINDING 0x8CA6 #define GL_FRAMEBUFFER_BINDING_ANGLE 0x8CA6 #define GL_FRAMEBUFFER_BINDING_EXT 0x8CA6 #define GL_FRAMEBUFFER_BINDING_OES 0x8CA6 #define GL_RENDERBUFFER_BINDING 0x8CA7 #define GL_RENDERBUFFER_BINDING_ANGLE 0x8CA7 #define GL_RENDERBUFFER_BINDING_EXT 0x8CA7 #define GL_RENDERBUFFER_BINDING_OES 0x8CA7 #define GL_READ_FRAMEBUFFER 0x8CA8 #define GL_READ_FRAMEBUFFER_ANGLE 0x8CA8 #define GL_READ_FRAMEBUFFER_APPLE 0x8CA8 #define GL_READ_FRAMEBUFFER_EXT 0x8CA8 #define GL_READ_FRAMEBUFFER_NV 0x8CA8 #define GL_DRAW_FRAMEBUFFER 0x8CA9 #define GL_DRAW_FRAMEBUFFER_ANGLE 0x8CA9 #define GL_DRAW_FRAMEBUFFER_APPLE 0x8CA9 #define GL_DRAW_FRAMEBUFFER_EXT 0x8CA9 #define GL_DRAW_FRAMEBUFFER_NV 0x8CA9 #define GL_READ_FRAMEBUFFER_BINDING 0x8CAA #define GL_READ_FRAMEBUFFER_BINDING_ANGLE 0x8CAA #define GL_READ_FRAMEBUFFER_BINDING_APPLE 0x8CAA #define GL_READ_FRAMEBUFFER_BINDING_EXT 0x8CAA #define GL_READ_FRAMEBUFFER_BINDING_NV 0x8CAA #define GL_RENDERBUFFER_COVERAGE_SAMPLES_NV 0x8CAB #define GL_RENDERBUFFER_SAMPLES 0x8CAB #define GL_RENDERBUFFER_SAMPLES_ANGLE 0x8CAB #define GL_RENDERBUFFER_SAMPLES_APPLE 0x8CAB #define GL_RENDERBUFFER_SAMPLES_EXT 0x8CAB #define GL_RENDERBUFFER_SAMPLES_NV 0x8CAB #define GL_DEPTH_COMPONENT32F 0x8CAC #define GL_DEPTH32F_STENCIL8 0x8CAD #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE 0x8CD0 #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT 0x8CD0 #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_OES 0x8CD0 #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME 0x8CD1 #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT 0x8CD1 #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_OES 0x8CD1 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL 0x8CD2 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT 0x8CD2 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_OES 0x8CD2 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE 0x8CD3 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT 0x8CD3 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_OES 0x8CD3 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT 0x8CD4 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_OES 0x8CD4 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER 0x8CD4 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT 0x8CD4 #define GL_FRAMEBUFFER_COMPLETE 0x8CD5 #define GL_FRAMEBUFFER_COMPLETE_EXT 0x8CD5 #define GL_FRAMEBUFFER_COMPLETE_OES 0x8CD5 #define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT 0x8CD6 #define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT 0x8CD6 #define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_OES 0x8CD6 #define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT 0x8CD7 #define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT 0x8CD7 #define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_OES 0x8CD7 #define GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS 0x8CD9 #define GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT 0x8CD9 #define GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_OES 0x8CD9 #define GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT 0x8CDA #define GL_FRAMEBUFFER_INCOMPLETE_FORMATS_OES 0x8CDA #define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER 0x8CDB #define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT 0x8CDB #define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_OES 0x8CDB #define GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER 0x8CDC #define GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT 0x8CDC #define GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_OES 0x8CDC #define GL_FRAMEBUFFER_UNSUPPORTED 0x8CDD #define GL_FRAMEBUFFER_UNSUPPORTED_EXT 0x8CDD #define GL_FRAMEBUFFER_UNSUPPORTED_OES 0x8CDD #define GL_MAX_COLOR_ATTACHMENTS 0x8CDF #define GL_MAX_COLOR_ATTACHMENTS_EXT 0x8CDF #define GL_MAX_COLOR_ATTACHMENTS_NV 0x8CDF #define GL_COLOR_ATTACHMENT0 0x8CE0 #define GL_COLOR_ATTACHMENT0_EXT 0x8CE0 #define GL_COLOR_ATTACHMENT0_NV 0x8CE0 #define GL_COLOR_ATTACHMENT0_OES 0x8CE0 #define GL_COLOR_ATTACHMENT1 0x8CE1 #define GL_COLOR_ATTACHMENT1_EXT 0x8CE1 #define GL_COLOR_ATTACHMENT1_NV 0x8CE1 #define GL_COLOR_ATTACHMENT2 0x8CE2 #define GL_COLOR_ATTACHMENT2_EXT 0x8CE2 #define GL_COLOR_ATTACHMENT2_NV 0x8CE2 #define GL_COLOR_ATTACHMENT3 0x8CE3 #define GL_COLOR_ATTACHMENT3_EXT 0x8CE3 #define GL_COLOR_ATTACHMENT3_NV 0x8CE3 #define GL_COLOR_ATTACHMENT4 0x8CE4 #define GL_COLOR_ATTACHMENT4_EXT 0x8CE4 #define GL_COLOR_ATTACHMENT4_NV 0x8CE4 #define GL_COLOR_ATTACHMENT5 0x8CE5 #define GL_COLOR_ATTACHMENT5_EXT 0x8CE5 #define GL_COLOR_ATTACHMENT5_NV 0x8CE5 #define GL_COLOR_ATTACHMENT6 0x8CE6 #define GL_COLOR_ATTACHMENT6_EXT 0x8CE6 #define GL_COLOR_ATTACHMENT6_NV 0x8CE6 #define GL_COLOR_ATTACHMENT7 0x8CE7 #define GL_COLOR_ATTACHMENT7_EXT 0x8CE7 #define GL_COLOR_ATTACHMENT7_NV 0x8CE7 #define GL_COLOR_ATTACHMENT8 0x8CE8 #define GL_COLOR_ATTACHMENT8_EXT 0x8CE8 #define GL_COLOR_ATTACHMENT8_NV 0x8CE8 #define GL_COLOR_ATTACHMENT9 0x8CE9 #define GL_COLOR_ATTACHMENT9_EXT 0x8CE9 #define GL_COLOR_ATTACHMENT9_NV 0x8CE9 #define GL_COLOR_ATTACHMENT10 0x8CEA #define GL_COLOR_ATTACHMENT10_EXT 0x8CEA #define GL_COLOR_ATTACHMENT10_NV 0x8CEA #define GL_COLOR_ATTACHMENT11 0x8CEB #define GL_COLOR_ATTACHMENT11_EXT 0x8CEB #define GL_COLOR_ATTACHMENT11_NV 0x8CEB #define GL_COLOR_ATTACHMENT12 0x8CEC #define GL_COLOR_ATTACHMENT12_EXT 0x8CEC #define GL_COLOR_ATTACHMENT12_NV 0x8CEC #define GL_COLOR_ATTACHMENT13 0x8CED #define GL_COLOR_ATTACHMENT13_EXT 0x8CED #define GL_COLOR_ATTACHMENT13_NV 0x8CED #define GL_COLOR_ATTACHMENT14 0x8CEE #define GL_COLOR_ATTACHMENT14_EXT 0x8CEE #define GL_COLOR_ATTACHMENT14_NV 0x8CEE #define GL_COLOR_ATTACHMENT15 0x8CEF #define GL_COLOR_ATTACHMENT15_EXT 0x8CEF #define GL_COLOR_ATTACHMENT15_NV 0x8CEF #define GL_COLOR_ATTACHMENT16 0x8CF0 #define GL_COLOR_ATTACHMENT17 0x8CF1 #define GL_COLOR_ATTACHMENT18 0x8CF2 #define GL_COLOR_ATTACHMENT19 0x8CF3 #define GL_COLOR_ATTACHMENT20 0x8CF4 #define GL_COLOR_ATTACHMENT21 0x8CF5 #define GL_COLOR_ATTACHMENT22 0x8CF6 #define GL_COLOR_ATTACHMENT23 0x8CF7 #define GL_COLOR_ATTACHMENT24 0x8CF8 #define GL_COLOR_ATTACHMENT25 0x8CF9 #define GL_COLOR_ATTACHMENT26 0x8CFA #define GL_COLOR_ATTACHMENT27 0x8CFB #define GL_COLOR_ATTACHMENT28 0x8CFC #define GL_COLOR_ATTACHMENT29 0x8CFD #define GL_COLOR_ATTACHMENT30 0x8CFE #define GL_COLOR_ATTACHMENT31 0x8CFF #define GL_DEPTH_ATTACHMENT 0x8D00 #define GL_DEPTH_ATTACHMENT_EXT 0x8D00 #define GL_DEPTH_ATTACHMENT_OES 0x8D00 #define GL_STENCIL_ATTACHMENT 0x8D20 #define GL_STENCIL_ATTACHMENT_EXT 0x8D20 #define GL_STENCIL_ATTACHMENT_OES 0x8D20 #define GL_FRAMEBUFFER 0x8D40 #define GL_FRAMEBUFFER_EXT 0x8D40 #define GL_FRAMEBUFFER_OES 0x8D40 #define GL_RENDERBUFFER 0x8D41 #define GL_RENDERBUFFER_EXT 0x8D41 #define GL_RENDERBUFFER_OES 0x8D41 #define GL_RENDERBUFFER_WIDTH 0x8D42 #define GL_RENDERBUFFER_WIDTH_EXT 0x8D42 #define GL_RENDERBUFFER_WIDTH_OES 0x8D42 #define GL_RENDERBUFFER_HEIGHT 0x8D43 #define GL_RENDERBUFFER_HEIGHT_EXT 0x8D43 #define GL_RENDERBUFFER_HEIGHT_OES 0x8D43 #define GL_RENDERBUFFER_INTERNAL_FORMAT 0x8D44 #define GL_RENDERBUFFER_INTERNAL_FORMAT_EXT 0x8D44 #define GL_RENDERBUFFER_INTERNAL_FORMAT_OES 0x8D44 #define GL_STENCIL_INDEX1 0x8D46 #define GL_STENCIL_INDEX1_EXT 0x8D46 #define GL_STENCIL_INDEX1_OES 0x8D46 #define GL_STENCIL_INDEX4 0x8D47 #define GL_STENCIL_INDEX4_EXT 0x8D47 #define GL_STENCIL_INDEX4_OES 0x8D47 #define GL_STENCIL_INDEX8 0x8D48 #define GL_STENCIL_INDEX8_EXT 0x8D48 #define GL_STENCIL_INDEX8_OES 0x8D48 #define GL_STENCIL_INDEX16 0x8D49 #define GL_STENCIL_INDEX16_EXT 0x8D49 #define GL_RENDERBUFFER_RED_SIZE 0x8D50 #define GL_RENDERBUFFER_RED_SIZE_EXT 0x8D50 #define GL_RENDERBUFFER_RED_SIZE_OES 0x8D50 #define GL_RENDERBUFFER_GREEN_SIZE 0x8D51 #define GL_RENDERBUFFER_GREEN_SIZE_EXT 0x8D51 #define GL_RENDERBUFFER_GREEN_SIZE_OES 0x8D51 #define GL_RENDERBUFFER_BLUE_SIZE 0x8D52 #define GL_RENDERBUFFER_BLUE_SIZE_EXT 0x8D52 #define GL_RENDERBUFFER_BLUE_SIZE_OES 0x8D52 #define GL_RENDERBUFFER_ALPHA_SIZE 0x8D53 #define GL_RENDERBUFFER_ALPHA_SIZE_EXT 0x8D53 #define GL_RENDERBUFFER_ALPHA_SIZE_OES 0x8D53 #define GL_RENDERBUFFER_DEPTH_SIZE 0x8D54 #define GL_RENDERBUFFER_DEPTH_SIZE_EXT 0x8D54 #define GL_RENDERBUFFER_DEPTH_SIZE_OES 0x8D54 #define GL_RENDERBUFFER_STENCIL_SIZE 0x8D55 #define GL_RENDERBUFFER_STENCIL_SIZE_EXT 0x8D55 #define GL_RENDERBUFFER_STENCIL_SIZE_OES 0x8D55 #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE 0x8D56 #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_ANGLE 0x8D56 #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_APPLE 0x8D56 #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT 0x8D56 #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_NV 0x8D56 #define GL_MAX_SAMPLES 0x8D57 #define GL_MAX_SAMPLES_ANGLE 0x8D57 #define GL_MAX_SAMPLES_APPLE 0x8D57 #define GL_MAX_SAMPLES_EXT 0x8D57 #define GL_MAX_SAMPLES_NV 0x8D57 #define GL_TEXTURE_GEN_STR_OES 0x8D60 #define GL_HALF_FLOAT_OES 0x8D61 #define GL_RGB565 0x8D62 #define GL_RGB565_OES 0x8D62 #define GL_ETC1_RGB8_OES 0x8D64 #define GL_TEXTURE_EXTERNAL_OES 0x8D65 #define GL_SAMPLER_EXTERNAL_OES 0x8D66 #define GL_TEXTURE_BINDING_EXTERNAL_OES 0x8D67 #define GL_REQUIRED_TEXTURE_IMAGE_UNITS_OES 0x8D68 #define GL_PRIMITIVE_RESTART_FIXED_INDEX 0x8D69 #define GL_ANY_SAMPLES_PASSED_CONSERVATIVE 0x8D6A #define GL_ANY_SAMPLES_PASSED_CONSERVATIVE_EXT 0x8D6A #define GL_MAX_ELEMENT_INDEX 0x8D6B #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_SAMPLES_EXT 0x8D6C #define GL_RGBA32UI 0x8D70 #define GL_RGBA32UI_EXT 0x8D70 #define GL_RGB32UI 0x8D71 #define GL_RGB32UI_EXT 0x8D71 #define GL_ALPHA32UI_EXT 0x8D72 #define GL_INTENSITY32UI_EXT 0x8D73 #define GL_LUMINANCE32UI_EXT 0x8D74 #define GL_LUMINANCE_ALPHA32UI_EXT 0x8D75 #define GL_RGBA16UI 0x8D76 #define GL_RGBA16UI_EXT 0x8D76 #define GL_RGB16UI 0x8D77 #define GL_RGB16UI_EXT 0x8D77 #define GL_ALPHA16UI_EXT 0x8D78 #define GL_INTENSITY16UI_EXT 0x8D79 #define GL_LUMINANCE16UI_EXT 0x8D7A #define GL_LUMINANCE_ALPHA16UI_EXT 0x8D7B #define GL_RGBA8UI 0x8D7C #define GL_RGBA8UI_EXT 0x8D7C #define GL_RGB8UI 0x8D7D #define GL_RGB8UI_EXT 0x8D7D #define GL_ALPHA8UI_EXT 0x8D7E #define GL_INTENSITY8UI_EXT 0x8D7F #define GL_LUMINANCE8UI_EXT 0x8D80 #define GL_LUMINANCE_ALPHA8UI_EXT 0x8D81 #define GL_RGBA32I 0x8D82 #define GL_RGBA32I_EXT 0x8D82 #define GL_RGB32I 0x8D83 #define GL_RGB32I_EXT 0x8D83 #define GL_ALPHA32I_EXT 0x8D84 #define GL_INTENSITY32I_EXT 0x8D85 #define GL_LUMINANCE32I_EXT 0x8D86 #define GL_LUMINANCE_ALPHA32I_EXT 0x8D87 #define GL_RGBA16I 0x8D88 #define GL_RGBA16I_EXT 0x8D88 #define GL_RGB16I 0x8D89 #define GL_RGB16I_EXT 0x8D89 #define GL_ALPHA16I_EXT 0x8D8A #define GL_INTENSITY16I_EXT 0x8D8B #define GL_LUMINANCE16I_EXT 0x8D8C #define GL_LUMINANCE_ALPHA16I_EXT 0x8D8D #define GL_RGBA8I 0x8D8E #define GL_RGBA8I_EXT 0x8D8E #define GL_RGB8I 0x8D8F #define GL_RGB8I_EXT 0x8D8F #define GL_ALPHA8I_EXT 0x8D90 #define GL_INTENSITY8I_EXT 0x8D91 #define GL_LUMINANCE8I_EXT 0x8D92 #define GL_LUMINANCE_ALPHA8I_EXT 0x8D93 #define GL_RED_INTEGER 0x8D94 #define GL_RED_INTEGER_EXT 0x8D94 #define GL_GREEN_INTEGER 0x8D95 #define GL_GREEN_INTEGER_EXT 0x8D95 #define GL_BLUE_INTEGER 0x8D96 #define GL_BLUE_INTEGER_EXT 0x8D96 #define GL_ALPHA_INTEGER 0x8D97 #define GL_ALPHA_INTEGER_EXT 0x8D97 #define GL_RGB_INTEGER 0x8D98 #define GL_RGB_INTEGER_EXT 0x8D98 #define GL_RGBA_INTEGER 0x8D99 #define GL_RGBA_INTEGER_EXT 0x8D99 #define GL_BGR_INTEGER 0x8D9A #define GL_BGR_INTEGER_EXT 0x8D9A #define GL_BGRA_INTEGER 0x8D9B #define GL_BGRA_INTEGER_EXT 0x8D9B #define GL_LUMINANCE_INTEGER_EXT 0x8D9C #define GL_LUMINANCE_ALPHA_INTEGER_EXT 0x8D9D #define GL_RGBA_INTEGER_MODE_EXT 0x8D9E #define GL_INT_2_10_10_10_REV 0x8D9F #define GL_MAX_PROGRAM_PARAMETER_BUFFER_BINDINGS_NV 0x8DA0 #define GL_MAX_PROGRAM_PARAMETER_BUFFER_SIZE_NV 0x8DA1 #define GL_VERTEX_PROGRAM_PARAMETER_BUFFER_NV 0x8DA2 #define GL_GEOMETRY_PROGRAM_PARAMETER_BUFFER_NV 0x8DA3 #define GL_FRAGMENT_PROGRAM_PARAMETER_BUFFER_NV 0x8DA4 #define GL_MAX_PROGRAM_GENERIC_ATTRIBS_NV 0x8DA5 #define GL_MAX_PROGRAM_GENERIC_RESULTS_NV 0x8DA6 #define GL_FRAMEBUFFER_ATTACHMENT_LAYERED 0x8DA7 #define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_ARB 0x8DA7 #define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_EXT 0x8DA7 #define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_OES 0x8DA7 #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS 0x8DA8 #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_ARB 0x8DA8 #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_EXT 0x8DA8 #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_OES 0x8DA8 #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_ARB 0x8DA9 #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_EXT 0x8DA9 #define GL_LAYER_NV 0x8DAA #define GL_DEPTH_COMPONENT32F_NV 0x8DAB #define GL_DEPTH32F_STENCIL8_NV 0x8DAC #define GL_FLOAT_32_UNSIGNED_INT_24_8_REV 0x8DAD #define GL_FLOAT_32_UNSIGNED_INT_24_8_REV_NV 0x8DAD #define GL_SHADER_INCLUDE_ARB 0x8DAE #define GL_DEPTH_BUFFER_FLOAT_MODE_NV 0x8DAF #define GL_FRAMEBUFFER_SRGB 0x8DB9 #define GL_FRAMEBUFFER_SRGB_EXT 0x8DB9 #define GL_FRAMEBUFFER_SRGB_CAPABLE_EXT 0x8DBA #define GL_COMPRESSED_RED_RGTC1 0x8DBB #define GL_COMPRESSED_RED_RGTC1_EXT 0x8DBB #define GL_COMPRESSED_SIGNED_RED_RGTC1 0x8DBC #define GL_COMPRESSED_SIGNED_RED_RGTC1_EXT 0x8DBC #define GL_COMPRESSED_RED_GREEN_RGTC2_EXT 0x8DBD #define GL_COMPRESSED_RG_RGTC2 0x8DBD #define GL_COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT 0x8DBE #define GL_COMPRESSED_SIGNED_RG_RGTC2 0x8DBE #define GL_SAMPLER_1D_ARRAY 0x8DC0 #define GL_SAMPLER_1D_ARRAY_EXT 0x8DC0 #define GL_SAMPLER_2D_ARRAY 0x8DC1 #define GL_SAMPLER_2D_ARRAY_EXT 0x8DC1 #define GL_SAMPLER_BUFFER 0x8DC2 #define GL_SAMPLER_BUFFER_EXT 0x8DC2 #define GL_SAMPLER_BUFFER_OES 0x8DC2 #define GL_SAMPLER_1D_ARRAY_SHADOW 0x8DC3 #define GL_SAMPLER_1D_ARRAY_SHADOW_EXT 0x8DC3 #define GL_SAMPLER_2D_ARRAY_SHADOW 0x8DC4 #define GL_SAMPLER_2D_ARRAY_SHADOW_EXT 0x8DC4 #define GL_SAMPLER_2D_ARRAY_SHADOW_NV 0x8DC4 #define GL_SAMPLER_CUBE_SHADOW 0x8DC5 #define GL_SAMPLER_CUBE_SHADOW_EXT 0x8DC5 #define GL_SAMPLER_CUBE_SHADOW_NV 0x8DC5 #define GL_UNSIGNED_INT_VEC2 0x8DC6 #define GL_UNSIGNED_INT_VEC2_EXT 0x8DC6 #define GL_UNSIGNED_INT_VEC3 0x8DC7 #define GL_UNSIGNED_INT_VEC3_EXT 0x8DC7 #define GL_UNSIGNED_INT_VEC4 0x8DC8 #define GL_UNSIGNED_INT_VEC4_EXT 0x8DC8 #define GL_INT_SAMPLER_1D 0x8DC9 #define GL_INT_SAMPLER_1D_EXT 0x8DC9 #define GL_INT_SAMPLER_2D 0x8DCA #define GL_INT_SAMPLER_2D_EXT 0x8DCA #define GL_INT_SAMPLER_3D 0x8DCB #define GL_INT_SAMPLER_3D_EXT 0x8DCB #define GL_INT_SAMPLER_CUBE 0x8DCC #define GL_INT_SAMPLER_CUBE_EXT 0x8DCC #define GL_INT_SAMPLER_2D_RECT 0x8DCD #define GL_INT_SAMPLER_2D_RECT_EXT 0x8DCD #define GL_INT_SAMPLER_1D_ARRAY 0x8DCE #define GL_INT_SAMPLER_1D_ARRAY_EXT 0x8DCE #define GL_INT_SAMPLER_2D_ARRAY 0x8DCF #define GL_INT_SAMPLER_2D_ARRAY_EXT 0x8DCF #define GL_INT_SAMPLER_BUFFER 0x8DD0 #define GL_INT_SAMPLER_BUFFER_EXT 0x8DD0 #define GL_INT_SAMPLER_BUFFER_OES 0x8DD0 #define GL_UNSIGNED_INT_SAMPLER_1D 0x8DD1 #define GL_UNSIGNED_INT_SAMPLER_1D_EXT 0x8DD1 #define GL_UNSIGNED_INT_SAMPLER_2D 0x8DD2 #define GL_UNSIGNED_INT_SAMPLER_2D_EXT 0x8DD2 #define GL_UNSIGNED_INT_SAMPLER_3D 0x8DD3 #define GL_UNSIGNED_INT_SAMPLER_3D_EXT 0x8DD3 #define GL_UNSIGNED_INT_SAMPLER_CUBE 0x8DD4 #define GL_UNSIGNED_INT_SAMPLER_CUBE_EXT 0x8DD4 #define GL_UNSIGNED_INT_SAMPLER_2D_RECT 0x8DD5 #define GL_UNSIGNED_INT_SAMPLER_2D_RECT_EXT 0x8DD5 #define GL_UNSIGNED_INT_SAMPLER_1D_ARRAY 0x8DD6 #define GL_UNSIGNED_INT_SAMPLER_1D_ARRAY_EXT 0x8DD6 #define GL_UNSIGNED_INT_SAMPLER_2D_ARRAY 0x8DD7 #define GL_UNSIGNED_INT_SAMPLER_2D_ARRAY_EXT 0x8DD7 #define GL_UNSIGNED_INT_SAMPLER_BUFFER 0x8DD8 #define GL_UNSIGNED_INT_SAMPLER_BUFFER_EXT 0x8DD8 #define GL_UNSIGNED_INT_SAMPLER_BUFFER_OES 0x8DD8 #define GL_GEOMETRY_SHADER 0x8DD9 #define GL_GEOMETRY_SHADER_ARB 0x8DD9 #define GL_GEOMETRY_SHADER_EXT 0x8DD9 #define GL_GEOMETRY_SHADER_OES 0x8DD9 #define GL_GEOMETRY_VERTICES_OUT_ARB 0x8DDA #define GL_GEOMETRY_VERTICES_OUT_EXT 0x8DDA #define GL_GEOMETRY_INPUT_TYPE_ARB 0x8DDB #define GL_GEOMETRY_INPUT_TYPE_EXT 0x8DDB #define GL_GEOMETRY_OUTPUT_TYPE_ARB 0x8DDC #define GL_GEOMETRY_OUTPUT_TYPE_EXT 0x8DDC #define GL_MAX_GEOMETRY_VARYING_COMPONENTS_ARB 0x8DDD #define GL_MAX_GEOMETRY_VARYING_COMPONENTS_EXT 0x8DDD #define GL_MAX_VERTEX_VARYING_COMPONENTS_ARB 0x8DDE #define GL_MAX_VERTEX_VARYING_COMPONENTS_EXT 0x8DDE #define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS 0x8DDF #define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_ARB 0x8DDF #define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_EXT 0x8DDF #define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_OES 0x8DDF #define GL_MAX_GEOMETRY_OUTPUT_VERTICES 0x8DE0 #define GL_MAX_GEOMETRY_OUTPUT_VERTICES_ARB 0x8DE0 #define GL_MAX_GEOMETRY_OUTPUT_VERTICES_EXT 0x8DE0 #define GL_MAX_GEOMETRY_OUTPUT_VERTICES_OES 0x8DE0 #define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS 0x8DE1 #define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_ARB 0x8DE1 #define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_EXT 0x8DE1 #define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_OES 0x8DE1 #define GL_MAX_VERTEX_BINDABLE_UNIFORMS_EXT 0x8DE2 #define GL_MAX_FRAGMENT_BINDABLE_UNIFORMS_EXT 0x8DE3 #define GL_MAX_GEOMETRY_BINDABLE_UNIFORMS_EXT 0x8DE4 #define GL_ACTIVE_SUBROUTINES 0x8DE5 #define GL_ACTIVE_SUBROUTINE_UNIFORMS 0x8DE6 #define GL_MAX_SUBROUTINES 0x8DE7 #define GL_MAX_SUBROUTINE_UNIFORM_LOCATIONS 0x8DE8 #define GL_NAMED_STRING_LENGTH_ARB 0x8DE9 #define GL_NAMED_STRING_TYPE_ARB 0x8DEA #define GL_MAX_BINDABLE_UNIFORM_SIZE_EXT 0x8DED #define GL_UNIFORM_BUFFER_EXT 0x8DEE #define GL_UNIFORM_BUFFER_BINDING_EXT 0x8DEF #define GL_LOW_FLOAT 0x8DF0 #define GL_MEDIUM_FLOAT 0x8DF1 #define GL_HIGH_FLOAT 0x8DF2 #define GL_LOW_INT 0x8DF3 #define GL_MEDIUM_INT 0x8DF4 #define GL_HIGH_INT 0x8DF5 #define GL_UNSIGNED_INT_10_10_10_2_OES 0x8DF6 #define GL_INT_10_10_10_2_OES 0x8DF7 #define GL_SHADER_BINARY_FORMATS 0x8DF8 #define GL_NUM_SHADER_BINARY_FORMATS 0x8DF9 #define GL_SHADER_COMPILER 0x8DFA #define GL_MAX_VERTEX_UNIFORM_VECTORS 0x8DFB #define GL_MAX_VARYING_VECTORS 0x8DFC #define GL_MAX_FRAGMENT_UNIFORM_VECTORS 0x8DFD #define GL_RENDERBUFFER_COLOR_SAMPLES_NV 0x8E10 #define GL_MAX_MULTISAMPLE_COVERAGE_MODES_NV 0x8E11 #define GL_MULTISAMPLE_COVERAGE_MODES_NV 0x8E12 #define GL_QUERY_WAIT 0x8E13 #define GL_QUERY_WAIT_NV 0x8E13 #define GL_QUERY_NO_WAIT 0x8E14 #define GL_QUERY_NO_WAIT_NV 0x8E14 #define GL_QUERY_BY_REGION_WAIT 0x8E15 #define GL_QUERY_BY_REGION_WAIT_NV 0x8E15 #define GL_QUERY_BY_REGION_NO_WAIT 0x8E16 #define GL_QUERY_BY_REGION_NO_WAIT_NV 0x8E16 #define GL_QUERY_WAIT_INVERTED 0x8E17 #define GL_QUERY_NO_WAIT_INVERTED 0x8E18 #define GL_QUERY_BY_REGION_WAIT_INVERTED 0x8E19 #define GL_QUERY_BY_REGION_NO_WAIT_INVERTED 0x8E1A #define GL_POLYGON_OFFSET_CLAMP 0x8E1B #define GL_POLYGON_OFFSET_CLAMP_EXT 0x8E1B #define GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS 0x8E1E #define GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS_EXT 0x8E1E #define GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS_OES 0x8E1E #define GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS 0x8E1F #define GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS_EXT 0x8E1F #define GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS_OES 0x8E1F #define GL_COLOR_SAMPLES_NV 0x8E20 #define GL_TRANSFORM_FEEDBACK 0x8E22 #define GL_TRANSFORM_FEEDBACK_NV 0x8E22 #define GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED 0x8E23 #define GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED_NV 0x8E23 #define GL_TRANSFORM_FEEDBACK_PAUSED 0x8E23 #define GL_TRANSFORM_FEEDBACK_ACTIVE 0x8E24 #define GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE 0x8E24 #define GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE_NV 0x8E24 #define GL_TRANSFORM_FEEDBACK_BINDING 0x8E25 #define GL_TRANSFORM_FEEDBACK_BINDING_NV 0x8E25 #define GL_FRAME_NV 0x8E26 #define GL_FIELDS_NV 0x8E27 #define GL_CURRENT_TIME_NV 0x8E28 #define GL_TIMESTAMP 0x8E28 #define GL_TIMESTAMP_EXT 0x8E28 #define GL_NUM_FILL_STREAMS_NV 0x8E29 #define GL_PRESENT_TIME_NV 0x8E2A #define GL_PRESENT_DURATION_NV 0x8E2B #define GL_DEPTH_COMPONENT16_NONLINEAR_NV 0x8E2C #define GL_PROGRAM_MATRIX_EXT 0x8E2D #define GL_TRANSPOSE_PROGRAM_MATRIX_EXT 0x8E2E #define GL_PROGRAM_MATRIX_STACK_DEPTH_EXT 0x8E2F #define GL_TEXTURE_SWIZZLE_R 0x8E42 #define GL_TEXTURE_SWIZZLE_R_EXT 0x8E42 #define GL_TEXTURE_SWIZZLE_G 0x8E43 #define GL_TEXTURE_SWIZZLE_G_EXT 0x8E43 #define GL_TEXTURE_SWIZZLE_B 0x8E44 #define GL_TEXTURE_SWIZZLE_B_EXT 0x8E44 #define GL_TEXTURE_SWIZZLE_A 0x8E45 #define GL_TEXTURE_SWIZZLE_A_EXT 0x8E45 #define GL_TEXTURE_SWIZZLE_RGBA 0x8E46 #define GL_TEXTURE_SWIZZLE_RGBA_EXT 0x8E46 #define GL_ACTIVE_SUBROUTINE_UNIFORM_LOCATIONS 0x8E47 #define GL_ACTIVE_SUBROUTINE_MAX_LENGTH 0x8E48 #define GL_ACTIVE_SUBROUTINE_UNIFORM_MAX_LENGTH 0x8E49 #define GL_NUM_COMPATIBLE_SUBROUTINES 0x8E4A #define GL_COMPATIBLE_SUBROUTINES 0x8E4B #define GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION 0x8E4C #define GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION_EXT 0x8E4C #define GL_FIRST_VERTEX_CONVENTION 0x8E4D #define GL_FIRST_VERTEX_CONVENTION_EXT 0x8E4D #define GL_FIRST_VERTEX_CONVENTION_OES 0x8E4D #define GL_LAST_VERTEX_CONVENTION 0x8E4E #define GL_LAST_VERTEX_CONVENTION_EXT 0x8E4E #define GL_LAST_VERTEX_CONVENTION_OES 0x8E4E #define GL_PROVOKING_VERTEX 0x8E4F #define GL_PROVOKING_VERTEX_EXT 0x8E4F #define GL_SAMPLE_LOCATION_ARB 0x8E50 #define GL_SAMPLE_LOCATION_NV 0x8E50 #define GL_SAMPLE_POSITION 0x8E50 #define GL_SAMPLE_POSITION_NV 0x8E50 #define GL_SAMPLE_MASK 0x8E51 #define GL_SAMPLE_MASK_NV 0x8E51 #define GL_SAMPLE_MASK_VALUE 0x8E52 #define GL_SAMPLE_MASK_VALUE_NV 0x8E52 #define GL_TEXTURE_BINDING_RENDERBUFFER_NV 0x8E53 #define GL_TEXTURE_RENDERBUFFER_DATA_STORE_BINDING_NV 0x8E54 #define GL_TEXTURE_RENDERBUFFER_NV 0x8E55 #define GL_SAMPLER_RENDERBUFFER_NV 0x8E56 #define GL_INT_SAMPLER_RENDERBUFFER_NV 0x8E57 #define GL_UNSIGNED_INT_SAMPLER_RENDERBUFFER_NV 0x8E58 #define GL_MAX_SAMPLE_MASK_WORDS 0x8E59 #define GL_MAX_SAMPLE_MASK_WORDS_NV 0x8E59 #define GL_MAX_GEOMETRY_PROGRAM_INVOCATIONS_NV 0x8E5A #define GL_MAX_GEOMETRY_SHADER_INVOCATIONS 0x8E5A #define GL_MAX_GEOMETRY_SHADER_INVOCATIONS_EXT 0x8E5A #define GL_MAX_GEOMETRY_SHADER_INVOCATIONS_OES 0x8E5A #define GL_MIN_FRAGMENT_INTERPOLATION_OFFSET 0x8E5B #define GL_MIN_FRAGMENT_INTERPOLATION_OFFSET_NV 0x8E5B #define GL_MIN_FRAGMENT_INTERPOLATION_OFFSET_OES 0x8E5B #define GL_MAX_FRAGMENT_INTERPOLATION_OFFSET 0x8E5C #define GL_MAX_FRAGMENT_INTERPOLATION_OFFSET_NV 0x8E5C #define GL_MAX_FRAGMENT_INTERPOLATION_OFFSET_OES 0x8E5C #define GL_FRAGMENT_INTERPOLATION_OFFSET_BITS 0x8E5D #define GL_FRAGMENT_INTERPOLATION_OFFSET_BITS_OES 0x8E5D #define GL_FRAGMENT_PROGRAM_INTERPOLATION_OFFSET_BITS_NV 0x8E5D #define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET 0x8E5E #define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET_ARB 0x8E5E #define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET_NV 0x8E5E #define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET 0x8E5F #define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET_ARB 0x8E5F #define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET_NV 0x8E5F #define GL_MAX_MESH_UNIFORM_BLOCKS_NV 0x8E60 #define GL_MAX_MESH_TEXTURE_IMAGE_UNITS_NV 0x8E61 #define GL_MAX_MESH_IMAGE_UNIFORMS_NV 0x8E62 #define GL_MAX_MESH_UNIFORM_COMPONENTS_NV 0x8E63 #define GL_MAX_MESH_ATOMIC_COUNTER_BUFFERS_NV 0x8E64 #define GL_MAX_MESH_ATOMIC_COUNTERS_NV 0x8E65 #define GL_MAX_MESH_SHADER_STORAGE_BLOCKS_NV 0x8E66 #define GL_MAX_COMBINED_MESH_UNIFORM_COMPONENTS_NV 0x8E67 #define GL_MAX_TASK_UNIFORM_BLOCKS_NV 0x8E68 #define GL_MAX_TASK_TEXTURE_IMAGE_UNITS_NV 0x8E69 #define GL_MAX_TASK_IMAGE_UNIFORMS_NV 0x8E6A #define GL_MAX_TASK_UNIFORM_COMPONENTS_NV 0x8E6B #define GL_MAX_TASK_ATOMIC_COUNTER_BUFFERS_NV 0x8E6C #define GL_MAX_TASK_ATOMIC_COUNTERS_NV 0x8E6D #define GL_MAX_TASK_SHADER_STORAGE_BLOCKS_NV 0x8E6E #define GL_MAX_COMBINED_TASK_UNIFORM_COMPONENTS_NV 0x8E6F #define GL_MAX_TRANSFORM_FEEDBACK_BUFFERS 0x8E70 #define GL_MAX_VERTEX_STREAMS 0x8E71 #define GL_PATCH_VERTICES 0x8E72 #define GL_PATCH_VERTICES_EXT 0x8E72 #define GL_PATCH_VERTICES_OES 0x8E72 #define GL_PATCH_DEFAULT_INNER_LEVEL 0x8E73 #define GL_PATCH_DEFAULT_INNER_LEVEL_EXT 0x8E73 #define GL_PATCH_DEFAULT_OUTER_LEVEL 0x8E74 #define GL_PATCH_DEFAULT_OUTER_LEVEL_EXT 0x8E74 #define GL_TESS_CONTROL_OUTPUT_VERTICES 0x8E75 #define GL_TESS_CONTROL_OUTPUT_VERTICES_EXT 0x8E75 #define GL_TESS_CONTROL_OUTPUT_VERTICES_OES 0x8E75 #define GL_TESS_GEN_MODE 0x8E76 #define GL_TESS_GEN_MODE_EXT 0x8E76 #define GL_TESS_GEN_MODE_OES 0x8E76 #define GL_TESS_GEN_SPACING 0x8E77 #define GL_TESS_GEN_SPACING_EXT 0x8E77 #define GL_TESS_GEN_SPACING_OES 0x8E77 #define GL_TESS_GEN_VERTEX_ORDER 0x8E78 #define GL_TESS_GEN_VERTEX_ORDER_EXT 0x8E78 #define GL_TESS_GEN_VERTEX_ORDER_OES 0x8E78 #define GL_TESS_GEN_POINT_MODE 0x8E79 #define GL_TESS_GEN_POINT_MODE_EXT 0x8E79 #define GL_TESS_GEN_POINT_MODE_OES 0x8E79 #define GL_ISOLINES 0x8E7A #define GL_ISOLINES_EXT 0x8E7A #define GL_ISOLINES_OES 0x8E7A #define GL_FRACTIONAL_ODD 0x8E7B #define GL_FRACTIONAL_ODD_EXT 0x8E7B #define GL_FRACTIONAL_ODD_OES 0x8E7B #define GL_FRACTIONAL_EVEN 0x8E7C #define GL_FRACTIONAL_EVEN_EXT 0x8E7C #define GL_FRACTIONAL_EVEN_OES 0x8E7C #define GL_MAX_PATCH_VERTICES 0x8E7D #define GL_MAX_PATCH_VERTICES_EXT 0x8E7D #define GL_MAX_PATCH_VERTICES_OES 0x8E7D #define GL_MAX_TESS_GEN_LEVEL 0x8E7E #define GL_MAX_TESS_GEN_LEVEL_EXT 0x8E7E #define GL_MAX_TESS_GEN_LEVEL_OES 0x8E7E #define GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS 0x8E7F #define GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS_EXT 0x8E7F #define GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS_OES 0x8E7F #define GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS 0x8E80 #define GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS_EXT 0x8E80 #define GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS_OES 0x8E80 #define GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS 0x8E81 #define GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS_EXT 0x8E81 #define GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS_OES 0x8E81 #define GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS 0x8E82 #define GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS_EXT 0x8E82 #define GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS_OES 0x8E82 #define GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS 0x8E83 #define GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS_EXT 0x8E83 #define GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS_OES 0x8E83 #define GL_MAX_TESS_PATCH_COMPONENTS 0x8E84 #define GL_MAX_TESS_PATCH_COMPONENTS_EXT 0x8E84 #define GL_MAX_TESS_PATCH_COMPONENTS_OES 0x8E84 #define GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS 0x8E85 #define GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS_EXT 0x8E85 #define GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS_OES 0x8E85 #define GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS 0x8E86 #define GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS_EXT 0x8E86 #define GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS_OES 0x8E86 #define GL_TESS_EVALUATION_SHADER 0x8E87 #define GL_TESS_EVALUATION_SHADER_EXT 0x8E87 #define GL_TESS_EVALUATION_SHADER_OES 0x8E87 #define GL_TESS_CONTROL_SHADER 0x8E88 #define GL_TESS_CONTROL_SHADER_EXT 0x8E88 #define GL_TESS_CONTROL_SHADER_OES 0x8E88 #define GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS 0x8E89 #define GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS_EXT 0x8E89 #define GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS_OES 0x8E89 #define GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS 0x8E8A #define GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS_EXT 0x8E8A #define GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS_OES 0x8E8A #define GL_COMPRESSED_RGBA_BPTC_UNORM 0x8E8C #define GL_COMPRESSED_RGBA_BPTC_UNORM_ARB 0x8E8C #define GL_COMPRESSED_RGBA_BPTC_UNORM_EXT 0x8E8C #define GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM 0x8E8D #define GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM_ARB 0x8E8D #define GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM_EXT 0x8E8D #define GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT 0x8E8E #define GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT_ARB 0x8E8E #define GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT_EXT 0x8E8E #define GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT 0x8E8F #define GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_ARB 0x8E8F #define GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_EXT 0x8E8F #define GL_COVERAGE_COMPONENT_NV 0x8ED0 #define GL_COVERAGE_COMPONENT4_NV 0x8ED1 #define GL_COVERAGE_ATTACHMENT_NV 0x8ED2 #define GL_COVERAGE_BUFFERS_NV 0x8ED3 #define GL_COVERAGE_SAMPLES_NV 0x8ED4 #define GL_COVERAGE_ALL_FRAGMENTS_NV 0x8ED5 #define GL_COVERAGE_EDGE_FRAGMENTS_NV 0x8ED6 #define GL_COVERAGE_AUTOMATIC_NV 0x8ED7 #define GL_INCLUSIVE_EXT 0x8F10 #define GL_EXCLUSIVE_EXT 0x8F11 #define GL_WINDOW_RECTANGLE_EXT 0x8F12 #define GL_WINDOW_RECTANGLE_MODE_EXT 0x8F13 #define GL_MAX_WINDOW_RECTANGLES_EXT 0x8F14 #define GL_NUM_WINDOW_RECTANGLES_EXT 0x8F15 #define GL_BUFFER_GPU_ADDRESS_NV 0x8F1D #define GL_VERTEX_ATTRIB_ARRAY_UNIFIED_NV 0x8F1E #define GL_ELEMENT_ARRAY_UNIFIED_NV 0x8F1F #define GL_VERTEX_ATTRIB_ARRAY_ADDRESS_NV 0x8F20 #define GL_VERTEX_ARRAY_ADDRESS_NV 0x8F21 #define GL_NORMAL_ARRAY_ADDRESS_NV 0x8F22 #define GL_COLOR_ARRAY_ADDRESS_NV 0x8F23 #define GL_INDEX_ARRAY_ADDRESS_NV 0x8F24 #define GL_TEXTURE_COORD_ARRAY_ADDRESS_NV 0x8F25 #define GL_EDGE_FLAG_ARRAY_ADDRESS_NV 0x8F26 #define GL_SECONDARY_COLOR_ARRAY_ADDRESS_NV 0x8F27 #define GL_FOG_COORD_ARRAY_ADDRESS_NV 0x8F28 #define GL_ELEMENT_ARRAY_ADDRESS_NV 0x8F29 #define GL_VERTEX_ATTRIB_ARRAY_LENGTH_NV 0x8F2A #define GL_VERTEX_ARRAY_LENGTH_NV 0x8F2B #define GL_NORMAL_ARRAY_LENGTH_NV 0x8F2C #define GL_COLOR_ARRAY_LENGTH_NV 0x8F2D #define GL_INDEX_ARRAY_LENGTH_NV 0x8F2E #define GL_TEXTURE_COORD_ARRAY_LENGTH_NV 0x8F2F #define GL_EDGE_FLAG_ARRAY_LENGTH_NV 0x8F30 #define GL_SECONDARY_COLOR_ARRAY_LENGTH_NV 0x8F31 #define GL_FOG_COORD_ARRAY_LENGTH_NV 0x8F32 #define GL_ELEMENT_ARRAY_LENGTH_NV 0x8F33 #define GL_GPU_ADDRESS_NV 0x8F34 #define GL_MAX_SHADER_BUFFER_ADDRESS_NV 0x8F35 #define GL_COPY_READ_BUFFER 0x8F36 #define GL_COPY_READ_BUFFER_BINDING 0x8F36 #define GL_COPY_READ_BUFFER_NV 0x8F36 #define GL_COPY_WRITE_BUFFER 0x8F37 #define GL_COPY_WRITE_BUFFER_BINDING 0x8F37 #define GL_COPY_WRITE_BUFFER_NV 0x8F37 #define GL_MAX_IMAGE_UNITS 0x8F38 #define GL_MAX_IMAGE_UNITS_EXT 0x8F38 #define GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS 0x8F39 #define GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS_EXT 0x8F39 #define GL_MAX_COMBINED_SHADER_OUTPUT_RESOURCES 0x8F39 #define GL_IMAGE_BINDING_NAME 0x8F3A #define GL_IMAGE_BINDING_NAME_EXT 0x8F3A #define GL_IMAGE_BINDING_LEVEL 0x8F3B #define GL_IMAGE_BINDING_LEVEL_EXT 0x8F3B #define GL_IMAGE_BINDING_LAYERED 0x8F3C #define GL_IMAGE_BINDING_LAYERED_EXT 0x8F3C #define GL_IMAGE_BINDING_LAYER 0x8F3D #define GL_IMAGE_BINDING_LAYER_EXT 0x8F3D #define GL_IMAGE_BINDING_ACCESS 0x8F3E #define GL_IMAGE_BINDING_ACCESS_EXT 0x8F3E #define GL_DRAW_INDIRECT_BUFFER 0x8F3F #define GL_DRAW_INDIRECT_UNIFIED_NV 0x8F40 #define GL_DRAW_INDIRECT_ADDRESS_NV 0x8F41 #define GL_DRAW_INDIRECT_LENGTH_NV 0x8F42 #define GL_DRAW_INDIRECT_BUFFER_BINDING 0x8F43 #define GL_MAX_PROGRAM_SUBROUTINE_PARAMETERS_NV 0x8F44 #define GL_MAX_PROGRAM_SUBROUTINE_NUM_NV 0x8F45 #define GL_DOUBLE_MAT2 0x8F46 #define GL_DOUBLE_MAT2_EXT 0x8F46 #define GL_DOUBLE_MAT3 0x8F47 #define GL_DOUBLE_MAT3_EXT 0x8F47 #define GL_DOUBLE_MAT4 0x8F48 #define GL_DOUBLE_MAT4_EXT 0x8F48 #define GL_DOUBLE_MAT2x3 0x8F49 #define GL_DOUBLE_MAT2x3_EXT 0x8F49 #define GL_DOUBLE_MAT2x4 0x8F4A #define GL_DOUBLE_MAT2x4_EXT 0x8F4A #define GL_DOUBLE_MAT3x2 0x8F4B #define GL_DOUBLE_MAT3x2_EXT 0x8F4B #define GL_DOUBLE_MAT3x4 0x8F4C #define GL_DOUBLE_MAT3x4_EXT 0x8F4C #define GL_DOUBLE_MAT4x2 0x8F4D #define GL_DOUBLE_MAT4x2_EXT 0x8F4D #define GL_DOUBLE_MAT4x3 0x8F4E #define GL_DOUBLE_MAT4x3_EXT 0x8F4E #define GL_VERTEX_BINDING_BUFFER 0x8F4F #define GL_MALI_SHADER_BINARY_ARM 0x8F60 #define GL_MALI_PROGRAM_BINARY_ARM 0x8F61 #define GL_MAX_SHADER_PIXEL_LOCAL_STORAGE_FAST_SIZE_EXT 0x8F63 #define GL_SHADER_PIXEL_LOCAL_STORAGE_EXT 0x8F64 #define GL_FETCH_PER_SAMPLE_ARM 0x8F65 #define GL_FRAGMENT_SHADER_FRAMEBUFFER_FETCH_MRT_ARM 0x8F66 #define GL_MAX_SHADER_PIXEL_LOCAL_STORAGE_SIZE_EXT 0x8F67 #define GL_TEXTURE_ASTC_DECODE_PRECISION_EXT 0x8F69 #define GL_RED_SNORM 0x8F90 #define GL_RG_SNORM 0x8F91 #define GL_RGB_SNORM 0x8F92 #define GL_RGBA_SNORM 0x8F93 #define GL_R8_SNORM 0x8F94 #define GL_RG8_SNORM 0x8F95 #define GL_RGB8_SNORM 0x8F96 #define GL_RGBA8_SNORM 0x8F97 #define GL_R16_SNORM 0x8F98 #define GL_R16_SNORM_EXT 0x8F98 #define GL_RG16_SNORM 0x8F99 #define GL_RG16_SNORM_EXT 0x8F99 #define GL_RGB16_SNORM 0x8F9A #define GL_RGB16_SNORM_EXT 0x8F9A #define GL_RGBA16_SNORM 0x8F9B #define GL_RGBA16_SNORM_EXT 0x8F9B #define GL_SIGNED_NORMALIZED 0x8F9C #define GL_PRIMITIVE_RESTART 0x8F9D #define GL_PRIMITIVE_RESTART_INDEX 0x8F9E #define GL_MAX_PROGRAM_TEXTURE_GATHER_COMPONENTS_ARB 0x8F9F #define GL_PERFMON_GLOBAL_MODE_QCOM 0x8FA0 #define GL_MAX_SHADER_SUBSAMPLED_IMAGE_UNITS_QCOM 0x8FA1 #define GL_BINNING_CONTROL_HINT_QCOM 0x8FB0 #define GL_CPU_OPTIMIZED_QCOM 0x8FB1 #define GL_GPU_OPTIMIZED_QCOM 0x8FB2 #define GL_RENDER_DIRECT_TO_FRAMEBUFFER_QCOM 0x8FB3 #define GL_GPU_DISJOINT_EXT 0x8FBB #define GL_SR8_EXT 0x8FBD #define GL_SRG8_EXT 0x8FBE #define GL_TEXTURE_FORMAT_SRGB_OVERRIDE_EXT 0x8FBF #define GL_SHADER_BINARY_VIV 0x8FC4 #define GL_INT8_NV 0x8FE0 #define GL_INT8_VEC2_NV 0x8FE1 #define GL_INT8_VEC3_NV 0x8FE2 #define GL_INT8_VEC4_NV 0x8FE3 #define GL_INT16_NV 0x8FE4 #define GL_INT16_VEC2_NV 0x8FE5 #define GL_INT16_VEC3_NV 0x8FE6 #define GL_INT16_VEC4_NV 0x8FE7 #define GL_INT64_VEC2_ARB 0x8FE9 #define GL_INT64_VEC2_NV 0x8FE9 #define GL_INT64_VEC3_ARB 0x8FEA #define GL_INT64_VEC3_NV 0x8FEA #define GL_INT64_VEC4_ARB 0x8FEB #define GL_INT64_VEC4_NV 0x8FEB #define GL_UNSIGNED_INT8_NV 0x8FEC #define GL_UNSIGNED_INT8_VEC2_NV 0x8FED #define GL_UNSIGNED_INT8_VEC3_NV 0x8FEE #define GL_UNSIGNED_INT8_VEC4_NV 0x8FEF #define GL_UNSIGNED_INT16_NV 0x8FF0 #define GL_UNSIGNED_INT16_VEC2_NV 0x8FF1 #define GL_UNSIGNED_INT16_VEC3_NV 0x8FF2 #define GL_UNSIGNED_INT16_VEC4_NV 0x8FF3 #define GL_UNSIGNED_INT64_VEC2_ARB 0x8FF5 #define GL_UNSIGNED_INT64_VEC2_NV 0x8FF5 #define GL_UNSIGNED_INT64_VEC3_ARB 0x8FF6 #define GL_UNSIGNED_INT64_VEC3_NV 0x8FF6 #define GL_UNSIGNED_INT64_VEC4_ARB 0x8FF7 #define GL_UNSIGNED_INT64_VEC4_NV 0x8FF7 #define GL_FLOAT16_NV 0x8FF8 #define GL_FLOAT16_VEC2_NV 0x8FF9 #define GL_FLOAT16_VEC3_NV 0x8FFA #define GL_FLOAT16_VEC4_NV 0x8FFB #define GL_DOUBLE_VEC2 0x8FFC #define GL_DOUBLE_VEC2_EXT 0x8FFC #define GL_DOUBLE_VEC3 0x8FFD #define GL_DOUBLE_VEC3_EXT 0x8FFD #define GL_DOUBLE_VEC4 0x8FFE #define GL_DOUBLE_VEC4_EXT 0x8FFE #define GL_SAMPLER_BUFFER_AMD 0x9001 #define GL_INT_SAMPLER_BUFFER_AMD 0x9002 #define GL_UNSIGNED_INT_SAMPLER_BUFFER_AMD 0x9003 #define GL_TESSELLATION_MODE_AMD 0x9004 #define GL_TESSELLATION_FACTOR_AMD 0x9005 #define GL_DISCRETE_AMD 0x9006 #define GL_CONTINUOUS_AMD 0x9007 #define GL_TEXTURE_CUBE_MAP_ARRAY 0x9009 #define GL_TEXTURE_CUBE_MAP_ARRAY_ARB 0x9009 #define GL_TEXTURE_CUBE_MAP_ARRAY_EXT 0x9009 #define GL_TEXTURE_CUBE_MAP_ARRAY_OES 0x9009 #define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY 0x900A #define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY_ARB 0x900A #define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY_EXT 0x900A #define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY_OES 0x900A #define GL_PROXY_TEXTURE_CUBE_MAP_ARRAY 0x900B #define GL_PROXY_TEXTURE_CUBE_MAP_ARRAY_ARB 0x900B #define GL_SAMPLER_CUBE_MAP_ARRAY 0x900C #define GL_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900C #define GL_SAMPLER_CUBE_MAP_ARRAY_EXT 0x900C #define GL_SAMPLER_CUBE_MAP_ARRAY_OES 0x900C #define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW 0x900D #define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW_ARB 0x900D #define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW_EXT 0x900D #define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW_OES 0x900D #define GL_INT_SAMPLER_CUBE_MAP_ARRAY 0x900E #define GL_INT_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900E #define GL_INT_SAMPLER_CUBE_MAP_ARRAY_EXT 0x900E #define GL_INT_SAMPLER_CUBE_MAP_ARRAY_OES 0x900E #define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY 0x900F #define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900F #define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY_EXT 0x900F #define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY_OES 0x900F #define GL_ALPHA_SNORM 0x9010 #define GL_LUMINANCE_SNORM 0x9011 #define GL_LUMINANCE_ALPHA_SNORM 0x9012 #define GL_INTENSITY_SNORM 0x9013 #define GL_ALPHA8_SNORM 0x9014 #define GL_LUMINANCE8_SNORM 0x9015 #define GL_LUMINANCE8_ALPHA8_SNORM 0x9016 #define GL_INTENSITY8_SNORM 0x9017 #define GL_ALPHA16_SNORM 0x9018 #define GL_LUMINANCE16_SNORM 0x9019 #define GL_LUMINANCE16_ALPHA16_SNORM 0x901A #define GL_INTENSITY16_SNORM 0x901B #define GL_FACTOR_MIN_AMD 0x901C #define GL_FACTOR_MAX_AMD 0x901D #define GL_DEPTH_CLAMP_NEAR_AMD 0x901E #define GL_DEPTH_CLAMP_FAR_AMD 0x901F #define GL_VIDEO_BUFFER_NV 0x9020 #define GL_VIDEO_BUFFER_BINDING_NV 0x9021 #define GL_FIELD_UPPER_NV 0x9022 #define GL_FIELD_LOWER_NV 0x9023 #define GL_NUM_VIDEO_CAPTURE_STREAMS_NV 0x9024 #define GL_NEXT_VIDEO_CAPTURE_BUFFER_STATUS_NV 0x9025 #define GL_VIDEO_CAPTURE_TO_422_SUPPORTED_NV 0x9026 #define GL_LAST_VIDEO_CAPTURE_STATUS_NV 0x9027 #define GL_VIDEO_BUFFER_PITCH_NV 0x9028 #define GL_VIDEO_COLOR_CONVERSION_MATRIX_NV 0x9029 #define GL_VIDEO_COLOR_CONVERSION_MAX_NV 0x902A #define GL_VIDEO_COLOR_CONVERSION_MIN_NV 0x902B #define GL_VIDEO_COLOR_CONVERSION_OFFSET_NV 0x902C #define GL_VIDEO_BUFFER_INTERNAL_FORMAT_NV 0x902D #define GL_PARTIAL_SUCCESS_NV 0x902E #define GL_SUCCESS_NV 0x902F #define GL_FAILURE_NV 0x9030 #define GL_YCBYCR8_422_NV 0x9031 #define GL_YCBAYCR8A_4224_NV 0x9032 #define GL_Z6Y10Z6CB10Z6Y10Z6CR10_422_NV 0x9033 #define GL_Z6Y10Z6CB10Z6A10Z6Y10Z6CR10Z6A10_4224_NV 0x9034 #define GL_Z4Y12Z4CB12Z4Y12Z4CR12_422_NV 0x9035 #define GL_Z4Y12Z4CB12Z4A12Z4Y12Z4CR12Z4A12_4224_NV 0x9036 #define GL_Z4Y12Z4CB12Z4CR12_444_NV 0x9037 #define GL_VIDEO_CAPTURE_FRAME_WIDTH_NV 0x9038 #define GL_VIDEO_CAPTURE_FRAME_HEIGHT_NV 0x9039 #define GL_VIDEO_CAPTURE_FIELD_UPPER_HEIGHT_NV 0x903A #define GL_VIDEO_CAPTURE_FIELD_LOWER_HEIGHT_NV 0x903B #define GL_VIDEO_CAPTURE_SURFACE_ORIGIN_NV 0x903C #define GL_TEXTURE_COVERAGE_SAMPLES_NV 0x9045 #define GL_TEXTURE_COLOR_SAMPLES_NV 0x9046 #define GL_GPU_MEMORY_INFO_DEDICATED_VIDMEM_NVX 0x9047 #define GL_GPU_MEMORY_INFO_TOTAL_AVAILABLE_MEMORY_NVX 0x9048 #define GL_GPU_MEMORY_INFO_CURRENT_AVAILABLE_VIDMEM_NVX 0x9049 #define GL_GPU_MEMORY_INFO_EVICTION_COUNT_NVX 0x904A #define GL_GPU_MEMORY_INFO_EVICTED_MEMORY_NVX 0x904B #define GL_IMAGE_1D 0x904C #define GL_IMAGE_1D_EXT 0x904C #define GL_IMAGE_2D 0x904D #define GL_IMAGE_2D_EXT 0x904D #define GL_IMAGE_3D 0x904E #define GL_IMAGE_3D_EXT 0x904E #define GL_IMAGE_2D_RECT 0x904F #define GL_IMAGE_2D_RECT_EXT 0x904F #define GL_IMAGE_CUBE 0x9050 #define GL_IMAGE_CUBE_EXT 0x9050 #define GL_IMAGE_BUFFER 0x9051 #define GL_IMAGE_BUFFER_EXT 0x9051 #define GL_IMAGE_BUFFER_OES 0x9051 #define GL_IMAGE_1D_ARRAY 0x9052 #define GL_IMAGE_1D_ARRAY_EXT 0x9052 #define GL_IMAGE_2D_ARRAY 0x9053 #define GL_IMAGE_2D_ARRAY_EXT 0x9053 #define GL_IMAGE_CUBE_MAP_ARRAY 0x9054 #define GL_IMAGE_CUBE_MAP_ARRAY_EXT 0x9054 #define GL_IMAGE_CUBE_MAP_ARRAY_OES 0x9054 #define GL_IMAGE_2D_MULTISAMPLE 0x9055 #define GL_IMAGE_2D_MULTISAMPLE_EXT 0x9055 #define GL_IMAGE_2D_MULTISAMPLE_ARRAY 0x9056 #define GL_IMAGE_2D_MULTISAMPLE_ARRAY_EXT 0x9056 #define GL_INT_IMAGE_1D 0x9057 #define GL_INT_IMAGE_1D_EXT 0x9057 #define GL_INT_IMAGE_2D 0x9058 #define GL_INT_IMAGE_2D_EXT 0x9058 #define GL_INT_IMAGE_3D 0x9059 #define GL_INT_IMAGE_3D_EXT 0x9059 #define GL_INT_IMAGE_2D_RECT 0x905A #define GL_INT_IMAGE_2D_RECT_EXT 0x905A #define GL_INT_IMAGE_CUBE 0x905B #define GL_INT_IMAGE_CUBE_EXT 0x905B #define GL_INT_IMAGE_BUFFER 0x905C #define GL_INT_IMAGE_BUFFER_EXT 0x905C #define GL_INT_IMAGE_BUFFER_OES 0x905C #define GL_INT_IMAGE_1D_ARRAY 0x905D #define GL_INT_IMAGE_1D_ARRAY_EXT 0x905D #define GL_INT_IMAGE_2D_ARRAY 0x905E #define GL_INT_IMAGE_2D_ARRAY_EXT 0x905E #define GL_INT_IMAGE_CUBE_MAP_ARRAY 0x905F #define GL_INT_IMAGE_CUBE_MAP_ARRAY_EXT 0x905F #define GL_INT_IMAGE_CUBE_MAP_ARRAY_OES 0x905F #define GL_INT_IMAGE_2D_MULTISAMPLE 0x9060 #define GL_INT_IMAGE_2D_MULTISAMPLE_EXT 0x9060 #define GL_INT_IMAGE_2D_MULTISAMPLE_ARRAY 0x9061 #define GL_INT_IMAGE_2D_MULTISAMPLE_ARRAY_EXT 0x9061 #define GL_UNSIGNED_INT_IMAGE_1D 0x9062 #define GL_UNSIGNED_INT_IMAGE_1D_EXT 0x9062 #define GL_UNSIGNED_INT_IMAGE_2D 0x9063 #define GL_UNSIGNED_INT_IMAGE_2D_EXT 0x9063 #define GL_UNSIGNED_INT_IMAGE_3D 0x9064 #define GL_UNSIGNED_INT_IMAGE_3D_EXT 0x9064 #define GL_UNSIGNED_INT_IMAGE_2D_RECT 0x9065 #define GL_UNSIGNED_INT_IMAGE_2D_RECT_EXT 0x9065 #define GL_UNSIGNED_INT_IMAGE_CUBE 0x9066 #define GL_UNSIGNED_INT_IMAGE_CUBE_EXT 0x9066 #define GL_UNSIGNED_INT_IMAGE_BUFFER 0x9067 #define GL_UNSIGNED_INT_IMAGE_BUFFER_EXT 0x9067 #define GL_UNSIGNED_INT_IMAGE_BUFFER_OES 0x9067 #define GL_UNSIGNED_INT_IMAGE_1D_ARRAY 0x9068 #define GL_UNSIGNED_INT_IMAGE_1D_ARRAY_EXT 0x9068 #define GL_UNSIGNED_INT_IMAGE_2D_ARRAY 0x9069 #define GL_UNSIGNED_INT_IMAGE_2D_ARRAY_EXT 0x9069 #define GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY 0x906A #define GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY_EXT 0x906A #define GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY_OES 0x906A #define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE 0x906B #define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_EXT 0x906B #define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY 0x906C #define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY_EXT 0x906C #define GL_MAX_IMAGE_SAMPLES 0x906D #define GL_MAX_IMAGE_SAMPLES_EXT 0x906D #define GL_IMAGE_BINDING_FORMAT 0x906E #define GL_IMAGE_BINDING_FORMAT_EXT 0x906E #define GL_RGB10_A2UI 0x906F #define GL_PATH_FORMAT_SVG_NV 0x9070 #define GL_PATH_FORMAT_PS_NV 0x9071 #define GL_STANDARD_FONT_NAME_NV 0x9072 #define GL_SYSTEM_FONT_NAME_NV 0x9073 #define GL_FILE_NAME_NV 0x9074 #define GL_PATH_STROKE_WIDTH_NV 0x9075 #define GL_PATH_END_CAPS_NV 0x9076 #define GL_PATH_INITIAL_END_CAP_NV 0x9077 #define GL_PATH_TERMINAL_END_CAP_NV 0x9078 #define GL_PATH_JOIN_STYLE_NV 0x9079 #define GL_PATH_MITER_LIMIT_NV 0x907A #define GL_PATH_DASH_CAPS_NV 0x907B #define GL_PATH_INITIAL_DASH_CAP_NV 0x907C #define GL_PATH_TERMINAL_DASH_CAP_NV 0x907D #define GL_PATH_DASH_OFFSET_NV 0x907E #define GL_PATH_CLIENT_LENGTH_NV 0x907F #define GL_PATH_FILL_MODE_NV 0x9080 #define GL_PATH_FILL_MASK_NV 0x9081 #define GL_PATH_FILL_COVER_MODE_NV 0x9082 #define GL_PATH_STROKE_COVER_MODE_NV 0x9083 #define GL_PATH_STROKE_MASK_NV 0x9084 #define GL_COUNT_UP_NV 0x9088 #define GL_COUNT_DOWN_NV 0x9089 #define GL_PATH_OBJECT_BOUNDING_BOX_NV 0x908A #define GL_CONVEX_HULL_NV 0x908B #define GL_BOUNDING_BOX_NV 0x908D #define GL_TRANSLATE_X_NV 0x908E #define GL_TRANSLATE_Y_NV 0x908F #define GL_TRANSLATE_2D_NV 0x9090 #define GL_TRANSLATE_3D_NV 0x9091 #define GL_AFFINE_2D_NV 0x9092 #define GL_AFFINE_3D_NV 0x9094 #define GL_TRANSPOSE_AFFINE_2D_NV 0x9096 #define GL_TRANSPOSE_AFFINE_3D_NV 0x9098 #define GL_UTF8_NV 0x909A #define GL_UTF16_NV 0x909B #define GL_BOUNDING_BOX_OF_BOUNDING_BOXES_NV 0x909C #define GL_PATH_COMMAND_COUNT_NV 0x909D #define GL_PATH_COORD_COUNT_NV 0x909E #define GL_PATH_DASH_ARRAY_COUNT_NV 0x909F #define GL_PATH_COMPUTED_LENGTH_NV 0x90A0 #define GL_PATH_FILL_BOUNDING_BOX_NV 0x90A1 #define GL_PATH_STROKE_BOUNDING_BOX_NV 0x90A2 #define GL_SQUARE_NV 0x90A3 #define GL_ROUND_NV 0x90A4 #define GL_TRIANGULAR_NV 0x90A5 #define GL_BEVEL_NV 0x90A6 #define GL_MITER_REVERT_NV 0x90A7 #define GL_MITER_TRUNCATE_NV 0x90A8 #define GL_SKIP_MISSING_GLYPH_NV 0x90A9 #define GL_USE_MISSING_GLYPH_NV 0x90AA #define GL_PATH_ERROR_POSITION_NV 0x90AB #define GL_PATH_FOG_GEN_MODE_NV 0x90AC #define GL_ACCUM_ADJACENT_PAIRS_NV 0x90AD #define GL_ADJACENT_PAIRS_NV 0x90AE #define GL_FIRST_TO_REST_NV 0x90AF #define GL_PATH_GEN_MODE_NV 0x90B0 #define GL_PATH_GEN_COEFF_NV 0x90B1 #define GL_PATH_GEN_COLOR_FORMAT_NV 0x90B2 #define GL_PATH_GEN_COMPONENTS_NV 0x90B3 #define GL_PATH_DASH_OFFSET_RESET_NV 0x90B4 #define GL_MOVE_TO_RESETS_NV 0x90B5 #define GL_MOVE_TO_CONTINUES_NV 0x90B6 #define GL_PATH_STENCIL_FUNC_NV 0x90B7 #define GL_PATH_STENCIL_REF_NV 0x90B8 #define GL_PATH_STENCIL_VALUE_MASK_NV 0x90B9 #define GL_SCALED_RESOLVE_FASTEST_EXT 0x90BA #define GL_SCALED_RESOLVE_NICEST_EXT 0x90BB #define GL_MIN_MAP_BUFFER_ALIGNMENT 0x90BC #define GL_PATH_STENCIL_DEPTH_OFFSET_FACTOR_NV 0x90BD #define GL_PATH_STENCIL_DEPTH_OFFSET_UNITS_NV 0x90BE #define GL_PATH_COVER_DEPTH_FUNC_NV 0x90BF #define GL_IMAGE_FORMAT_COMPATIBILITY_TYPE 0x90C7 #define GL_IMAGE_FORMAT_COMPATIBILITY_BY_SIZE 0x90C8 #define GL_IMAGE_FORMAT_COMPATIBILITY_BY_CLASS 0x90C9 #define GL_MAX_VERTEX_IMAGE_UNIFORMS 0x90CA #define GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS 0x90CB #define GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS_EXT 0x90CB #define GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS_OES 0x90CB #define GL_MAX_TESS_EVALUATION_IMAGE_UNIFORMS 0x90CC #define GL_MAX_TESS_EVALUATION_IMAGE_UNIFORMS_EXT 0x90CC #define GL_MAX_TESS_EVALUATION_IMAGE_UNIFORMS_OES 0x90CC #define GL_MAX_GEOMETRY_IMAGE_UNIFORMS 0x90CD #define GL_MAX_GEOMETRY_IMAGE_UNIFORMS_EXT 0x90CD #define GL_MAX_GEOMETRY_IMAGE_UNIFORMS_OES 0x90CD #define GL_MAX_FRAGMENT_IMAGE_UNIFORMS 0x90CE #define GL_MAX_COMBINED_IMAGE_UNIFORMS 0x90CF #define GL_MAX_DEEP_3D_TEXTURE_WIDTH_HEIGHT_NV 0x90D0 #define GL_MAX_DEEP_3D_TEXTURE_DEPTH_NV 0x90D1 #define GL_SHADER_STORAGE_BUFFER 0x90D2 #define GL_SHADER_STORAGE_BUFFER_BINDING 0x90D3 #define GL_SHADER_STORAGE_BUFFER_START 0x90D4 #define GL_SHADER_STORAGE_BUFFER_SIZE 0x90D5 #define GL_MAX_VERTEX_SHADER_STORAGE_BLOCKS 0x90D6 #define GL_MAX_GEOMETRY_SHADER_STORAGE_BLOCKS 0x90D7 #define GL_MAX_GEOMETRY_SHADER_STORAGE_BLOCKS_EXT 0x90D7 #define GL_MAX_GEOMETRY_SHADER_STORAGE_BLOCKS_OES 0x90D7 #define GL_MAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS 0x90D8 #define GL_MAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS_EXT 0x90D8 #define GL_MAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS_OES 0x90D8 #define GL_MAX_TESS_EVALUATION_SHADER_STORAGE_BLOCKS 0x90D9 #define GL_MAX_TESS_EVALUATION_SHADER_STORAGE_BLOCKS_EXT 0x90D9 #define GL_MAX_TESS_EVALUATION_SHADER_STORAGE_BLOCKS_OES 0x90D9 #define GL_MAX_FRAGMENT_SHADER_STORAGE_BLOCKS 0x90DA #define GL_MAX_COMPUTE_SHADER_STORAGE_BLOCKS 0x90DB #define GL_MAX_COMBINED_SHADER_STORAGE_BLOCKS 0x90DC #define GL_MAX_SHADER_STORAGE_BUFFER_BINDINGS 0x90DD #define GL_MAX_SHADER_STORAGE_BLOCK_SIZE 0x90DE #define GL_SHADER_STORAGE_BUFFER_OFFSET_ALIGNMENT 0x90DF #define GL_SYNC_X11_FENCE_EXT 0x90E1 #define GL_DEPTH_STENCIL_TEXTURE_MODE 0x90EA #define GL_MAX_COMPUTE_FIXED_GROUP_INVOCATIONS_ARB 0x90EB #define GL_MAX_COMPUTE_WORK_GROUP_INVOCATIONS 0x90EB #define GL_UNIFORM_BLOCK_REFERENCED_BY_COMPUTE_SHADER 0x90EC #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_COMPUTE_SHADER 0x90ED #define GL_DISPATCH_INDIRECT_BUFFER 0x90EE #define GL_DISPATCH_INDIRECT_BUFFER_BINDING 0x90EF #define GL_COLOR_ATTACHMENT_EXT 0x90F0 #define GL_MULTIVIEW_EXT 0x90F1 #define GL_MAX_MULTIVIEW_BUFFERS_EXT 0x90F2 #define GL_CONTEXT_ROBUST_ACCESS 0x90F3 #define GL_CONTEXT_ROBUST_ACCESS_EXT 0x90F3 #define GL_CONTEXT_ROBUST_ACCESS_KHR 0x90F3 #define GL_COMPUTE_PROGRAM_NV 0x90FB #define GL_COMPUTE_PROGRAM_PARAMETER_BUFFER_NV 0x90FC #define GL_TEXTURE_2D_MULTISAMPLE 0x9100 #define GL_PROXY_TEXTURE_2D_MULTISAMPLE 0x9101 #define GL_TEXTURE_2D_MULTISAMPLE_ARRAY 0x9102 #define GL_TEXTURE_2D_MULTISAMPLE_ARRAY_OES 0x9102 #define GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY 0x9103 #define GL_TEXTURE_BINDING_2D_MULTISAMPLE 0x9104 #define GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY 0x9105 #define GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY_OES 0x9105 #define GL_TEXTURE_SAMPLES 0x9106 #define GL_TEXTURE_FIXED_SAMPLE_LOCATIONS 0x9107 #define GL_SAMPLER_2D_MULTISAMPLE 0x9108 #define GL_INT_SAMPLER_2D_MULTISAMPLE 0x9109 #define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE 0x910A #define GL_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910B #define GL_SAMPLER_2D_MULTISAMPLE_ARRAY_OES 0x910B #define GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910C #define GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY_OES 0x910C #define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910D #define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY_OES 0x910D #define GL_MAX_COLOR_TEXTURE_SAMPLES 0x910E #define GL_MAX_DEPTH_TEXTURE_SAMPLES 0x910F #define GL_MAX_INTEGER_SAMPLES 0x9110 #define GL_MAX_SERVER_WAIT_TIMEOUT 0x9111 #define GL_MAX_SERVER_WAIT_TIMEOUT_APPLE 0x9111 #define GL_OBJECT_TYPE 0x9112 #define GL_OBJECT_TYPE_APPLE 0x9112 #define GL_SYNC_CONDITION 0x9113 #define GL_SYNC_CONDITION_APPLE 0x9113 #define GL_SYNC_STATUS 0x9114 #define GL_SYNC_STATUS_APPLE 0x9114 #define GL_SYNC_FLAGS 0x9115 #define GL_SYNC_FLAGS_APPLE 0x9115 #define GL_SYNC_FENCE 0x9116 #define GL_SYNC_FENCE_APPLE 0x9116 #define GL_SYNC_GPU_COMMANDS_COMPLETE 0x9117 #define GL_SYNC_GPU_COMMANDS_COMPLETE_APPLE 0x9117 #define GL_UNSIGNALED 0x9118 #define GL_UNSIGNALED_APPLE 0x9118 #define GL_SIGNALED 0x9119 #define GL_SIGNALED_APPLE 0x9119 #define GL_ALREADY_SIGNALED 0x911A #define GL_ALREADY_SIGNALED_APPLE 0x911A #define GL_TIMEOUT_EXPIRED 0x911B #define GL_TIMEOUT_EXPIRED_APPLE 0x911B #define GL_CONDITION_SATISFIED 0x911C #define GL_CONDITION_SATISFIED_APPLE 0x911C #define GL_WAIT_FAILED 0x911D #define GL_WAIT_FAILED_APPLE 0x911D #define GL_BUFFER_ACCESS_FLAGS 0x911F #define GL_BUFFER_MAP_LENGTH 0x9120 #define GL_BUFFER_MAP_OFFSET 0x9121 #define GL_MAX_VERTEX_OUTPUT_COMPONENTS 0x9122 #define GL_MAX_GEOMETRY_INPUT_COMPONENTS 0x9123 #define GL_MAX_GEOMETRY_INPUT_COMPONENTS_EXT 0x9123 #define GL_MAX_GEOMETRY_INPUT_COMPONENTS_OES 0x9123 #define GL_MAX_GEOMETRY_OUTPUT_COMPONENTS 0x9124 #define GL_MAX_GEOMETRY_OUTPUT_COMPONENTS_EXT 0x9124 #define GL_MAX_GEOMETRY_OUTPUT_COMPONENTS_OES 0x9124 #define GL_MAX_FRAGMENT_INPUT_COMPONENTS 0x9125 #define GL_CONTEXT_PROFILE_MASK 0x9126 #define GL_UNPACK_COMPRESSED_BLOCK_WIDTH 0x9127 #define GL_UNPACK_COMPRESSED_BLOCK_HEIGHT 0x9128 #define GL_UNPACK_COMPRESSED_BLOCK_DEPTH 0x9129 #define GL_UNPACK_COMPRESSED_BLOCK_SIZE 0x912A #define GL_PACK_COMPRESSED_BLOCK_WIDTH 0x912B #define GL_PACK_COMPRESSED_BLOCK_HEIGHT 0x912C #define GL_PACK_COMPRESSED_BLOCK_DEPTH 0x912D #define GL_PACK_COMPRESSED_BLOCK_SIZE 0x912E #define GL_TEXTURE_IMMUTABLE_FORMAT 0x912F #define GL_TEXTURE_IMMUTABLE_FORMAT_EXT 0x912F #define GL_SGX_PROGRAM_BINARY_IMG 0x9130 #define GL_RENDERBUFFER_SAMPLES_IMG 0x9133 #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_IMG 0x9134 #define GL_MAX_SAMPLES_IMG 0x9135 #define GL_TEXTURE_SAMPLES_IMG 0x9136 #define GL_COMPRESSED_RGBA_PVRTC_2BPPV2_IMG 0x9137 #define GL_COMPRESSED_RGBA_PVRTC_4BPPV2_IMG 0x9138 #define GL_CUBIC_IMG 0x9139 #define GL_CUBIC_MIPMAP_NEAREST_IMG 0x913A #define GL_CUBIC_MIPMAP_LINEAR_IMG 0x913B #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_AND_DOWNSAMPLE_IMG 0x913C #define GL_NUM_DOWNSAMPLE_SCALES_IMG 0x913D #define GL_DOWNSAMPLE_SCALES_IMG 0x913E #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_SCALE_IMG 0x913F #define GL_MAX_DEBUG_MESSAGE_LENGTH 0x9143 #define GL_MAX_DEBUG_MESSAGE_LENGTH_AMD 0x9143 #define GL_MAX_DEBUG_MESSAGE_LENGTH_ARB 0x9143 #define GL_MAX_DEBUG_MESSAGE_LENGTH_KHR 0x9143 #define GL_MAX_DEBUG_LOGGED_MESSAGES 0x9144 #define GL_MAX_DEBUG_LOGGED_MESSAGES_AMD 0x9144 #define GL_MAX_DEBUG_LOGGED_MESSAGES_ARB 0x9144 #define GL_MAX_DEBUG_LOGGED_MESSAGES_KHR 0x9144 #define GL_DEBUG_LOGGED_MESSAGES 0x9145 #define GL_DEBUG_LOGGED_MESSAGES_AMD 0x9145 #define GL_DEBUG_LOGGED_MESSAGES_ARB 0x9145 #define GL_DEBUG_LOGGED_MESSAGES_KHR 0x9145 #define GL_DEBUG_SEVERITY_HIGH 0x9146 #define GL_DEBUG_SEVERITY_HIGH_AMD 0x9146 #define GL_DEBUG_SEVERITY_HIGH_ARB 0x9146 #define GL_DEBUG_SEVERITY_HIGH_KHR 0x9146 #define GL_DEBUG_SEVERITY_MEDIUM 0x9147 #define GL_DEBUG_SEVERITY_MEDIUM_AMD 0x9147 #define GL_DEBUG_SEVERITY_MEDIUM_ARB 0x9147 #define GL_DEBUG_SEVERITY_MEDIUM_KHR 0x9147 #define GL_DEBUG_SEVERITY_LOW 0x9148 #define GL_DEBUG_SEVERITY_LOW_AMD 0x9148 #define GL_DEBUG_SEVERITY_LOW_ARB 0x9148 #define GL_DEBUG_SEVERITY_LOW_KHR 0x9148 #define GL_DEBUG_CATEGORY_API_ERROR_AMD 0x9149 #define GL_DEBUG_CATEGORY_WINDOW_SYSTEM_AMD 0x914A #define GL_DEBUG_CATEGORY_DEPRECATION_AMD 0x914B #define GL_DEBUG_CATEGORY_UNDEFINED_BEHAVIOR_AMD 0x914C #define GL_DEBUG_CATEGORY_PERFORMANCE_AMD 0x914D #define GL_DEBUG_CATEGORY_SHADER_COMPILER_AMD 0x914E #define GL_DEBUG_CATEGORY_APPLICATION_AMD 0x914F #define GL_DEBUG_CATEGORY_OTHER_AMD 0x9150 #define GL_BUFFER_OBJECT_EXT 0x9151 #define GL_DATA_BUFFER_AMD 0x9151 #define GL_PERFORMANCE_MONITOR_AMD 0x9152 #define GL_QUERY_OBJECT_AMD 0x9153 #define GL_QUERY_OBJECT_EXT 0x9153 #define GL_VERTEX_ARRAY_OBJECT_AMD 0x9154 #define GL_VERTEX_ARRAY_OBJECT_EXT 0x9154 #define GL_SAMPLER_OBJECT_AMD 0x9155 #define GL_EXTERNAL_VIRTUAL_MEMORY_BUFFER_AMD 0x9160 #define GL_QUERY_BUFFER 0x9192 #define GL_QUERY_BUFFER_AMD 0x9192 #define GL_QUERY_BUFFER_BINDING 0x9193 #define GL_QUERY_BUFFER_BINDING_AMD 0x9193 #define GL_QUERY_RESULT_NO_WAIT 0x9194 #define GL_QUERY_RESULT_NO_WAIT_AMD 0x9194 #define GL_VIRTUAL_PAGE_SIZE_X_AMD 0x9195 #define GL_VIRTUAL_PAGE_SIZE_X_ARB 0x9195 #define GL_VIRTUAL_PAGE_SIZE_X_EXT 0x9195 #define GL_VIRTUAL_PAGE_SIZE_Y_AMD 0x9196 #define GL_VIRTUAL_PAGE_SIZE_Y_ARB 0x9196 #define GL_VIRTUAL_PAGE_SIZE_Y_EXT 0x9196 #define GL_VIRTUAL_PAGE_SIZE_Z_AMD 0x9197 #define GL_VIRTUAL_PAGE_SIZE_Z_ARB 0x9197 #define GL_VIRTUAL_PAGE_SIZE_Z_EXT 0x9197 #define GL_MAX_SPARSE_TEXTURE_SIZE_AMD 0x9198 #define GL_MAX_SPARSE_TEXTURE_SIZE_ARB 0x9198 #define GL_MAX_SPARSE_TEXTURE_SIZE_EXT 0x9198 #define GL_MAX_SPARSE_3D_TEXTURE_SIZE_AMD 0x9199 #define GL_MAX_SPARSE_3D_TEXTURE_SIZE_ARB 0x9199 #define GL_MAX_SPARSE_3D_TEXTURE_SIZE_EXT 0x9199 #define GL_MAX_SPARSE_ARRAY_TEXTURE_LAYERS 0x919A #define GL_MAX_SPARSE_ARRAY_TEXTURE_LAYERS_ARB 0x919A #define GL_MAX_SPARSE_ARRAY_TEXTURE_LAYERS_EXT 0x919A #define GL_MIN_SPARSE_LEVEL_AMD 0x919B #define GL_MIN_LOD_WARNING_AMD 0x919C #define GL_TEXTURE_BUFFER_OFFSET 0x919D #define GL_TEXTURE_BUFFER_OFFSET_EXT 0x919D #define GL_TEXTURE_BUFFER_OFFSET_OES 0x919D #define GL_TEXTURE_BUFFER_SIZE 0x919E #define GL_TEXTURE_BUFFER_SIZE_EXT 0x919E #define GL_TEXTURE_BUFFER_SIZE_OES 0x919E #define GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT 0x919F #define GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT_EXT 0x919F #define GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT_OES 0x919F #define GL_STREAM_RASTERIZATION_AMD 0x91A0 #define GL_VERTEX_ELEMENT_SWIZZLE_AMD 0x91A4 #define GL_VERTEX_ID_SWIZZLE_AMD 0x91A5 #define GL_TEXTURE_SPARSE_ARB 0x91A6 #define GL_TEXTURE_SPARSE_EXT 0x91A6 #define GL_VIRTUAL_PAGE_SIZE_INDEX_ARB 0x91A7 #define GL_VIRTUAL_PAGE_SIZE_INDEX_EXT 0x91A7 #define GL_NUM_VIRTUAL_PAGE_SIZES_ARB 0x91A8 #define GL_NUM_VIRTUAL_PAGE_SIZES_EXT 0x91A8 #define GL_SPARSE_TEXTURE_FULL_ARRAY_CUBE_MIPMAPS_ARB 0x91A9 #define GL_SPARSE_TEXTURE_FULL_ARRAY_CUBE_MIPMAPS_EXT 0x91A9 #define GL_NUM_SPARSE_LEVELS_ARB 0x91AA #define GL_NUM_SPARSE_LEVELS_EXT 0x91AA #define GL_PIXELS_PER_SAMPLE_PATTERN_X_AMD 0x91AE #define GL_PIXELS_PER_SAMPLE_PATTERN_Y_AMD 0x91AF #define GL_MAX_SHADER_COMPILER_THREADS_ARB 0x91B0 #define GL_MAX_SHADER_COMPILER_THREADS_KHR 0x91B0 #define GL_COMPLETION_STATUS_ARB 0x91B1 #define GL_COMPLETION_STATUS_KHR 0x91B1 #define GL_RENDERBUFFER_STORAGE_SAMPLES_AMD 0x91B2 #define GL_MAX_COLOR_FRAMEBUFFER_SAMPLES_AMD 0x91B3 #define GL_MAX_COLOR_FRAMEBUFFER_STORAGE_SAMPLES_AMD 0x91B4 #define GL_MAX_DEPTH_STENCIL_FRAMEBUFFER_SAMPLES_AMD 0x91B5 #define GL_NUM_SUPPORTED_MULTISAMPLE_MODES_AMD 0x91B6 #define GL_SUPPORTED_MULTISAMPLE_MODES_AMD 0x91B7 #define GL_COMPUTE_SHADER 0x91B9 #define GL_MAX_COMPUTE_UNIFORM_BLOCKS 0x91BB #define GL_MAX_COMPUTE_TEXTURE_IMAGE_UNITS 0x91BC #define GL_MAX_COMPUTE_IMAGE_UNIFORMS 0x91BD #define GL_MAX_COMPUTE_WORK_GROUP_COUNT 0x91BE #define GL_MAX_COMPUTE_FIXED_GROUP_SIZE_ARB 0x91BF #define GL_MAX_COMPUTE_WORK_GROUP_SIZE 0x91BF #define GL_FLOAT16_MAT2_AMD 0x91C5 #define GL_FLOAT16_MAT3_AMD 0x91C6 #define GL_FLOAT16_MAT4_AMD 0x91C7 #define GL_FLOAT16_MAT2x3_AMD 0x91C8 #define GL_FLOAT16_MAT2x4_AMD 0x91C9 #define GL_FLOAT16_MAT3x2_AMD 0x91CA #define GL_FLOAT16_MAT3x4_AMD 0x91CB #define GL_FLOAT16_MAT4x2_AMD 0x91CC #define GL_FLOAT16_MAT4x3_AMD 0x91CD #define GL_UNPACK_FLIP_Y_WEBGL 0x9240 #define GL_UNPACK_PREMULTIPLY_ALPHA_WEBGL 0x9241 #define GL_CONTEXT_LOST_WEBGL 0x9242 #define GL_UNPACK_COLORSPACE_CONVERSION_WEBGL 0x9243 #define GL_BROWSER_DEFAULT_WEBGL 0x9244 #define GL_SHADER_BINARY_DMP 0x9250 #define GL_SMAPHS30_PROGRAM_BINARY_DMP 0x9251 #define GL_SMAPHS_PROGRAM_BINARY_DMP 0x9252 #define GL_DMP_PROGRAM_BINARY_DMP 0x9253 #define GL_GCCSO_SHADER_BINARY_FJ 0x9260 #define GL_COMPRESSED_R11_EAC 0x9270 #define GL_COMPRESSED_R11_EAC_OES 0x9270 #define GL_COMPRESSED_SIGNED_R11_EAC 0x9271 #define GL_COMPRESSED_SIGNED_R11_EAC_OES 0x9271 #define GL_COMPRESSED_RG11_EAC 0x9272 #define GL_COMPRESSED_RG11_EAC_OES 0x9272 #define GL_COMPRESSED_SIGNED_RG11_EAC 0x9273 #define GL_COMPRESSED_SIGNED_RG11_EAC_OES 0x9273 #define GL_COMPRESSED_RGB8_ETC2 0x9274 #define GL_COMPRESSED_RGB8_ETC2_OES 0x9274 #define GL_COMPRESSED_SRGB8_ETC2 0x9275 #define GL_COMPRESSED_SRGB8_ETC2_OES 0x9275 #define GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2 0x9276 #define GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2_OES 0x9276 #define GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2 0x9277 #define GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2_OES 0x9277 #define GL_COMPRESSED_RGBA8_ETC2_EAC 0x9278 #define GL_COMPRESSED_RGBA8_ETC2_EAC_OES 0x9278 #define GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC 0x9279 #define GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC_OES 0x9279 #define GL_BLEND_PREMULTIPLIED_SRC_NV 0x9280 #define GL_BLEND_OVERLAP_NV 0x9281 #define GL_UNCORRELATED_NV 0x9282 #define GL_DISJOINT_NV 0x9283 #define GL_CONJOINT_NV 0x9284 #define GL_BLEND_ADVANCED_COHERENT_KHR 0x9285 #define GL_BLEND_ADVANCED_COHERENT_NV 0x9285 #define GL_SRC_NV 0x9286 #define GL_DST_NV 0x9287 #define GL_SRC_OVER_NV 0x9288 #define GL_DST_OVER_NV 0x9289 #define GL_SRC_IN_NV 0x928A #define GL_DST_IN_NV 0x928B #define GL_SRC_OUT_NV 0x928C #define GL_DST_OUT_NV 0x928D #define GL_SRC_ATOP_NV 0x928E #define GL_DST_ATOP_NV 0x928F #define GL_PLUS_NV 0x9291 #define GL_PLUS_DARKER_NV 0x9292 #define GL_MULTIPLY 0x9294 #define GL_MULTIPLY_KHR 0x9294 #define GL_MULTIPLY_NV 0x9294 #define GL_SCREEN 0x9295 #define GL_SCREEN_KHR 0x9295 #define GL_SCREEN_NV 0x9295 #define GL_OVERLAY 0x9296 #define GL_OVERLAY_KHR 0x9296 #define GL_OVERLAY_NV 0x9296 #define GL_DARKEN 0x9297 #define GL_DARKEN_KHR 0x9297 #define GL_DARKEN_NV 0x9297 #define GL_LIGHTEN 0x9298 #define GL_LIGHTEN_KHR 0x9298 #define GL_LIGHTEN_NV 0x9298 #define GL_COLORDODGE 0x9299 #define GL_COLORDODGE_KHR 0x9299 #define GL_COLORDODGE_NV 0x9299 #define GL_COLORBURN 0x929A #define GL_COLORBURN_KHR 0x929A #define GL_COLORBURN_NV 0x929A #define GL_HARDLIGHT 0x929B #define GL_HARDLIGHT_KHR 0x929B #define GL_HARDLIGHT_NV 0x929B #define GL_SOFTLIGHT 0x929C #define GL_SOFTLIGHT_KHR 0x929C #define GL_SOFTLIGHT_NV 0x929C #define GL_DIFFERENCE 0x929E #define GL_DIFFERENCE_KHR 0x929E #define GL_DIFFERENCE_NV 0x929E #define GL_MINUS_NV 0x929F #define GL_EXCLUSION 0x92A0 #define GL_EXCLUSION_KHR 0x92A0 #define GL_EXCLUSION_NV 0x92A0 #define GL_CONTRAST_NV 0x92A1 #define GL_INVERT_RGB_NV 0x92A3 #define GL_LINEARDODGE_NV 0x92A4 #define GL_LINEARBURN_NV 0x92A5 #define GL_VIVIDLIGHT_NV 0x92A6 #define GL_LINEARLIGHT_NV 0x92A7 #define GL_PINLIGHT_NV 0x92A8 #define GL_HARDMIX_NV 0x92A9 #define GL_HSL_HUE 0x92AD #define GL_HSL_HUE_KHR 0x92AD #define GL_HSL_HUE_NV 0x92AD #define GL_HSL_SATURATION 0x92AE #define GL_HSL_SATURATION_KHR 0x92AE #define GL_HSL_SATURATION_NV 0x92AE #define GL_HSL_COLOR 0x92AF #define GL_HSL_COLOR_KHR 0x92AF #define GL_HSL_COLOR_NV 0x92AF #define GL_HSL_LUMINOSITY 0x92B0 #define GL_HSL_LUMINOSITY_KHR 0x92B0 #define GL_HSL_LUMINOSITY_NV 0x92B0 #define GL_PLUS_CLAMPED_NV 0x92B1 #define GL_PLUS_CLAMPED_ALPHA_NV 0x92B2 #define GL_MINUS_CLAMPED_NV 0x92B3 #define GL_INVERT_OVG_NV 0x92B4 #define GL_MAX_LGPU_GPUS_NVX 0x92BA #define GL_MULTICAST_GPUS_NV 0x92BA #define GL_PURGED_CONTEXT_RESET_NV 0x92BB #define GL_PRIMITIVE_BOUNDING_BOX 0x92BE #define GL_PRIMITIVE_BOUNDING_BOX_ARB 0x92BE #define GL_PRIMITIVE_BOUNDING_BOX_EXT 0x92BE #define GL_PRIMITIVE_BOUNDING_BOX_OES 0x92BE #define GL_ALPHA_TO_COVERAGE_DITHER_MODE_NV 0x92BF #define GL_ATOMIC_COUNTER_BUFFER 0x92C0 #define GL_ATOMIC_COUNTER_BUFFER_BINDING 0x92C1 #define GL_ATOMIC_COUNTER_BUFFER_START 0x92C2 #define GL_ATOMIC_COUNTER_BUFFER_SIZE 0x92C3 #define GL_ATOMIC_COUNTER_BUFFER_DATA_SIZE 0x92C4 #define GL_ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTERS 0x92C5 #define GL_ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTER_INDICES 0x92C6 #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_VERTEX_SHADER 0x92C7 #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_CONTROL_SHADER 0x92C8 #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_EVALUATION_SHADER 0x92C9 #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_GEOMETRY_SHADER 0x92CA #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_FRAGMENT_SHADER 0x92CB #define GL_MAX_VERTEX_ATOMIC_COUNTER_BUFFERS 0x92CC #define GL_MAX_TESS_CONTROL_ATOMIC_COUNTER_BUFFERS 0x92CD #define GL_MAX_TESS_CONTROL_ATOMIC_COUNTER_BUFFERS_EXT 0x92CD #define GL_MAX_TESS_CONTROL_ATOMIC_COUNTER_BUFFERS_OES 0x92CD #define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTER_BUFFERS 0x92CE #define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTER_BUFFERS_EXT 0x92CE #define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTER_BUFFERS_OES 0x92CE #define GL_MAX_GEOMETRY_ATOMIC_COUNTER_BUFFERS 0x92CF #define GL_MAX_GEOMETRY_ATOMIC_COUNTER_BUFFERS_EXT 0x92CF #define GL_MAX_GEOMETRY_ATOMIC_COUNTER_BUFFERS_OES 0x92CF #define GL_MAX_FRAGMENT_ATOMIC_COUNTER_BUFFERS 0x92D0 #define GL_MAX_COMBINED_ATOMIC_COUNTER_BUFFERS 0x92D1 #define GL_MAX_VERTEX_ATOMIC_COUNTERS 0x92D2 #define GL_MAX_TESS_CONTROL_ATOMIC_COUNTERS 0x92D3 #define GL_MAX_TESS_CONTROL_ATOMIC_COUNTERS_EXT 0x92D3 #define GL_MAX_TESS_CONTROL_ATOMIC_COUNTERS_OES 0x92D3 #define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTERS 0x92D4 #define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTERS_EXT 0x92D4 #define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTERS_OES 0x92D4 #define GL_MAX_GEOMETRY_ATOMIC_COUNTERS 0x92D5 #define GL_MAX_GEOMETRY_ATOMIC_COUNTERS_EXT 0x92D5 #define GL_MAX_GEOMETRY_ATOMIC_COUNTERS_OES 0x92D5 #define GL_MAX_FRAGMENT_ATOMIC_COUNTERS 0x92D6 #define GL_MAX_COMBINED_ATOMIC_COUNTERS 0x92D7 #define GL_MAX_ATOMIC_COUNTER_BUFFER_SIZE 0x92D8 #define GL_ACTIVE_ATOMIC_COUNTER_BUFFERS 0x92D9 #define GL_UNIFORM_ATOMIC_COUNTER_BUFFER_INDEX 0x92DA #define GL_UNSIGNED_INT_ATOMIC_COUNTER 0x92DB #define GL_MAX_ATOMIC_COUNTER_BUFFER_BINDINGS 0x92DC #define GL_FRAGMENT_COVERAGE_TO_COLOR_NV 0x92DD #define GL_FRAGMENT_COVERAGE_COLOR_NV 0x92DE #define GL_MESH_OUTPUT_PER_VERTEX_GRANULARITY_NV 0x92DF #define GL_DEBUG_OUTPUT 0x92E0 #define GL_DEBUG_OUTPUT_KHR 0x92E0 #define GL_UNIFORM 0x92E1 #define GL_UNIFORM_BLOCK 0x92E2 #define GL_PROGRAM_INPUT 0x92E3 #define GL_PROGRAM_OUTPUT 0x92E4 #define GL_BUFFER_VARIABLE 0x92E5 #define GL_SHADER_STORAGE_BLOCK 0x92E6 #define GL_IS_PER_PATCH 0x92E7 #define GL_IS_PER_PATCH_EXT 0x92E7 #define GL_IS_PER_PATCH_OES 0x92E7 #define GL_VERTEX_SUBROUTINE 0x92E8 #define GL_TESS_CONTROL_SUBROUTINE 0x92E9 #define GL_TESS_EVALUATION_SUBROUTINE 0x92EA #define GL_GEOMETRY_SUBROUTINE 0x92EB #define GL_FRAGMENT_SUBROUTINE 0x92EC #define GL_COMPUTE_SUBROUTINE 0x92ED #define GL_VERTEX_SUBROUTINE_UNIFORM 0x92EE #define GL_TESS_CONTROL_SUBROUTINE_UNIFORM 0x92EF #define GL_TESS_EVALUATION_SUBROUTINE_UNIFORM 0x92F0 #define GL_GEOMETRY_SUBROUTINE_UNIFORM 0x92F1 #define GL_FRAGMENT_SUBROUTINE_UNIFORM 0x92F2 #define GL_COMPUTE_SUBROUTINE_UNIFORM 0x92F3 #define GL_TRANSFORM_FEEDBACK_VARYING 0x92F4 #define GL_ACTIVE_RESOURCES 0x92F5 #define GL_MAX_NAME_LENGTH 0x92F6 #define GL_MAX_NUM_ACTIVE_VARIABLES 0x92F7 #define GL_MAX_NUM_COMPATIBLE_SUBROUTINES 0x92F8 #define GL_NAME_LENGTH 0x92F9 #define GL_TYPE 0x92FA #define GL_ARRAY_SIZE 0x92FB #define GL_OFFSET 0x92FC #define GL_BLOCK_INDEX 0x92FD #define GL_ARRAY_STRIDE 0x92FE #define GL_MATRIX_STRIDE 0x92FF #define GL_IS_ROW_MAJOR 0x9300 #define GL_ATOMIC_COUNTER_BUFFER_INDEX 0x9301 #define GL_BUFFER_BINDING 0x9302 #define GL_BUFFER_DATA_SIZE 0x9303 #define GL_NUM_ACTIVE_VARIABLES 0x9304 #define GL_ACTIVE_VARIABLES 0x9305 #define GL_REFERENCED_BY_VERTEX_SHADER 0x9306 #define GL_REFERENCED_BY_TESS_CONTROL_SHADER 0x9307 #define GL_REFERENCED_BY_TESS_CONTROL_SHADER_EXT 0x9307 #define GL_REFERENCED_BY_TESS_CONTROL_SHADER_OES 0x9307 #define GL_REFERENCED_BY_TESS_EVALUATION_SHADER 0x9308 #define GL_REFERENCED_BY_TESS_EVALUATION_SHADER_EXT 0x9308 #define GL_REFERENCED_BY_TESS_EVALUATION_SHADER_OES 0x9308 #define GL_REFERENCED_BY_GEOMETRY_SHADER 0x9309 #define GL_REFERENCED_BY_GEOMETRY_SHADER_EXT 0x9309 #define GL_REFERENCED_BY_GEOMETRY_SHADER_OES 0x9309 #define GL_REFERENCED_BY_FRAGMENT_SHADER 0x930A #define GL_REFERENCED_BY_COMPUTE_SHADER 0x930B #define GL_TOP_LEVEL_ARRAY_SIZE 0x930C #define GL_TOP_LEVEL_ARRAY_STRIDE 0x930D #define GL_LOCATION 0x930E #define GL_LOCATION_INDEX 0x930F #define GL_LOCATION_INDEX_EXT 0x930F #define GL_FRAMEBUFFER_DEFAULT_WIDTH 0x9310 #define GL_FRAMEBUFFER_DEFAULT_HEIGHT 0x9311 #define GL_FRAMEBUFFER_DEFAULT_LAYERS 0x9312 #define GL_FRAMEBUFFER_DEFAULT_LAYERS_EXT 0x9312 #define GL_FRAMEBUFFER_DEFAULT_LAYERS_OES 0x9312 #define GL_FRAMEBUFFER_DEFAULT_SAMPLES 0x9313 #define GL_FRAMEBUFFER_DEFAULT_FIXED_SAMPLE_LOCATIONS 0x9314 #define GL_MAX_FRAMEBUFFER_WIDTH 0x9315 #define GL_MAX_FRAMEBUFFER_HEIGHT 0x9316 #define GL_MAX_FRAMEBUFFER_LAYERS 0x9317 #define GL_MAX_FRAMEBUFFER_LAYERS_EXT 0x9317 #define GL_MAX_FRAMEBUFFER_LAYERS_OES 0x9317 #define GL_MAX_FRAMEBUFFER_SAMPLES 0x9318 #define GL_RASTER_MULTISAMPLE_EXT 0x9327 #define GL_RASTER_SAMPLES_EXT 0x9328 #define GL_MAX_RASTER_SAMPLES_EXT 0x9329 #define GL_RASTER_FIXED_SAMPLE_LOCATIONS_EXT 0x932A #define GL_MULTISAMPLE_RASTERIZATION_ALLOWED_EXT 0x932B #define GL_EFFECTIVE_RASTER_SAMPLES_EXT 0x932C #define GL_DEPTH_SAMPLES_NV 0x932D #define GL_STENCIL_SAMPLES_NV 0x932E #define GL_MIXED_DEPTH_SAMPLES_SUPPORTED_NV 0x932F #define GL_MIXED_STENCIL_SAMPLES_SUPPORTED_NV 0x9330 #define GL_COVERAGE_MODULATION_TABLE_NV 0x9331 #define GL_COVERAGE_MODULATION_NV 0x9332 #define GL_COVERAGE_MODULATION_TABLE_SIZE_NV 0x9333 #define GL_WARP_SIZE_NV 0x9339 #define GL_WARPS_PER_SM_NV 0x933A #define GL_SM_COUNT_NV 0x933B #define GL_FILL_RECTANGLE_NV 0x933C #define GL_SAMPLE_LOCATION_SUBPIXEL_BITS_ARB 0x933D #define GL_SAMPLE_LOCATION_SUBPIXEL_BITS_NV 0x933D #define GL_SAMPLE_LOCATION_PIXEL_GRID_WIDTH_ARB 0x933E #define GL_SAMPLE_LOCATION_PIXEL_GRID_WIDTH_NV 0x933E #define GL_SAMPLE_LOCATION_PIXEL_GRID_HEIGHT_ARB 0x933F #define GL_SAMPLE_LOCATION_PIXEL_GRID_HEIGHT_NV 0x933F #define GL_PROGRAMMABLE_SAMPLE_LOCATION_TABLE_SIZE_ARB 0x9340 #define GL_PROGRAMMABLE_SAMPLE_LOCATION_TABLE_SIZE_NV 0x9340 #define GL_PROGRAMMABLE_SAMPLE_LOCATION_ARB 0x9341 #define GL_PROGRAMMABLE_SAMPLE_LOCATION_NV 0x9341 #define GL_FRAMEBUFFER_PROGRAMMABLE_SAMPLE_LOCATIONS_ARB 0x9342 #define GL_FRAMEBUFFER_PROGRAMMABLE_SAMPLE_LOCATIONS_NV 0x9342 #define GL_FRAMEBUFFER_SAMPLE_LOCATION_PIXEL_GRID_ARB 0x9343 #define GL_FRAMEBUFFER_SAMPLE_LOCATION_PIXEL_GRID_NV 0x9343 #define GL_MAX_COMPUTE_VARIABLE_GROUP_INVOCATIONS_ARB 0x9344 #define GL_MAX_COMPUTE_VARIABLE_GROUP_SIZE_ARB 0x9345 #define GL_CONSERVATIVE_RASTERIZATION_NV 0x9346 #define GL_SUBPIXEL_PRECISION_BIAS_X_BITS_NV 0x9347 #define GL_SUBPIXEL_PRECISION_BIAS_Y_BITS_NV 0x9348 #define GL_MAX_SUBPIXEL_PRECISION_BIAS_BITS_NV 0x9349 #define GL_LOCATION_COMPONENT 0x934A #define GL_TRANSFORM_FEEDBACK_BUFFER_INDEX 0x934B #define GL_TRANSFORM_FEEDBACK_BUFFER_STRIDE 0x934C #define GL_ALPHA_TO_COVERAGE_DITHER_DEFAULT_NV 0x934D #define GL_ALPHA_TO_COVERAGE_DITHER_ENABLE_NV 0x934E #define GL_ALPHA_TO_COVERAGE_DITHER_DISABLE_NV 0x934F #define GL_VIEWPORT_SWIZZLE_POSITIVE_X_NV 0x9350 #define GL_VIEWPORT_SWIZZLE_NEGATIVE_X_NV 0x9351 #define GL_VIEWPORT_SWIZZLE_POSITIVE_Y_NV 0x9352 #define GL_VIEWPORT_SWIZZLE_NEGATIVE_Y_NV 0x9353 #define GL_VIEWPORT_SWIZZLE_POSITIVE_Z_NV 0x9354 #define GL_VIEWPORT_SWIZZLE_NEGATIVE_Z_NV 0x9355 #define GL_VIEWPORT_SWIZZLE_POSITIVE_W_NV 0x9356 #define GL_VIEWPORT_SWIZZLE_NEGATIVE_W_NV 0x9357 #define GL_VIEWPORT_SWIZZLE_X_NV 0x9358 #define GL_VIEWPORT_SWIZZLE_Y_NV 0x9359 #define GL_VIEWPORT_SWIZZLE_Z_NV 0x935A #define GL_VIEWPORT_SWIZZLE_W_NV 0x935B #define GL_CLIP_ORIGIN 0x935C #define GL_CLIP_ORIGIN_EXT 0x935C #define GL_CLIP_DEPTH_MODE 0x935D #define GL_CLIP_DEPTH_MODE_EXT 0x935D #define GL_NEGATIVE_ONE_TO_ONE 0x935E #define GL_NEGATIVE_ONE_TO_ONE_EXT 0x935E #define GL_ZERO_TO_ONE 0x935F #define GL_ZERO_TO_ONE_EXT 0x935F #define GL_CLEAR_TEXTURE 0x9365 #define GL_TEXTURE_REDUCTION_MODE_ARB 0x9366 #define GL_TEXTURE_REDUCTION_MODE_EXT 0x9366 #define GL_WEIGHTED_AVERAGE_ARB 0x9367 #define GL_WEIGHTED_AVERAGE_EXT 0x9367 #define GL_FONT_GLYPHS_AVAILABLE_NV 0x9368 #define GL_FONT_TARGET_UNAVAILABLE_NV 0x9369 #define GL_FONT_UNAVAILABLE_NV 0x936A #define GL_FONT_UNINTELLIGIBLE_NV 0x936B #define GL_STANDARD_FONT_FORMAT_NV 0x936C #define GL_FRAGMENT_INPUT_NV 0x936D #define GL_UNIFORM_BUFFER_UNIFIED_NV 0x936E #define GL_UNIFORM_BUFFER_ADDRESS_NV 0x936F #define GL_UNIFORM_BUFFER_LENGTH_NV 0x9370 #define GL_MULTISAMPLES_NV 0x9371 #define GL_SUPERSAMPLE_SCALE_X_NV 0x9372 #define GL_SUPERSAMPLE_SCALE_Y_NV 0x9373 #define GL_CONFORMANT_NV 0x9374 #define GL_CONSERVATIVE_RASTER_DILATE_NV 0x9379 #define GL_CONSERVATIVE_RASTER_DILATE_RANGE_NV 0x937A #define GL_CONSERVATIVE_RASTER_DILATE_GRANULARITY_NV 0x937B #define GL_VIEWPORT_POSITION_W_SCALE_NV 0x937C #define GL_VIEWPORT_POSITION_W_SCALE_X_COEFF_NV 0x937D #define GL_VIEWPORT_POSITION_W_SCALE_Y_COEFF_NV 0x937E #define GL_REPRESENTATIVE_FRAGMENT_TEST_NV 0x937F #define GL_NUM_SAMPLE_COUNTS 0x9380 #define GL_MULTISAMPLE_LINE_WIDTH_RANGE 0x9381 #define GL_MULTISAMPLE_LINE_WIDTH_RANGE_ARB 0x9381 #define GL_MULTISAMPLE_LINE_WIDTH_GRANULARITY 0x9382 #define GL_MULTISAMPLE_LINE_WIDTH_GRANULARITY_ARB 0x9382 #define GL_VIEW_CLASS_EAC_R11 0x9383 #define GL_VIEW_CLASS_EAC_RG11 0x9384 #define GL_VIEW_CLASS_ETC2_RGB 0x9385 #define GL_VIEW_CLASS_ETC2_RGBA 0x9386 #define GL_VIEW_CLASS_ETC2_EAC_RGBA 0x9387 #define GL_VIEW_CLASS_ASTC_4x4_RGBA 0x9388 #define GL_VIEW_CLASS_ASTC_5x4_RGBA 0x9389 #define GL_VIEW_CLASS_ASTC_5x5_RGBA 0x938A #define GL_VIEW_CLASS_ASTC_6x5_RGBA 0x938B #define GL_VIEW_CLASS_ASTC_6x6_RGBA 0x938C #define GL_VIEW_CLASS_ASTC_8x5_RGBA 0x938D #define GL_VIEW_CLASS_ASTC_8x6_RGBA 0x938E #define GL_VIEW_CLASS_ASTC_8x8_RGBA 0x938F #define GL_VIEW_CLASS_ASTC_10x5_RGBA 0x9390 #define GL_VIEW_CLASS_ASTC_10x6_RGBA 0x9391 #define GL_VIEW_CLASS_ASTC_10x8_RGBA 0x9392 #define GL_VIEW_CLASS_ASTC_10x10_RGBA 0x9393 #define GL_VIEW_CLASS_ASTC_12x10_RGBA 0x9394 #define GL_VIEW_CLASS_ASTC_12x12_RGBA 0x9395 #define GL_TRANSLATED_SHADER_SOURCE_LENGTH_ANGLE 0x93A0 #define GL_BGRA8_EXT 0x93A1 #define GL_TEXTURE_USAGE_ANGLE 0x93A2 #define GL_FRAMEBUFFER_ATTACHMENT_ANGLE 0x93A3 #define GL_PACK_REVERSE_ROW_ORDER_ANGLE 0x93A4 #define GL_PROGRAM_BINARY_ANGLE 0x93A6 #define GL_COMPRESSED_RGBA_ASTC_4x4 0x93B0 #define GL_COMPRESSED_RGBA_ASTC_4x4_KHR 0x93B0 #define GL_COMPRESSED_RGBA_ASTC_5x4 0x93B1 #define GL_COMPRESSED_RGBA_ASTC_5x4_KHR 0x93B1 #define GL_COMPRESSED_RGBA_ASTC_5x5 0x93B2 #define GL_COMPRESSED_RGBA_ASTC_5x5_KHR 0x93B2 #define GL_COMPRESSED_RGBA_ASTC_6x5 0x93B3 #define GL_COMPRESSED_RGBA_ASTC_6x5_KHR 0x93B3 #define GL_COMPRESSED_RGBA_ASTC_6x6 0x93B4 #define GL_COMPRESSED_RGBA_ASTC_6x6_KHR 0x93B4 #define GL_COMPRESSED_RGBA_ASTC_8x5 0x93B5 #define GL_COMPRESSED_RGBA_ASTC_8x5_KHR 0x93B5 #define GL_COMPRESSED_RGBA_ASTC_8x6 0x93B6 #define GL_COMPRESSED_RGBA_ASTC_8x6_KHR 0x93B6 #define GL_COMPRESSED_RGBA_ASTC_8x8 0x93B7 #define GL_COMPRESSED_RGBA_ASTC_8x8_KHR 0x93B7 #define GL_COMPRESSED_RGBA_ASTC_10x5 0x93B8 #define GL_COMPRESSED_RGBA_ASTC_10x5_KHR 0x93B8 #define GL_COMPRESSED_RGBA_ASTC_10x6 0x93B9 #define GL_COMPRESSED_RGBA_ASTC_10x6_KHR 0x93B9 #define GL_COMPRESSED_RGBA_ASTC_10x8 0x93BA #define GL_COMPRESSED_RGBA_ASTC_10x8_KHR 0x93BA #define GL_COMPRESSED_RGBA_ASTC_10x10 0x93BB #define GL_COMPRESSED_RGBA_ASTC_10x10_KHR 0x93BB #define GL_COMPRESSED_RGBA_ASTC_12x10 0x93BC #define GL_COMPRESSED_RGBA_ASTC_12x10_KHR 0x93BC #define GL_COMPRESSED_RGBA_ASTC_12x12 0x93BD #define GL_COMPRESSED_RGBA_ASTC_12x12_KHR 0x93BD #define GL_COMPRESSED_RGBA_ASTC_3x3x3_OES 0x93C0 #define GL_COMPRESSED_RGBA_ASTC_4x3x3_OES 0x93C1 #define GL_COMPRESSED_RGBA_ASTC_4x4x3_OES 0x93C2 #define GL_COMPRESSED_RGBA_ASTC_4x4x4_OES 0x93C3 #define GL_COMPRESSED_RGBA_ASTC_5x4x4_OES 0x93C4 #define GL_COMPRESSED_RGBA_ASTC_5x5x4_OES 0x93C5 #define GL_COMPRESSED_RGBA_ASTC_5x5x5_OES 0x93C6 #define GL_COMPRESSED_RGBA_ASTC_6x5x5_OES 0x93C7 #define GL_COMPRESSED_RGBA_ASTC_6x6x5_OES 0x93C8 #define GL_COMPRESSED_RGBA_ASTC_6x6x6_OES 0x93C9 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4 0x93D0 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR 0x93D0 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4 0x93D1 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR 0x93D1 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5 0x93D2 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR 0x93D2 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5 0x93D3 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR 0x93D3 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6 0x93D4 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR 0x93D4 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5 0x93D5 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR 0x93D5 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6 0x93D6 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR 0x93D6 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8 0x93D7 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR 0x93D7 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5 0x93D8 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR 0x93D8 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6 0x93D9 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR 0x93D9 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8 0x93DA #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR 0x93DA #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10 0x93DB #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR 0x93DB #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10 0x93DC #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR 0x93DC #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12 0x93DD #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR 0x93DD #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_3x3x3_OES 0x93E0 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x3x3_OES 0x93E1 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4x3_OES 0x93E2 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4x4_OES 0x93E3 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4x4_OES 0x93E4 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5x4_OES 0x93E5 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5x5_OES 0x93E6 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5x5_OES 0x93E7 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6x5_OES 0x93E8 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6x6_OES 0x93E9 #define GL_COMPRESSED_SRGB_ALPHA_PVRTC_2BPPV2_IMG 0x93F0 #define GL_COMPRESSED_SRGB_ALPHA_PVRTC_4BPPV2_IMG 0x93F1 #define GL_PERFQUERY_COUNTER_EVENT_INTEL 0x94F0 #define GL_PERFQUERY_COUNTER_DURATION_NORM_INTEL 0x94F1 #define GL_PERFQUERY_COUNTER_DURATION_RAW_INTEL 0x94F2 #define GL_PERFQUERY_COUNTER_THROUGHPUT_INTEL 0x94F3 #define GL_PERFQUERY_COUNTER_RAW_INTEL 0x94F4 #define GL_PERFQUERY_COUNTER_TIMESTAMP_INTEL 0x94F5 #define GL_PERFQUERY_COUNTER_DATA_UINT32_INTEL 0x94F8 #define GL_PERFQUERY_COUNTER_DATA_UINT64_INTEL 0x94F9 #define GL_PERFQUERY_COUNTER_DATA_FLOAT_INTEL 0x94FA #define GL_PERFQUERY_COUNTER_DATA_DOUBLE_INTEL 0x94FB #define GL_PERFQUERY_COUNTER_DATA_BOOL32_INTEL 0x94FC #define GL_PERFQUERY_QUERY_NAME_LENGTH_MAX_INTEL 0x94FD #define GL_PERFQUERY_COUNTER_NAME_LENGTH_MAX_INTEL 0x94FE #define GL_PERFQUERY_COUNTER_DESC_LENGTH_MAX_INTEL 0x94FF #define GL_PERFQUERY_GPA_EXTENDED_COUNTERS_INTEL 0x9500 #define GL_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_EXT 0x9530 #define GL_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_EXT 0x9531 #define GL_SUBGROUP_SIZE_KHR 0x9532 #define GL_SUBGROUP_SUPPORTED_STAGES_KHR 0x9533 #define GL_SUBGROUP_SUPPORTED_FEATURES_KHR 0x9534 #define GL_SUBGROUP_QUAD_ALL_STAGES_KHR 0x9535 #define GL_MAX_MESH_TOTAL_MEMORY_SIZE_NV 0x9536 #define GL_MAX_TASK_TOTAL_MEMORY_SIZE_NV 0x9537 #define GL_MAX_MESH_OUTPUT_VERTICES_NV 0x9538 #define GL_MAX_MESH_OUTPUT_PRIMITIVES_NV 0x9539 #define GL_MAX_TASK_OUTPUT_COUNT_NV 0x953A #define GL_MAX_MESH_WORK_GROUP_SIZE_NV 0x953B #define GL_MAX_TASK_WORK_GROUP_SIZE_NV 0x953C #define GL_MAX_DRAW_MESH_TASKS_COUNT_NV 0x953D #define GL_MESH_WORK_GROUP_SIZE_NV 0x953E #define GL_TASK_WORK_GROUP_SIZE_NV 0x953F #define GL_QUERY_RESOURCE_TYPE_VIDMEM_ALLOC_NV 0x9540 #define GL_QUERY_RESOURCE_MEMTYPE_VIDMEM_NV 0x9542 #define GL_MESH_OUTPUT_PER_PRIMITIVE_GRANULARITY_NV 0x9543 #define GL_QUERY_RESOURCE_SYS_RESERVED_NV 0x9544 #define GL_QUERY_RESOURCE_TEXTURE_NV 0x9545 #define GL_QUERY_RESOURCE_RENDERBUFFER_NV 0x9546 #define GL_QUERY_RESOURCE_BUFFEROBJECT_NV 0x9547 #define GL_PER_GPU_STORAGE_NV 0x9548 #define GL_MULTICAST_PROGRAMMABLE_SAMPLE_LOCATION_NV 0x9549 #define GL_UPLOAD_GPU_MASK_NVX 0x954A #define GL_CONSERVATIVE_RASTER_MODE_NV 0x954D #define GL_CONSERVATIVE_RASTER_MODE_POST_SNAP_NV 0x954E #define GL_CONSERVATIVE_RASTER_MODE_PRE_SNAP_TRIANGLES_NV 0x954F #define GL_CONSERVATIVE_RASTER_MODE_PRE_SNAP_NV 0x9550 #define GL_SHADER_BINARY_FORMAT_SPIR_V 0x9551 #define GL_SHADER_BINARY_FORMAT_SPIR_V_ARB 0x9551 #define GL_SPIR_V_BINARY 0x9552 #define GL_SPIR_V_BINARY_ARB 0x9552 #define GL_SPIR_V_EXTENSIONS 0x9553 #define GL_NUM_SPIR_V_EXTENSIONS 0x9554 #define GL_SCISSOR_TEST_EXCLUSIVE_NV 0x9555 #define GL_SCISSOR_BOX_EXCLUSIVE_NV 0x9556 #define GL_MAX_MESH_VIEWS_NV 0x9557 #define GL_RENDER_GPU_MASK_NV 0x9558 #define GL_MESH_SHADER_NV 0x9559 #define GL_TASK_SHADER_NV 0x955A #define GL_SHADING_RATE_IMAGE_BINDING_NV 0x955B #define GL_SHADING_RATE_IMAGE_TEXEL_WIDTH_NV 0x955C #define GL_SHADING_RATE_IMAGE_TEXEL_HEIGHT_NV 0x955D #define GL_SHADING_RATE_IMAGE_PALETTE_SIZE_NV 0x955E #define GL_MAX_COARSE_FRAGMENT_SAMPLES_NV 0x955F #define GL_SHADING_RATE_IMAGE_NV 0x9563 #define GL_SHADING_RATE_NO_INVOCATIONS_NV 0x9564 #define GL_SHADING_RATE_1_INVOCATION_PER_PIXEL_NV 0x9565 #define GL_SHADING_RATE_1_INVOCATION_PER_1X2_PIXELS_NV 0x9566 #define GL_SHADING_RATE_1_INVOCATION_PER_2X1_PIXELS_NV 0x9567 #define GL_SHADING_RATE_1_INVOCATION_PER_2X2_PIXELS_NV 0x9568 #define GL_SHADING_RATE_1_INVOCATION_PER_2X4_PIXELS_NV 0x9569 #define GL_SHADING_RATE_1_INVOCATION_PER_4X2_PIXELS_NV 0x956A #define GL_SHADING_RATE_1_INVOCATION_PER_4X4_PIXELS_NV 0x956B #define GL_SHADING_RATE_2_INVOCATIONS_PER_PIXEL_NV 0x956C #define GL_SHADING_RATE_4_INVOCATIONS_PER_PIXEL_NV 0x956D #define GL_SHADING_RATE_8_INVOCATIONS_PER_PIXEL_NV 0x956E #define GL_SHADING_RATE_16_INVOCATIONS_PER_PIXEL_NV 0x956F #define GL_MESH_VERTICES_OUT_NV 0x9579 #define GL_MESH_PRIMITIVES_OUT_NV 0x957A #define GL_MESH_OUTPUT_TYPE_NV 0x957B #define GL_MESH_SUBROUTINE_NV 0x957C #define GL_TASK_SUBROUTINE_NV 0x957D #define GL_MESH_SUBROUTINE_UNIFORM_NV 0x957E #define GL_TASK_SUBROUTINE_UNIFORM_NV 0x957F #define GL_TEXTURE_TILING_EXT 0x9580 #define GL_DEDICATED_MEMORY_OBJECT_EXT 0x9581 #define GL_NUM_TILING_TYPES_EXT 0x9582 #define GL_TILING_TYPES_EXT 0x9583 #define GL_OPTIMAL_TILING_EXT 0x9584 #define GL_LINEAR_TILING_EXT 0x9585 #define GL_HANDLE_TYPE_OPAQUE_FD_EXT 0x9586 #define GL_HANDLE_TYPE_OPAQUE_WIN32_EXT 0x9587 #define GL_HANDLE_TYPE_OPAQUE_WIN32_KMT_EXT 0x9588 #define GL_HANDLE_TYPE_D3D12_TILEPOOL_EXT 0x9589 #define GL_HANDLE_TYPE_D3D12_RESOURCE_EXT 0x958A #define GL_HANDLE_TYPE_D3D11_IMAGE_EXT 0x958B #define GL_HANDLE_TYPE_D3D11_IMAGE_KMT_EXT 0x958C #define GL_LAYOUT_GENERAL_EXT 0x958D #define GL_LAYOUT_COLOR_ATTACHMENT_EXT 0x958E #define GL_LAYOUT_DEPTH_STENCIL_ATTACHMENT_EXT 0x958F #define GL_LAYOUT_DEPTH_STENCIL_READ_ONLY_EXT 0x9590 #define GL_LAYOUT_SHADER_READ_ONLY_EXT 0x9591 #define GL_LAYOUT_TRANSFER_SRC_EXT 0x9592 #define GL_LAYOUT_TRANSFER_DST_EXT 0x9593 #define GL_HANDLE_TYPE_D3D12_FENCE_EXT 0x9594 #define GL_D3D12_FENCE_VALUE_EXT 0x9595 #define GL_NUM_DEVICE_UUIDS_EXT 0x9596 #define GL_DEVICE_UUID_EXT 0x9597 #define GL_DRIVER_UUID_EXT 0x9598 #define GL_DEVICE_LUID_EXT 0x9599 #define GL_DEVICE_NODE_MASK_EXT 0x959A #define GL_PROTECTED_MEMORY_OBJECT_EXT 0x959B #define GL_UNIFORM_BLOCK_REFERENCED_BY_MESH_SHADER_NV 0x959C #define GL_UNIFORM_BLOCK_REFERENCED_BY_TASK_SHADER_NV 0x959D #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_MESH_SHADER_NV 0x959E #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TASK_SHADER_NV 0x959F #define GL_REFERENCED_BY_MESH_SHADER_NV 0x95A0 #define GL_REFERENCED_BY_TASK_SHADER_NV 0x95A1 #define GL_MAX_MESH_WORK_GROUP_INVOCATIONS_NV 0x95A2 #define GL_MAX_TASK_WORK_GROUP_INVOCATIONS_NV 0x95A3 #define GL_ATTACHED_MEMORY_OBJECT_NV 0x95A4 #define GL_ATTACHED_MEMORY_OFFSET_NV 0x95A5 #define GL_MEMORY_ATTACHABLE_ALIGNMENT_NV 0x95A6 #define GL_MEMORY_ATTACHABLE_SIZE_NV 0x95A7 #define GL_MEMORY_ATTACHABLE_NV 0x95A8 #define GL_DETACHED_MEMORY_INCARNATION_NV 0x95A9 #define GL_DETACHED_TEXTURES_NV 0x95AA #define GL_DETACHED_BUFFERS_NV 0x95AB #define GL_MAX_DETACHED_TEXTURES_NV 0x95AC #define GL_MAX_DETACHED_BUFFERS_NV 0x95AD #define GL_SHADING_RATE_SAMPLE_ORDER_DEFAULT_NV 0x95AE #define GL_SHADING_RATE_SAMPLE_ORDER_PIXEL_MAJOR_NV 0x95AF #define GL_SHADING_RATE_SAMPLE_ORDER_SAMPLE_MAJOR_NV 0x95B0 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_NUM_VIEWS_OVR 0x9630 #define GL_MAX_VIEWS_OVR 0x9631 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_BASE_VIEW_INDEX_OVR 0x9632 #define GL_FRAMEBUFFER_INCOMPLETE_VIEW_TARGETS_OVR 0x9633 #define GL_GS_SHADER_BINARY_MTK 0x9640 #define GL_GS_PROGRAM_BINARY_MTK 0x9641 #define GL_MAX_SHADER_COMBINED_LOCAL_STORAGE_FAST_SIZE_EXT 0x9650 #define GL_MAX_SHADER_COMBINED_LOCAL_STORAGE_SIZE_EXT 0x9651 #define GL_FRAMEBUFFER_INCOMPLETE_INSUFFICIENT_SHADER_COMBINED_LOCAL_STORAGE_EXT 0x9652 #define GL_FRAMEBUFFER_FETCH_NONCOHERENT_QCOM 0x96A2 #define GL_VALIDATE_SHADER_BINARY_QCOM 0x96A3 #define GL_SHARED_EDGE_NV 0xC0 #define GL_ROUNDED_RECT_NV 0xE8 #define GL_RELATIVE_ROUNDED_RECT_NV 0xE9 #define GL_ROUNDED_RECT2_NV 0xEA #define GL_RELATIVE_ROUNDED_RECT2_NV 0xEB #define GL_ROUNDED_RECT4_NV 0xEC #define GL_RELATIVE_ROUNDED_RECT4_NV 0xED #define GL_ROUNDED_RECT8_NV 0xEE #define GL_RELATIVE_ROUNDED_RECT8_NV 0xEF #define GL_RESTART_PATH_NV 0xF0 #define GL_DUP_FIRST_CUBIC_CURVE_TO_NV 0xF2 #define GL_DUP_LAST_CUBIC_CURVE_TO_NV 0xF4 #define GL_RECT_NV 0xF6 #define GL_RELATIVE_RECT_NV 0xF7 #define GL_CIRCULAR_CCW_ARC_TO_NV 0xF8 #define GL_CIRCULAR_CW_ARC_TO_NV 0xFA #define GL_CIRCULAR_TANGENT_ARC_TO_NV 0xFC #define GL_ARC_TO_NV 0xFE #define GL_RELATIVE_ARC_TO_NV 0xFF #define GL_TRACE_ALL_BITS_MESA 0xFFFF #define GL_ALL_ATTRIB_BITS 0xFFFFFFFF #define GL_ALL_BARRIER_BITS 0xFFFFFFFF #define GL_ALL_BARRIER_BITS_EXT 0xFFFFFFFF #define GL_ALL_PIXELS_AMD 0xFFFFFFFF #define GL_ALL_SHADER_BITS 0xFFFFFFFF #define GL_ALL_SHADER_BITS_EXT 0xFFFFFFFF #define GL_CLIENT_ALL_ATTRIB_BITS 0xFFFFFFFF #define GL_INVALID_INDEX 0xFFFFFFFF #define GL_QUERY_ALL_EVENT_BITS_AMD 0xFFFFFFFF #define GL_TIMEOUT_IGNORED 0xFFFFFFFFFFFFFFFF #define GL_TIMEOUT_IGNORED_APPLE 0xFFFFFFFFFFFFFFFF #define GL_LAYOUT_LINEAR_INTEL 1 #define GL_ONE 1 #define GL_TRUE 1 #define GL_VERSION_ES_CL_1_0 1 #define GL_VERSION_ES_CL_1_1 1 #define GL_VERSION_ES_CM_1_1 1 #define GL_CULL_VERTEX_IBM 103050 #define GL_ALL_STATIC_DATA_IBM 103060 #define GL_STATIC_VERTEX_ARRAY_IBM 103061 #define GL_VERTEX_ARRAY_LIST_IBM 103070 #define GL_NORMAL_ARRAY_LIST_IBM 103071 #define GL_COLOR_ARRAY_LIST_IBM 103072 #define GL_INDEX_ARRAY_LIST_IBM 103073 #define GL_TEXTURE_COORD_ARRAY_LIST_IBM 103074 #define GL_EDGE_FLAG_ARRAY_LIST_IBM 103075 #define GL_FOG_COORDINATE_ARRAY_LIST_IBM 103076 #define GL_SECONDARY_COLOR_ARRAY_LIST_IBM 103077 #define GL_VERTEX_ARRAY_LIST_STRIDE_IBM 103080 #define GL_NORMAL_ARRAY_LIST_STRIDE_IBM 103081 #define GL_COLOR_ARRAY_LIST_STRIDE_IBM 103082 #define GL_INDEX_ARRAY_LIST_STRIDE_IBM 103083 #define GL_TEXTURE_COORD_ARRAY_LIST_STRIDE_IBM 103084 #define GL_EDGE_FLAG_ARRAY_LIST_STRIDE_IBM 103085 #define GL_FOG_COORDINATE_ARRAY_LIST_STRIDE_IBM 103086 #define GL_SECONDARY_COLOR_ARRAY_LIST_STRIDE_IBM 103087 #define GL_UUID_SIZE_EXT 16 #define GL_LAYOUT_LINEAR_CPU_CACHED_INTEL 2 #define GL_LUID_SIZE_EXT 8 typedef void (GLAPIENTRY *PFNGLACCUMPROC)(GLenum op, GLfloat value); typedef void (GLAPIENTRY *PFNGLACCUMXOESPROC)(GLenum op, GLfixed value); typedef GLboolean (GLAPIENTRY *PFNGLACQUIREKEYEDMUTEXWIN32EXTPROC)(GLuint memory, GLuint64 key, GLuint timeout); typedef void (GLAPIENTRY *PFNGLACTIVEPROGRAMEXTPROC)(GLuint program); typedef void (GLAPIENTRY *PFNGLACTIVESHADERPROGRAMPROC)(GLuint pipeline, GLuint program); typedef void (GLAPIENTRY *PFNGLACTIVESHADERPROGRAMEXTPROC)(GLuint pipeline, GLuint program); typedef void (GLAPIENTRY *PFNGLACTIVESTENCILFACEEXTPROC)(GLenum face); typedef void (GLAPIENTRY *PFNGLACTIVETEXTUREPROC)(GLenum texture); typedef void (GLAPIENTRY *PFNGLACTIVETEXTUREARBPROC)(GLenum texture); typedef void (GLAPIENTRY *PFNGLACTIVEVARYINGNVPROC)(GLuint program, const GLchar * name); typedef void (GLAPIENTRY *PFNGLALPHAFRAGMENTOP1ATIPROC)(GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod); typedef void (GLAPIENTRY *PFNGLALPHAFRAGMENTOP2ATIPROC)(GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod); typedef void (GLAPIENTRY *PFNGLALPHAFRAGMENTOP3ATIPROC)(GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod); typedef void (GLAPIENTRY *PFNGLALPHAFUNCPROC)(GLenum func, GLfloat ref); typedef void (GLAPIENTRY *PFNGLALPHAFUNCQCOMPROC)(GLenum func, GLclampf ref); typedef void (GLAPIENTRY *PFNGLALPHAFUNCXPROC)(GLenum func, GLfixed ref); typedef void (GLAPIENTRY *PFNGLALPHAFUNCXOESPROC)(GLenum func, GLfixed ref); typedef void (GLAPIENTRY *PFNGLALPHATOCOVERAGEDITHERCONTROLNVPROC)(GLenum mode); typedef void (GLAPIENTRY *PFNGLAPPLYFRAMEBUFFERATTACHMENTCMAAINTELPROC)(void); typedef void (GLAPIENTRY *PFNGLAPPLYTEXTUREEXTPROC)(GLenum mode); typedef GLboolean (GLAPIENTRY *PFNGLAREPROGRAMSRESIDENTNVPROC)(GLsizei n, const GLuint * programs, GLboolean * residences); typedef GLboolean (GLAPIENTRY *PFNGLARETEXTURESRESIDENTPROC)(GLsizei n, const GLuint * textures, GLboolean * residences); typedef GLboolean (GLAPIENTRY *PFNGLARETEXTURESRESIDENTEXTPROC)(GLsizei n, const GLuint * textures, GLboolean * residences); typedef void (GLAPIENTRY *PFNGLARRAYELEMENTPROC)(GLint i); typedef void (GLAPIENTRY *PFNGLARRAYELEMENTEXTPROC)(GLint i); typedef void (GLAPIENTRY *PFNGLARRAYOBJECTATIPROC)(GLenum array, GLint size, GLenum type, GLsizei stride, GLuint buffer, GLuint offset); typedef GLuint (GLAPIENTRY *PFNGLASYNCCOPYBUFFERSUBDATANVXPROC)(GLsizei waitSemaphoreCount, const GLuint * waitSemaphoreArray, const GLuint64 * fenceValueArray, GLuint readGpu, GLbitfield writeGpuMask, GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size, GLsizei signalSemaphoreCount, const GLuint * signalSemaphoreArray, const GLuint64 * signalValueArray); typedef GLuint (GLAPIENTRY *PFNGLASYNCCOPYIMAGESUBDATANVXPROC)(GLsizei waitSemaphoreCount, const GLuint * waitSemaphoreArray, const GLuint64 * waitValueArray, GLuint srcGpu, GLbitfield dstGpuMask, GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth, GLsizei signalSemaphoreCount, const GLuint * signalSemaphoreArray, const GLuint64 * signalValueArray); typedef void (GLAPIENTRY *PFNGLASYNCMARKERSGIXPROC)(GLuint marker); typedef void (GLAPIENTRY *PFNGLATTACHOBJECTARBPROC)(GLhandleARB containerObj, GLhandleARB obj); typedef void (GLAPIENTRY *PFNGLATTACHSHADERPROC)(GLuint program, GLuint shader); typedef void (GLAPIENTRY *PFNGLBEGINPROC)(GLenum mode); typedef void (GLAPIENTRY *PFNGLBEGINCONDITIONALRENDERPROC)(GLuint id, GLenum mode); typedef void (GLAPIENTRY *PFNGLBEGINCONDITIONALRENDERNVPROC)(GLuint id, GLenum mode); typedef void (GLAPIENTRY *PFNGLBEGINCONDITIONALRENDERNVXPROC)(GLuint id); typedef void (GLAPIENTRY *PFNGLBEGINFRAGMENTSHADERATIPROC)(void); typedef void (GLAPIENTRY *PFNGLBEGINOCCLUSIONQUERYNVPROC)(GLuint id); typedef void (GLAPIENTRY *PFNGLBEGINPERFMONITORAMDPROC)(GLuint monitor); typedef void (GLAPIENTRY *PFNGLBEGINPERFQUERYINTELPROC)(GLuint queryHandle); typedef void (GLAPIENTRY *PFNGLBEGINQUERYPROC)(GLenum target, GLuint id); typedef void (GLAPIENTRY *PFNGLBEGINQUERYARBPROC)(GLenum target, GLuint id); typedef void (GLAPIENTRY *PFNGLBEGINQUERYEXTPROC)(GLenum target, GLuint id); typedef void (GLAPIENTRY *PFNGLBEGINQUERYINDEXEDPROC)(GLenum target, GLuint index, GLuint id); typedef void (GLAPIENTRY *PFNGLBEGINTRANSFORMFEEDBACKPROC)(GLenum primitiveMode); typedef void (GLAPIENTRY *PFNGLBEGINTRANSFORMFEEDBACKEXTPROC)(GLenum primitiveMode); typedef void (GLAPIENTRY *PFNGLBEGINTRANSFORMFEEDBACKNVPROC)(GLenum primitiveMode); typedef void (GLAPIENTRY *PFNGLBEGINVERTEXSHADEREXTPROC)(void); typedef void (GLAPIENTRY *PFNGLBEGINVIDEOCAPTURENVPROC)(GLuint video_capture_slot); typedef void (GLAPIENTRY *PFNGLBINDATTRIBLOCATIONPROC)(GLuint program, GLuint index, const GLchar * name); typedef void (GLAPIENTRY *PFNGLBINDATTRIBLOCATIONARBPROC)(GLhandleARB programObj, GLuint index, const GLcharARB * name); typedef void (GLAPIENTRY *PFNGLBINDBUFFERPROC)(GLenum target, GLuint buffer); typedef void (GLAPIENTRY *PFNGLBINDBUFFERARBPROC)(GLenum target, GLuint buffer); typedef void (GLAPIENTRY *PFNGLBINDBUFFERBASEPROC)(GLenum target, GLuint index, GLuint buffer); typedef void (GLAPIENTRY *PFNGLBINDBUFFERBASEEXTPROC)(GLenum target, GLuint index, GLuint buffer); typedef void (GLAPIENTRY *PFNGLBINDBUFFERBASENVPROC)(GLenum target, GLuint index, GLuint buffer); typedef void (GLAPIENTRY *PFNGLBINDBUFFEROFFSETEXTPROC)(GLenum target, GLuint index, GLuint buffer, GLintptr offset); typedef void (GLAPIENTRY *PFNGLBINDBUFFEROFFSETNVPROC)(GLenum target, GLuint index, GLuint buffer, GLintptr offset); typedef void (GLAPIENTRY *PFNGLBINDBUFFERRANGEPROC)(GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); typedef void (GLAPIENTRY *PFNGLBINDBUFFERRANGEEXTPROC)(GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); typedef void (GLAPIENTRY *PFNGLBINDBUFFERRANGENVPROC)(GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); typedef void (GLAPIENTRY *PFNGLBINDBUFFERSBASEPROC)(GLenum target, GLuint first, GLsizei count, const GLuint * buffers); typedef void (GLAPIENTRY *PFNGLBINDBUFFERSRANGEPROC)(GLenum target, GLuint first, GLsizei count, const GLuint * buffers, const GLintptr * offsets, const GLsizeiptr * sizes); typedef void (GLAPIENTRY *PFNGLBINDFRAGDATALOCATIONPROC)(GLuint program, GLuint color, const GLchar * name); typedef void (GLAPIENTRY *PFNGLBINDFRAGDATALOCATIONEXTPROC)(GLuint program, GLuint color, const GLchar * name); typedef void (GLAPIENTRY *PFNGLBINDFRAGDATALOCATIONINDEXEDPROC)(GLuint program, GLuint colorNumber, GLuint index, const GLchar * name); typedef void (GLAPIENTRY *PFNGLBINDFRAGDATALOCATIONINDEXEDEXTPROC)(GLuint program, GLuint colorNumber, GLuint index, const GLchar * name); typedef void (GLAPIENTRY *PFNGLBINDFRAGMENTSHADERATIPROC)(GLuint id); typedef void (GLAPIENTRY *PFNGLBINDFRAMEBUFFERPROC)(GLenum target, GLuint framebuffer); typedef void (GLAPIENTRY *PFNGLBINDFRAMEBUFFEREXTPROC)(GLenum target, GLuint framebuffer); typedef void (GLAPIENTRY *PFNGLBINDFRAMEBUFFEROESPROC)(GLenum target, GLuint framebuffer); typedef void (GLAPIENTRY *PFNGLBINDIMAGETEXTUREPROC)(GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format); typedef void (GLAPIENTRY *PFNGLBINDIMAGETEXTUREEXTPROC)(GLuint index, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLint format); typedef void (GLAPIENTRY *PFNGLBINDIMAGETEXTURESPROC)(GLuint first, GLsizei count, const GLuint * textures); typedef GLuint (GLAPIENTRY *PFNGLBINDLIGHTPARAMETEREXTPROC)(GLenum light, GLenum value); typedef GLuint (GLAPIENTRY *PFNGLBINDMATERIALPARAMETEREXTPROC)(GLenum face, GLenum value); typedef void (GLAPIENTRY *PFNGLBINDMULTITEXTUREEXTPROC)(GLenum texunit, GLenum target, GLuint texture); typedef GLuint (GLAPIENTRY *PFNGLBINDPARAMETEREXTPROC)(GLenum value); typedef void (GLAPIENTRY *PFNGLBINDPROGRAMARBPROC)(GLenum target, GLuint program); typedef void (GLAPIENTRY *PFNGLBINDPROGRAMNVPROC)(GLenum target, GLuint id); typedef void (GLAPIENTRY *PFNGLBINDPROGRAMPIPELINEPROC)(GLuint pipeline); typedef void (GLAPIENTRY *PFNGLBINDPROGRAMPIPELINEEXTPROC)(GLuint pipeline); typedef void (GLAPIENTRY *PFNGLBINDRENDERBUFFERPROC)(GLenum target, GLuint renderbuffer); typedef void (GLAPIENTRY *PFNGLBINDRENDERBUFFEREXTPROC)(GLenum target, GLuint renderbuffer); typedef void (GLAPIENTRY *PFNGLBINDRENDERBUFFEROESPROC)(GLenum target, GLuint renderbuffer); typedef void (GLAPIENTRY *PFNGLBINDSAMPLERPROC)(GLuint unit, GLuint sampler); typedef void (GLAPIENTRY *PFNGLBINDSAMPLERSPROC)(GLuint first, GLsizei count, const GLuint * samplers); typedef void (GLAPIENTRY *PFNGLBINDSHADINGRATEIMAGENVPROC)(GLuint texture); typedef GLuint (GLAPIENTRY *PFNGLBINDTEXGENPARAMETEREXTPROC)(GLenum unit, GLenum coord, GLenum value); typedef void (GLAPIENTRY *PFNGLBINDTEXTUREPROC)(GLenum target, GLuint texture); typedef void (GLAPIENTRY *PFNGLBINDTEXTUREEXTPROC)(GLenum target, GLuint texture); typedef void (GLAPIENTRY *PFNGLBINDTEXTUREUNITPROC)(GLuint unit, GLuint texture); typedef GLuint (GLAPIENTRY *PFNGLBINDTEXTUREUNITPARAMETEREXTPROC)(GLenum unit, GLenum value); typedef void (GLAPIENTRY *PFNGLBINDTEXTURESPROC)(GLuint first, GLsizei count, const GLuint * textures); typedef void (GLAPIENTRY *PFNGLBINDTRANSFORMFEEDBACKPROC)(GLenum target, GLuint id); typedef void (GLAPIENTRY *PFNGLBINDTRANSFORMFEEDBACKNVPROC)(GLenum target, GLuint id); typedef void (GLAPIENTRY *PFNGLBINDVERTEXARRAYPROC)(GLuint array); typedef void (GLAPIENTRY *PFNGLBINDVERTEXARRAYAPPLEPROC)(GLuint array); typedef void (GLAPIENTRY *PFNGLBINDVERTEXARRAYOESPROC)(GLuint array); typedef void (GLAPIENTRY *PFNGLBINDVERTEXBUFFERPROC)(GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride); typedef void (GLAPIENTRY *PFNGLBINDVERTEXBUFFERSPROC)(GLuint first, GLsizei count, const GLuint * buffers, const GLintptr * offsets, const GLsizei * strides); typedef void (GLAPIENTRY *PFNGLBINDVERTEXSHADEREXTPROC)(GLuint id); typedef void (GLAPIENTRY *PFNGLBINDVIDEOCAPTURESTREAMBUFFERNVPROC)(GLuint video_capture_slot, GLuint stream, GLenum frame_region, GLintptrARB offset); typedef void (GLAPIENTRY *PFNGLBINDVIDEOCAPTURESTREAMTEXTURENVPROC)(GLuint video_capture_slot, GLuint stream, GLenum frame_region, GLenum target, GLuint texture); typedef void (GLAPIENTRY *PFNGLBINORMAL3BEXTPROC)(GLbyte bx, GLbyte by, GLbyte bz); typedef void (GLAPIENTRY *PFNGLBINORMAL3BVEXTPROC)(const GLbyte * v); typedef void (GLAPIENTRY *PFNGLBINORMAL3DEXTPROC)(GLdouble bx, GLdouble by, GLdouble bz); typedef void (GLAPIENTRY *PFNGLBINORMAL3DVEXTPROC)(const GLdouble * v); typedef void (GLAPIENTRY *PFNGLBINORMAL3FEXTPROC)(GLfloat bx, GLfloat by, GLfloat bz); typedef void (GLAPIENTRY *PFNGLBINORMAL3FVEXTPROC)(const GLfloat * v); typedef void (GLAPIENTRY *PFNGLBINORMAL3IEXTPROC)(GLint bx, GLint by, GLint bz); typedef void (GLAPIENTRY *PFNGLBINORMAL3IVEXTPROC)(const GLint * v); typedef void (GLAPIENTRY *PFNGLBINORMAL3SEXTPROC)(GLshort bx, GLshort by, GLshort bz); typedef void (GLAPIENTRY *PFNGLBINORMAL3SVEXTPROC)(const GLshort * v); typedef void (GLAPIENTRY *PFNGLBINORMALPOINTEREXTPROC)(GLenum type, GLsizei stride, const void * pointer); typedef void (GLAPIENTRY *PFNGLBITMAPPROC)(GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte * bitmap); typedef void (GLAPIENTRY *PFNGLBITMAPXOESPROC)(GLsizei width, GLsizei height, GLfixed xorig, GLfixed yorig, GLfixed xmove, GLfixed ymove, const GLubyte * bitmap); typedef void (GLAPIENTRY *PFNGLBLENDBARRIERPROC)(void); typedef void (GLAPIENTRY *PFNGLBLENDBARRIERKHRPROC)(void); typedef void (GLAPIENTRY *PFNGLBLENDBARRIERNVPROC)(void); typedef void (GLAPIENTRY *PFNGLBLENDCOLORPROC)(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); typedef void (GLAPIENTRY *PFNGLBLENDCOLOREXTPROC)(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); typedef void (GLAPIENTRY *PFNGLBLENDCOLORXOESPROC)(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha); typedef void (GLAPIENTRY *PFNGLBLENDEQUATIONPROC)(GLenum mode); typedef void (GLAPIENTRY *PFNGLBLENDEQUATIONEXTPROC)(GLenum mode); typedef void (GLAPIENTRY *PFNGLBLENDEQUATIONINDEXEDAMDPROC)(GLuint buf, GLenum mode); typedef void (GLAPIENTRY *PFNGLBLENDEQUATIONOESPROC)(GLenum mode); typedef void (GLAPIENTRY *PFNGLBLENDEQUATIONSEPARATEPROC)(GLenum modeRGB, GLenum modeAlpha); typedef void (GLAPIENTRY *PFNGLBLENDEQUATIONSEPARATEEXTPROC)(GLenum modeRGB, GLenum modeAlpha); typedef void (GLAPIENTRY *PFNGLBLENDEQUATIONSEPARATEINDEXEDAMDPROC)(GLuint buf, GLenum modeRGB, GLenum modeAlpha); typedef void (GLAPIENTRY *PFNGLBLENDEQUATIONSEPARATEOESPROC)(GLenum modeRGB, GLenum modeAlpha); typedef void (GLAPIENTRY *PFNGLBLENDEQUATIONSEPARATEIPROC)(GLuint buf, GLenum modeRGB, GLenum modeAlpha); typedef void (GLAPIENTRY *PFNGLBLENDEQUATIONSEPARATEIARBPROC)(GLuint buf, GLenum modeRGB, GLenum modeAlpha); typedef void (GLAPIENTRY *PFNGLBLENDEQUATIONSEPARATEIEXTPROC)(GLuint buf, GLenum modeRGB, GLenum modeAlpha); typedef void (GLAPIENTRY *PFNGLBLENDEQUATIONSEPARATEIOESPROC)(GLuint buf, GLenum modeRGB, GLenum modeAlpha); typedef void (GLAPIENTRY *PFNGLBLENDEQUATIONIPROC)(GLuint buf, GLenum mode); typedef void (GLAPIENTRY *PFNGLBLENDEQUATIONIARBPROC)(GLuint buf, GLenum mode); typedef void (GLAPIENTRY *PFNGLBLENDEQUATIONIEXTPROC)(GLuint buf, GLenum mode); typedef void (GLAPIENTRY *PFNGLBLENDEQUATIONIOESPROC)(GLuint buf, GLenum mode); typedef void (GLAPIENTRY *PFNGLBLENDFUNCPROC)(GLenum sfactor, GLenum dfactor); typedef void (GLAPIENTRY *PFNGLBLENDFUNCINDEXEDAMDPROC)(GLuint buf, GLenum src, GLenum dst); typedef void (GLAPIENTRY *PFNGLBLENDFUNCSEPARATEPROC)(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); typedef void (GLAPIENTRY *PFNGLBLENDFUNCSEPARATEEXTPROC)(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); typedef void (GLAPIENTRY *PFNGLBLENDFUNCSEPARATEINGRPROC)(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); typedef void (GLAPIENTRY *PFNGLBLENDFUNCSEPARATEINDEXEDAMDPROC)(GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); typedef void (GLAPIENTRY *PFNGLBLENDFUNCSEPARATEOESPROC)(GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); typedef void (GLAPIENTRY *PFNGLBLENDFUNCSEPARATEIPROC)(GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); typedef void (GLAPIENTRY *PFNGLBLENDFUNCSEPARATEIARBPROC)(GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); typedef void (GLAPIENTRY *PFNGLBLENDFUNCSEPARATEIEXTPROC)(GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); typedef void (GLAPIENTRY *PFNGLBLENDFUNCSEPARATEIOESPROC)(GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); typedef void (GLAPIENTRY *PFNGLBLENDFUNCIPROC)(GLuint buf, GLenum src, GLenum dst); typedef void (GLAPIENTRY *PFNGLBLENDFUNCIARBPROC)(GLuint buf, GLenum src, GLenum dst); typedef void (GLAPIENTRY *PFNGLBLENDFUNCIEXTPROC)(GLuint buf, GLenum src, GLenum dst); typedef void (GLAPIENTRY *PFNGLBLENDFUNCIOESPROC)(GLuint buf, GLenum src, GLenum dst); typedef void (GLAPIENTRY *PFNGLBLENDPARAMETERINVPROC)(GLenum pname, GLint value); typedef void (GLAPIENTRY *PFNGLBLITFRAMEBUFFERPROC)(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); typedef void (GLAPIENTRY *PFNGLBLITFRAMEBUFFERANGLEPROC)(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); typedef void (GLAPIENTRY *PFNGLBLITFRAMEBUFFEREXTPROC)(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); typedef void (GLAPIENTRY *PFNGLBLITFRAMEBUFFERNVPROC)(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); typedef void (GLAPIENTRY *PFNGLBLITNAMEDFRAMEBUFFERPROC)(GLuint readFramebuffer, GLuint drawFramebuffer, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); typedef void (GLAPIENTRY *PFNGLBUFFERADDRESSRANGENVPROC)(GLenum pname, GLuint index, GLuint64EXT address, GLsizeiptr length); typedef void (GLAPIENTRY *PFNGLBUFFERATTACHMEMORYNVPROC)(GLenum target, GLuint memory, GLuint64 offset); typedef void (GLAPIENTRY *PFNGLBUFFERDATAPROC)(GLenum target, GLsizeiptr size, const void * data, GLenum usage); typedef void (GLAPIENTRY *PFNGLBUFFERDATAARBPROC)(GLenum target, GLsizeiptrARB size, const void * data, GLenum usage); typedef void (GLAPIENTRY *PFNGLBUFFERPAGECOMMITMENTARBPROC)(GLenum target, GLintptr offset, GLsizeiptr size, GLboolean commit); typedef void (GLAPIENTRY *PFNGLBUFFERPARAMETERIAPPLEPROC)(GLenum target, GLenum pname, GLint param); typedef void (GLAPIENTRY *PFNGLBUFFERSTORAGEPROC)(GLenum target, GLsizeiptr size, const void * data, GLbitfield flags); typedef void (GLAPIENTRY *PFNGLBUFFERSTORAGEEXTPROC)(GLenum target, GLsizeiptr size, const void * data, GLbitfield flags); typedef void (GLAPIENTRY *PFNGLBUFFERSTORAGEEXTERNALEXTPROC)(GLenum target, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags); typedef void (GLAPIENTRY *PFNGLBUFFERSTORAGEMEMEXTPROC)(GLenum target, GLsizeiptr size, GLuint memory, GLuint64 offset); typedef void (GLAPIENTRY *PFNGLBUFFERSUBDATAPROC)(GLenum target, GLintptr offset, GLsizeiptr size, const void * data); typedef void (GLAPIENTRY *PFNGLBUFFERSUBDATAARBPROC)(GLenum target, GLintptrARB offset, GLsizeiptrARB size, const void * data); typedef void (GLAPIENTRY *PFNGLCALLCOMMANDLISTNVPROC)(GLuint list); typedef void (GLAPIENTRY *PFNGLCALLLISTPROC)(GLuint list); typedef void (GLAPIENTRY *PFNGLCALLLISTSPROC)(GLsizei n, GLenum type, const void * lists); typedef GLenum (GLAPIENTRY *PFNGLCHECKFRAMEBUFFERSTATUSPROC)(GLenum target); typedef GLenum (GLAPIENTRY *PFNGLCHECKFRAMEBUFFERSTATUSEXTPROC)(GLenum target); typedef GLenum (GLAPIENTRY *PFNGLCHECKFRAMEBUFFERSTATUSOESPROC)(GLenum target); typedef GLenum (GLAPIENTRY *PFNGLCHECKNAMEDFRAMEBUFFERSTATUSPROC)(GLuint framebuffer, GLenum target); typedef GLenum (GLAPIENTRY *PFNGLCHECKNAMEDFRAMEBUFFERSTATUSEXTPROC)(GLuint framebuffer, GLenum target); typedef void (GLAPIENTRY *PFNGLCLAMPCOLORPROC)(GLenum target, GLenum clamp); typedef void (GLAPIENTRY *PFNGLCLAMPCOLORARBPROC)(GLenum target, GLenum clamp); typedef void (GLAPIENTRY *PFNGLCLEARPROC)(GLbitfield mask); typedef void (GLAPIENTRY *PFNGLCLEARACCUMPROC)(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); typedef void (GLAPIENTRY *PFNGLCLEARACCUMXOESPROC)(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha); typedef void (GLAPIENTRY *PFNGLCLEARBUFFERDATAPROC)(GLenum target, GLenum internalformat, GLenum format, GLenum type, const void * data); typedef void (GLAPIENTRY *PFNGLCLEARBUFFERSUBDATAPROC)(GLenum target, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, const void * data); typedef void (GLAPIENTRY *PFNGLCLEARBUFFERFIPROC)(GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil); typedef void (GLAPIENTRY *PFNGLCLEARBUFFERFVPROC)(GLenum buffer, GLint drawbuffer, const GLfloat * value); typedef void (GLAPIENTRY *PFNGLCLEARBUFFERIVPROC)(GLenum buffer, GLint drawbuffer, const GLint * value); typedef void (GLAPIENTRY *PFNGLCLEARBUFFERUIVPROC)(GLenum buffer, GLint drawbuffer, const GLuint * value); typedef void (GLAPIENTRY *PFNGLCLEARCOLORPROC)(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); typedef void (GLAPIENTRY *PFNGLCLEARCOLORIIEXTPROC)(GLint red, GLint green, GLint blue, GLint alpha); typedef void (GLAPIENTRY *PFNGLCLEARCOLORIUIEXTPROC)(GLuint red, GLuint green, GLuint blue, GLuint alpha); typedef void (GLAPIENTRY *PFNGLCLEARCOLORXPROC)(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha); typedef void (GLAPIENTRY *PFNGLCLEARCOLORXOESPROC)(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha); typedef void (GLAPIENTRY *PFNGLCLEARDEPTHPROC)(GLdouble depth); typedef void (GLAPIENTRY *PFNGLCLEARDEPTHDNVPROC)(GLdouble depth); typedef void (GLAPIENTRY *PFNGLCLEARDEPTHFPROC)(GLfloat d); typedef void (GLAPIENTRY *PFNGLCLEARDEPTHFOESPROC)(GLclampf depth); typedef void (GLAPIENTRY *PFNGLCLEARDEPTHXPROC)(GLfixed depth); typedef void (GLAPIENTRY *PFNGLCLEARDEPTHXOESPROC)(GLfixed depth); typedef void (GLAPIENTRY *PFNGLCLEARINDEXPROC)(GLfloat c); typedef void (GLAPIENTRY *PFNGLCLEARNAMEDBUFFERDATAPROC)(GLuint buffer, GLenum internalformat, GLenum format, GLenum type, const void * data); typedef void (GLAPIENTRY *PFNGLCLEARNAMEDBUFFERDATAEXTPROC)(GLuint buffer, GLenum internalformat, GLenum format, GLenum type, const void * data); typedef void (GLAPIENTRY *PFNGLCLEARNAMEDBUFFERSUBDATAPROC)(GLuint buffer, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, const void * data); typedef void (GLAPIENTRY *PFNGLCLEARNAMEDBUFFERSUBDATAEXTPROC)(GLuint buffer, GLenum internalformat, GLsizeiptr offset, GLsizeiptr size, GLenum format, GLenum type, const void * data); typedef void (GLAPIENTRY *PFNGLCLEARNAMEDFRAMEBUFFERFIPROC)(GLuint framebuffer, GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil); typedef void (GLAPIENTRY *PFNGLCLEARNAMEDFRAMEBUFFERFVPROC)(GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLfloat * value); typedef void (GLAPIENTRY *PFNGLCLEARNAMEDFRAMEBUFFERIVPROC)(GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLint * value); typedef void (GLAPIENTRY *PFNGLCLEARNAMEDFRAMEBUFFERUIVPROC)(GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLuint * value); typedef void (GLAPIENTRY *PFNGLCLEARPIXELLOCALSTORAGEUIEXTPROC)(GLsizei offset, GLsizei n, const GLuint * values); typedef void (GLAPIENTRY *PFNGLCLEARSTENCILPROC)(GLint s); typedef void (GLAPIENTRY *PFNGLCLEARTEXIMAGEPROC)(GLuint texture, GLint level, GLenum format, GLenum type, const void * data); typedef void (GLAPIENTRY *PFNGLCLEARTEXIMAGEEXTPROC)(GLuint texture, GLint level, GLenum format, GLenum type, const void * data); typedef void (GLAPIENTRY *PFNGLCLEARTEXSUBIMAGEPROC)(GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void * data); typedef void (GLAPIENTRY *PFNGLCLEARTEXSUBIMAGEEXTPROC)(GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void * data); typedef void (GLAPIENTRY *PFNGLCLIENTACTIVETEXTUREPROC)(GLenum texture); typedef void (GLAPIENTRY *PFNGLCLIENTACTIVETEXTUREARBPROC)(GLenum texture); typedef void (GLAPIENTRY *PFNGLCLIENTACTIVEVERTEXSTREAMATIPROC)(GLenum stream); typedef void (GLAPIENTRY *PFNGLCLIENTATTRIBDEFAULTEXTPROC)(GLbitfield mask); typedef void (GLAPIENTRY *PFNGLCLIENTWAITSEMAPHOREUI64NVXPROC)(GLsizei fenceObjectCount, const GLuint * semaphoreArray, const GLuint64 * fenceValueArray); typedef GLenum (GLAPIENTRY *PFNGLCLIENTWAITSYNCPROC)(GLsync sync, GLbitfield flags, GLuint64 timeout); typedef GLenum (GLAPIENTRY *PFNGLCLIENTWAITSYNCAPPLEPROC)(GLsync sync, GLbitfield flags, GLuint64 timeout); typedef void (GLAPIENTRY *PFNGLCLIPCONTROLPROC)(GLenum origin, GLenum depth); typedef void (GLAPIENTRY *PFNGLCLIPCONTROLEXTPROC)(GLenum origin, GLenum depth); typedef void (GLAPIENTRY *PFNGLCLIPPLANEPROC)(GLenum plane, const GLdouble * equation); typedef void (GLAPIENTRY *PFNGLCLIPPLANEFPROC)(GLenum p, const GLfloat * eqn); typedef void (GLAPIENTRY *PFNGLCLIPPLANEFIMGPROC)(GLenum p, const GLfloat * eqn); typedef void (GLAPIENTRY *PFNGLCLIPPLANEFOESPROC)(GLenum plane, const GLfloat * equation); typedef void (GLAPIENTRY *PFNGLCLIPPLANEXPROC)(GLenum plane, const GLfixed * equation); typedef void (GLAPIENTRY *PFNGLCLIPPLANEXIMGPROC)(GLenum p, const GLfixed * eqn); typedef void (GLAPIENTRY *PFNGLCLIPPLANEXOESPROC)(GLenum plane, const GLfixed * equation); typedef void (GLAPIENTRY *PFNGLCOLOR3BPROC)(GLbyte red, GLbyte green, GLbyte blue); typedef void (GLAPIENTRY *PFNGLCOLOR3BVPROC)(const GLbyte * v); typedef void (GLAPIENTRY *PFNGLCOLOR3DPROC)(GLdouble red, GLdouble green, GLdouble blue); typedef void (GLAPIENTRY *PFNGLCOLOR3DVPROC)(const GLdouble * v); typedef void (GLAPIENTRY *PFNGLCOLOR3FPROC)(GLfloat red, GLfloat green, GLfloat blue); typedef void (GLAPIENTRY *PFNGLCOLOR3FVERTEX3FSUNPROC)(GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z); typedef void (GLAPIENTRY *PFNGLCOLOR3FVERTEX3FVSUNPROC)(const GLfloat * c, const GLfloat * v); typedef void (GLAPIENTRY *PFNGLCOLOR3FVPROC)(const GLfloat * v); typedef void (GLAPIENTRY *PFNGLCOLOR3HNVPROC)(GLhalfNV red, GLhalfNV green, GLhalfNV blue); typedef void (GLAPIENTRY *PFNGLCOLOR3HVNVPROC)(const GLhalfNV * v); typedef void (GLAPIENTRY *PFNGLCOLOR3IPROC)(GLint red, GLint green, GLint blue); typedef void (GLAPIENTRY *PFNGLCOLOR3IVPROC)(const GLint * v); typedef void (GLAPIENTRY *PFNGLCOLOR3SPROC)(GLshort red, GLshort green, GLshort blue); typedef void (GLAPIENTRY *PFNGLCOLOR3SVPROC)(const GLshort * v); typedef void (GLAPIENTRY *PFNGLCOLOR3UBPROC)(GLubyte red, GLubyte green, GLubyte blue); typedef void (GLAPIENTRY *PFNGLCOLOR3UBVPROC)(const GLubyte * v); typedef void (GLAPIENTRY *PFNGLCOLOR3UIPROC)(GLuint red, GLuint green, GLuint blue); typedef void (GLAPIENTRY *PFNGLCOLOR3UIVPROC)(const GLuint * v); typedef void (GLAPIENTRY *PFNGLCOLOR3USPROC)(GLushort red, GLushort green, GLushort blue); typedef void (GLAPIENTRY *PFNGLCOLOR3USVPROC)(const GLushort * v); typedef void (GLAPIENTRY *PFNGLCOLOR3XOESPROC)(GLfixed red, GLfixed green, GLfixed blue); typedef void (GLAPIENTRY *PFNGLCOLOR3XVOESPROC)(const GLfixed * components); typedef void (GLAPIENTRY *PFNGLCOLOR4BPROC)(GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha); typedef void (GLAPIENTRY *PFNGLCOLOR4BVPROC)(const GLbyte * v); typedef void (GLAPIENTRY *PFNGLCOLOR4DPROC)(GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha); typedef void (GLAPIENTRY *PFNGLCOLOR4DVPROC)(const GLdouble * v); typedef void (GLAPIENTRY *PFNGLCOLOR4FPROC)(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); typedef void (GLAPIENTRY *PFNGLCOLOR4FNORMAL3FVERTEX3FSUNPROC)(GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); typedef void (GLAPIENTRY *PFNGLCOLOR4FNORMAL3FVERTEX3FVSUNPROC)(const GLfloat * c, const GLfloat * n, const GLfloat * v); typedef void (GLAPIENTRY *PFNGLCOLOR4FVPROC)(const GLfloat * v); typedef void (GLAPIENTRY *PFNGLCOLOR4HNVPROC)(GLhalfNV red, GLhalfNV green, GLhalfNV blue, GLhalfNV alpha); typedef void (GLAPIENTRY *PFNGLCOLOR4HVNVPROC)(const GLhalfNV * v); typedef void (GLAPIENTRY *PFNGLCOLOR4IPROC)(GLint red, GLint green, GLint blue, GLint alpha); typedef void (GLAPIENTRY *PFNGLCOLOR4IVPROC)(const GLint * v); typedef void (GLAPIENTRY *PFNGLCOLOR4SPROC)(GLshort red, GLshort green, GLshort blue, GLshort alpha); typedef void (GLAPIENTRY *PFNGLCOLOR4SVPROC)(const GLshort * v); typedef void (GLAPIENTRY *PFNGLCOLOR4UBPROC)(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha); typedef void (GLAPIENTRY *PFNGLCOLOR4UBVERTEX2FSUNPROC)(GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y); typedef void (GLAPIENTRY *PFNGLCOLOR4UBVERTEX2FVSUNPROC)(const GLubyte * c, const GLfloat * v); typedef void (GLAPIENTRY *PFNGLCOLOR4UBVERTEX3FSUNPROC)(GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z); typedef void (GLAPIENTRY *PFNGLCOLOR4UBVERTEX3FVSUNPROC)(const GLubyte * c, const GLfloat * v); typedef void (GLAPIENTRY *PFNGLCOLOR4UBVPROC)(const GLubyte * v); typedef void (GLAPIENTRY *PFNGLCOLOR4UIPROC)(GLuint red, GLuint green, GLuint blue, GLuint alpha); typedef void (GLAPIENTRY *PFNGLCOLOR4UIVPROC)(const GLuint * v); typedef void (GLAPIENTRY *PFNGLCOLOR4USPROC)(GLushort red, GLushort green, GLushort blue, GLushort alpha); typedef void (GLAPIENTRY *PFNGLCOLOR4USVPROC)(const GLushort * v); typedef void (GLAPIENTRY *PFNGLCOLOR4XPROC)(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha); typedef void (GLAPIENTRY *PFNGLCOLOR4XOESPROC)(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha); typedef void (GLAPIENTRY *PFNGLCOLOR4XVOESPROC)(const GLfixed * components); typedef void (GLAPIENTRY *PFNGLCOLORFORMATNVPROC)(GLint size, GLenum type, GLsizei stride); typedef void (GLAPIENTRY *PFNGLCOLORFRAGMENTOP1ATIPROC)(GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod); typedef void (GLAPIENTRY *PFNGLCOLORFRAGMENTOP2ATIPROC)(GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod); typedef void (GLAPIENTRY *PFNGLCOLORFRAGMENTOP3ATIPROC)(GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod); typedef void (GLAPIENTRY *PFNGLCOLORMASKPROC)(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha); typedef void (GLAPIENTRY *PFNGLCOLORMASKINDEXEDEXTPROC)(GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a); typedef void (GLAPIENTRY *PFNGLCOLORMASKIPROC)(GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a); typedef void (GLAPIENTRY *PFNGLCOLORMASKIEXTPROC)(GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a); typedef void (GLAPIENTRY *PFNGLCOLORMASKIOESPROC)(GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a); typedef void (GLAPIENTRY *PFNGLCOLORMATERIALPROC)(GLenum face, GLenum mode); typedef void (GLAPIENTRY *PFNGLCOLORP3UIPROC)(GLenum type, GLuint color); typedef void (GLAPIENTRY *PFNGLCOLORP3UIVPROC)(GLenum type, const GLuint * color); typedef void (GLAPIENTRY *PFNGLCOLORP4UIPROC)(GLenum type, GLuint color); typedef void (GLAPIENTRY *PFNGLCOLORP4UIVPROC)(GLenum type, const GLuint * color); typedef void (GLAPIENTRY *PFNGLCOLORPOINTERPROC)(GLint size, GLenum type, GLsizei stride, const void * pointer); typedef void (GLAPIENTRY *PFNGLCOLORPOINTEREXTPROC)(GLint size, GLenum type, GLsizei stride, GLsizei count, const void * pointer); typedef void (GLAPIENTRY *PFNGLCOLORPOINTERLISTIBMPROC)(GLint size, GLenum type, GLint stride, const void ** pointer, GLint ptrstride); typedef void (GLAPIENTRY *PFNGLCOLORPOINTERVINTELPROC)(GLint size, GLenum type, const void ** pointer); typedef void (GLAPIENTRY *PFNGLCOLORSUBTABLEPROC)(GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const void * data); typedef void (GLAPIENTRY *PFNGLCOLORSUBTABLEEXTPROC)(GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const void * data); typedef void (GLAPIENTRY *PFNGLCOLORTABLEPROC)(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void * table); typedef void (GLAPIENTRY *PFNGLCOLORTABLEEXTPROC)(GLenum target, GLenum internalFormat, GLsizei width, GLenum format, GLenum type, const void * table); typedef void (GLAPIENTRY *PFNGLCOLORTABLEPARAMETERFVPROC)(GLenum target, GLenum pname, const GLfloat * params); typedef void (GLAPIENTRY *PFNGLCOLORTABLEPARAMETERFVSGIPROC)(GLenum target, GLenum pname, const GLfloat * params); typedef void (GLAPIENTRY *PFNGLCOLORTABLEPARAMETERIVPROC)(GLenum target, GLenum pname, const GLint * params); typedef void (GLAPIENTRY *PFNGLCOLORTABLEPARAMETERIVSGIPROC)(GLenum target, GLenum pname, const GLint * params); typedef void (GLAPIENTRY *PFNGLCOLORTABLESGIPROC)(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void * table); typedef void (GLAPIENTRY *PFNGLCOMBINERINPUTNVPROC)(GLenum stage, GLenum portion, GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage); typedef void (GLAPIENTRY *PFNGLCOMBINEROUTPUTNVPROC)(GLenum stage, GLenum portion, GLenum abOutput, GLenum cdOutput, GLenum sumOutput, GLenum scale, GLenum bias, GLboolean abDotProduct, GLboolean cdDotProduct, GLboolean muxSum); typedef void (GLAPIENTRY *PFNGLCOMBINERPARAMETERFNVPROC)(GLenum pname, GLfloat param); typedef void (GLAPIENTRY *PFNGLCOMBINERPARAMETERFVNVPROC)(GLenum pname, const GLfloat * params); typedef void (GLAPIENTRY *PFNGLCOMBINERPARAMETERINVPROC)(GLenum pname, GLint param); typedef void (GLAPIENTRY *PFNGLCOMBINERPARAMETERIVNVPROC)(GLenum pname, const GLint * params); typedef void (GLAPIENTRY *PFNGLCOMBINERSTAGEPARAMETERFVNVPROC)(GLenum stage, GLenum pname, const GLfloat * params); typedef void (GLAPIENTRY *PFNGLCOMMANDLISTSEGMENTSNVPROC)(GLuint list, GLuint segments); typedef void (GLAPIENTRY *PFNGLCOMPILECOMMANDLISTNVPROC)(GLuint list); typedef void (GLAPIENTRY *PFNGLCOMPILESHADERPROC)(GLuint shader); typedef void (GLAPIENTRY *PFNGLCOMPILESHADERARBPROC)(GLhandleARB shaderObj); typedef void (GLAPIENTRY *PFNGLCOMPILESHADERINCLUDEARBPROC)(GLuint shader, GLsizei count, const GLchar *const* path, const GLint * length); typedef void (GLAPIENTRY *PFNGLCOMPRESSEDMULTITEXIMAGE1DEXTPROC)(GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void * bits); typedef void (GLAPIENTRY *PFNGLCOMPRESSEDMULTITEXIMAGE2DEXTPROC)(GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void * bits); typedef void (GLAPIENTRY *PFNGLCOMPRESSEDMULTITEXIMAGE3DEXTPROC)(GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void * bits); typedef void (GLAPIENTRY *PFNGLCOMPRESSEDMULTITEXSUBIMAGE1DEXTPROC)(GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void * bits); typedef void (GLAPIENTRY *PFNGLCOMPRESSEDMULTITEXSUBIMAGE2DEXTPROC)(GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void * bits); typedef void (GLAPIENTRY *PFNGLCOMPRESSEDMULTITEXSUBIMAGE3DEXTPROC)(GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void * bits); typedef void (GLAPIENTRY *PFNGLCOMPRESSEDTEXIMAGE1DPROC)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void * data); typedef void (GLAPIENTRY *PFNGLCOMPRESSEDTEXIMAGE1DARBPROC)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void * data); typedef void (GLAPIENTRY *PFNGLCOMPRESSEDTEXIMAGE2DPROC)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void * data); typedef void (GLAPIENTRY *PFNGLCOMPRESSEDTEXIMAGE2DARBPROC)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void * data); typedef void (GLAPIENTRY *PFNGLCOMPRESSEDTEXIMAGE3DPROC)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void * data); typedef void (GLAPIENTRY *PFNGLCOMPRESSEDTEXIMAGE3DARBPROC)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void * data); typedef void (GLAPIENTRY *PFNGLCOMPRESSEDTEXIMAGE3DOESPROC)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void * data); typedef void (GLAPIENTRY *PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC)(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void * data); typedef void (GLAPIENTRY *PFNGLCOMPRESSEDTEXSUBIMAGE1DARBPROC)(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void * data); typedef void (GLAPIENTRY *PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void * data); typedef void (GLAPIENTRY *PFNGLCOMPRESSEDTEXSUBIMAGE2DARBPROC)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void * data); typedef void (GLAPIENTRY *PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void * data); typedef void (GLAPIENTRY *PFNGLCOMPRESSEDTEXSUBIMAGE3DARBPROC)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void * data); typedef void (GLAPIENTRY *PFNGLCOMPRESSEDTEXSUBIMAGE3DOESPROC)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void * data); typedef void (GLAPIENTRY *PFNGLCOMPRESSEDTEXTUREIMAGE1DEXTPROC)(GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void * bits); typedef void (GLAPIENTRY *PFNGLCOMPRESSEDTEXTUREIMAGE2DEXTPROC)(GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void * bits); typedef void (GLAPIENTRY *PFNGLCOMPRESSEDTEXTUREIMAGE3DEXTPROC)(GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void * bits); typedef void (GLAPIENTRY *PFNGLCOMPRESSEDTEXTURESUBIMAGE1DPROC)(GLuint texture, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void * data); typedef void (GLAPIENTRY *PFNGLCOMPRESSEDTEXTURESUBIMAGE1DEXTPROC)(GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void * bits); typedef void (GLAPIENTRY *PFNGLCOMPRESSEDTEXTURESUBIMAGE2DPROC)(GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void * data); typedef void (GLAPIENTRY *PFNGLCOMPRESSEDTEXTURESUBIMAGE2DEXTPROC)(GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void * bits); typedef void (GLAPIENTRY *PFNGLCOMPRESSEDTEXTURESUBIMAGE3DPROC)(GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void * data); typedef void (GLAPIENTRY *PFNGLCOMPRESSEDTEXTURESUBIMAGE3DEXTPROC)(GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void * bits); typedef void (GLAPIENTRY *PFNGLCONSERVATIVERASTERPARAMETERFNVPROC)(GLenum pname, GLfloat value); typedef void (GLAPIENTRY *PFNGLCONSERVATIVERASTERPARAMETERINVPROC)(GLenum pname, GLint param); typedef void (GLAPIENTRY *PFNGLCONVOLUTIONFILTER1DPROC)(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void * image); typedef void (GLAPIENTRY *PFNGLCONVOLUTIONFILTER1DEXTPROC)(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void * image); typedef void (GLAPIENTRY *PFNGLCONVOLUTIONFILTER2DPROC)(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void * image); typedef void (GLAPIENTRY *PFNGLCONVOLUTIONFILTER2DEXTPROC)(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void * image); typedef void (GLAPIENTRY *PFNGLCONVOLUTIONPARAMETERFPROC)(GLenum target, GLenum pname, GLfloat params); typedef void (GLAPIENTRY *PFNGLCONVOLUTIONPARAMETERFEXTPROC)(GLenum target, GLenum pname, GLfloat params); typedef void (GLAPIENTRY *PFNGLCONVOLUTIONPARAMETERFVPROC)(GLenum target, GLenum pname, const GLfloat * params); typedef void (GLAPIENTRY *PFNGLCONVOLUTIONPARAMETERFVEXTPROC)(GLenum target, GLenum pname, const GLfloat * params); typedef void (GLAPIENTRY *PFNGLCONVOLUTIONPARAMETERIPROC)(GLenum target, GLenum pname, GLint params); typedef void (GLAPIENTRY *PFNGLCONVOLUTIONPARAMETERIEXTPROC)(GLenum target, GLenum pname, GLint params); typedef void (GLAPIENTRY *PFNGLCONVOLUTIONPARAMETERIVPROC)(GLenum target, GLenum pname, const GLint * params); typedef void (GLAPIENTRY *PFNGLCONVOLUTIONPARAMETERIVEXTPROC)(GLenum target, GLenum pname, const GLint * params); typedef void (GLAPIENTRY *PFNGLCONVOLUTIONPARAMETERXOESPROC)(GLenum target, GLenum pname, GLfixed param); typedef void (GLAPIENTRY *PFNGLCONVOLUTIONPARAMETERXVOESPROC)(GLenum target, GLenum pname, const GLfixed * params); typedef void (GLAPIENTRY *PFNGLCOPYBUFFERSUBDATAPROC)(GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); typedef void (GLAPIENTRY *PFNGLCOPYBUFFERSUBDATANVPROC)(GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); typedef void (GLAPIENTRY *PFNGLCOPYCOLORSUBTABLEPROC)(GLenum target, GLsizei start, GLint x, GLint y, GLsizei width); typedef void (GLAPIENTRY *PFNGLCOPYCOLORSUBTABLEEXTPROC)(GLenum target, GLsizei start, GLint x, GLint y, GLsizei width); typedef void (GLAPIENTRY *PFNGLCOPYCOLORTABLEPROC)(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); typedef void (GLAPIENTRY *PFNGLCOPYCOLORTABLESGIPROC)(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); typedef void (GLAPIENTRY *PFNGLCOPYCONVOLUTIONFILTER1DPROC)(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); typedef void (GLAPIENTRY *PFNGLCOPYCONVOLUTIONFILTER1DEXTPROC)(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); typedef void (GLAPIENTRY *PFNGLCOPYCONVOLUTIONFILTER2DPROC)(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height); typedef void (GLAPIENTRY *PFNGLCOPYCONVOLUTIONFILTER2DEXTPROC)(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height); typedef void (GLAPIENTRY *PFNGLCOPYIMAGESUBDATAPROC)(GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth); typedef void (GLAPIENTRY *PFNGLCOPYIMAGESUBDATAEXTPROC)(GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth); typedef void (GLAPIENTRY *PFNGLCOPYIMAGESUBDATANVPROC)(GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei width, GLsizei height, GLsizei depth); typedef void (GLAPIENTRY *PFNGLCOPYIMAGESUBDATAOESPROC)(GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth); typedef void (GLAPIENTRY *PFNGLCOPYMULTITEXIMAGE1DEXTPROC)(GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border); typedef void (GLAPIENTRY *PFNGLCOPYMULTITEXIMAGE2DEXTPROC)(GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); typedef void (GLAPIENTRY *PFNGLCOPYMULTITEXSUBIMAGE1DEXTPROC)(GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); typedef void (GLAPIENTRY *PFNGLCOPYMULTITEXSUBIMAGE2DEXTPROC)(GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); typedef void (GLAPIENTRY *PFNGLCOPYMULTITEXSUBIMAGE3DEXTPROC)(GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); typedef void (GLAPIENTRY *PFNGLCOPYNAMEDBUFFERSUBDATAPROC)(GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); typedef void (GLAPIENTRY *PFNGLCOPYPATHNVPROC)(GLuint resultPath, GLuint srcPath); typedef void (GLAPIENTRY *PFNGLCOPYPIXELSPROC)(GLint x, GLint y, GLsizei width, GLsizei height, GLenum type); typedef void (GLAPIENTRY *PFNGLCOPYTEXIMAGE1DPROC)(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border); typedef void (GLAPIENTRY *PFNGLCOPYTEXIMAGE1DEXTPROC)(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border); typedef void (GLAPIENTRY *PFNGLCOPYTEXIMAGE2DPROC)(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); typedef void (GLAPIENTRY *PFNGLCOPYTEXIMAGE2DEXTPROC)(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); typedef void (GLAPIENTRY *PFNGLCOPYTEXSUBIMAGE1DPROC)(GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); typedef void (GLAPIENTRY *PFNGLCOPYTEXSUBIMAGE1DEXTPROC)(GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); typedef void (GLAPIENTRY *PFNGLCOPYTEXSUBIMAGE2DPROC)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); typedef void (GLAPIENTRY *PFNGLCOPYTEXSUBIMAGE2DEXTPROC)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); typedef void (GLAPIENTRY *PFNGLCOPYTEXSUBIMAGE3DPROC)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); typedef void (GLAPIENTRY *PFNGLCOPYTEXSUBIMAGE3DEXTPROC)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); typedef void (GLAPIENTRY *PFNGLCOPYTEXSUBIMAGE3DOESPROC)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); typedef void (GLAPIENTRY *PFNGLCOPYTEXTUREIMAGE1DEXTPROC)(GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border); typedef void (GLAPIENTRY *PFNGLCOPYTEXTUREIMAGE2DEXTPROC)(GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); typedef void (GLAPIENTRY *PFNGLCOPYTEXTURELEVELSAPPLEPROC)(GLuint destinationTexture, GLuint sourceTexture, GLint sourceBaseLevel, GLsizei sourceLevelCount); typedef void (GLAPIENTRY *PFNGLCOPYTEXTURESUBIMAGE1DPROC)(GLuint texture, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); typedef void (GLAPIENTRY *PFNGLCOPYTEXTURESUBIMAGE1DEXTPROC)(GLuint texture, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); typedef void (GLAPIENTRY *PFNGLCOPYTEXTURESUBIMAGE2DPROC)(GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); typedef void (GLAPIENTRY *PFNGLCOPYTEXTURESUBIMAGE2DEXTPROC)(GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); typedef void (GLAPIENTRY *PFNGLCOPYTEXTURESUBIMAGE3DPROC)(GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); typedef void (GLAPIENTRY *PFNGLCOPYTEXTURESUBIMAGE3DEXTPROC)(GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); typedef void (GLAPIENTRY *PFNGLCOVERFILLPATHINSTANCEDNVPROC)(GLsizei numPaths, GLenum pathNameType, const void * paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat * transformValues); typedef void (GLAPIENTRY *PFNGLCOVERFILLPATHNVPROC)(GLuint path, GLenum coverMode); typedef void (GLAPIENTRY *PFNGLCOVERSTROKEPATHINSTANCEDNVPROC)(GLsizei numPaths, GLenum pathNameType, const void * paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat * transformValues); typedef void (GLAPIENTRY *PFNGLCOVERSTROKEPATHNVPROC)(GLuint path, GLenum coverMode); typedef void (GLAPIENTRY *PFNGLCOVERAGEMASKNVPROC)(GLboolean mask); typedef void (GLAPIENTRY *PFNGLCOVERAGEMODULATIONNVPROC)(GLenum components); typedef void (GLAPIENTRY *PFNGLCOVERAGEMODULATIONTABLENVPROC)(GLsizei n, const GLfloat * v); typedef void (GLAPIENTRY *PFNGLCOVERAGEOPERATIONNVPROC)(GLenum operation); typedef void (GLAPIENTRY *PFNGLCREATEBUFFERSPROC)(GLsizei n, GLuint * buffers); typedef void (GLAPIENTRY *PFNGLCREATECOMMANDLISTSNVPROC)(GLsizei n, GLuint * lists); typedef void (GLAPIENTRY *PFNGLCREATEFRAMEBUFFERSPROC)(GLsizei n, GLuint * framebuffers); typedef void (GLAPIENTRY *PFNGLCREATEMEMORYOBJECTSEXTPROC)(GLsizei n, GLuint * memoryObjects); typedef void (GLAPIENTRY *PFNGLCREATEPERFQUERYINTELPROC)(GLuint queryId, GLuint * queryHandle); typedef GLuint (GLAPIENTRY *PFNGLCREATEPROGRAMPROC)(void); typedef GLhandleARB (GLAPIENTRY *PFNGLCREATEPROGRAMOBJECTARBPROC)(void); typedef void (GLAPIENTRY *PFNGLCREATEPROGRAMPIPELINESPROC)(GLsizei n, GLuint * pipelines); typedef GLuint (GLAPIENTRY *PFNGLCREATEPROGRESSFENCENVXPROC)(void); typedef void (GLAPIENTRY *PFNGLCREATEQUERIESPROC)(GLenum target, GLsizei n, GLuint * ids); typedef void (GLAPIENTRY *PFNGLCREATERENDERBUFFERSPROC)(GLsizei n, GLuint * renderbuffers); typedef void (GLAPIENTRY *PFNGLCREATESAMPLERSPROC)(GLsizei n, GLuint * samplers); typedef GLuint (GLAPIENTRY *PFNGLCREATESHADERPROC)(GLenum type); typedef GLhandleARB (GLAPIENTRY *PFNGLCREATESHADEROBJECTARBPROC)(GLenum shaderType); typedef GLuint (GLAPIENTRY *PFNGLCREATESHADERPROGRAMEXTPROC)(GLenum type, const GLchar * string); typedef GLuint (GLAPIENTRY *PFNGLCREATESHADERPROGRAMVPROC)(GLenum type, GLsizei count, const GLchar *const* strings); typedef GLuint (GLAPIENTRY *PFNGLCREATESHADERPROGRAMVEXTPROC)(GLenum type, GLsizei count, const GLchar ** strings); typedef void (GLAPIENTRY *PFNGLCREATESTATESNVPROC)(GLsizei n, GLuint * states); typedef GLsync (GLAPIENTRY *PFNGLCREATESYNCFROMCLEVENTARBPROC)(struct _cl_context * context, struct _cl_event * event, GLbitfield flags); typedef void (GLAPIENTRY *PFNGLCREATETEXTURESPROC)(GLenum target, GLsizei n, GLuint * textures); typedef void (GLAPIENTRY *PFNGLCREATETRANSFORMFEEDBACKSPROC)(GLsizei n, GLuint * ids); typedef void (GLAPIENTRY *PFNGLCREATEVERTEXARRAYSPROC)(GLsizei n, GLuint * arrays); typedef void (GLAPIENTRY *PFNGLCULLFACEPROC)(GLenum mode); typedef void (GLAPIENTRY *PFNGLCULLPARAMETERDVEXTPROC)(GLenum pname, GLdouble * params); typedef void (GLAPIENTRY *PFNGLCULLPARAMETERFVEXTPROC)(GLenum pname, GLfloat * params); typedef void (GLAPIENTRY *PFNGLCURRENTPALETTEMATRIXARBPROC)(GLint index); typedef void (GLAPIENTRY *PFNGLCURRENTPALETTEMATRIXOESPROC)(GLuint matrixpaletteindex); typedef void (GLAPIENTRY *PFNGLDEBUGMESSAGECALLBACKPROC)(GLDEBUGPROC callback, const void * userParam); typedef void (GLAPIENTRY *PFNGLDEBUGMESSAGECALLBACKAMDPROC)(GLDEBUGPROCAMD callback, void * userParam); typedef void (GLAPIENTRY *PFNGLDEBUGMESSAGECALLBACKARBPROC)(GLDEBUGPROCARB callback, const void * userParam); typedef void (GLAPIENTRY *PFNGLDEBUGMESSAGECALLBACKKHRPROC)(GLDEBUGPROCKHR callback, const void * userParam); typedef void (GLAPIENTRY *PFNGLDEBUGMESSAGECONTROLPROC)(GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint * ids, GLboolean enabled); typedef void (GLAPIENTRY *PFNGLDEBUGMESSAGECONTROLARBPROC)(GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint * ids, GLboolean enabled); typedef void (GLAPIENTRY *PFNGLDEBUGMESSAGECONTROLKHRPROC)(GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint * ids, GLboolean enabled); typedef void (GLAPIENTRY *PFNGLDEBUGMESSAGEENABLEAMDPROC)(GLenum category, GLenum severity, GLsizei count, const GLuint * ids, GLboolean enabled); typedef void (GLAPIENTRY *PFNGLDEBUGMESSAGEINSERTPROC)(GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar * buf); typedef void (GLAPIENTRY *PFNGLDEBUGMESSAGEINSERTAMDPROC)(GLenum category, GLenum severity, GLuint id, GLsizei length, const GLchar * buf); typedef void (GLAPIENTRY *PFNGLDEBUGMESSAGEINSERTARBPROC)(GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar * buf); typedef void (GLAPIENTRY *PFNGLDEBUGMESSAGEINSERTKHRPROC)(GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar * buf); typedef void (GLAPIENTRY *PFNGLDEFORMSGIXPROC)(GLbitfield mask); typedef void (GLAPIENTRY *PFNGLDEFORMATIONMAP3DSGIXPROC)(GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, GLdouble w1, GLdouble w2, GLint wstride, GLint worder, const GLdouble * points); typedef void (GLAPIENTRY *PFNGLDEFORMATIONMAP3FSGIXPROC)(GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, GLfloat w1, GLfloat w2, GLint wstride, GLint worder, const GLfloat * points); typedef void (GLAPIENTRY *PFNGLDELETEASYNCMARKERSSGIXPROC)(GLuint marker, GLsizei range); typedef void (GLAPIENTRY *PFNGLDELETEBUFFERSPROC)(GLsizei n, const GLuint * buffers); typedef void (GLAPIENTRY *PFNGLDELETEBUFFERSARBPROC)(GLsizei n, const GLuint * buffers); typedef void (GLAPIENTRY *PFNGLDELETECOMMANDLISTSNVPROC)(GLsizei n, const GLuint * lists); typedef void (GLAPIENTRY *PFNGLDELETEFENCESAPPLEPROC)(GLsizei n, const GLuint * fences); typedef void (GLAPIENTRY *PFNGLDELETEFENCESNVPROC)(GLsizei n, const GLuint * fences); typedef void (GLAPIENTRY *PFNGLDELETEFRAGMENTSHADERATIPROC)(GLuint id); typedef void (GLAPIENTRY *PFNGLDELETEFRAMEBUFFERSPROC)(GLsizei n, const GLuint * framebuffers); typedef void (GLAPIENTRY *PFNGLDELETEFRAMEBUFFERSEXTPROC)(GLsizei n, const GLuint * framebuffers); typedef void (GLAPIENTRY *PFNGLDELETEFRAMEBUFFERSOESPROC)(GLsizei n, const GLuint * framebuffers); typedef void (GLAPIENTRY *PFNGLDELETELISTSPROC)(GLuint list, GLsizei range); typedef void (GLAPIENTRY *PFNGLDELETEMEMORYOBJECTSEXTPROC)(GLsizei n, const GLuint * memoryObjects); typedef void (GLAPIENTRY *PFNGLDELETENAMEDSTRINGARBPROC)(GLint namelen, const GLchar * name); typedef void (GLAPIENTRY *PFNGLDELETENAMESAMDPROC)(GLenum identifier, GLuint num, const GLuint * names); typedef void (GLAPIENTRY *PFNGLDELETEOBJECTARBPROC)(GLhandleARB obj); typedef void (GLAPIENTRY *PFNGLDELETEOCCLUSIONQUERIESNVPROC)(GLsizei n, const GLuint * ids); typedef void (GLAPIENTRY *PFNGLDELETEPATHSNVPROC)(GLuint path, GLsizei range); typedef void (GLAPIENTRY *PFNGLDELETEPERFMONITORSAMDPROC)(GLsizei n, GLuint * monitors); typedef void (GLAPIENTRY *PFNGLDELETEPERFQUERYINTELPROC)(GLuint queryHandle); typedef void (GLAPIENTRY *PFNGLDELETEPROGRAMPROC)(GLuint program); typedef void (GLAPIENTRY *PFNGLDELETEPROGRAMPIPELINESPROC)(GLsizei n, const GLuint * pipelines); typedef void (GLAPIENTRY *PFNGLDELETEPROGRAMPIPELINESEXTPROC)(GLsizei n, const GLuint * pipelines); typedef void (GLAPIENTRY *PFNGLDELETEPROGRAMSARBPROC)(GLsizei n, const GLuint * programs); typedef void (GLAPIENTRY *PFNGLDELETEPROGRAMSNVPROC)(GLsizei n, const GLuint * programs); typedef void (GLAPIENTRY *PFNGLDELETEQUERIESPROC)(GLsizei n, const GLuint * ids); typedef void (GLAPIENTRY *PFNGLDELETEQUERIESARBPROC)(GLsizei n, const GLuint * ids); typedef void (GLAPIENTRY *PFNGLDELETEQUERIESEXTPROC)(GLsizei n, const GLuint * ids); typedef void (GLAPIENTRY *PFNGLDELETEQUERYRESOURCETAGNVPROC)(GLsizei n, const GLint * tagIds); typedef void (GLAPIENTRY *PFNGLDELETERENDERBUFFERSPROC)(GLsizei n, const GLuint * renderbuffers); typedef void (GLAPIENTRY *PFNGLDELETERENDERBUFFERSEXTPROC)(GLsizei n, const GLuint * renderbuffers); typedef void (GLAPIENTRY *PFNGLDELETERENDERBUFFERSOESPROC)(GLsizei n, const GLuint * renderbuffers); typedef void (GLAPIENTRY *PFNGLDELETESAMPLERSPROC)(GLsizei count, const GLuint * samplers); typedef void (GLAPIENTRY *PFNGLDELETESEMAPHORESEXTPROC)(GLsizei n, const GLuint * semaphores); typedef void (GLAPIENTRY *PFNGLDELETESHADERPROC)(GLuint shader); typedef void (GLAPIENTRY *PFNGLDELETESTATESNVPROC)(GLsizei n, const GLuint * states); typedef void (GLAPIENTRY *PFNGLDELETESYNCPROC)(GLsync sync); typedef void (GLAPIENTRY *PFNGLDELETESYNCAPPLEPROC)(GLsync sync); typedef void (GLAPIENTRY *PFNGLDELETETEXTURESPROC)(GLsizei n, const GLuint * textures); typedef void (GLAPIENTRY *PFNGLDELETETEXTURESEXTPROC)(GLsizei n, const GLuint * textures); typedef void (GLAPIENTRY *PFNGLDELETETRANSFORMFEEDBACKSPROC)(GLsizei n, const GLuint * ids); typedef void (GLAPIENTRY *PFNGLDELETETRANSFORMFEEDBACKSNVPROC)(GLsizei n, const GLuint * ids); typedef void (GLAPIENTRY *PFNGLDELETEVERTEXARRAYSPROC)(GLsizei n, const GLuint * arrays); typedef void (GLAPIENTRY *PFNGLDELETEVERTEXARRAYSAPPLEPROC)(GLsizei n, const GLuint * arrays); typedef void (GLAPIENTRY *PFNGLDELETEVERTEXARRAYSOESPROC)(GLsizei n, const GLuint * arrays); typedef void (GLAPIENTRY *PFNGLDELETEVERTEXSHADEREXTPROC)(GLuint id); typedef void (GLAPIENTRY *PFNGLDEPTHBOUNDSEXTPROC)(GLclampd zmin, GLclampd zmax); typedef void (GLAPIENTRY *PFNGLDEPTHBOUNDSDNVPROC)(GLdouble zmin, GLdouble zmax); typedef void (GLAPIENTRY *PFNGLDEPTHFUNCPROC)(GLenum func); typedef void (GLAPIENTRY *PFNGLDEPTHMASKPROC)(GLboolean flag); typedef void (GLAPIENTRY *PFNGLDEPTHRANGEPROC)(GLdouble n, GLdouble f); typedef void (GLAPIENTRY *PFNGLDEPTHRANGEARRAYFVNVPROC)(GLuint first, GLsizei count, const GLfloat * v); typedef void (GLAPIENTRY *PFNGLDEPTHRANGEARRAYFVOESPROC)(GLuint first, GLsizei count, const GLfloat * v); typedef void (GLAPIENTRY *PFNGLDEPTHRANGEARRAYVPROC)(GLuint first, GLsizei count, const GLdouble * v); typedef void (GLAPIENTRY *PFNGLDEPTHRANGEINDEXEDPROC)(GLuint index, GLdouble n, GLdouble f); typedef void (GLAPIENTRY *PFNGLDEPTHRANGEINDEXEDFNVPROC)(GLuint index, GLfloat n, GLfloat f); typedef void (GLAPIENTRY *PFNGLDEPTHRANGEINDEXEDFOESPROC)(GLuint index, GLfloat n, GLfloat f); typedef void (GLAPIENTRY *PFNGLDEPTHRANGEDNVPROC)(GLdouble zNear, GLdouble zFar); typedef void (GLAPIENTRY *PFNGLDEPTHRANGEFPROC)(GLfloat n, GLfloat f); typedef void (GLAPIENTRY *PFNGLDEPTHRANGEFOESPROC)(GLclampf n, GLclampf f); typedef void (GLAPIENTRY *PFNGLDEPTHRANGEXPROC)(GLfixed n, GLfixed f); typedef void (GLAPIENTRY *PFNGLDEPTHRANGEXOESPROC)(GLfixed n, GLfixed f); typedef void (GLAPIENTRY *PFNGLDETACHOBJECTARBPROC)(GLhandleARB containerObj, GLhandleARB attachedObj); typedef void (GLAPIENTRY *PFNGLDETACHSHADERPROC)(GLuint program, GLuint shader); typedef void (GLAPIENTRY *PFNGLDETAILTEXFUNCSGISPROC)(GLenum target, GLsizei n, const GLfloat * points); typedef void (GLAPIENTRY *PFNGLDISABLEPROC)(GLenum cap); typedef void (GLAPIENTRY *PFNGLDISABLECLIENTSTATEPROC)(GLenum array); typedef void (GLAPIENTRY *PFNGLDISABLECLIENTSTATEINDEXEDEXTPROC)(GLenum array, GLuint index); typedef void (GLAPIENTRY *PFNGLDISABLECLIENTSTATEIEXTPROC)(GLenum array, GLuint index); typedef void (GLAPIENTRY *PFNGLDISABLEDRIVERCONTROLQCOMPROC)(GLuint driverControl); typedef void (GLAPIENTRY *PFNGLDISABLEINDEXEDEXTPROC)(GLenum target, GLuint index); typedef void (GLAPIENTRY *PFNGLDISABLEVARIANTCLIENTSTATEEXTPROC)(GLuint id); typedef void (GLAPIENTRY *PFNGLDISABLEVERTEXARRAYATTRIBPROC)(GLuint vaobj, GLuint index); typedef void (GLAPIENTRY *PFNGLDISABLEVERTEXARRAYATTRIBEXTPROC)(GLuint vaobj, GLuint index); typedef void (GLAPIENTRY *PFNGLDISABLEVERTEXARRAYEXTPROC)(GLuint vaobj, GLenum array); typedef void (GLAPIENTRY *PFNGLDISABLEVERTEXATTRIBAPPLEPROC)(GLuint index, GLenum pname); typedef void (GLAPIENTRY *PFNGLDISABLEVERTEXATTRIBARRAYPROC)(GLuint index); typedef void (GLAPIENTRY *PFNGLDISABLEVERTEXATTRIBARRAYARBPROC)(GLuint index); typedef void (GLAPIENTRY *PFNGLDISABLEIPROC)(GLenum target, GLuint index); typedef void (GLAPIENTRY *PFNGLDISABLEIEXTPROC)(GLenum target, GLuint index); typedef void (GLAPIENTRY *PFNGLDISABLEINVPROC)(GLenum target, GLuint index); typedef void (GLAPIENTRY *PFNGLDISABLEIOESPROC)(GLenum target, GLuint index); typedef void (GLAPIENTRY *PFNGLDISCARDFRAMEBUFFEREXTPROC)(GLenum target, GLsizei numAttachments, const GLenum * attachments); typedef void (GLAPIENTRY *PFNGLDISPATCHCOMPUTEPROC)(GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z); typedef void (GLAPIENTRY *PFNGLDISPATCHCOMPUTEGROUPSIZEARBPROC)(GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z, GLuint group_size_x, GLuint group_size_y, GLuint group_size_z); typedef void (GLAPIENTRY *PFNGLDISPATCHCOMPUTEINDIRECTPROC)(GLintptr indirect); typedef void (GLAPIENTRY *PFNGLDRAWARRAYSPROC)(GLenum mode, GLint first, GLsizei count); typedef void (GLAPIENTRY *PFNGLDRAWARRAYSEXTPROC)(GLenum mode, GLint first, GLsizei count); typedef void (GLAPIENTRY *PFNGLDRAWARRAYSINDIRECTPROC)(GLenum mode, const void * indirect); typedef void (GLAPIENTRY *PFNGLDRAWARRAYSINSTANCEDPROC)(GLenum mode, GLint first, GLsizei count, GLsizei instancecount); typedef void (GLAPIENTRY *PFNGLDRAWARRAYSINSTANCEDANGLEPROC)(GLenum mode, GLint first, GLsizei count, GLsizei primcount); typedef void (GLAPIENTRY *PFNGLDRAWARRAYSINSTANCEDARBPROC)(GLenum mode, GLint first, GLsizei count, GLsizei primcount); typedef void (GLAPIENTRY *PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEPROC)(GLenum mode, GLint first, GLsizei count, GLsizei instancecount, GLuint baseinstance); typedef void (GLAPIENTRY *PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEEXTPROC)(GLenum mode, GLint first, GLsizei count, GLsizei instancecount, GLuint baseinstance); typedef void (GLAPIENTRY *PFNGLDRAWARRAYSINSTANCEDEXTPROC)(GLenum mode, GLint start, GLsizei count, GLsizei primcount); typedef void (GLAPIENTRY *PFNGLDRAWARRAYSINSTANCEDNVPROC)(GLenum mode, GLint first, GLsizei count, GLsizei primcount); typedef void (GLAPIENTRY *PFNGLDRAWBUFFERPROC)(GLenum buf); typedef void (GLAPIENTRY *PFNGLDRAWBUFFERSPROC)(GLsizei n, const GLenum * bufs); typedef void (GLAPIENTRY *PFNGLDRAWBUFFERSARBPROC)(GLsizei n, const GLenum * bufs); typedef void (GLAPIENTRY *PFNGLDRAWBUFFERSATIPROC)(GLsizei n, const GLenum * bufs); typedef void (GLAPIENTRY *PFNGLDRAWBUFFERSEXTPROC)(GLsizei n, const GLenum * bufs); typedef void (GLAPIENTRY *PFNGLDRAWBUFFERSINDEXEDEXTPROC)(GLint n, const GLenum * location, const GLint * indices); typedef void (GLAPIENTRY *PFNGLDRAWBUFFERSNVPROC)(GLsizei n, const GLenum * bufs); typedef void (GLAPIENTRY *PFNGLDRAWCOMMANDSADDRESSNVPROC)(GLenum primitiveMode, const GLuint64 * indirects, const GLsizei * sizes, GLuint count); typedef void (GLAPIENTRY *PFNGLDRAWCOMMANDSNVPROC)(GLenum primitiveMode, GLuint buffer, const GLintptr * indirects, const GLsizei * sizes, GLuint count); typedef void (GLAPIENTRY *PFNGLDRAWCOMMANDSSTATESADDRESSNVPROC)(const GLuint64 * indirects, const GLsizei * sizes, const GLuint * states, const GLuint * fbos, GLuint count); typedef void (GLAPIENTRY *PFNGLDRAWCOMMANDSSTATESNVPROC)(GLuint buffer, const GLintptr * indirects, const GLsizei * sizes, const GLuint * states, const GLuint * fbos, GLuint count); typedef void (GLAPIENTRY *PFNGLDRAWELEMENTARRAYAPPLEPROC)(GLenum mode, GLint first, GLsizei count); typedef void (GLAPIENTRY *PFNGLDRAWELEMENTARRAYATIPROC)(GLenum mode, GLsizei count); typedef void (GLAPIENTRY *PFNGLDRAWELEMENTSPROC)(GLenum mode, GLsizei count, GLenum type, const void * indices); typedef void (GLAPIENTRY *PFNGLDRAWELEMENTSBASEVERTEXPROC)(GLenum mode, GLsizei count, GLenum type, const void * indices, GLint basevertex); typedef void (GLAPIENTRY *PFNGLDRAWELEMENTSBASEVERTEXEXTPROC)(GLenum mode, GLsizei count, GLenum type, const void * indices, GLint basevertex); typedef void (GLAPIENTRY *PFNGLDRAWELEMENTSBASEVERTEXOESPROC)(GLenum mode, GLsizei count, GLenum type, const void * indices, GLint basevertex); typedef void (GLAPIENTRY *PFNGLDRAWELEMENTSINDIRECTPROC)(GLenum mode, GLenum type, const void * indirect); typedef void (GLAPIENTRY *PFNGLDRAWELEMENTSINSTANCEDPROC)(GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei instancecount); typedef void (GLAPIENTRY *PFNGLDRAWELEMENTSINSTANCEDANGLEPROC)(GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei primcount); typedef void (GLAPIENTRY *PFNGLDRAWELEMENTSINSTANCEDARBPROC)(GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei primcount); typedef void (GLAPIENTRY *PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEPROC)(GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei instancecount, GLuint baseinstance); typedef void (GLAPIENTRY *PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEEXTPROC)(GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei instancecount, GLuint baseinstance); typedef void (GLAPIENTRY *PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC)(GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei instancecount, GLint basevertex); typedef void (GLAPIENTRY *PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEPROC)(GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei instancecount, GLint basevertex, GLuint baseinstance); typedef void (GLAPIENTRY *PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEEXTPROC)(GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei instancecount, GLint basevertex, GLuint baseinstance); typedef void (GLAPIENTRY *PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXEXTPROC)(GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei instancecount, GLint basevertex); typedef void (GLAPIENTRY *PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXOESPROC)(GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei instancecount, GLint basevertex); typedef void (GLAPIENTRY *PFNGLDRAWELEMENTSINSTANCEDEXTPROC)(GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei primcount); typedef void (GLAPIENTRY *PFNGLDRAWELEMENTSINSTANCEDNVPROC)(GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei primcount); typedef void (GLAPIENTRY *PFNGLDRAWMESHARRAYSSUNPROC)(GLenum mode, GLint first, GLsizei count, GLsizei width); typedef void (GLAPIENTRY *PFNGLDRAWMESHTASKSINDIRECTNVPROC)(GLintptr indirect); typedef void (GLAPIENTRY *PFNGLDRAWMESHTASKSNVPROC)(GLuint first, GLuint count); typedef void (GLAPIENTRY *PFNGLDRAWPIXELSPROC)(GLsizei width, GLsizei height, GLenum format, GLenum type, const void * pixels); typedef void (GLAPIENTRY *PFNGLDRAWRANGEELEMENTARRAYAPPLEPROC)(GLenum mode, GLuint start, GLuint end, GLint first, GLsizei count); typedef void (GLAPIENTRY *PFNGLDRAWRANGEELEMENTARRAYATIPROC)(GLenum mode, GLuint start, GLuint end, GLsizei count); typedef void (GLAPIENTRY *PFNGLDRAWRANGEELEMENTSPROC)(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void * indices); typedef void (GLAPIENTRY *PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC)(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void * indices, GLint basevertex); typedef void (GLAPIENTRY *PFNGLDRAWRANGEELEMENTSBASEVERTEXEXTPROC)(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void * indices, GLint basevertex); typedef void (GLAPIENTRY *PFNGLDRAWRANGEELEMENTSBASEVERTEXOESPROC)(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void * indices, GLint basevertex); typedef void (GLAPIENTRY *PFNGLDRAWRANGEELEMENTSEXTPROC)(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void * indices); typedef void (GLAPIENTRY *PFNGLDRAWTEXFOESPROC)(GLfloat x, GLfloat y, GLfloat z, GLfloat width, GLfloat height); typedef void (GLAPIENTRY *PFNGLDRAWTEXFVOESPROC)(const GLfloat * coords); typedef void (GLAPIENTRY *PFNGLDRAWTEXIOESPROC)(GLint x, GLint y, GLint z, GLint width, GLint height); typedef void (GLAPIENTRY *PFNGLDRAWTEXIVOESPROC)(const GLint * coords); typedef void (GLAPIENTRY *PFNGLDRAWTEXSOESPROC)(GLshort x, GLshort y, GLshort z, GLshort width, GLshort height); typedef void (GLAPIENTRY *PFNGLDRAWTEXSVOESPROC)(const GLshort * coords); typedef void (GLAPIENTRY *PFNGLDRAWTEXTURENVPROC)(GLuint texture, GLuint sampler, GLfloat x0, GLfloat y0, GLfloat x1, GLfloat y1, GLfloat z, GLfloat s0, GLfloat t0, GLfloat s1, GLfloat t1); typedef void (GLAPIENTRY *PFNGLDRAWTEXXOESPROC)(GLfixed x, GLfixed y, GLfixed z, GLfixed width, GLfixed height); typedef void (GLAPIENTRY *PFNGLDRAWTEXXVOESPROC)(const GLfixed * coords); typedef void (GLAPIENTRY *PFNGLDRAWTRANSFORMFEEDBACKPROC)(GLenum mode, GLuint id); typedef void (GLAPIENTRY *PFNGLDRAWTRANSFORMFEEDBACKEXTPROC)(GLenum mode, GLuint id); typedef void (GLAPIENTRY *PFNGLDRAWTRANSFORMFEEDBACKINSTANCEDPROC)(GLenum mode, GLuint id, GLsizei instancecount); typedef void (GLAPIENTRY *PFNGLDRAWTRANSFORMFEEDBACKINSTANCEDEXTPROC)(GLenum mode, GLuint id, GLsizei instancecount); typedef void (GLAPIENTRY *PFNGLDRAWTRANSFORMFEEDBACKNVPROC)(GLenum mode, GLuint id); typedef void (GLAPIENTRY *PFNGLDRAWTRANSFORMFEEDBACKSTREAMPROC)(GLenum mode, GLuint id, GLuint stream); typedef void (GLAPIENTRY *PFNGLDRAWTRANSFORMFEEDBACKSTREAMINSTANCEDPROC)(GLenum mode, GLuint id, GLuint stream, GLsizei instancecount); typedef void (GLAPIENTRY *PFNGLDRAWVKIMAGENVPROC)(GLuint64 vkImage, GLuint sampler, GLfloat x0, GLfloat y0, GLfloat x1, GLfloat y1, GLfloat z, GLfloat s0, GLfloat t0, GLfloat s1, GLfloat t1); typedef void (GLAPIENTRY *PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC)(GLenum target, GLeglImageOES image); typedef void (GLAPIENTRY *PFNGLEGLIMAGETARGETTEXSTORAGEEXTPROC)(GLenum target, GLeglImageOES image, const GLint* attrib_list); typedef void (GLAPIENTRY *PFNGLEGLIMAGETARGETTEXTURE2DOESPROC)(GLenum target, GLeglImageOES image); typedef void (GLAPIENTRY *PFNGLEGLIMAGETARGETTEXTURESTORAGEEXTPROC)(GLuint texture, GLeglImageOES image, const GLint* attrib_list); typedef void (GLAPIENTRY *PFNGLEDGEFLAGPROC)(GLboolean flag); typedef void (GLAPIENTRY *PFNGLEDGEFLAGFORMATNVPROC)(GLsizei stride); typedef void (GLAPIENTRY *PFNGLEDGEFLAGPOINTERPROC)(GLsizei stride, const void * pointer); typedef void (GLAPIENTRY *PFNGLEDGEFLAGPOINTEREXTPROC)(GLsizei stride, GLsizei count, const GLboolean * pointer); typedef void (GLAPIENTRY *PFNGLEDGEFLAGPOINTERLISTIBMPROC)(GLint stride, const GLboolean ** pointer, GLint ptrstride); typedef void (GLAPIENTRY *PFNGLEDGEFLAGVPROC)(const GLboolean * flag); typedef void (GLAPIENTRY *PFNGLELEMENTPOINTERAPPLEPROC)(GLenum type, const void * pointer); typedef void (GLAPIENTRY *PFNGLELEMENTPOINTERATIPROC)(GLenum type, const void * pointer); typedef void (GLAPIENTRY *PFNGLENABLEPROC)(GLenum cap); typedef void (GLAPIENTRY *PFNGLENABLECLIENTSTATEPROC)(GLenum array); typedef void (GLAPIENTRY *PFNGLENABLECLIENTSTATEINDEXEDEXTPROC)(GLenum array, GLuint index); typedef void (GLAPIENTRY *PFNGLENABLECLIENTSTATEIEXTPROC)(GLenum array, GLuint index); typedef void (GLAPIENTRY *PFNGLENABLEDRIVERCONTROLQCOMPROC)(GLuint driverControl); typedef void (GLAPIENTRY *PFNGLENABLEINDEXEDEXTPROC)(GLenum target, GLuint index); typedef void (GLAPIENTRY *PFNGLENABLEVARIANTCLIENTSTATEEXTPROC)(GLuint id); typedef void (GLAPIENTRY *PFNGLENABLEVERTEXARRAYATTRIBPROC)(GLuint vaobj, GLuint index); typedef void (GLAPIENTRY *PFNGLENABLEVERTEXARRAYATTRIBEXTPROC)(GLuint vaobj, GLuint index); typedef void (GLAPIENTRY *PFNGLENABLEVERTEXARRAYEXTPROC)(GLuint vaobj, GLenum array); typedef void (GLAPIENTRY *PFNGLENABLEVERTEXATTRIBAPPLEPROC)(GLuint index, GLenum pname); typedef void (GLAPIENTRY *PFNGLENABLEVERTEXATTRIBARRAYPROC)(GLuint index); typedef void (GLAPIENTRY *PFNGLENABLEVERTEXATTRIBARRAYARBPROC)(GLuint index); typedef void (GLAPIENTRY *PFNGLENABLEIPROC)(GLenum target, GLuint index); typedef void (GLAPIENTRY *PFNGLENABLEIEXTPROC)(GLenum target, GLuint index); typedef void (GLAPIENTRY *PFNGLENABLEINVPROC)(GLenum target, GLuint index); typedef void (GLAPIENTRY *PFNGLENABLEIOESPROC)(GLenum target, GLuint index); typedef void (GLAPIENTRY *PFNGLENDPROC)(void); typedef void (GLAPIENTRY *PFNGLENDCONDITIONALRENDERPROC)(void); typedef void (GLAPIENTRY *PFNGLENDCONDITIONALRENDERNVPROC)(void); typedef void (GLAPIENTRY *PFNGLENDCONDITIONALRENDERNVXPROC)(void); typedef void (GLAPIENTRY *PFNGLENDFRAGMENTSHADERATIPROC)(void); typedef void (GLAPIENTRY *PFNGLENDLISTPROC)(void); typedef void (GLAPIENTRY *PFNGLENDOCCLUSIONQUERYNVPROC)(void); typedef void (GLAPIENTRY *PFNGLENDPERFMONITORAMDPROC)(GLuint monitor); typedef void (GLAPIENTRY *PFNGLENDPERFQUERYINTELPROC)(GLuint queryHandle); typedef void (GLAPIENTRY *PFNGLENDQUERYPROC)(GLenum target); typedef void (GLAPIENTRY *PFNGLENDQUERYARBPROC)(GLenum target); typedef void (GLAPIENTRY *PFNGLENDQUERYEXTPROC)(GLenum target); typedef void (GLAPIENTRY *PFNGLENDQUERYINDEXEDPROC)(GLenum target, GLuint index); typedef void (GLAPIENTRY *PFNGLENDTILINGQCOMPROC)(GLbitfield preserveMask); typedef void (GLAPIENTRY *PFNGLENDTRANSFORMFEEDBACKPROC)(void); typedef void (GLAPIENTRY *PFNGLENDTRANSFORMFEEDBACKEXTPROC)(void); typedef void (GLAPIENTRY *PFNGLENDTRANSFORMFEEDBACKNVPROC)(void); typedef void (GLAPIENTRY *PFNGLENDVERTEXSHADEREXTPROC)(void); typedef void (GLAPIENTRY *PFNGLENDVIDEOCAPTURENVPROC)(GLuint video_capture_slot); typedef void (GLAPIENTRY *PFNGLEVALCOORD1DPROC)(GLdouble u); typedef void (GLAPIENTRY *PFNGLEVALCOORD1DVPROC)(const GLdouble * u); typedef void (GLAPIENTRY *PFNGLEVALCOORD1FPROC)(GLfloat u); typedef void (GLAPIENTRY *PFNGLEVALCOORD1FVPROC)(const GLfloat * u); typedef void (GLAPIENTRY *PFNGLEVALCOORD1XOESPROC)(GLfixed u); typedef void (GLAPIENTRY *PFNGLEVALCOORD1XVOESPROC)(const GLfixed * coords); typedef void (GLAPIENTRY *PFNGLEVALCOORD2DPROC)(GLdouble u, GLdouble v); typedef void (GLAPIENTRY *PFNGLEVALCOORD2DVPROC)(const GLdouble * u); typedef void (GLAPIENTRY *PFNGLEVALCOORD2FPROC)(GLfloat u, GLfloat v); typedef void (GLAPIENTRY *PFNGLEVALCOORD2FVPROC)(const GLfloat * u); typedef void (GLAPIENTRY *PFNGLEVALCOORD2XOESPROC)(GLfixed u, GLfixed v); typedef void (GLAPIENTRY *PFNGLEVALCOORD2XVOESPROC)(const GLfixed * coords); typedef void (GLAPIENTRY *PFNGLEVALMAPSNVPROC)(GLenum target, GLenum mode); typedef void (GLAPIENTRY *PFNGLEVALMESH1PROC)(GLenum mode, GLint i1, GLint i2); typedef void (GLAPIENTRY *PFNGLEVALMESH2PROC)(GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2); typedef void (GLAPIENTRY *PFNGLEVALPOINT1PROC)(GLint i); typedef void (GLAPIENTRY *PFNGLEVALPOINT2PROC)(GLint i, GLint j); typedef void (GLAPIENTRY *PFNGLEVALUATEDEPTHVALUESARBPROC)(void); typedef void (GLAPIENTRY *PFNGLEXECUTEPROGRAMNVPROC)(GLenum target, GLuint id, const GLfloat * params); typedef void (GLAPIENTRY *PFNGLEXTGETBUFFERPOINTERVQCOMPROC)(GLenum target, void ** params); typedef void (GLAPIENTRY *PFNGLEXTGETBUFFERSQCOMPROC)(GLuint * buffers, GLint maxBuffers, GLint * numBuffers); typedef void (GLAPIENTRY *PFNGLEXTGETFRAMEBUFFERSQCOMPROC)(GLuint * framebuffers, GLint maxFramebuffers, GLint * numFramebuffers); typedef void (GLAPIENTRY *PFNGLEXTGETPROGRAMBINARYSOURCEQCOMPROC)(GLuint program, GLenum shadertype, GLchar * source, GLint * length); typedef void (GLAPIENTRY *PFNGLEXTGETPROGRAMSQCOMPROC)(GLuint * programs, GLint maxPrograms, GLint * numPrograms); typedef void (GLAPIENTRY *PFNGLEXTGETRENDERBUFFERSQCOMPROC)(GLuint * renderbuffers, GLint maxRenderbuffers, GLint * numRenderbuffers); typedef void (GLAPIENTRY *PFNGLEXTGETSHADERSQCOMPROC)(GLuint * shaders, GLint maxShaders, GLint * numShaders); typedef void (GLAPIENTRY *PFNGLEXTGETTEXLEVELPARAMETERIVQCOMPROC)(GLuint texture, GLenum face, GLint level, GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLEXTGETTEXSUBIMAGEQCOMPROC)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, void * texels); typedef void (GLAPIENTRY *PFNGLEXTGETTEXTURESQCOMPROC)(GLuint * textures, GLint maxTextures, GLint * numTextures); typedef GLboolean (GLAPIENTRY *PFNGLEXTISPROGRAMBINARYQCOMPROC)(GLuint program); typedef void (GLAPIENTRY *PFNGLEXTTEXOBJECTSTATEOVERRIDEIQCOMPROC)(GLenum target, GLenum pname, GLint param); typedef void (GLAPIENTRY *PFNGLEXTRACTCOMPONENTEXTPROC)(GLuint res, GLuint src, GLuint num); typedef void (GLAPIENTRY *PFNGLFEEDBACKBUFFERPROC)(GLsizei size, GLenum type, GLfloat * buffer); typedef void (GLAPIENTRY *PFNGLFEEDBACKBUFFERXOESPROC)(GLsizei n, GLenum type, const GLfixed * buffer); typedef GLsync (GLAPIENTRY *PFNGLFENCESYNCPROC)(GLenum condition, GLbitfield flags); typedef GLsync (GLAPIENTRY *PFNGLFENCESYNCAPPLEPROC)(GLenum condition, GLbitfield flags); typedef void (GLAPIENTRY *PFNGLFINALCOMBINERINPUTNVPROC)(GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage); typedef void (GLAPIENTRY *PFNGLFINISHPROC)(void); typedef GLint (GLAPIENTRY *PFNGLFINISHASYNCSGIXPROC)(GLuint * markerp); typedef void (GLAPIENTRY *PFNGLFINISHFENCEAPPLEPROC)(GLuint fence); typedef void (GLAPIENTRY *PFNGLFINISHFENCENVPROC)(GLuint fence); typedef void (GLAPIENTRY *PFNGLFINISHOBJECTAPPLEPROC)(GLenum object, GLint name); typedef void (GLAPIENTRY *PFNGLFINISHTEXTURESUNXPROC)(void); typedef void (GLAPIENTRY *PFNGLFLUSHPROC)(void); typedef void (GLAPIENTRY *PFNGLFLUSHMAPPEDBUFFERRANGEPROC)(GLenum target, GLintptr offset, GLsizeiptr length); typedef void (GLAPIENTRY *PFNGLFLUSHMAPPEDBUFFERRANGEAPPLEPROC)(GLenum target, GLintptr offset, GLsizeiptr size); typedef void (GLAPIENTRY *PFNGLFLUSHMAPPEDBUFFERRANGEEXTPROC)(GLenum target, GLintptr offset, GLsizeiptr length); typedef void (GLAPIENTRY *PFNGLFLUSHMAPPEDNAMEDBUFFERRANGEPROC)(GLuint buffer, GLintptr offset, GLsizeiptr length); typedef void (GLAPIENTRY *PFNGLFLUSHMAPPEDNAMEDBUFFERRANGEEXTPROC)(GLuint buffer, GLintptr offset, GLsizeiptr length); typedef void (GLAPIENTRY *PFNGLFLUSHPIXELDATARANGENVPROC)(GLenum target); typedef void (GLAPIENTRY *PFNGLFLUSHRASTERSGIXPROC)(void); typedef void (GLAPIENTRY *PFNGLFLUSHSTATICDATAIBMPROC)(GLenum target); typedef void (GLAPIENTRY *PFNGLFLUSHVERTEXARRAYRANGEAPPLEPROC)(GLsizei length, void * pointer); typedef void (GLAPIENTRY *PFNGLFLUSHVERTEXARRAYRANGENVPROC)(void); typedef void (GLAPIENTRY *PFNGLFOGCOORDFORMATNVPROC)(GLenum type, GLsizei stride); typedef void (GLAPIENTRY *PFNGLFOGCOORDPOINTERPROC)(GLenum type, GLsizei stride, const void * pointer); typedef void (GLAPIENTRY *PFNGLFOGCOORDPOINTEREXTPROC)(GLenum type, GLsizei stride, const void * pointer); typedef void (GLAPIENTRY *PFNGLFOGCOORDPOINTERLISTIBMPROC)(GLenum type, GLint stride, const void ** pointer, GLint ptrstride); typedef void (GLAPIENTRY *PFNGLFOGCOORDDPROC)(GLdouble coord); typedef void (GLAPIENTRY *PFNGLFOGCOORDDEXTPROC)(GLdouble coord); typedef void (GLAPIENTRY *PFNGLFOGCOORDDVPROC)(const GLdouble * coord); typedef void (GLAPIENTRY *PFNGLFOGCOORDDVEXTPROC)(const GLdouble * coord); typedef void (GLAPIENTRY *PFNGLFOGCOORDFPROC)(GLfloat coord); typedef void (GLAPIENTRY *PFNGLFOGCOORDFEXTPROC)(GLfloat coord); typedef void (GLAPIENTRY *PFNGLFOGCOORDFVPROC)(const GLfloat * coord); typedef void (GLAPIENTRY *PFNGLFOGCOORDFVEXTPROC)(const GLfloat * coord); typedef void (GLAPIENTRY *PFNGLFOGCOORDHNVPROC)(GLhalfNV fog); typedef void (GLAPIENTRY *PFNGLFOGCOORDHVNVPROC)(const GLhalfNV * fog); typedef void (GLAPIENTRY *PFNGLFOGFUNCSGISPROC)(GLsizei n, const GLfloat * points); typedef void (GLAPIENTRY *PFNGLFOGFPROC)(GLenum pname, GLfloat param); typedef void (GLAPIENTRY *PFNGLFOGFVPROC)(GLenum pname, const GLfloat * params); typedef void (GLAPIENTRY *PFNGLFOGIPROC)(GLenum pname, GLint param); typedef void (GLAPIENTRY *PFNGLFOGIVPROC)(GLenum pname, const GLint * params); typedef void (GLAPIENTRY *PFNGLFOGXPROC)(GLenum pname, GLfixed param); typedef void (GLAPIENTRY *PFNGLFOGXOESPROC)(GLenum pname, GLfixed param); typedef void (GLAPIENTRY *PFNGLFOGXVPROC)(GLenum pname, const GLfixed * param); typedef void (GLAPIENTRY *PFNGLFOGXVOESPROC)(GLenum pname, const GLfixed * param); typedef void (GLAPIENTRY *PFNGLFRAGMENTCOLORMATERIALSGIXPROC)(GLenum face, GLenum mode); typedef void (GLAPIENTRY *PFNGLFRAGMENTCOVERAGECOLORNVPROC)(GLuint color); typedef void (GLAPIENTRY *PFNGLFRAGMENTLIGHTMODELFSGIXPROC)(GLenum pname, GLfloat param); typedef void (GLAPIENTRY *PFNGLFRAGMENTLIGHTMODELFVSGIXPROC)(GLenum pname, const GLfloat * params); typedef void (GLAPIENTRY *PFNGLFRAGMENTLIGHTMODELISGIXPROC)(GLenum pname, GLint param); typedef void (GLAPIENTRY *PFNGLFRAGMENTLIGHTMODELIVSGIXPROC)(GLenum pname, const GLint * params); typedef void (GLAPIENTRY *PFNGLFRAGMENTLIGHTFSGIXPROC)(GLenum light, GLenum pname, GLfloat param); typedef void (GLAPIENTRY *PFNGLFRAGMENTLIGHTFVSGIXPROC)(GLenum light, GLenum pname, const GLfloat * params); typedef void (GLAPIENTRY *PFNGLFRAGMENTLIGHTISGIXPROC)(GLenum light, GLenum pname, GLint param); typedef void (GLAPIENTRY *PFNGLFRAGMENTLIGHTIVSGIXPROC)(GLenum light, GLenum pname, const GLint * params); typedef void (GLAPIENTRY *PFNGLFRAGMENTMATERIALFSGIXPROC)(GLenum face, GLenum pname, GLfloat param); typedef void (GLAPIENTRY *PFNGLFRAGMENTMATERIALFVSGIXPROC)(GLenum face, GLenum pname, const GLfloat * params); typedef void (GLAPIENTRY *PFNGLFRAGMENTMATERIALISGIXPROC)(GLenum face, GLenum pname, GLint param); typedef void (GLAPIENTRY *PFNGLFRAGMENTMATERIALIVSGIXPROC)(GLenum face, GLenum pname, const GLint * params); typedef void (GLAPIENTRY *PFNGLFRAMETERMINATORGREMEDYPROC)(void); typedef void (GLAPIENTRY *PFNGLFRAMEZOOMSGIXPROC)(GLint factor); typedef void (GLAPIENTRY *PFNGLFRAMEBUFFERDRAWBUFFEREXTPROC)(GLuint framebuffer, GLenum mode); typedef void (GLAPIENTRY *PFNGLFRAMEBUFFERDRAWBUFFERSEXTPROC)(GLuint framebuffer, GLsizei n, const GLenum * bufs); typedef void (GLAPIENTRY *PFNGLFRAMEBUFFERFETCHBARRIEREXTPROC)(void); typedef void (GLAPIENTRY *PFNGLFRAMEBUFFERFETCHBARRIERQCOMPROC)(void); typedef void (GLAPIENTRY *PFNGLFRAMEBUFFERFOVEATIONCONFIGQCOMPROC)(GLuint framebuffer, GLuint numLayers, GLuint focalPointsPerLayer, GLuint requestedFeatures, GLuint * providedFeatures); typedef void (GLAPIENTRY *PFNGLFRAMEBUFFERFOVEATIONPARAMETERSQCOMPROC)(GLuint framebuffer, GLuint layer, GLuint focalPoint, GLfloat focalX, GLfloat focalY, GLfloat gainX, GLfloat gainY, GLfloat foveaArea); typedef void (GLAPIENTRY *PFNGLFRAMEBUFFERPARAMETERIPROC)(GLenum target, GLenum pname, GLint param); typedef void (GLAPIENTRY *PFNGLFRAMEBUFFERPARAMETERIMESAPROC)(GLenum target, GLenum pname, GLint param); typedef void (GLAPIENTRY *PFNGLFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC)(GLuint target, GLsizei size); typedef void (GLAPIENTRY *PFNGLFRAMEBUFFERREADBUFFEREXTPROC)(GLuint framebuffer, GLenum mode); typedef void (GLAPIENTRY *PFNGLFRAMEBUFFERRENDERBUFFERPROC)(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); typedef void (GLAPIENTRY *PFNGLFRAMEBUFFERRENDERBUFFEREXTPROC)(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); typedef void (GLAPIENTRY *PFNGLFRAMEBUFFERRENDERBUFFEROESPROC)(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); typedef void (GLAPIENTRY *PFNGLFRAMEBUFFERSAMPLELOCATIONSFVARBPROC)(GLenum target, GLuint start, GLsizei count, const GLfloat * v); typedef void (GLAPIENTRY *PFNGLFRAMEBUFFERSAMPLELOCATIONSFVNVPROC)(GLenum target, GLuint start, GLsizei count, const GLfloat * v); typedef void (GLAPIENTRY *PFNGLFRAMEBUFFERSAMPLEPOSITIONSFVAMDPROC)(GLenum target, GLuint numsamples, GLuint pixelindex, const GLfloat * values); typedef void (GLAPIENTRY *PFNGLFRAMEBUFFERTEXTUREPROC)(GLenum target, GLenum attachment, GLuint texture, GLint level); typedef void (GLAPIENTRY *PFNGLFRAMEBUFFERTEXTURE1DPROC)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); typedef void (GLAPIENTRY *PFNGLFRAMEBUFFERTEXTURE1DEXTPROC)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); typedef void (GLAPIENTRY *PFNGLFRAMEBUFFERTEXTURE2DPROC)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); typedef void (GLAPIENTRY *PFNGLFRAMEBUFFERTEXTURE2DDOWNSAMPLEIMGPROC)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint xscale, GLint yscale); typedef void (GLAPIENTRY *PFNGLFRAMEBUFFERTEXTURE2DEXTPROC)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); typedef void (GLAPIENTRY *PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEEXTPROC)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples); typedef void (GLAPIENTRY *PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples); typedef void (GLAPIENTRY *PFNGLFRAMEBUFFERTEXTURE2DOESPROC)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); typedef void (GLAPIENTRY *PFNGLFRAMEBUFFERTEXTURE3DPROC)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); typedef void (GLAPIENTRY *PFNGLFRAMEBUFFERTEXTURE3DEXTPROC)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); typedef void (GLAPIENTRY *PFNGLFRAMEBUFFERTEXTURE3DOESPROC)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); typedef void (GLAPIENTRY *PFNGLFRAMEBUFFERTEXTUREARBPROC)(GLenum target, GLenum attachment, GLuint texture, GLint level); typedef void (GLAPIENTRY *PFNGLFRAMEBUFFERTEXTUREEXTPROC)(GLenum target, GLenum attachment, GLuint texture, GLint level); typedef void (GLAPIENTRY *PFNGLFRAMEBUFFERTEXTUREFACEARBPROC)(GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face); typedef void (GLAPIENTRY *PFNGLFRAMEBUFFERTEXTUREFACEEXTPROC)(GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face); typedef void (GLAPIENTRY *PFNGLFRAMEBUFFERTEXTURELAYERPROC)(GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer); typedef void (GLAPIENTRY *PFNGLFRAMEBUFFERTEXTURELAYERARBPROC)(GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer); typedef void (GLAPIENTRY *PFNGLFRAMEBUFFERTEXTURELAYERDOWNSAMPLEIMGPROC)(GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer, GLint xscale, GLint yscale); typedef void (GLAPIENTRY *PFNGLFRAMEBUFFERTEXTURELAYEREXTPROC)(GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer); typedef void (GLAPIENTRY *PFNGLFRAMEBUFFERTEXTUREMULTISAMPLEMULTIVIEWOVRPROC)(GLenum target, GLenum attachment, GLuint texture, GLint level, GLsizei samples, GLint baseViewIndex, GLsizei numViews); typedef void (GLAPIENTRY *PFNGLFRAMEBUFFERTEXTUREMULTIVIEWOVRPROC)(GLenum target, GLenum attachment, GLuint texture, GLint level, GLint baseViewIndex, GLsizei numViews); typedef void (GLAPIENTRY *PFNGLFRAMEBUFFERTEXTUREOESPROC)(GLenum target, GLenum attachment, GLuint texture, GLint level); typedef void (GLAPIENTRY *PFNGLFREEOBJECTBUFFERATIPROC)(GLuint buffer); typedef void (GLAPIENTRY *PFNGLFRONTFACEPROC)(GLenum mode); typedef void (GLAPIENTRY *PFNGLFRUSTUMPROC)(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar); typedef void (GLAPIENTRY *PFNGLFRUSTUMFPROC)(GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f); typedef void (GLAPIENTRY *PFNGLFRUSTUMFOESPROC)(GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f); typedef void (GLAPIENTRY *PFNGLFRUSTUMXPROC)(GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f); typedef void (GLAPIENTRY *PFNGLFRUSTUMXOESPROC)(GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f); typedef GLuint (GLAPIENTRY *PFNGLGENASYNCMARKERSSGIXPROC)(GLsizei range); typedef void (GLAPIENTRY *PFNGLGENBUFFERSPROC)(GLsizei n, GLuint * buffers); typedef void (GLAPIENTRY *PFNGLGENBUFFERSARBPROC)(GLsizei n, GLuint * buffers); typedef void (GLAPIENTRY *PFNGLGENFENCESAPPLEPROC)(GLsizei n, GLuint * fences); typedef void (GLAPIENTRY *PFNGLGENFENCESNVPROC)(GLsizei n, GLuint * fences); typedef GLuint (GLAPIENTRY *PFNGLGENFRAGMENTSHADERSATIPROC)(GLuint range); typedef void (GLAPIENTRY *PFNGLGENFRAMEBUFFERSPROC)(GLsizei n, GLuint * framebuffers); typedef void (GLAPIENTRY *PFNGLGENFRAMEBUFFERSEXTPROC)(GLsizei n, GLuint * framebuffers); typedef void (GLAPIENTRY *PFNGLGENFRAMEBUFFERSOESPROC)(GLsizei n, GLuint * framebuffers); typedef GLuint (GLAPIENTRY *PFNGLGENLISTSPROC)(GLsizei range); typedef void (GLAPIENTRY *PFNGLGENNAMESAMDPROC)(GLenum identifier, GLuint num, GLuint * names); typedef void (GLAPIENTRY *PFNGLGENOCCLUSIONQUERIESNVPROC)(GLsizei n, GLuint * ids); typedef GLuint (GLAPIENTRY *PFNGLGENPATHSNVPROC)(GLsizei range); typedef void (GLAPIENTRY *PFNGLGENPERFMONITORSAMDPROC)(GLsizei n, GLuint * monitors); typedef void (GLAPIENTRY *PFNGLGENPROGRAMPIPELINESPROC)(GLsizei n, GLuint * pipelines); typedef void (GLAPIENTRY *PFNGLGENPROGRAMPIPELINESEXTPROC)(GLsizei n, GLuint * pipelines); typedef void (GLAPIENTRY *PFNGLGENPROGRAMSARBPROC)(GLsizei n, GLuint * programs); typedef void (GLAPIENTRY *PFNGLGENPROGRAMSNVPROC)(GLsizei n, GLuint * programs); typedef void (GLAPIENTRY *PFNGLGENQUERIESPROC)(GLsizei n, GLuint * ids); typedef void (GLAPIENTRY *PFNGLGENQUERIESARBPROC)(GLsizei n, GLuint * ids); typedef void (GLAPIENTRY *PFNGLGENQUERIESEXTPROC)(GLsizei n, GLuint * ids); typedef void (GLAPIENTRY *PFNGLGENQUERYRESOURCETAGNVPROC)(GLsizei n, GLint * tagIds); typedef void (GLAPIENTRY *PFNGLGENRENDERBUFFERSPROC)(GLsizei n, GLuint * renderbuffers); typedef void (GLAPIENTRY *PFNGLGENRENDERBUFFERSEXTPROC)(GLsizei n, GLuint * renderbuffers); typedef void (GLAPIENTRY *PFNGLGENRENDERBUFFERSOESPROC)(GLsizei n, GLuint * renderbuffers); typedef void (GLAPIENTRY *PFNGLGENSAMPLERSPROC)(GLsizei count, GLuint * samplers); typedef void (GLAPIENTRY *PFNGLGENSEMAPHORESEXTPROC)(GLsizei n, GLuint * semaphores); typedef GLuint (GLAPIENTRY *PFNGLGENSYMBOLSEXTPROC)(GLenum datatype, GLenum storagetype, GLenum range, GLuint components); typedef void (GLAPIENTRY *PFNGLGENTEXTURESPROC)(GLsizei n, GLuint * textures); typedef void (GLAPIENTRY *PFNGLGENTEXTURESEXTPROC)(GLsizei n, GLuint * textures); typedef void (GLAPIENTRY *PFNGLGENTRANSFORMFEEDBACKSPROC)(GLsizei n, GLuint * ids); typedef void (GLAPIENTRY *PFNGLGENTRANSFORMFEEDBACKSNVPROC)(GLsizei n, GLuint * ids); typedef void (GLAPIENTRY *PFNGLGENVERTEXARRAYSPROC)(GLsizei n, GLuint * arrays); typedef void (GLAPIENTRY *PFNGLGENVERTEXARRAYSAPPLEPROC)(GLsizei n, GLuint * arrays); typedef void (GLAPIENTRY *PFNGLGENVERTEXARRAYSOESPROC)(GLsizei n, GLuint * arrays); typedef GLuint (GLAPIENTRY *PFNGLGENVERTEXSHADERSEXTPROC)(GLuint range); typedef void (GLAPIENTRY *PFNGLGENERATEMIPMAPPROC)(GLenum target); typedef void (GLAPIENTRY *PFNGLGENERATEMIPMAPEXTPROC)(GLenum target); typedef void (GLAPIENTRY *PFNGLGENERATEMIPMAPOESPROC)(GLenum target); typedef void (GLAPIENTRY *PFNGLGENERATEMULTITEXMIPMAPEXTPROC)(GLenum texunit, GLenum target); typedef void (GLAPIENTRY *PFNGLGENERATETEXTUREMIPMAPPROC)(GLuint texture); typedef void (GLAPIENTRY *PFNGLGENERATETEXTUREMIPMAPEXTPROC)(GLuint texture, GLenum target); typedef void (GLAPIENTRY *PFNGLGETACTIVEATOMICCOUNTERBUFFERIVPROC)(GLuint program, GLuint bufferIndex, GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLGETACTIVEATTRIBPROC)(GLuint program, GLuint index, GLsizei bufSize, GLsizei * length, GLint * size, GLenum * type, GLchar * name); typedef void (GLAPIENTRY *PFNGLGETACTIVEATTRIBARBPROC)(GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei * length, GLint * size, GLenum * type, GLcharARB * name); typedef void (GLAPIENTRY *PFNGLGETACTIVESUBROUTINENAMEPROC)(GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei * length, GLchar * name); typedef void (GLAPIENTRY *PFNGLGETACTIVESUBROUTINEUNIFORMNAMEPROC)(GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei * length, GLchar * name); typedef void (GLAPIENTRY *PFNGLGETACTIVESUBROUTINEUNIFORMIVPROC)(GLuint program, GLenum shadertype, GLuint index, GLenum pname, GLint * values); typedef void (GLAPIENTRY *PFNGLGETACTIVEUNIFORMPROC)(GLuint program, GLuint index, GLsizei bufSize, GLsizei * length, GLint * size, GLenum * type, GLchar * name); typedef void (GLAPIENTRY *PFNGLGETACTIVEUNIFORMARBPROC)(GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei * length, GLint * size, GLenum * type, GLcharARB * name); typedef void (GLAPIENTRY *PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC)(GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei * length, GLchar * uniformBlockName); typedef void (GLAPIENTRY *PFNGLGETACTIVEUNIFORMBLOCKIVPROC)(GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLGETACTIVEUNIFORMNAMEPROC)(GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei * length, GLchar * uniformName); typedef void (GLAPIENTRY *PFNGLGETACTIVEUNIFORMSIVPROC)(GLuint program, GLsizei uniformCount, const GLuint * uniformIndices, GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLGETACTIVEVARYINGNVPROC)(GLuint program, GLuint index, GLsizei bufSize, GLsizei * length, GLsizei * size, GLenum * type, GLchar * name); typedef void (GLAPIENTRY *PFNGLGETARRAYOBJECTFVATIPROC)(GLenum array, GLenum pname, GLfloat * params); typedef void (GLAPIENTRY *PFNGLGETARRAYOBJECTIVATIPROC)(GLenum array, GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLGETATTACHEDOBJECTSARBPROC)(GLhandleARB containerObj, GLsizei maxCount, GLsizei * count, GLhandleARB * obj); typedef void (GLAPIENTRY *PFNGLGETATTACHEDSHADERSPROC)(GLuint program, GLsizei maxCount, GLsizei * count, GLuint * shaders); typedef GLint (GLAPIENTRY *PFNGLGETATTRIBLOCATIONPROC)(GLuint program, const GLchar * name); typedef GLint (GLAPIENTRY *PFNGLGETATTRIBLOCATIONARBPROC)(GLhandleARB programObj, const GLcharARB * name); typedef void (GLAPIENTRY *PFNGLGETBOOLEANINDEXEDVEXTPROC)(GLenum target, GLuint index, GLboolean * data); typedef void (GLAPIENTRY *PFNGLGETBOOLEANI_VPROC)(GLenum target, GLuint index, GLboolean * data); typedef void (GLAPIENTRY *PFNGLGETBOOLEANVPROC)(GLenum pname, GLboolean * data); typedef void (GLAPIENTRY *PFNGLGETBUFFERPARAMETERI64VPROC)(GLenum target, GLenum pname, GLint64 * params); typedef void (GLAPIENTRY *PFNGLGETBUFFERPARAMETERIVPROC)(GLenum target, GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLGETBUFFERPARAMETERIVARBPROC)(GLenum target, GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLGETBUFFERPARAMETERUI64VNVPROC)(GLenum target, GLenum pname, GLuint64EXT * params); typedef void (GLAPIENTRY *PFNGLGETBUFFERPOINTERVPROC)(GLenum target, GLenum pname, void ** params); typedef void (GLAPIENTRY *PFNGLGETBUFFERPOINTERVARBPROC)(GLenum target, GLenum pname, void ** params); typedef void (GLAPIENTRY *PFNGLGETBUFFERPOINTERVOESPROC)(GLenum target, GLenum pname, void ** params); typedef void (GLAPIENTRY *PFNGLGETBUFFERSUBDATAPROC)(GLenum target, GLintptr offset, GLsizeiptr size, void * data); typedef void (GLAPIENTRY *PFNGLGETBUFFERSUBDATAARBPROC)(GLenum target, GLintptrARB offset, GLsizeiptrARB size, void * data); typedef void (GLAPIENTRY *PFNGLGETCLIPPLANEPROC)(GLenum plane, GLdouble * equation); typedef void (GLAPIENTRY *PFNGLGETCLIPPLANEFPROC)(GLenum plane, GLfloat * equation); typedef void (GLAPIENTRY *PFNGLGETCLIPPLANEFOESPROC)(GLenum plane, GLfloat * equation); typedef void (GLAPIENTRY *PFNGLGETCLIPPLANEXPROC)(GLenum plane, GLfixed * equation); typedef void (GLAPIENTRY *PFNGLGETCLIPPLANEXOESPROC)(GLenum plane, GLfixed * equation); typedef void (GLAPIENTRY *PFNGLGETCOLORTABLEPROC)(GLenum target, GLenum format, GLenum type, void * table); typedef void (GLAPIENTRY *PFNGLGETCOLORTABLEEXTPROC)(GLenum target, GLenum format, GLenum type, void * data); typedef void (GLAPIENTRY *PFNGLGETCOLORTABLEPARAMETERFVPROC)(GLenum target, GLenum pname, GLfloat * params); typedef void (GLAPIENTRY *PFNGLGETCOLORTABLEPARAMETERFVEXTPROC)(GLenum target, GLenum pname, GLfloat * params); typedef void (GLAPIENTRY *PFNGLGETCOLORTABLEPARAMETERFVSGIPROC)(GLenum target, GLenum pname, GLfloat * params); typedef void (GLAPIENTRY *PFNGLGETCOLORTABLEPARAMETERIVPROC)(GLenum target, GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLGETCOLORTABLEPARAMETERIVEXTPROC)(GLenum target, GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLGETCOLORTABLEPARAMETERIVSGIPROC)(GLenum target, GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLGETCOLORTABLESGIPROC)(GLenum target, GLenum format, GLenum type, void * table); typedef void (GLAPIENTRY *PFNGLGETCOMBINERINPUTPARAMETERFVNVPROC)(GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLfloat * params); typedef void (GLAPIENTRY *PFNGLGETCOMBINERINPUTPARAMETERIVNVPROC)(GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLGETCOMBINEROUTPUTPARAMETERFVNVPROC)(GLenum stage, GLenum portion, GLenum pname, GLfloat * params); typedef void (GLAPIENTRY *PFNGLGETCOMBINEROUTPUTPARAMETERIVNVPROC)(GLenum stage, GLenum portion, GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLGETCOMBINERSTAGEPARAMETERFVNVPROC)(GLenum stage, GLenum pname, GLfloat * params); typedef GLuint (GLAPIENTRY *PFNGLGETCOMMANDHEADERNVPROC)(GLenum tokenID, GLuint size); typedef void (GLAPIENTRY *PFNGLGETCOMPRESSEDMULTITEXIMAGEEXTPROC)(GLenum texunit, GLenum target, GLint lod, void * img); typedef void (GLAPIENTRY *PFNGLGETCOMPRESSEDTEXIMAGEPROC)(GLenum target, GLint level, void * img); typedef void (GLAPIENTRY *PFNGLGETCOMPRESSEDTEXIMAGEARBPROC)(GLenum target, GLint level, void * img); typedef void (GLAPIENTRY *PFNGLGETCOMPRESSEDTEXTUREIMAGEPROC)(GLuint texture, GLint level, GLsizei bufSize, void * pixels); typedef void (GLAPIENTRY *PFNGLGETCOMPRESSEDTEXTUREIMAGEEXTPROC)(GLuint texture, GLenum target, GLint lod, void * img); typedef void (GLAPIENTRY *PFNGLGETCOMPRESSEDTEXTURESUBIMAGEPROC)(GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei bufSize, void * pixels); typedef void (GLAPIENTRY *PFNGLGETCONVOLUTIONFILTERPROC)(GLenum target, GLenum format, GLenum type, void * image); typedef void (GLAPIENTRY *PFNGLGETCONVOLUTIONFILTEREXTPROC)(GLenum target, GLenum format, GLenum type, void * image); typedef void (GLAPIENTRY *PFNGLGETCONVOLUTIONPARAMETERFVPROC)(GLenum target, GLenum pname, GLfloat * params); typedef void (GLAPIENTRY *PFNGLGETCONVOLUTIONPARAMETERFVEXTPROC)(GLenum target, GLenum pname, GLfloat * params); typedef void (GLAPIENTRY *PFNGLGETCONVOLUTIONPARAMETERIVPROC)(GLenum target, GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLGETCONVOLUTIONPARAMETERIVEXTPROC)(GLenum target, GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLGETCONVOLUTIONPARAMETERXVOESPROC)(GLenum target, GLenum pname, GLfixed * params); typedef void (GLAPIENTRY *PFNGLGETCOVERAGEMODULATIONTABLENVPROC)(GLsizei bufsize, GLfloat * v); typedef GLuint (GLAPIENTRY *PFNGLGETDEBUGMESSAGELOGPROC)(GLuint count, GLsizei bufSize, GLenum * sources, GLenum * types, GLuint * ids, GLenum * severities, GLsizei * lengths, GLchar * messageLog); typedef GLuint (GLAPIENTRY *PFNGLGETDEBUGMESSAGELOGAMDPROC)(GLuint count, GLsizei bufsize, GLenum * categories, GLuint * severities, GLuint * ids, GLsizei * lengths, GLchar * message); typedef GLuint (GLAPIENTRY *PFNGLGETDEBUGMESSAGELOGARBPROC)(GLuint count, GLsizei bufSize, GLenum * sources, GLenum * types, GLuint * ids, GLenum * severities, GLsizei * lengths, GLchar * messageLog); typedef GLuint (GLAPIENTRY *PFNGLGETDEBUGMESSAGELOGKHRPROC)(GLuint count, GLsizei bufSize, GLenum * sources, GLenum * types, GLuint * ids, GLenum * severities, GLsizei * lengths, GLchar * messageLog); typedef void (GLAPIENTRY *PFNGLGETDETAILTEXFUNCSGISPROC)(GLenum target, GLfloat * points); typedef void (GLAPIENTRY *PFNGLGETDOUBLEINDEXEDVEXTPROC)(GLenum target, GLuint index, GLdouble * data); typedef void (GLAPIENTRY *PFNGLGETDOUBLEI_VPROC)(GLenum target, GLuint index, GLdouble * data); typedef void (GLAPIENTRY *PFNGLGETDOUBLEI_VEXTPROC)(GLenum pname, GLuint index, GLdouble * params); typedef void (GLAPIENTRY *PFNGLGETDOUBLEVPROC)(GLenum pname, GLdouble * data); typedef void (GLAPIENTRY *PFNGLGETDRIVERCONTROLSTRINGQCOMPROC)(GLuint driverControl, GLsizei bufSize, GLsizei * length, GLchar * driverControlString); typedef void (GLAPIENTRY *PFNGLGETDRIVERCONTROLSQCOMPROC)(GLint * num, GLsizei size, GLuint * driverControls); typedef GLenum (GLAPIENTRY *PFNGLGETERRORPROC)(void); typedef void (GLAPIENTRY *PFNGLGETFENCEIVNVPROC)(GLuint fence, GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLGETFINALCOMBINERINPUTPARAMETERFVNVPROC)(GLenum variable, GLenum pname, GLfloat * params); typedef void (GLAPIENTRY *PFNGLGETFINALCOMBINERINPUTPARAMETERIVNVPROC)(GLenum variable, GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLGETFIRSTPERFQUERYIDINTELPROC)(GLuint * queryId); typedef void (GLAPIENTRY *PFNGLGETFIXEDVPROC)(GLenum pname, GLfixed * params); typedef void (GLAPIENTRY *PFNGLGETFIXEDVOESPROC)(GLenum pname, GLfixed * params); typedef void (GLAPIENTRY *PFNGLGETFLOATINDEXEDVEXTPROC)(GLenum target, GLuint index, GLfloat * data); typedef void (GLAPIENTRY *PFNGLGETFLOATI_VPROC)(GLenum target, GLuint index, GLfloat * data); typedef void (GLAPIENTRY *PFNGLGETFLOATI_VEXTPROC)(GLenum pname, GLuint index, GLfloat * params); typedef void (GLAPIENTRY *PFNGLGETFLOATI_VNVPROC)(GLenum target, GLuint index, GLfloat * data); typedef void (GLAPIENTRY *PFNGLGETFLOATI_VOESPROC)(GLenum target, GLuint index, GLfloat * data); typedef void (GLAPIENTRY *PFNGLGETFLOATVPROC)(GLenum pname, GLfloat * data); typedef void (GLAPIENTRY *PFNGLGETFOGFUNCSGISPROC)(GLfloat * points); typedef GLint (GLAPIENTRY *PFNGLGETFRAGDATAINDEXPROC)(GLuint program, const GLchar * name); typedef GLint (GLAPIENTRY *PFNGLGETFRAGDATAINDEXEXTPROC)(GLuint program, const GLchar * name); typedef GLint (GLAPIENTRY *PFNGLGETFRAGDATALOCATIONPROC)(GLuint program, const GLchar * name); typedef GLint (GLAPIENTRY *PFNGLGETFRAGDATALOCATIONEXTPROC)(GLuint program, const GLchar * name); typedef void (GLAPIENTRY *PFNGLGETFRAGMENTLIGHTFVSGIXPROC)(GLenum light, GLenum pname, GLfloat * params); typedef void (GLAPIENTRY *PFNGLGETFRAGMENTLIGHTIVSGIXPROC)(GLenum light, GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLGETFRAGMENTMATERIALFVSGIXPROC)(GLenum face, GLenum pname, GLfloat * params); typedef void (GLAPIENTRY *PFNGLGETFRAGMENTMATERIALIVSGIXPROC)(GLenum face, GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC)(GLenum target, GLenum attachment, GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC)(GLenum target, GLenum attachment, GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVOESPROC)(GLenum target, GLenum attachment, GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLGETFRAMEBUFFERPARAMETERFVAMDPROC)(GLenum target, GLenum pname, GLuint numsamples, GLuint pixelindex, GLsizei size, GLfloat * values); typedef void (GLAPIENTRY *PFNGLGETFRAMEBUFFERPARAMETERIVPROC)(GLenum target, GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLGETFRAMEBUFFERPARAMETERIVEXTPROC)(GLuint framebuffer, GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLGETFRAMEBUFFERPARAMETERIVMESAPROC)(GLenum target, GLenum pname, GLint * params); typedef GLsizei (GLAPIENTRY *PFNGLGETFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC)(GLuint target); typedef GLenum (GLAPIENTRY *PFNGLGETGRAPHICSRESETSTATUSPROC)(void); typedef GLenum (GLAPIENTRY *PFNGLGETGRAPHICSRESETSTATUSARBPROC)(void); typedef GLenum (GLAPIENTRY *PFNGLGETGRAPHICSRESETSTATUSEXTPROC)(void); typedef GLenum (GLAPIENTRY *PFNGLGETGRAPHICSRESETSTATUSKHRPROC)(void); typedef GLhandleARB (GLAPIENTRY *PFNGLGETHANDLEARBPROC)(GLenum pname); typedef void (GLAPIENTRY *PFNGLGETHISTOGRAMPROC)(GLenum target, GLboolean reset, GLenum format, GLenum type, void * values); typedef void (GLAPIENTRY *PFNGLGETHISTOGRAMEXTPROC)(GLenum target, GLboolean reset, GLenum format, GLenum type, void * values); typedef void (GLAPIENTRY *PFNGLGETHISTOGRAMPARAMETERFVPROC)(GLenum target, GLenum pname, GLfloat * params); typedef void (GLAPIENTRY *PFNGLGETHISTOGRAMPARAMETERFVEXTPROC)(GLenum target, GLenum pname, GLfloat * params); typedef void (GLAPIENTRY *PFNGLGETHISTOGRAMPARAMETERIVPROC)(GLenum target, GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLGETHISTOGRAMPARAMETERIVEXTPROC)(GLenum target, GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLGETHISTOGRAMPARAMETERXVOESPROC)(GLenum target, GLenum pname, GLfixed * params); typedef GLuint64 (GLAPIENTRY *PFNGLGETIMAGEHANDLEARBPROC)(GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format); typedef GLuint64 (GLAPIENTRY *PFNGLGETIMAGEHANDLENVPROC)(GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format); typedef void (GLAPIENTRY *PFNGLGETIMAGETRANSFORMPARAMETERFVHPPROC)(GLenum target, GLenum pname, GLfloat * params); typedef void (GLAPIENTRY *PFNGLGETIMAGETRANSFORMPARAMETERIVHPPROC)(GLenum target, GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLGETINFOLOGARBPROC)(GLhandleARB obj, GLsizei maxLength, GLsizei * length, GLcharARB * infoLog); typedef GLint (GLAPIENTRY *PFNGLGETINSTRUMENTSSGIXPROC)(void); typedef void (GLAPIENTRY *PFNGLGETINTEGER64I_VPROC)(GLenum target, GLuint index, GLint64 * data); typedef void (GLAPIENTRY *PFNGLGETINTEGER64VPROC)(GLenum pname, GLint64 * data); typedef void (GLAPIENTRY *PFNGLGETINTEGER64VAPPLEPROC)(GLenum pname, GLint64 * params); typedef void (GLAPIENTRY *PFNGLGETINTEGERINDEXEDVEXTPROC)(GLenum target, GLuint index, GLint * data); typedef void (GLAPIENTRY *PFNGLGETINTEGERI_VPROC)(GLenum target, GLuint index, GLint * data); typedef void (GLAPIENTRY *PFNGLGETINTEGERI_VEXTPROC)(GLenum target, GLuint index, GLint * data); typedef void (GLAPIENTRY *PFNGLGETINTEGERUI64I_VNVPROC)(GLenum value, GLuint index, GLuint64EXT * result); typedef void (GLAPIENTRY *PFNGLGETINTEGERUI64VNVPROC)(GLenum value, GLuint64EXT * result); typedef void (GLAPIENTRY *PFNGLGETINTEGERVPROC)(GLenum pname, GLint * data); typedef void (GLAPIENTRY *PFNGLGETINTERNALFORMATSAMPLEIVNVPROC)(GLenum target, GLenum internalformat, GLsizei samples, GLenum pname, GLsizei bufSize, GLint * params); typedef void (GLAPIENTRY *PFNGLGETINTERNALFORMATI64VPROC)(GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint64 * params); typedef void (GLAPIENTRY *PFNGLGETINTERNALFORMATIVPROC)(GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint * params); typedef void (GLAPIENTRY *PFNGLGETINVARIANTBOOLEANVEXTPROC)(GLuint id, GLenum value, GLboolean * data); typedef void (GLAPIENTRY *PFNGLGETINVARIANTFLOATVEXTPROC)(GLuint id, GLenum value, GLfloat * data); typedef void (GLAPIENTRY *PFNGLGETINVARIANTINTEGERVEXTPROC)(GLuint id, GLenum value, GLint * data); typedef void (GLAPIENTRY *PFNGLGETLIGHTFVPROC)(GLenum light, GLenum pname, GLfloat * params); typedef void (GLAPIENTRY *PFNGLGETLIGHTIVPROC)(GLenum light, GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLGETLIGHTXOESPROC)(GLenum light, GLenum pname, GLfixed * params); typedef void (GLAPIENTRY *PFNGLGETLIGHTXVPROC)(GLenum light, GLenum pname, GLfixed * params); typedef void (GLAPIENTRY *PFNGLGETLIGHTXVOESPROC)(GLenum light, GLenum pname, GLfixed * params); typedef void (GLAPIENTRY *PFNGLGETLISTPARAMETERFVSGIXPROC)(GLuint list, GLenum pname, GLfloat * params); typedef void (GLAPIENTRY *PFNGLGETLISTPARAMETERIVSGIXPROC)(GLuint list, GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLGETLOCALCONSTANTBOOLEANVEXTPROC)(GLuint id, GLenum value, GLboolean * data); typedef void (GLAPIENTRY *PFNGLGETLOCALCONSTANTFLOATVEXTPROC)(GLuint id, GLenum value, GLfloat * data); typedef void (GLAPIENTRY *PFNGLGETLOCALCONSTANTINTEGERVEXTPROC)(GLuint id, GLenum value, GLint * data); typedef void (GLAPIENTRY *PFNGLGETMAPATTRIBPARAMETERFVNVPROC)(GLenum target, GLuint index, GLenum pname, GLfloat * params); typedef void (GLAPIENTRY *PFNGLGETMAPATTRIBPARAMETERIVNVPROC)(GLenum target, GLuint index, GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLGETMAPCONTROLPOINTSNVPROC)(GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLboolean packed, void * points); typedef void (GLAPIENTRY *PFNGLGETMAPPARAMETERFVNVPROC)(GLenum target, GLenum pname, GLfloat * params); typedef void (GLAPIENTRY *PFNGLGETMAPPARAMETERIVNVPROC)(GLenum target, GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLGETMAPDVPROC)(GLenum target, GLenum query, GLdouble * v); typedef void (GLAPIENTRY *PFNGLGETMAPFVPROC)(GLenum target, GLenum query, GLfloat * v); typedef void (GLAPIENTRY *PFNGLGETMAPIVPROC)(GLenum target, GLenum query, GLint * v); typedef void (GLAPIENTRY *PFNGLGETMAPXVOESPROC)(GLenum target, GLenum query, GLfixed * v); typedef void (GLAPIENTRY *PFNGLGETMATERIALFVPROC)(GLenum face, GLenum pname, GLfloat * params); typedef void (GLAPIENTRY *PFNGLGETMATERIALIVPROC)(GLenum face, GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLGETMATERIALXOESPROC)(GLenum face, GLenum pname, GLfixed param); typedef void (GLAPIENTRY *PFNGLGETMATERIALXVPROC)(GLenum face, GLenum pname, GLfixed * params); typedef void (GLAPIENTRY *PFNGLGETMATERIALXVOESPROC)(GLenum face, GLenum pname, GLfixed * params); typedef void (GLAPIENTRY *PFNGLGETMEMORYOBJECTDETACHEDRESOURCESUIVNVPROC)(GLuint memory, GLenum pname, GLint first, GLsizei count, GLuint * params); typedef void (GLAPIENTRY *PFNGLGETMEMORYOBJECTPARAMETERIVEXTPROC)(GLuint memoryObject, GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLGETMINMAXPROC)(GLenum target, GLboolean reset, GLenum format, GLenum type, void * values); typedef void (GLAPIENTRY *PFNGLGETMINMAXEXTPROC)(GLenum target, GLboolean reset, GLenum format, GLenum type, void * values); typedef void (GLAPIENTRY *PFNGLGETMINMAXPARAMETERFVPROC)(GLenum target, GLenum pname, GLfloat * params); typedef void (GLAPIENTRY *PFNGLGETMINMAXPARAMETERFVEXTPROC)(GLenum target, GLenum pname, GLfloat * params); typedef void (GLAPIENTRY *PFNGLGETMINMAXPARAMETERIVPROC)(GLenum target, GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLGETMINMAXPARAMETERIVEXTPROC)(GLenum target, GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLGETMULTITEXENVFVEXTPROC)(GLenum texunit, GLenum target, GLenum pname, GLfloat * params); typedef void (GLAPIENTRY *PFNGLGETMULTITEXENVIVEXTPROC)(GLenum texunit, GLenum target, GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLGETMULTITEXGENDVEXTPROC)(GLenum texunit, GLenum coord, GLenum pname, GLdouble * params); typedef void (GLAPIENTRY *PFNGLGETMULTITEXGENFVEXTPROC)(GLenum texunit, GLenum coord, GLenum pname, GLfloat * params); typedef void (GLAPIENTRY *PFNGLGETMULTITEXGENIVEXTPROC)(GLenum texunit, GLenum coord, GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLGETMULTITEXIMAGEEXTPROC)(GLenum texunit, GLenum target, GLint level, GLenum format, GLenum type, void * pixels); typedef void (GLAPIENTRY *PFNGLGETMULTITEXLEVELPARAMETERFVEXTPROC)(GLenum texunit, GLenum target, GLint level, GLenum pname, GLfloat * params); typedef void (GLAPIENTRY *PFNGLGETMULTITEXLEVELPARAMETERIVEXTPROC)(GLenum texunit, GLenum target, GLint level, GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLGETMULTITEXPARAMETERIIVEXTPROC)(GLenum texunit, GLenum target, GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLGETMULTITEXPARAMETERIUIVEXTPROC)(GLenum texunit, GLenum target, GLenum pname, GLuint * params); typedef void (GLAPIENTRY *PFNGLGETMULTITEXPARAMETERFVEXTPROC)(GLenum texunit, GLenum target, GLenum pname, GLfloat * params); typedef void (GLAPIENTRY *PFNGLGETMULTITEXPARAMETERIVEXTPROC)(GLenum texunit, GLenum target, GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLGETMULTISAMPLEFVPROC)(GLenum pname, GLuint index, GLfloat * val); typedef void (GLAPIENTRY *PFNGLGETMULTISAMPLEFVNVPROC)(GLenum pname, GLuint index, GLfloat * val); typedef void (GLAPIENTRY *PFNGLGETNAMEDBUFFERPARAMETERI64VPROC)(GLuint buffer, GLenum pname, GLint64 * params); typedef void (GLAPIENTRY *PFNGLGETNAMEDBUFFERPARAMETERIVPROC)(GLuint buffer, GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLGETNAMEDBUFFERPARAMETERIVEXTPROC)(GLuint buffer, GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLGETNAMEDBUFFERPARAMETERUI64VNVPROC)(GLuint buffer, GLenum pname, GLuint64EXT * params); typedef void (GLAPIENTRY *PFNGLGETNAMEDBUFFERPOINTERVPROC)(GLuint buffer, GLenum pname, void ** params); typedef void (GLAPIENTRY *PFNGLGETNAMEDBUFFERPOINTERVEXTPROC)(GLuint buffer, GLenum pname, void ** params); typedef void (GLAPIENTRY *PFNGLGETNAMEDBUFFERSUBDATAPROC)(GLuint buffer, GLintptr offset, GLsizeiptr size, void * data); typedef void (GLAPIENTRY *PFNGLGETNAMEDBUFFERSUBDATAEXTPROC)(GLuint buffer, GLintptr offset, GLsizeiptr size, void * data); typedef void (GLAPIENTRY *PFNGLGETNAMEDFRAMEBUFFERATTACHMENTPARAMETERIVPROC)(GLuint framebuffer, GLenum attachment, GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLGETNAMEDFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC)(GLuint framebuffer, GLenum attachment, GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLGETNAMEDFRAMEBUFFERPARAMETERFVAMDPROC)(GLuint framebuffer, GLenum pname, GLuint numsamples, GLuint pixelindex, GLsizei size, GLfloat * values); typedef void (GLAPIENTRY *PFNGLGETNAMEDFRAMEBUFFERPARAMETERIVPROC)(GLuint framebuffer, GLenum pname, GLint * param); typedef void (GLAPIENTRY *PFNGLGETNAMEDFRAMEBUFFERPARAMETERIVEXTPROC)(GLuint framebuffer, GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLGETNAMEDPROGRAMLOCALPARAMETERIIVEXTPROC)(GLuint program, GLenum target, GLuint index, GLint * params); typedef void (GLAPIENTRY *PFNGLGETNAMEDPROGRAMLOCALPARAMETERIUIVEXTPROC)(GLuint program, GLenum target, GLuint index, GLuint * params); typedef void (GLAPIENTRY *PFNGLGETNAMEDPROGRAMLOCALPARAMETERDVEXTPROC)(GLuint program, GLenum target, GLuint index, GLdouble * params); typedef void (GLAPIENTRY *PFNGLGETNAMEDPROGRAMLOCALPARAMETERFVEXTPROC)(GLuint program, GLenum target, GLuint index, GLfloat * params); typedef void (GLAPIENTRY *PFNGLGETNAMEDPROGRAMSTRINGEXTPROC)(GLuint program, GLenum target, GLenum pname, void * string); typedef void (GLAPIENTRY *PFNGLGETNAMEDPROGRAMIVEXTPROC)(GLuint program, GLenum target, GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLGETNAMEDRENDERBUFFERPARAMETERIVPROC)(GLuint renderbuffer, GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLGETNAMEDRENDERBUFFERPARAMETERIVEXTPROC)(GLuint renderbuffer, GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLGETNAMEDSTRINGARBPROC)(GLint namelen, const GLchar * name, GLsizei bufSize, GLint * stringlen, GLchar * string); typedef void (GLAPIENTRY *PFNGLGETNAMEDSTRINGIVARBPROC)(GLint namelen, const GLchar * name, GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLGETNEXTPERFQUERYIDINTELPROC)(GLuint queryId, GLuint * nextQueryId); typedef void (GLAPIENTRY *PFNGLGETOBJECTBUFFERFVATIPROC)(GLuint buffer, GLenum pname, GLfloat * params); typedef void (GLAPIENTRY *PFNGLGETOBJECTBUFFERIVATIPROC)(GLuint buffer, GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLGETOBJECTLABELPROC)(GLenum identifier, GLuint name, GLsizei bufSize, GLsizei * length, GLchar * label); typedef void (GLAPIENTRY *PFNGLGETOBJECTLABELEXTPROC)(GLenum type, GLuint object, GLsizei bufSize, GLsizei * length, GLchar * label); typedef void (GLAPIENTRY *PFNGLGETOBJECTLABELKHRPROC)(GLenum identifier, GLuint name, GLsizei bufSize, GLsizei * length, GLchar * label); typedef void (GLAPIENTRY *PFNGLGETOBJECTPARAMETERFVARBPROC)(GLhandleARB obj, GLenum pname, GLfloat * params); typedef void (GLAPIENTRY *PFNGLGETOBJECTPARAMETERIVAPPLEPROC)(GLenum objectType, GLuint name, GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLGETOBJECTPARAMETERIVARBPROC)(GLhandleARB obj, GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLGETOBJECTPTRLABELPROC)(const void * ptr, GLsizei bufSize, GLsizei * length, GLchar * label); typedef void (GLAPIENTRY *PFNGLGETOBJECTPTRLABELKHRPROC)(const void * ptr, GLsizei bufSize, GLsizei * length, GLchar * label); typedef void (GLAPIENTRY *PFNGLGETOCCLUSIONQUERYIVNVPROC)(GLuint id, GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLGETOCCLUSIONQUERYUIVNVPROC)(GLuint id, GLenum pname, GLuint * params); typedef void (GLAPIENTRY *PFNGLGETPATHCOLORGENFVNVPROC)(GLenum color, GLenum pname, GLfloat * value); typedef void (GLAPIENTRY *PFNGLGETPATHCOLORGENIVNVPROC)(GLenum color, GLenum pname, GLint * value); typedef void (GLAPIENTRY *PFNGLGETPATHCOMMANDSNVPROC)(GLuint path, GLubyte * commands); typedef void (GLAPIENTRY *PFNGLGETPATHCOORDSNVPROC)(GLuint path, GLfloat * coords); typedef void (GLAPIENTRY *PFNGLGETPATHDASHARRAYNVPROC)(GLuint path, GLfloat * dashArray); typedef GLfloat (GLAPIENTRY *PFNGLGETPATHLENGTHNVPROC)(GLuint path, GLsizei startSegment, GLsizei numSegments); typedef void (GLAPIENTRY *PFNGLGETPATHMETRICRANGENVPROC)(GLbitfield metricQueryMask, GLuint firstPathName, GLsizei numPaths, GLsizei stride, GLfloat * metrics); typedef void (GLAPIENTRY *PFNGLGETPATHMETRICSNVPROC)(GLbitfield metricQueryMask, GLsizei numPaths, GLenum pathNameType, const void * paths, GLuint pathBase, GLsizei stride, GLfloat * metrics); typedef void (GLAPIENTRY *PFNGLGETPATHPARAMETERFVNVPROC)(GLuint path, GLenum pname, GLfloat * value); typedef void (GLAPIENTRY *PFNGLGETPATHPARAMETERIVNVPROC)(GLuint path, GLenum pname, GLint * value); typedef void (GLAPIENTRY *PFNGLGETPATHSPACINGNVPROC)(GLenum pathListMode, GLsizei numPaths, GLenum pathNameType, const void * paths, GLuint pathBase, GLfloat advanceScale, GLfloat kerningScale, GLenum transformType, GLfloat * returnedSpacing); typedef void (GLAPIENTRY *PFNGLGETPATHTEXGENFVNVPROC)(GLenum texCoordSet, GLenum pname, GLfloat * value); typedef void (GLAPIENTRY *PFNGLGETPATHTEXGENIVNVPROC)(GLenum texCoordSet, GLenum pname, GLint * value); typedef void (GLAPIENTRY *PFNGLGETPERFCOUNTERINFOINTELPROC)(GLuint queryId, GLuint counterId, GLuint counterNameLength, GLchar * counterName, GLuint counterDescLength, GLchar * counterDesc, GLuint * counterOffset, GLuint * counterDataSize, GLuint * counterTypeEnum, GLuint * counterDataTypeEnum, GLuint64 * rawCounterMaxValue); typedef void (GLAPIENTRY *PFNGLGETPERFMONITORCOUNTERDATAAMDPROC)(GLuint monitor, GLenum pname, GLsizei dataSize, GLuint * data, GLint * bytesWritten); typedef void (GLAPIENTRY *PFNGLGETPERFMONITORCOUNTERINFOAMDPROC)(GLuint group, GLuint counter, GLenum pname, void * data); typedef void (GLAPIENTRY *PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC)(GLuint group, GLuint counter, GLsizei bufSize, GLsizei * length, GLchar * counterString); typedef void (GLAPIENTRY *PFNGLGETPERFMONITORCOUNTERSAMDPROC)(GLuint group, GLint * numCounters, GLint * maxActiveCounters, GLsizei counterSize, GLuint * counters); typedef void (GLAPIENTRY *PFNGLGETPERFMONITORGROUPSTRINGAMDPROC)(GLuint group, GLsizei bufSize, GLsizei * length, GLchar * groupString); typedef void (GLAPIENTRY *PFNGLGETPERFMONITORGROUPSAMDPROC)(GLint * numGroups, GLsizei groupsSize, GLuint * groups); typedef void (GLAPIENTRY *PFNGLGETPERFQUERYDATAINTELPROC)(GLuint queryHandle, GLuint flags, GLsizei dataSize, void * data, GLuint * bytesWritten); typedef void (GLAPIENTRY *PFNGLGETPERFQUERYIDBYNAMEINTELPROC)(GLchar * queryName, GLuint * queryId); typedef void (GLAPIENTRY *PFNGLGETPERFQUERYINFOINTELPROC)(GLuint queryId, GLuint queryNameLength, GLchar * queryName, GLuint * dataSize, GLuint * noCounters, GLuint * noInstances, GLuint * capsMask); typedef void (GLAPIENTRY *PFNGLGETPIXELMAPFVPROC)(GLenum map, GLfloat * values); typedef void (GLAPIENTRY *PFNGLGETPIXELMAPUIVPROC)(GLenum map, GLuint * values); typedef void (GLAPIENTRY *PFNGLGETPIXELMAPUSVPROC)(GLenum map, GLushort * values); typedef void (GLAPIENTRY *PFNGLGETPIXELMAPXVPROC)(GLenum map, GLint size, GLfixed * values); typedef void (GLAPIENTRY *PFNGLGETPIXELTEXGENPARAMETERFVSGISPROC)(GLenum pname, GLfloat * params); typedef void (GLAPIENTRY *PFNGLGETPIXELTEXGENPARAMETERIVSGISPROC)(GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLGETPIXELTRANSFORMPARAMETERFVEXTPROC)(GLenum target, GLenum pname, GLfloat * params); typedef void (GLAPIENTRY *PFNGLGETPIXELTRANSFORMPARAMETERIVEXTPROC)(GLenum target, GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLGETPOINTERINDEXEDVEXTPROC)(GLenum target, GLuint index, void ** data); typedef void (GLAPIENTRY *PFNGLGETPOINTERI_VEXTPROC)(GLenum pname, GLuint index, void ** params); typedef void (GLAPIENTRY *PFNGLGETPOINTERVPROC)(GLenum pname, void ** params); typedef void (GLAPIENTRY *PFNGLGETPOINTERVEXTPROC)(GLenum pname, void ** params); typedef void (GLAPIENTRY *PFNGLGETPOINTERVKHRPROC)(GLenum pname, void ** params); typedef void (GLAPIENTRY *PFNGLGETPOLYGONSTIPPLEPROC)(GLubyte * mask); typedef void (GLAPIENTRY *PFNGLGETPROGRAMBINARYPROC)(GLuint program, GLsizei bufSize, GLsizei * length, GLenum * binaryFormat, void * binary); typedef void (GLAPIENTRY *PFNGLGETPROGRAMBINARYOESPROC)(GLuint program, GLsizei bufSize, GLsizei * length, GLenum * binaryFormat, void * binary); typedef void (GLAPIENTRY *PFNGLGETPROGRAMENVPARAMETERIIVNVPROC)(GLenum target, GLuint index, GLint * params); typedef void (GLAPIENTRY *PFNGLGETPROGRAMENVPARAMETERIUIVNVPROC)(GLenum target, GLuint index, GLuint * params); typedef void (GLAPIENTRY *PFNGLGETPROGRAMENVPARAMETERDVARBPROC)(GLenum target, GLuint index, GLdouble * params); typedef void (GLAPIENTRY *PFNGLGETPROGRAMENVPARAMETERFVARBPROC)(GLenum target, GLuint index, GLfloat * params); typedef void (GLAPIENTRY *PFNGLGETPROGRAMINFOLOGPROC)(GLuint program, GLsizei bufSize, GLsizei * length, GLchar * infoLog); typedef void (GLAPIENTRY *PFNGLGETPROGRAMINTERFACEIVPROC)(GLuint program, GLenum programInterface, GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLGETPROGRAMLOCALPARAMETERIIVNVPROC)(GLenum target, GLuint index, GLint * params); typedef void (GLAPIENTRY *PFNGLGETPROGRAMLOCALPARAMETERIUIVNVPROC)(GLenum target, GLuint index, GLuint * params); typedef void (GLAPIENTRY *PFNGLGETPROGRAMLOCALPARAMETERDVARBPROC)(GLenum target, GLuint index, GLdouble * params); typedef void (GLAPIENTRY *PFNGLGETPROGRAMLOCALPARAMETERFVARBPROC)(GLenum target, GLuint index, GLfloat * params); typedef void (GLAPIENTRY *PFNGLGETPROGRAMNAMEDPARAMETERDVNVPROC)(GLuint id, GLsizei len, const GLubyte * name, GLdouble * params); typedef void (GLAPIENTRY *PFNGLGETPROGRAMNAMEDPARAMETERFVNVPROC)(GLuint id, GLsizei len, const GLubyte * name, GLfloat * params); typedef void (GLAPIENTRY *PFNGLGETPROGRAMPARAMETERDVNVPROC)(GLenum target, GLuint index, GLenum pname, GLdouble * params); typedef void (GLAPIENTRY *PFNGLGETPROGRAMPARAMETERFVNVPROC)(GLenum target, GLuint index, GLenum pname, GLfloat * params); typedef void (GLAPIENTRY *PFNGLGETPROGRAMPIPELINEINFOLOGPROC)(GLuint pipeline, GLsizei bufSize, GLsizei * length, GLchar * infoLog); typedef void (GLAPIENTRY *PFNGLGETPROGRAMPIPELINEINFOLOGEXTPROC)(GLuint pipeline, GLsizei bufSize, GLsizei * length, GLchar * infoLog); typedef void (GLAPIENTRY *PFNGLGETPROGRAMPIPELINEIVPROC)(GLuint pipeline, GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLGETPROGRAMPIPELINEIVEXTPROC)(GLuint pipeline, GLenum pname, GLint * params); typedef GLuint (GLAPIENTRY *PFNGLGETPROGRAMRESOURCEINDEXPROC)(GLuint program, GLenum programInterface, const GLchar * name); typedef GLint (GLAPIENTRY *PFNGLGETPROGRAMRESOURCELOCATIONPROC)(GLuint program, GLenum programInterface, const GLchar * name); typedef GLint (GLAPIENTRY *PFNGLGETPROGRAMRESOURCELOCATIONINDEXPROC)(GLuint program, GLenum programInterface, const GLchar * name); typedef GLint (GLAPIENTRY *PFNGLGETPROGRAMRESOURCELOCATIONINDEXEXTPROC)(GLuint program, GLenum programInterface, const GLchar * name); typedef void (GLAPIENTRY *PFNGLGETPROGRAMRESOURCENAMEPROC)(GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei * length, GLchar * name); typedef void (GLAPIENTRY *PFNGLGETPROGRAMRESOURCEFVNVPROC)(GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum * props, GLsizei bufSize, GLsizei * length, GLfloat * params); typedef void (GLAPIENTRY *PFNGLGETPROGRAMRESOURCEIVPROC)(GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum * props, GLsizei bufSize, GLsizei * length, GLint * params); typedef void (GLAPIENTRY *PFNGLGETPROGRAMSTAGEIVPROC)(GLuint program, GLenum shadertype, GLenum pname, GLint * values); typedef void (GLAPIENTRY *PFNGLGETPROGRAMSTRINGARBPROC)(GLenum target, GLenum pname, void * string); typedef void (GLAPIENTRY *PFNGLGETPROGRAMSTRINGNVPROC)(GLuint id, GLenum pname, GLubyte * program); typedef void (GLAPIENTRY *PFNGLGETPROGRAMSUBROUTINEPARAMETERUIVNVPROC)(GLenum target, GLuint index, GLuint * param); typedef void (GLAPIENTRY *PFNGLGETPROGRAMIVPROC)(GLuint program, GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLGETPROGRAMIVARBPROC)(GLenum target, GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLGETPROGRAMIVNVPROC)(GLuint id, GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLGETQUERYBUFFEROBJECTI64VPROC)(GLuint id, GLuint buffer, GLenum pname, GLintptr offset); typedef void (GLAPIENTRY *PFNGLGETQUERYBUFFEROBJECTIVPROC)(GLuint id, GLuint buffer, GLenum pname, GLintptr offset); typedef void (GLAPIENTRY *PFNGLGETQUERYBUFFEROBJECTUI64VPROC)(GLuint id, GLuint buffer, GLenum pname, GLintptr offset); typedef void (GLAPIENTRY *PFNGLGETQUERYBUFFEROBJECTUIVPROC)(GLuint id, GLuint buffer, GLenum pname, GLintptr offset); typedef void (GLAPIENTRY *PFNGLGETQUERYINDEXEDIVPROC)(GLenum target, GLuint index, GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLGETQUERYOBJECTI64VPROC)(GLuint id, GLenum pname, GLint64 * params); typedef void (GLAPIENTRY *PFNGLGETQUERYOBJECTI64VEXTPROC)(GLuint id, GLenum pname, GLint64 * params); typedef void (GLAPIENTRY *PFNGLGETQUERYOBJECTIVPROC)(GLuint id, GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLGETQUERYOBJECTIVARBPROC)(GLuint id, GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLGETQUERYOBJECTIVEXTPROC)(GLuint id, GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLGETQUERYOBJECTUI64VPROC)(GLuint id, GLenum pname, GLuint64 * params); typedef void (GLAPIENTRY *PFNGLGETQUERYOBJECTUI64VEXTPROC)(GLuint id, GLenum pname, GLuint64 * params); typedef void (GLAPIENTRY *PFNGLGETQUERYOBJECTUIVPROC)(GLuint id, GLenum pname, GLuint * params); typedef void (GLAPIENTRY *PFNGLGETQUERYOBJECTUIVARBPROC)(GLuint id, GLenum pname, GLuint * params); typedef void (GLAPIENTRY *PFNGLGETQUERYOBJECTUIVEXTPROC)(GLuint id, GLenum pname, GLuint * params); typedef void (GLAPIENTRY *PFNGLGETQUERYIVPROC)(GLenum target, GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLGETQUERYIVARBPROC)(GLenum target, GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLGETQUERYIVEXTPROC)(GLenum target, GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLGETRENDERBUFFERPARAMETERIVPROC)(GLenum target, GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLGETRENDERBUFFERPARAMETERIVEXTPROC)(GLenum target, GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLGETRENDERBUFFERPARAMETERIVOESPROC)(GLenum target, GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLGETSAMPLERPARAMETERIIVPROC)(GLuint sampler, GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLGETSAMPLERPARAMETERIIVEXTPROC)(GLuint sampler, GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLGETSAMPLERPARAMETERIIVOESPROC)(GLuint sampler, GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLGETSAMPLERPARAMETERIUIVPROC)(GLuint sampler, GLenum pname, GLuint * params); typedef void (GLAPIENTRY *PFNGLGETSAMPLERPARAMETERIUIVEXTPROC)(GLuint sampler, GLenum pname, GLuint * params); typedef void (GLAPIENTRY *PFNGLGETSAMPLERPARAMETERIUIVOESPROC)(GLuint sampler, GLenum pname, GLuint * params); typedef void (GLAPIENTRY *PFNGLGETSAMPLERPARAMETERFVPROC)(GLuint sampler, GLenum pname, GLfloat * params); typedef void (GLAPIENTRY *PFNGLGETSAMPLERPARAMETERIVPROC)(GLuint sampler, GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLGETSEMAPHOREPARAMETERUI64VEXTPROC)(GLuint semaphore, GLenum pname, GLuint64 * params); typedef void (GLAPIENTRY *PFNGLGETSEPARABLEFILTERPROC)(GLenum target, GLenum format, GLenum type, void * row, void * column, void * span); typedef void (GLAPIENTRY *PFNGLGETSEPARABLEFILTEREXTPROC)(GLenum target, GLenum format, GLenum type, void * row, void * column, void * span); typedef void (GLAPIENTRY *PFNGLGETSHADERINFOLOGPROC)(GLuint shader, GLsizei bufSize, GLsizei * length, GLchar * infoLog); typedef void (GLAPIENTRY *PFNGLGETSHADERPRECISIONFORMATPROC)(GLenum shadertype, GLenum precisiontype, GLint * range, GLint * precision); typedef void (GLAPIENTRY *PFNGLGETSHADERSOURCEPROC)(GLuint shader, GLsizei bufSize, GLsizei * length, GLchar * source); typedef void (GLAPIENTRY *PFNGLGETSHADERSOURCEARBPROC)(GLhandleARB obj, GLsizei maxLength, GLsizei * length, GLcharARB * source); typedef void (GLAPIENTRY *PFNGLGETSHADERIVPROC)(GLuint shader, GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLGETSHADINGRATEIMAGEPALETTENVPROC)(GLuint viewport, GLuint entry, GLenum * rate); typedef void (GLAPIENTRY *PFNGLGETSHADINGRATESAMPLELOCATIONIVNVPROC)(GLenum rate, GLuint samples, GLuint index, GLint * location); typedef void (GLAPIENTRY *PFNGLGETSHARPENTEXFUNCSGISPROC)(GLenum target, GLfloat * points); typedef GLushort (GLAPIENTRY *PFNGLGETSTAGEINDEXNVPROC)(GLenum shadertype); typedef const GLubyte * (GLAPIENTRY *PFNGLGETSTRINGPROC)(GLenum name); typedef const GLubyte * (GLAPIENTRY *PFNGLGETSTRINGIPROC)(GLenum name, GLuint index); typedef GLuint (GLAPIENTRY *PFNGLGETSUBROUTINEINDEXPROC)(GLuint program, GLenum shadertype, const GLchar * name); typedef GLint (GLAPIENTRY *PFNGLGETSUBROUTINEUNIFORMLOCATIONPROC)(GLuint program, GLenum shadertype, const GLchar * name); typedef void (GLAPIENTRY *PFNGLGETSYNCIVPROC)(GLsync sync, GLenum pname, GLsizei bufSize, GLsizei * length, GLint * values); typedef void (GLAPIENTRY *PFNGLGETSYNCIVAPPLEPROC)(GLsync sync, GLenum pname, GLsizei bufSize, GLsizei * length, GLint * values); typedef void (GLAPIENTRY *PFNGLGETTEXBUMPPARAMETERFVATIPROC)(GLenum pname, GLfloat * param); typedef void (GLAPIENTRY *PFNGLGETTEXBUMPPARAMETERIVATIPROC)(GLenum pname, GLint * param); typedef void (GLAPIENTRY *PFNGLGETTEXENVFVPROC)(GLenum target, GLenum pname, GLfloat * params); typedef void (GLAPIENTRY *PFNGLGETTEXENVIVPROC)(GLenum target, GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLGETTEXENVXVPROC)(GLenum target, GLenum pname, GLfixed * params); typedef void (GLAPIENTRY *PFNGLGETTEXENVXVOESPROC)(GLenum target, GLenum pname, GLfixed * params); typedef void (GLAPIENTRY *PFNGLGETTEXFILTERFUNCSGISPROC)(GLenum target, GLenum filter, GLfloat * weights); typedef void (GLAPIENTRY *PFNGLGETTEXGENDVPROC)(GLenum coord, GLenum pname, GLdouble * params); typedef void (GLAPIENTRY *PFNGLGETTEXGENFVPROC)(GLenum coord, GLenum pname, GLfloat * params); typedef void (GLAPIENTRY *PFNGLGETTEXGENFVOESPROC)(GLenum coord, GLenum pname, GLfloat * params); typedef void (GLAPIENTRY *PFNGLGETTEXGENIVPROC)(GLenum coord, GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLGETTEXGENIVOESPROC)(GLenum coord, GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLGETTEXGENXVOESPROC)(GLenum coord, GLenum pname, GLfixed * params); typedef void (GLAPIENTRY *PFNGLGETTEXIMAGEPROC)(GLenum target, GLint level, GLenum format, GLenum type, void * pixels); typedef void (GLAPIENTRY *PFNGLGETTEXLEVELPARAMETERFVPROC)(GLenum target, GLint level, GLenum pname, GLfloat * params); typedef void (GLAPIENTRY *PFNGLGETTEXLEVELPARAMETERIVPROC)(GLenum target, GLint level, GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLGETTEXLEVELPARAMETERXVOESPROC)(GLenum target, GLint level, GLenum pname, GLfixed * params); typedef void (GLAPIENTRY *PFNGLGETTEXPARAMETERIIVPROC)(GLenum target, GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLGETTEXPARAMETERIIVEXTPROC)(GLenum target, GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLGETTEXPARAMETERIIVOESPROC)(GLenum target, GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLGETTEXPARAMETERIUIVPROC)(GLenum target, GLenum pname, GLuint * params); typedef void (GLAPIENTRY *PFNGLGETTEXPARAMETERIUIVEXTPROC)(GLenum target, GLenum pname, GLuint * params); typedef void (GLAPIENTRY *PFNGLGETTEXPARAMETERIUIVOESPROC)(GLenum target, GLenum pname, GLuint * params); typedef void (GLAPIENTRY *PFNGLGETTEXPARAMETERPOINTERVAPPLEPROC)(GLenum target, GLenum pname, void ** params); typedef void (GLAPIENTRY *PFNGLGETTEXPARAMETERFVPROC)(GLenum target, GLenum pname, GLfloat * params); typedef void (GLAPIENTRY *PFNGLGETTEXPARAMETERIVPROC)(GLenum target, GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLGETTEXPARAMETERXVPROC)(GLenum target, GLenum pname, GLfixed * params); typedef void (GLAPIENTRY *PFNGLGETTEXPARAMETERXVOESPROC)(GLenum target, GLenum pname, GLfixed * params); typedef GLuint64 (GLAPIENTRY *PFNGLGETTEXTUREHANDLEARBPROC)(GLuint texture); typedef GLuint64 (GLAPIENTRY *PFNGLGETTEXTUREHANDLEIMGPROC)(GLuint texture); typedef GLuint64 (GLAPIENTRY *PFNGLGETTEXTUREHANDLENVPROC)(GLuint texture); typedef void (GLAPIENTRY *PFNGLGETTEXTUREIMAGEPROC)(GLuint texture, GLint level, GLenum format, GLenum type, GLsizei bufSize, void * pixels); typedef void (GLAPIENTRY *PFNGLGETTEXTUREIMAGEEXTPROC)(GLuint texture, GLenum target, GLint level, GLenum format, GLenum type, void * pixels); typedef void (GLAPIENTRY *PFNGLGETTEXTURELEVELPARAMETERFVPROC)(GLuint texture, GLint level, GLenum pname, GLfloat * params); typedef void (GLAPIENTRY *PFNGLGETTEXTURELEVELPARAMETERFVEXTPROC)(GLuint texture, GLenum target, GLint level, GLenum pname, GLfloat * params); typedef void (GLAPIENTRY *PFNGLGETTEXTURELEVELPARAMETERIVPROC)(GLuint texture, GLint level, GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLGETTEXTURELEVELPARAMETERIVEXTPROC)(GLuint texture, GLenum target, GLint level, GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLGETTEXTUREPARAMETERIIVPROC)(GLuint texture, GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLGETTEXTUREPARAMETERIIVEXTPROC)(GLuint texture, GLenum target, GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLGETTEXTUREPARAMETERIUIVPROC)(GLuint texture, GLenum pname, GLuint * params); typedef void (GLAPIENTRY *PFNGLGETTEXTUREPARAMETERIUIVEXTPROC)(GLuint texture, GLenum target, GLenum pname, GLuint * params); typedef void (GLAPIENTRY *PFNGLGETTEXTUREPARAMETERFVPROC)(GLuint texture, GLenum pname, GLfloat * params); typedef void (GLAPIENTRY *PFNGLGETTEXTUREPARAMETERFVEXTPROC)(GLuint texture, GLenum target, GLenum pname, GLfloat * params); typedef void (GLAPIENTRY *PFNGLGETTEXTUREPARAMETERIVPROC)(GLuint texture, GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLGETTEXTUREPARAMETERIVEXTPROC)(GLuint texture, GLenum target, GLenum pname, GLint * params); typedef GLuint64 (GLAPIENTRY *PFNGLGETTEXTURESAMPLERHANDLEARBPROC)(GLuint texture, GLuint sampler); typedef GLuint64 (GLAPIENTRY *PFNGLGETTEXTURESAMPLERHANDLEIMGPROC)(GLuint texture, GLuint sampler); typedef GLuint64 (GLAPIENTRY *PFNGLGETTEXTURESAMPLERHANDLENVPROC)(GLuint texture, GLuint sampler); typedef void (GLAPIENTRY *PFNGLGETTEXTURESUBIMAGEPROC)(GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLsizei bufSize, void * pixels); typedef void (GLAPIENTRY *PFNGLGETTRACKMATRIXIVNVPROC)(GLenum target, GLuint address, GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLGETTRANSFORMFEEDBACKVARYINGPROC)(GLuint program, GLuint index, GLsizei bufSize, GLsizei * length, GLsizei * size, GLenum * type, GLchar * name); typedef void (GLAPIENTRY *PFNGLGETTRANSFORMFEEDBACKVARYINGEXTPROC)(GLuint program, GLuint index, GLsizei bufSize, GLsizei * length, GLsizei * size, GLenum * type, GLchar * name); typedef void (GLAPIENTRY *PFNGLGETTRANSFORMFEEDBACKVARYINGNVPROC)(GLuint program, GLuint index, GLint * location); typedef void (GLAPIENTRY *PFNGLGETTRANSFORMFEEDBACKI64_VPROC)(GLuint xfb, GLenum pname, GLuint index, GLint64 * param); typedef void (GLAPIENTRY *PFNGLGETTRANSFORMFEEDBACKI_VPROC)(GLuint xfb, GLenum pname, GLuint index, GLint * param); typedef void (GLAPIENTRY *PFNGLGETTRANSFORMFEEDBACKIVPROC)(GLuint xfb, GLenum pname, GLint * param); typedef void (GLAPIENTRY *PFNGLGETTRANSLATEDSHADERSOURCEANGLEPROC)(GLuint shader, GLsizei bufsize, GLsizei * length, GLchar * source); typedef GLuint (GLAPIENTRY *PFNGLGETUNIFORMBLOCKINDEXPROC)(GLuint program, const GLchar * uniformBlockName); typedef GLint (GLAPIENTRY *PFNGLGETUNIFORMBUFFERSIZEEXTPROC)(GLuint program, GLint location); typedef void (GLAPIENTRY *PFNGLGETUNIFORMINDICESPROC)(GLuint program, GLsizei uniformCount, const GLchar *const* uniformNames, GLuint * uniformIndices); typedef GLint (GLAPIENTRY *PFNGLGETUNIFORMLOCATIONPROC)(GLuint program, const GLchar * name); typedef GLint (GLAPIENTRY *PFNGLGETUNIFORMLOCATIONARBPROC)(GLhandleARB programObj, const GLcharARB * name); typedef GLintptr (GLAPIENTRY *PFNGLGETUNIFORMOFFSETEXTPROC)(GLuint program, GLint location); typedef void (GLAPIENTRY *PFNGLGETUNIFORMSUBROUTINEUIVPROC)(GLenum shadertype, GLint location, GLuint * params); typedef void (GLAPIENTRY *PFNGLGETUNIFORMDVPROC)(GLuint program, GLint location, GLdouble * params); typedef void (GLAPIENTRY *PFNGLGETUNIFORMFVPROC)(GLuint program, GLint location, GLfloat * params); typedef void (GLAPIENTRY *PFNGLGETUNIFORMFVARBPROC)(GLhandleARB programObj, GLint location, GLfloat * params); typedef void (GLAPIENTRY *PFNGLGETUNIFORMI64VARBPROC)(GLuint program, GLint location, GLint64 * params); typedef void (GLAPIENTRY *PFNGLGETUNIFORMI64VNVPROC)(GLuint program, GLint location, GLint64EXT * params); typedef void (GLAPIENTRY *PFNGLGETUNIFORMIVPROC)(GLuint program, GLint location, GLint * params); typedef void (GLAPIENTRY *PFNGLGETUNIFORMIVARBPROC)(GLhandleARB programObj, GLint location, GLint * params); typedef void (GLAPIENTRY *PFNGLGETUNIFORMUI64VARBPROC)(GLuint program, GLint location, GLuint64 * params); typedef void (GLAPIENTRY *PFNGLGETUNIFORMUI64VNVPROC)(GLuint program, GLint location, GLuint64EXT * params); typedef void (GLAPIENTRY *PFNGLGETUNIFORMUIVPROC)(GLuint program, GLint location, GLuint * params); typedef void (GLAPIENTRY *PFNGLGETUNIFORMUIVEXTPROC)(GLuint program, GLint location, GLuint * params); typedef void (GLAPIENTRY *PFNGLGETUNSIGNEDBYTEI_VEXTPROC)(GLenum target, GLuint index, GLubyte * data); typedef void (GLAPIENTRY *PFNGLGETUNSIGNEDBYTEVEXTPROC)(GLenum pname, GLubyte * data); typedef void (GLAPIENTRY *PFNGLGETVARIANTARRAYOBJECTFVATIPROC)(GLuint id, GLenum pname, GLfloat * params); typedef void (GLAPIENTRY *PFNGLGETVARIANTARRAYOBJECTIVATIPROC)(GLuint id, GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLGETVARIANTBOOLEANVEXTPROC)(GLuint id, GLenum value, GLboolean * data); typedef void (GLAPIENTRY *PFNGLGETVARIANTFLOATVEXTPROC)(GLuint id, GLenum value, GLfloat * data); typedef void (GLAPIENTRY *PFNGLGETVARIANTINTEGERVEXTPROC)(GLuint id, GLenum value, GLint * data); typedef void (GLAPIENTRY *PFNGLGETVARIANTPOINTERVEXTPROC)(GLuint id, GLenum value, void ** data); typedef GLint (GLAPIENTRY *PFNGLGETVARYINGLOCATIONNVPROC)(GLuint program, const GLchar * name); typedef void (GLAPIENTRY *PFNGLGETVERTEXARRAYINDEXED64IVPROC)(GLuint vaobj, GLuint index, GLenum pname, GLint64 * param); typedef void (GLAPIENTRY *PFNGLGETVERTEXARRAYINDEXEDIVPROC)(GLuint vaobj, GLuint index, GLenum pname, GLint * param); typedef void (GLAPIENTRY *PFNGLGETVERTEXARRAYINTEGERI_VEXTPROC)(GLuint vaobj, GLuint index, GLenum pname, GLint * param); typedef void (GLAPIENTRY *PFNGLGETVERTEXARRAYINTEGERVEXTPROC)(GLuint vaobj, GLenum pname, GLint * param); typedef void (GLAPIENTRY *PFNGLGETVERTEXARRAYPOINTERI_VEXTPROC)(GLuint vaobj, GLuint index, GLenum pname, void ** param); typedef void (GLAPIENTRY *PFNGLGETVERTEXARRAYPOINTERVEXTPROC)(GLuint vaobj, GLenum pname, void ** param); typedef void (GLAPIENTRY *PFNGLGETVERTEXARRAYIVPROC)(GLuint vaobj, GLenum pname, GLint * param); typedef void (GLAPIENTRY *PFNGLGETVERTEXATTRIBARRAYOBJECTFVATIPROC)(GLuint index, GLenum pname, GLfloat * params); typedef void (GLAPIENTRY *PFNGLGETVERTEXATTRIBARRAYOBJECTIVATIPROC)(GLuint index, GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLGETVERTEXATTRIBIIVPROC)(GLuint index, GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLGETVERTEXATTRIBIIVEXTPROC)(GLuint index, GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLGETVERTEXATTRIBIUIVPROC)(GLuint index, GLenum pname, GLuint * params); typedef void (GLAPIENTRY *PFNGLGETVERTEXATTRIBIUIVEXTPROC)(GLuint index, GLenum pname, GLuint * params); typedef void (GLAPIENTRY *PFNGLGETVERTEXATTRIBLDVPROC)(GLuint index, GLenum pname, GLdouble * params); typedef void (GLAPIENTRY *PFNGLGETVERTEXATTRIBLDVEXTPROC)(GLuint index, GLenum pname, GLdouble * params); typedef void (GLAPIENTRY *PFNGLGETVERTEXATTRIBLI64VNVPROC)(GLuint index, GLenum pname, GLint64EXT * params); typedef void (GLAPIENTRY *PFNGLGETVERTEXATTRIBLUI64VARBPROC)(GLuint index, GLenum pname, GLuint64EXT * params); typedef void (GLAPIENTRY *PFNGLGETVERTEXATTRIBLUI64VNVPROC)(GLuint index, GLenum pname, GLuint64EXT * params); typedef void (GLAPIENTRY *PFNGLGETVERTEXATTRIBPOINTERVPROC)(GLuint index, GLenum pname, void ** pointer); typedef void (GLAPIENTRY *PFNGLGETVERTEXATTRIBPOINTERVARBPROC)(GLuint index, GLenum pname, void ** pointer); typedef void (GLAPIENTRY *PFNGLGETVERTEXATTRIBPOINTERVNVPROC)(GLuint index, GLenum pname, void ** pointer); typedef void (GLAPIENTRY *PFNGLGETVERTEXATTRIBDVPROC)(GLuint index, GLenum pname, GLdouble * params); typedef void (GLAPIENTRY *PFNGLGETVERTEXATTRIBDVARBPROC)(GLuint index, GLenum pname, GLdouble * params); typedef void (GLAPIENTRY *PFNGLGETVERTEXATTRIBDVNVPROC)(GLuint index, GLenum pname, GLdouble * params); typedef void (GLAPIENTRY *PFNGLGETVERTEXATTRIBFVPROC)(GLuint index, GLenum pname, GLfloat * params); typedef void (GLAPIENTRY *PFNGLGETVERTEXATTRIBFVARBPROC)(GLuint index, GLenum pname, GLfloat * params); typedef void (GLAPIENTRY *PFNGLGETVERTEXATTRIBFVNVPROC)(GLuint index, GLenum pname, GLfloat * params); typedef void (GLAPIENTRY *PFNGLGETVERTEXATTRIBIVPROC)(GLuint index, GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLGETVERTEXATTRIBIVARBPROC)(GLuint index, GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLGETVERTEXATTRIBIVNVPROC)(GLuint index, GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLGETVIDEOCAPTURESTREAMDVNVPROC)(GLuint video_capture_slot, GLuint stream, GLenum pname, GLdouble * params); typedef void (GLAPIENTRY *PFNGLGETVIDEOCAPTURESTREAMFVNVPROC)(GLuint video_capture_slot, GLuint stream, GLenum pname, GLfloat * params); typedef void (GLAPIENTRY *PFNGLGETVIDEOCAPTURESTREAMIVNVPROC)(GLuint video_capture_slot, GLuint stream, GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLGETVIDEOCAPTUREIVNVPROC)(GLuint video_capture_slot, GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLGETVIDEOI64VNVPROC)(GLuint video_slot, GLenum pname, GLint64EXT * params); typedef void (GLAPIENTRY *PFNGLGETVIDEOIVNVPROC)(GLuint video_slot, GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLGETVIDEOUI64VNVPROC)(GLuint video_slot, GLenum pname, GLuint64EXT * params); typedef void (GLAPIENTRY *PFNGLGETVIDEOUIVNVPROC)(GLuint video_slot, GLenum pname, GLuint * params); typedef GLVULKANPROCNV (GLAPIENTRY *PFNGLGETVKPROCADDRNVPROC)(const GLchar * name); typedef void (GLAPIENTRY *PFNGLGETNCOLORTABLEPROC)(GLenum target, GLenum format, GLenum type, GLsizei bufSize, void * table); typedef void (GLAPIENTRY *PFNGLGETNCOLORTABLEARBPROC)(GLenum target, GLenum format, GLenum type, GLsizei bufSize, void * table); typedef void (GLAPIENTRY *PFNGLGETNCOMPRESSEDTEXIMAGEPROC)(GLenum target, GLint lod, GLsizei bufSize, void * pixels); typedef void (GLAPIENTRY *PFNGLGETNCOMPRESSEDTEXIMAGEARBPROC)(GLenum target, GLint lod, GLsizei bufSize, void * img); typedef void (GLAPIENTRY *PFNGLGETNCONVOLUTIONFILTERPROC)(GLenum target, GLenum format, GLenum type, GLsizei bufSize, void * image); typedef void (GLAPIENTRY *PFNGLGETNCONVOLUTIONFILTERARBPROC)(GLenum target, GLenum format, GLenum type, GLsizei bufSize, void * image); typedef void (GLAPIENTRY *PFNGLGETNHISTOGRAMPROC)(GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void * values); typedef void (GLAPIENTRY *PFNGLGETNHISTOGRAMARBPROC)(GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void * values); typedef void (GLAPIENTRY *PFNGLGETNMAPDVPROC)(GLenum target, GLenum query, GLsizei bufSize, GLdouble * v); typedef void (GLAPIENTRY *PFNGLGETNMAPDVARBPROC)(GLenum target, GLenum query, GLsizei bufSize, GLdouble * v); typedef void (GLAPIENTRY *PFNGLGETNMAPFVPROC)(GLenum target, GLenum query, GLsizei bufSize, GLfloat * v); typedef void (GLAPIENTRY *PFNGLGETNMAPFVARBPROC)(GLenum target, GLenum query, GLsizei bufSize, GLfloat * v); typedef void (GLAPIENTRY *PFNGLGETNMAPIVPROC)(GLenum target, GLenum query, GLsizei bufSize, GLint * v); typedef void (GLAPIENTRY *PFNGLGETNMAPIVARBPROC)(GLenum target, GLenum query, GLsizei bufSize, GLint * v); typedef void (GLAPIENTRY *PFNGLGETNMINMAXPROC)(GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void * values); typedef void (GLAPIENTRY *PFNGLGETNMINMAXARBPROC)(GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void * values); typedef void (GLAPIENTRY *PFNGLGETNPIXELMAPFVPROC)(GLenum map, GLsizei bufSize, GLfloat * values); typedef void (GLAPIENTRY *PFNGLGETNPIXELMAPFVARBPROC)(GLenum map, GLsizei bufSize, GLfloat * values); typedef void (GLAPIENTRY *PFNGLGETNPIXELMAPUIVPROC)(GLenum map, GLsizei bufSize, GLuint * values); typedef void (GLAPIENTRY *PFNGLGETNPIXELMAPUIVARBPROC)(GLenum map, GLsizei bufSize, GLuint * values); typedef void (GLAPIENTRY *PFNGLGETNPIXELMAPUSVPROC)(GLenum map, GLsizei bufSize, GLushort * values); typedef void (GLAPIENTRY *PFNGLGETNPIXELMAPUSVARBPROC)(GLenum map, GLsizei bufSize, GLushort * values); typedef void (GLAPIENTRY *PFNGLGETNPOLYGONSTIPPLEPROC)(GLsizei bufSize, GLubyte * pattern); typedef void (GLAPIENTRY *PFNGLGETNPOLYGONSTIPPLEARBPROC)(GLsizei bufSize, GLubyte * pattern); typedef void (GLAPIENTRY *PFNGLGETNSEPARABLEFILTERPROC)(GLenum target, GLenum format, GLenum type, GLsizei rowBufSize, void * row, GLsizei columnBufSize, void * column, void * span); typedef void (GLAPIENTRY *PFNGLGETNSEPARABLEFILTERARBPROC)(GLenum target, GLenum format, GLenum type, GLsizei rowBufSize, void * row, GLsizei columnBufSize, void * column, void * span); typedef void (GLAPIENTRY *PFNGLGETNTEXIMAGEPROC)(GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, void * pixels); typedef void (GLAPIENTRY *PFNGLGETNTEXIMAGEARBPROC)(GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, void * img); typedef void (GLAPIENTRY *PFNGLGETNUNIFORMDVPROC)(GLuint program, GLint location, GLsizei bufSize, GLdouble * params); typedef void (GLAPIENTRY *PFNGLGETNUNIFORMDVARBPROC)(GLuint program, GLint location, GLsizei bufSize, GLdouble * params); typedef void (GLAPIENTRY *PFNGLGETNUNIFORMFVPROC)(GLuint program, GLint location, GLsizei bufSize, GLfloat * params); typedef void (GLAPIENTRY *PFNGLGETNUNIFORMFVARBPROC)(GLuint program, GLint location, GLsizei bufSize, GLfloat * params); typedef void (GLAPIENTRY *PFNGLGETNUNIFORMFVEXTPROC)(GLuint program, GLint location, GLsizei bufSize, GLfloat * params); typedef void (GLAPIENTRY *PFNGLGETNUNIFORMFVKHRPROC)(GLuint program, GLint location, GLsizei bufSize, GLfloat * params); typedef void (GLAPIENTRY *PFNGLGETNUNIFORMI64VARBPROC)(GLuint program, GLint location, GLsizei bufSize, GLint64 * params); typedef void (GLAPIENTRY *PFNGLGETNUNIFORMIVPROC)(GLuint program, GLint location, GLsizei bufSize, GLint * params); typedef void (GLAPIENTRY *PFNGLGETNUNIFORMIVARBPROC)(GLuint program, GLint location, GLsizei bufSize, GLint * params); typedef void (GLAPIENTRY *PFNGLGETNUNIFORMIVEXTPROC)(GLuint program, GLint location, GLsizei bufSize, GLint * params); typedef void (GLAPIENTRY *PFNGLGETNUNIFORMIVKHRPROC)(GLuint program, GLint location, GLsizei bufSize, GLint * params); typedef void (GLAPIENTRY *PFNGLGETNUNIFORMUI64VARBPROC)(GLuint program, GLint location, GLsizei bufSize, GLuint64 * params); typedef void (GLAPIENTRY *PFNGLGETNUNIFORMUIVPROC)(GLuint program, GLint location, GLsizei bufSize, GLuint * params); typedef void (GLAPIENTRY *PFNGLGETNUNIFORMUIVARBPROC)(GLuint program, GLint location, GLsizei bufSize, GLuint * params); typedef void (GLAPIENTRY *PFNGLGETNUNIFORMUIVKHRPROC)(GLuint program, GLint location, GLsizei bufSize, GLuint * params); typedef void (GLAPIENTRY *PFNGLGLOBALALPHAFACTORBSUNPROC)(GLbyte factor); typedef void (GLAPIENTRY *PFNGLGLOBALALPHAFACTORDSUNPROC)(GLdouble factor); typedef void (GLAPIENTRY *PFNGLGLOBALALPHAFACTORFSUNPROC)(GLfloat factor); typedef void (GLAPIENTRY *PFNGLGLOBALALPHAFACTORISUNPROC)(GLint factor); typedef void (GLAPIENTRY *PFNGLGLOBALALPHAFACTORSSUNPROC)(GLshort factor); typedef void (GLAPIENTRY *PFNGLGLOBALALPHAFACTORUBSUNPROC)(GLubyte factor); typedef void (GLAPIENTRY *PFNGLGLOBALALPHAFACTORUISUNPROC)(GLuint factor); typedef void (GLAPIENTRY *PFNGLGLOBALALPHAFACTORUSSUNPROC)(GLushort factor); typedef void (GLAPIENTRY *PFNGLHINTPROC)(GLenum target, GLenum mode); typedef void (GLAPIENTRY *PFNGLHINTPGIPROC)(GLenum target, GLint mode); typedef void (GLAPIENTRY *PFNGLHISTOGRAMPROC)(GLenum target, GLsizei width, GLenum internalformat, GLboolean sink); typedef void (GLAPIENTRY *PFNGLHISTOGRAMEXTPROC)(GLenum target, GLsizei width, GLenum internalformat, GLboolean sink); typedef void (GLAPIENTRY *PFNGLIGLOOINTERFACESGIXPROC)(GLenum pname, const void * params); typedef void (GLAPIENTRY *PFNGLIMAGETRANSFORMPARAMETERFHPPROC)(GLenum target, GLenum pname, GLfloat param); typedef void (GLAPIENTRY *PFNGLIMAGETRANSFORMPARAMETERFVHPPROC)(GLenum target, GLenum pname, const GLfloat * params); typedef void (GLAPIENTRY *PFNGLIMAGETRANSFORMPARAMETERIHPPROC)(GLenum target, GLenum pname, GLint param); typedef void (GLAPIENTRY *PFNGLIMAGETRANSFORMPARAMETERIVHPPROC)(GLenum target, GLenum pname, const GLint * params); typedef void (GLAPIENTRY *PFNGLIMPORTMEMORYFDEXTPROC)(GLuint memory, GLuint64 size, GLenum handleType, GLint fd); typedef void (GLAPIENTRY *PFNGLIMPORTMEMORYWIN32HANDLEEXTPROC)(GLuint memory, GLuint64 size, GLenum handleType, void * handle); typedef void (GLAPIENTRY *PFNGLIMPORTMEMORYWIN32NAMEEXTPROC)(GLuint memory, GLuint64 size, GLenum handleType, const void * name); typedef void (GLAPIENTRY *PFNGLIMPORTSEMAPHOREFDEXTPROC)(GLuint semaphore, GLenum handleType, GLint fd); typedef void (GLAPIENTRY *PFNGLIMPORTSEMAPHOREWIN32HANDLEEXTPROC)(GLuint semaphore, GLenum handleType, void * handle); typedef void (GLAPIENTRY *PFNGLIMPORTSEMAPHOREWIN32NAMEEXTPROC)(GLuint semaphore, GLenum handleType, const void * name); typedef GLsync (GLAPIENTRY *PFNGLIMPORTSYNCEXTPROC)(GLenum external_sync_type, GLintptr external_sync, GLbitfield flags); typedef void (GLAPIENTRY *PFNGLINDEXFORMATNVPROC)(GLenum type, GLsizei stride); typedef void (GLAPIENTRY *PFNGLINDEXFUNCEXTPROC)(GLenum func, GLclampf ref); typedef void (GLAPIENTRY *PFNGLINDEXMASKPROC)(GLuint mask); typedef void (GLAPIENTRY *PFNGLINDEXMATERIALEXTPROC)(GLenum face, GLenum mode); typedef void (GLAPIENTRY *PFNGLINDEXPOINTERPROC)(GLenum type, GLsizei stride, const void * pointer); typedef void (GLAPIENTRY *PFNGLINDEXPOINTEREXTPROC)(GLenum type, GLsizei stride, GLsizei count, const void * pointer); typedef void (GLAPIENTRY *PFNGLINDEXPOINTERLISTIBMPROC)(GLenum type, GLint stride, const void ** pointer, GLint ptrstride); typedef void (GLAPIENTRY *PFNGLINDEXDPROC)(GLdouble c); typedef void (GLAPIENTRY *PFNGLINDEXDVPROC)(const GLdouble * c); typedef void (GLAPIENTRY *PFNGLINDEXFPROC)(GLfloat c); typedef void (GLAPIENTRY *PFNGLINDEXFVPROC)(const GLfloat * c); typedef void (GLAPIENTRY *PFNGLINDEXIPROC)(GLint c); typedef void (GLAPIENTRY *PFNGLINDEXIVPROC)(const GLint * c); typedef void (GLAPIENTRY *PFNGLINDEXSPROC)(GLshort c); typedef void (GLAPIENTRY *PFNGLINDEXSVPROC)(const GLshort * c); typedef void (GLAPIENTRY *PFNGLINDEXUBPROC)(GLubyte c); typedef void (GLAPIENTRY *PFNGLINDEXUBVPROC)(const GLubyte * c); typedef void (GLAPIENTRY *PFNGLINDEXXOESPROC)(GLfixed component); typedef void (GLAPIENTRY *PFNGLINDEXXVOESPROC)(const GLfixed * component); typedef void (GLAPIENTRY *PFNGLINITNAMESPROC)(void); typedef void (GLAPIENTRY *PFNGLINSERTCOMPONENTEXTPROC)(GLuint res, GLuint src, GLuint num); typedef void (GLAPIENTRY *PFNGLINSERTEVENTMARKEREXTPROC)(GLsizei length, const GLchar * marker); typedef void (GLAPIENTRY *PFNGLINSTRUMENTSBUFFERSGIXPROC)(GLsizei size, GLint * buffer); typedef void (GLAPIENTRY *PFNGLINTERLEAVEDARRAYSPROC)(GLenum format, GLsizei stride, const void * pointer); typedef void (GLAPIENTRY *PFNGLINTERPOLATEPATHSNVPROC)(GLuint resultPath, GLuint pathA, GLuint pathB, GLfloat weight); typedef void (GLAPIENTRY *PFNGLINVALIDATEBUFFERDATAPROC)(GLuint buffer); typedef void (GLAPIENTRY *PFNGLINVALIDATEBUFFERSUBDATAPROC)(GLuint buffer, GLintptr offset, GLsizeiptr length); typedef void (GLAPIENTRY *PFNGLINVALIDATEFRAMEBUFFERPROC)(GLenum target, GLsizei numAttachments, const GLenum * attachments); typedef void (GLAPIENTRY *PFNGLINVALIDATENAMEDFRAMEBUFFERDATAPROC)(GLuint framebuffer, GLsizei numAttachments, const GLenum * attachments); typedef void (GLAPIENTRY *PFNGLINVALIDATENAMEDFRAMEBUFFERSUBDATAPROC)(GLuint framebuffer, GLsizei numAttachments, const GLenum * attachments, GLint x, GLint y, GLsizei width, GLsizei height); typedef void (GLAPIENTRY *PFNGLINVALIDATESUBFRAMEBUFFERPROC)(GLenum target, GLsizei numAttachments, const GLenum * attachments, GLint x, GLint y, GLsizei width, GLsizei height); typedef void (GLAPIENTRY *PFNGLINVALIDATETEXIMAGEPROC)(GLuint texture, GLint level); typedef void (GLAPIENTRY *PFNGLINVALIDATETEXSUBIMAGEPROC)(GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth); typedef GLboolean (GLAPIENTRY *PFNGLISASYNCMARKERSGIXPROC)(GLuint marker); typedef GLboolean (GLAPIENTRY *PFNGLISBUFFERPROC)(GLuint buffer); typedef GLboolean (GLAPIENTRY *PFNGLISBUFFERARBPROC)(GLuint buffer); typedef GLboolean (GLAPIENTRY *PFNGLISBUFFERRESIDENTNVPROC)(GLenum target); typedef GLboolean (GLAPIENTRY *PFNGLISCOMMANDLISTNVPROC)(GLuint list); typedef GLboolean (GLAPIENTRY *PFNGLISENABLEDPROC)(GLenum cap); typedef GLboolean (GLAPIENTRY *PFNGLISENABLEDINDEXEDEXTPROC)(GLenum target, GLuint index); typedef GLboolean (GLAPIENTRY *PFNGLISENABLEDIPROC)(GLenum target, GLuint index); typedef GLboolean (GLAPIENTRY *PFNGLISENABLEDIEXTPROC)(GLenum target, GLuint index); typedef GLboolean (GLAPIENTRY *PFNGLISENABLEDINVPROC)(GLenum target, GLuint index); typedef GLboolean (GLAPIENTRY *PFNGLISENABLEDIOESPROC)(GLenum target, GLuint index); typedef GLboolean (GLAPIENTRY *PFNGLISFENCEAPPLEPROC)(GLuint fence); typedef GLboolean (GLAPIENTRY *PFNGLISFENCENVPROC)(GLuint fence); typedef GLboolean (GLAPIENTRY *PFNGLISFRAMEBUFFERPROC)(GLuint framebuffer); typedef GLboolean (GLAPIENTRY *PFNGLISFRAMEBUFFEREXTPROC)(GLuint framebuffer); typedef GLboolean (GLAPIENTRY *PFNGLISFRAMEBUFFEROESPROC)(GLuint framebuffer); typedef GLboolean (GLAPIENTRY *PFNGLISIMAGEHANDLERESIDENTARBPROC)(GLuint64 handle); typedef GLboolean (GLAPIENTRY *PFNGLISIMAGEHANDLERESIDENTNVPROC)(GLuint64 handle); typedef GLboolean (GLAPIENTRY *PFNGLISLISTPROC)(GLuint list); typedef GLboolean (GLAPIENTRY *PFNGLISMEMORYOBJECTEXTPROC)(GLuint memoryObject); typedef GLboolean (GLAPIENTRY *PFNGLISNAMEAMDPROC)(GLenum identifier, GLuint name); typedef GLboolean (GLAPIENTRY *PFNGLISNAMEDBUFFERRESIDENTNVPROC)(GLuint buffer); typedef GLboolean (GLAPIENTRY *PFNGLISNAMEDSTRINGARBPROC)(GLint namelen, const GLchar * name); typedef GLboolean (GLAPIENTRY *PFNGLISOBJECTBUFFERATIPROC)(GLuint buffer); typedef GLboolean (GLAPIENTRY *PFNGLISOCCLUSIONQUERYNVPROC)(GLuint id); typedef GLboolean (GLAPIENTRY *PFNGLISPATHNVPROC)(GLuint path); typedef GLboolean (GLAPIENTRY *PFNGLISPOINTINFILLPATHNVPROC)(GLuint path, GLuint mask, GLfloat x, GLfloat y); typedef GLboolean (GLAPIENTRY *PFNGLISPOINTINSTROKEPATHNVPROC)(GLuint path, GLfloat x, GLfloat y); typedef GLboolean (GLAPIENTRY *PFNGLISPROGRAMPROC)(GLuint program); typedef GLboolean (GLAPIENTRY *PFNGLISPROGRAMARBPROC)(GLuint program); typedef GLboolean (GLAPIENTRY *PFNGLISPROGRAMNVPROC)(GLuint id); typedef GLboolean (GLAPIENTRY *PFNGLISPROGRAMPIPELINEPROC)(GLuint pipeline); typedef GLboolean (GLAPIENTRY *PFNGLISPROGRAMPIPELINEEXTPROC)(GLuint pipeline); typedef GLboolean (GLAPIENTRY *PFNGLISQUERYPROC)(GLuint id); typedef GLboolean (GLAPIENTRY *PFNGLISQUERYARBPROC)(GLuint id); typedef GLboolean (GLAPIENTRY *PFNGLISQUERYEXTPROC)(GLuint id); typedef GLboolean (GLAPIENTRY *PFNGLISRENDERBUFFERPROC)(GLuint renderbuffer); typedef GLboolean (GLAPIENTRY *PFNGLISRENDERBUFFEREXTPROC)(GLuint renderbuffer); typedef GLboolean (GLAPIENTRY *PFNGLISRENDERBUFFEROESPROC)(GLuint renderbuffer); typedef GLboolean (GLAPIENTRY *PFNGLISSAMPLERPROC)(GLuint sampler); typedef GLboolean (GLAPIENTRY *PFNGLISSEMAPHOREEXTPROC)(GLuint semaphore); typedef GLboolean (GLAPIENTRY *PFNGLISSHADERPROC)(GLuint shader); typedef GLboolean (GLAPIENTRY *PFNGLISSTATENVPROC)(GLuint state); typedef GLboolean (GLAPIENTRY *PFNGLISSYNCPROC)(GLsync sync); typedef GLboolean (GLAPIENTRY *PFNGLISSYNCAPPLEPROC)(GLsync sync); typedef GLboolean (GLAPIENTRY *PFNGLISTEXTUREPROC)(GLuint texture); typedef GLboolean (GLAPIENTRY *PFNGLISTEXTUREEXTPROC)(GLuint texture); typedef GLboolean (GLAPIENTRY *PFNGLISTEXTUREHANDLERESIDENTARBPROC)(GLuint64 handle); typedef GLboolean (GLAPIENTRY *PFNGLISTEXTUREHANDLERESIDENTNVPROC)(GLuint64 handle); typedef GLboolean (GLAPIENTRY *PFNGLISTRANSFORMFEEDBACKPROC)(GLuint id); typedef GLboolean (GLAPIENTRY *PFNGLISTRANSFORMFEEDBACKNVPROC)(GLuint id); typedef GLboolean (GLAPIENTRY *PFNGLISVARIANTENABLEDEXTPROC)(GLuint id, GLenum cap); typedef GLboolean (GLAPIENTRY *PFNGLISVERTEXARRAYPROC)(GLuint array); typedef GLboolean (GLAPIENTRY *PFNGLISVERTEXARRAYAPPLEPROC)(GLuint array); typedef GLboolean (GLAPIENTRY *PFNGLISVERTEXARRAYOESPROC)(GLuint array); typedef GLboolean (GLAPIENTRY *PFNGLISVERTEXATTRIBENABLEDAPPLEPROC)(GLuint index, GLenum pname); typedef void (GLAPIENTRY *PFNGLLGPUCOPYIMAGESUBDATANVXPROC)(GLuint sourceGpu, GLbitfield destinationGpuMask, GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srxY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei width, GLsizei height, GLsizei depth); typedef void (GLAPIENTRY *PFNGLLGPUINTERLOCKNVXPROC)(void); typedef void (GLAPIENTRY *PFNGLLGPUNAMEDBUFFERSUBDATANVXPROC)(GLbitfield gpuMask, GLuint buffer, GLintptr offset, GLsizeiptr size, const void * data); typedef void (GLAPIENTRY *PFNGLLABELOBJECTEXTPROC)(GLenum type, GLuint object, GLsizei length, const GLchar * label); typedef void (GLAPIENTRY *PFNGLLIGHTENVISGIXPROC)(GLenum pname, GLint param); typedef void (GLAPIENTRY *PFNGLLIGHTMODELFPROC)(GLenum pname, GLfloat param); typedef void (GLAPIENTRY *PFNGLLIGHTMODELFVPROC)(GLenum pname, const GLfloat * params); typedef void (GLAPIENTRY *PFNGLLIGHTMODELIPROC)(GLenum pname, GLint param); typedef void (GLAPIENTRY *PFNGLLIGHTMODELIVPROC)(GLenum pname, const GLint * params); typedef void (GLAPIENTRY *PFNGLLIGHTMODELXPROC)(GLenum pname, GLfixed param); typedef void (GLAPIENTRY *PFNGLLIGHTMODELXOESPROC)(GLenum pname, GLfixed param); typedef void (GLAPIENTRY *PFNGLLIGHTMODELXVPROC)(GLenum pname, const GLfixed * param); typedef void (GLAPIENTRY *PFNGLLIGHTMODELXVOESPROC)(GLenum pname, const GLfixed * param); typedef void (GLAPIENTRY *PFNGLLIGHTFPROC)(GLenum light, GLenum pname, GLfloat param); typedef void (GLAPIENTRY *PFNGLLIGHTFVPROC)(GLenum light, GLenum pname, const GLfloat * params); typedef void (GLAPIENTRY *PFNGLLIGHTIPROC)(GLenum light, GLenum pname, GLint param); typedef void (GLAPIENTRY *PFNGLLIGHTIVPROC)(GLenum light, GLenum pname, const GLint * params); typedef void (GLAPIENTRY *PFNGLLIGHTXPROC)(GLenum light, GLenum pname, GLfixed param); typedef void (GLAPIENTRY *PFNGLLIGHTXOESPROC)(GLenum light, GLenum pname, GLfixed param); typedef void (GLAPIENTRY *PFNGLLIGHTXVPROC)(GLenum light, GLenum pname, const GLfixed * params); typedef void (GLAPIENTRY *PFNGLLIGHTXVOESPROC)(GLenum light, GLenum pname, const GLfixed * params); typedef void (GLAPIENTRY *PFNGLLINESTIPPLEPROC)(GLint factor, GLushort pattern); typedef void (GLAPIENTRY *PFNGLLINEWIDTHPROC)(GLfloat width); typedef void (GLAPIENTRY *PFNGLLINEWIDTHXPROC)(GLfixed width); typedef void (GLAPIENTRY *PFNGLLINEWIDTHXOESPROC)(GLfixed width); typedef void (GLAPIENTRY *PFNGLLINKPROGRAMPROC)(GLuint program); typedef void (GLAPIENTRY *PFNGLLINKPROGRAMARBPROC)(GLhandleARB programObj); typedef void (GLAPIENTRY *PFNGLLISTBASEPROC)(GLuint base); typedef void (GLAPIENTRY *PFNGLLISTDRAWCOMMANDSSTATESCLIENTNVPROC)(GLuint list, GLuint segment, const void ** indirects, const GLsizei * sizes, const GLuint * states, const GLuint * fbos, GLuint count); typedef void (GLAPIENTRY *PFNGLLISTPARAMETERFSGIXPROC)(GLuint list, GLenum pname, GLfloat param); typedef void (GLAPIENTRY *PFNGLLISTPARAMETERFVSGIXPROC)(GLuint list, GLenum pname, const GLfloat * params); typedef void (GLAPIENTRY *PFNGLLISTPARAMETERISGIXPROC)(GLuint list, GLenum pname, GLint param); typedef void (GLAPIENTRY *PFNGLLISTPARAMETERIVSGIXPROC)(GLuint list, GLenum pname, const GLint * params); typedef void (GLAPIENTRY *PFNGLLOADIDENTITYPROC)(void); typedef void (GLAPIENTRY *PFNGLLOADIDENTITYDEFORMATIONMAPSGIXPROC)(GLbitfield mask); typedef void (GLAPIENTRY *PFNGLLOADMATRIXDPROC)(const GLdouble * m); typedef void (GLAPIENTRY *PFNGLLOADMATRIXFPROC)(const GLfloat * m); typedef void (GLAPIENTRY *PFNGLLOADMATRIXXPROC)(const GLfixed * m); typedef void (GLAPIENTRY *PFNGLLOADMATRIXXOESPROC)(const GLfixed * m); typedef void (GLAPIENTRY *PFNGLLOADNAMEPROC)(GLuint name); typedef void (GLAPIENTRY *PFNGLLOADPALETTEFROMMODELVIEWMATRIXOESPROC)(void); typedef void (GLAPIENTRY *PFNGLLOADPROGRAMNVPROC)(GLenum target, GLuint id, GLsizei len, const GLubyte * program); typedef void (GLAPIENTRY *PFNGLLOADTRANSPOSEMATRIXDPROC)(const GLdouble * m); typedef void (GLAPIENTRY *PFNGLLOADTRANSPOSEMATRIXDARBPROC)(const GLdouble * m); typedef void (GLAPIENTRY *PFNGLLOADTRANSPOSEMATRIXFPROC)(const GLfloat * m); typedef void (GLAPIENTRY *PFNGLLOADTRANSPOSEMATRIXFARBPROC)(const GLfloat * m); typedef void (GLAPIENTRY *PFNGLLOADTRANSPOSEMATRIXXOESPROC)(const GLfixed * m); typedef void (GLAPIENTRY *PFNGLLOCKARRAYSEXTPROC)(GLint first, GLsizei count); typedef void (GLAPIENTRY *PFNGLLOGICOPPROC)(GLenum opcode); typedef void (GLAPIENTRY *PFNGLMAKEBUFFERNONRESIDENTNVPROC)(GLenum target); typedef void (GLAPIENTRY *PFNGLMAKEBUFFERRESIDENTNVPROC)(GLenum target, GLenum access); typedef void (GLAPIENTRY *PFNGLMAKEIMAGEHANDLENONRESIDENTARBPROC)(GLuint64 handle); typedef void (GLAPIENTRY *PFNGLMAKEIMAGEHANDLENONRESIDENTNVPROC)(GLuint64 handle); typedef void (GLAPIENTRY *PFNGLMAKEIMAGEHANDLERESIDENTARBPROC)(GLuint64 handle, GLenum access); typedef void (GLAPIENTRY *PFNGLMAKEIMAGEHANDLERESIDENTNVPROC)(GLuint64 handle, GLenum access); typedef void (GLAPIENTRY *PFNGLMAKENAMEDBUFFERNONRESIDENTNVPROC)(GLuint buffer); typedef void (GLAPIENTRY *PFNGLMAKENAMEDBUFFERRESIDENTNVPROC)(GLuint buffer, GLenum access); typedef void (GLAPIENTRY *PFNGLMAKETEXTUREHANDLENONRESIDENTARBPROC)(GLuint64 handle); typedef void (GLAPIENTRY *PFNGLMAKETEXTUREHANDLENONRESIDENTNVPROC)(GLuint64 handle); typedef void (GLAPIENTRY *PFNGLMAKETEXTUREHANDLERESIDENTARBPROC)(GLuint64 handle); typedef void (GLAPIENTRY *PFNGLMAKETEXTUREHANDLERESIDENTNVPROC)(GLuint64 handle); typedef void (GLAPIENTRY *PFNGLMAP1DPROC)(GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble * points); typedef void (GLAPIENTRY *PFNGLMAP1FPROC)(GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat * points); typedef void (GLAPIENTRY *PFNGLMAP1XOESPROC)(GLenum target, GLfixed u1, GLfixed u2, GLint stride, GLint order, GLfixed points); typedef void (GLAPIENTRY *PFNGLMAP2DPROC)(GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble * points); typedef void (GLAPIENTRY *PFNGLMAP2FPROC)(GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat * points); typedef void (GLAPIENTRY *PFNGLMAP2XOESPROC)(GLenum target, GLfixed u1, GLfixed u2, GLint ustride, GLint uorder, GLfixed v1, GLfixed v2, GLint vstride, GLint vorder, GLfixed points); typedef void * (GLAPIENTRY *PFNGLMAPBUFFERPROC)(GLenum target, GLenum access); typedef void * (GLAPIENTRY *PFNGLMAPBUFFERARBPROC)(GLenum target, GLenum access); typedef void * (GLAPIENTRY *PFNGLMAPBUFFEROESPROC)(GLenum target, GLenum access); typedef void * (GLAPIENTRY *PFNGLMAPBUFFERRANGEPROC)(GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); typedef void * (GLAPIENTRY *PFNGLMAPBUFFERRANGEEXTPROC)(GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); typedef void (GLAPIENTRY *PFNGLMAPCONTROLPOINTSNVPROC)(GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLint uorder, GLint vorder, GLboolean packed, const void * points); typedef void (GLAPIENTRY *PFNGLMAPGRID1DPROC)(GLint un, GLdouble u1, GLdouble u2); typedef void (GLAPIENTRY *PFNGLMAPGRID1FPROC)(GLint un, GLfloat u1, GLfloat u2); typedef void (GLAPIENTRY *PFNGLMAPGRID1XOESPROC)(GLint n, GLfixed u1, GLfixed u2); typedef void (GLAPIENTRY *PFNGLMAPGRID2DPROC)(GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2); typedef void (GLAPIENTRY *PFNGLMAPGRID2FPROC)(GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2); typedef void (GLAPIENTRY *PFNGLMAPGRID2XOESPROC)(GLint n, GLfixed u1, GLfixed u2, GLfixed v1, GLfixed v2); typedef void * (GLAPIENTRY *PFNGLMAPNAMEDBUFFERPROC)(GLuint buffer, GLenum access); typedef void * (GLAPIENTRY *PFNGLMAPNAMEDBUFFEREXTPROC)(GLuint buffer, GLenum access); typedef void * (GLAPIENTRY *PFNGLMAPNAMEDBUFFERRANGEPROC)(GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access); typedef void * (GLAPIENTRY *PFNGLMAPNAMEDBUFFERRANGEEXTPROC)(GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access); typedef void * (GLAPIENTRY *PFNGLMAPOBJECTBUFFERATIPROC)(GLuint buffer); typedef void (GLAPIENTRY *PFNGLMAPPARAMETERFVNVPROC)(GLenum target, GLenum pname, const GLfloat * params); typedef void (GLAPIENTRY *PFNGLMAPPARAMETERIVNVPROC)(GLenum target, GLenum pname, const GLint * params); typedef void * (GLAPIENTRY *PFNGLMAPTEXTURE2DINTELPROC)(GLuint texture, GLint level, GLbitfield access, GLint * stride, GLenum * layout); typedef void (GLAPIENTRY *PFNGLMAPVERTEXATTRIB1DAPPLEPROC)(GLuint index, GLuint size, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble * points); typedef void (GLAPIENTRY *PFNGLMAPVERTEXATTRIB1FAPPLEPROC)(GLuint index, GLuint size, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat * points); typedef void (GLAPIENTRY *PFNGLMAPVERTEXATTRIB2DAPPLEPROC)(GLuint index, GLuint size, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble * points); typedef void (GLAPIENTRY *PFNGLMAPVERTEXATTRIB2FAPPLEPROC)(GLuint index, GLuint size, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat * points); typedef void (GLAPIENTRY *PFNGLMATERIALFPROC)(GLenum face, GLenum pname, GLfloat param); typedef void (GLAPIENTRY *PFNGLMATERIALFVPROC)(GLenum face, GLenum pname, const GLfloat * params); typedef void (GLAPIENTRY *PFNGLMATERIALIPROC)(GLenum face, GLenum pname, GLint param); typedef void (GLAPIENTRY *PFNGLMATERIALIVPROC)(GLenum face, GLenum pname, const GLint * params); typedef void (GLAPIENTRY *PFNGLMATERIALXPROC)(GLenum face, GLenum pname, GLfixed param); typedef void (GLAPIENTRY *PFNGLMATERIALXOESPROC)(GLenum face, GLenum pname, GLfixed param); typedef void (GLAPIENTRY *PFNGLMATERIALXVPROC)(GLenum face, GLenum pname, const GLfixed * param); typedef void (GLAPIENTRY *PFNGLMATERIALXVOESPROC)(GLenum face, GLenum pname, const GLfixed * param); typedef void (GLAPIENTRY *PFNGLMATRIXFRUSTUMEXTPROC)(GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar); typedef void (GLAPIENTRY *PFNGLMATRIXINDEXPOINTERARBPROC)(GLint size, GLenum type, GLsizei stride, const void * pointer); typedef void (GLAPIENTRY *PFNGLMATRIXINDEXPOINTEROESPROC)(GLint size, GLenum type, GLsizei stride, const void * pointer); typedef void (GLAPIENTRY *PFNGLMATRIXINDEXUBVARBPROC)(GLint size, const GLubyte * indices); typedef void (GLAPIENTRY *PFNGLMATRIXINDEXUIVARBPROC)(GLint size, const GLuint * indices); typedef void (GLAPIENTRY *PFNGLMATRIXINDEXUSVARBPROC)(GLint size, const GLushort * indices); typedef void (GLAPIENTRY *PFNGLMATRIXLOAD3X2FNVPROC)(GLenum matrixMode, const GLfloat * m); typedef void (GLAPIENTRY *PFNGLMATRIXLOAD3X3FNVPROC)(GLenum matrixMode, const GLfloat * m); typedef void (GLAPIENTRY *PFNGLMATRIXLOADIDENTITYEXTPROC)(GLenum mode); typedef void (GLAPIENTRY *PFNGLMATRIXLOADTRANSPOSE3X3FNVPROC)(GLenum matrixMode, const GLfloat * m); typedef void (GLAPIENTRY *PFNGLMATRIXLOADTRANSPOSEDEXTPROC)(GLenum mode, const GLdouble * m); typedef void (GLAPIENTRY *PFNGLMATRIXLOADTRANSPOSEFEXTPROC)(GLenum mode, const GLfloat * m); typedef void (GLAPIENTRY *PFNGLMATRIXLOADDEXTPROC)(GLenum mode, const GLdouble * m); typedef void (GLAPIENTRY *PFNGLMATRIXLOADFEXTPROC)(GLenum mode, const GLfloat * m); typedef void (GLAPIENTRY *PFNGLMATRIXMODEPROC)(GLenum mode); typedef void (GLAPIENTRY *PFNGLMATRIXMULT3X2FNVPROC)(GLenum matrixMode, const GLfloat * m); typedef void (GLAPIENTRY *PFNGLMATRIXMULT3X3FNVPROC)(GLenum matrixMode, const GLfloat * m); typedef void (GLAPIENTRY *PFNGLMATRIXMULTTRANSPOSE3X3FNVPROC)(GLenum matrixMode, const GLfloat * m); typedef void (GLAPIENTRY *PFNGLMATRIXMULTTRANSPOSEDEXTPROC)(GLenum mode, const GLdouble * m); typedef void (GLAPIENTRY *PFNGLMATRIXMULTTRANSPOSEFEXTPROC)(GLenum mode, const GLfloat * m); typedef void (GLAPIENTRY *PFNGLMATRIXMULTDEXTPROC)(GLenum mode, const GLdouble * m); typedef void (GLAPIENTRY *PFNGLMATRIXMULTFEXTPROC)(GLenum mode, const GLfloat * m); typedef void (GLAPIENTRY *PFNGLMATRIXORTHOEXTPROC)(GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar); typedef void (GLAPIENTRY *PFNGLMATRIXPOPEXTPROC)(GLenum mode); typedef void (GLAPIENTRY *PFNGLMATRIXPUSHEXTPROC)(GLenum mode); typedef void (GLAPIENTRY *PFNGLMATRIXROTATEDEXTPROC)(GLenum mode, GLdouble angle, GLdouble x, GLdouble y, GLdouble z); typedef void (GLAPIENTRY *PFNGLMATRIXROTATEFEXTPROC)(GLenum mode, GLfloat angle, GLfloat x, GLfloat y, GLfloat z); typedef void (GLAPIENTRY *PFNGLMATRIXSCALEDEXTPROC)(GLenum mode, GLdouble x, GLdouble y, GLdouble z); typedef void (GLAPIENTRY *PFNGLMATRIXSCALEFEXTPROC)(GLenum mode, GLfloat x, GLfloat y, GLfloat z); typedef void (GLAPIENTRY *PFNGLMATRIXTRANSLATEDEXTPROC)(GLenum mode, GLdouble x, GLdouble y, GLdouble z); typedef void (GLAPIENTRY *PFNGLMATRIXTRANSLATEFEXTPROC)(GLenum mode, GLfloat x, GLfloat y, GLfloat z); typedef void (GLAPIENTRY *PFNGLMAXSHADERCOMPILERTHREADSARBPROC)(GLuint count); typedef void (GLAPIENTRY *PFNGLMAXSHADERCOMPILERTHREADSKHRPROC)(GLuint count); typedef void (GLAPIENTRY *PFNGLMEMORYBARRIERPROC)(GLbitfield barriers); typedef void (GLAPIENTRY *PFNGLMEMORYBARRIERBYREGIONPROC)(GLbitfield barriers); typedef void (GLAPIENTRY *PFNGLMEMORYBARRIEREXTPROC)(GLbitfield barriers); typedef void (GLAPIENTRY *PFNGLMEMORYOBJECTPARAMETERIVEXTPROC)(GLuint memoryObject, GLenum pname, const GLint * params); typedef void (GLAPIENTRY *PFNGLMINSAMPLESHADINGPROC)(GLfloat value); typedef void (GLAPIENTRY *PFNGLMINSAMPLESHADINGARBPROC)(GLfloat value); typedef void (GLAPIENTRY *PFNGLMINSAMPLESHADINGOESPROC)(GLfloat value); typedef void (GLAPIENTRY *PFNGLMINMAXPROC)(GLenum target, GLenum internalformat, GLboolean sink); typedef void (GLAPIENTRY *PFNGLMINMAXEXTPROC)(GLenum target, GLenum internalformat, GLboolean sink); typedef void (GLAPIENTRY *PFNGLMULTMATRIXDPROC)(const GLdouble * m); typedef void (GLAPIENTRY *PFNGLMULTMATRIXFPROC)(const GLfloat * m); typedef void (GLAPIENTRY *PFNGLMULTMATRIXXPROC)(const GLfixed * m); typedef void (GLAPIENTRY *PFNGLMULTMATRIXXOESPROC)(const GLfixed * m); typedef void (GLAPIENTRY *PFNGLMULTTRANSPOSEMATRIXDPROC)(const GLdouble * m); typedef void (GLAPIENTRY *PFNGLMULTTRANSPOSEMATRIXDARBPROC)(const GLdouble * m); typedef void (GLAPIENTRY *PFNGLMULTTRANSPOSEMATRIXFPROC)(const GLfloat * m); typedef void (GLAPIENTRY *PFNGLMULTTRANSPOSEMATRIXFARBPROC)(const GLfloat * m); typedef void (GLAPIENTRY *PFNGLMULTTRANSPOSEMATRIXXOESPROC)(const GLfixed * m); typedef void (GLAPIENTRY *PFNGLMULTIDRAWARRAYSPROC)(GLenum mode, const GLint * first, const GLsizei * count, GLsizei drawcount); typedef void (GLAPIENTRY *PFNGLMULTIDRAWARRAYSEXTPROC)(GLenum mode, const GLint * first, const GLsizei * count, GLsizei primcount); typedef void (GLAPIENTRY *PFNGLMULTIDRAWARRAYSINDIRECTPROC)(GLenum mode, const void * indirect, GLsizei drawcount, GLsizei stride); typedef void (GLAPIENTRY *PFNGLMULTIDRAWARRAYSINDIRECTAMDPROC)(GLenum mode, const void * indirect, GLsizei primcount, GLsizei stride); typedef void (GLAPIENTRY *PFNGLMULTIDRAWARRAYSINDIRECTBINDLESSCOUNTNVPROC)(GLenum mode, const void * indirect, GLsizei drawCount, GLsizei maxDrawCount, GLsizei stride, GLint vertexBufferCount); typedef void (GLAPIENTRY *PFNGLMULTIDRAWARRAYSINDIRECTBINDLESSNVPROC)(GLenum mode, const void * indirect, GLsizei drawCount, GLsizei stride, GLint vertexBufferCount); typedef void (GLAPIENTRY *PFNGLMULTIDRAWARRAYSINDIRECTCOUNTPROC)(GLenum mode, const void * indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); typedef void (GLAPIENTRY *PFNGLMULTIDRAWARRAYSINDIRECTCOUNTARBPROC)(GLenum mode, const void * indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); typedef void (GLAPIENTRY *PFNGLMULTIDRAWARRAYSINDIRECTEXTPROC)(GLenum mode, const void * indirect, GLsizei drawcount, GLsizei stride); typedef void (GLAPIENTRY *PFNGLMULTIDRAWELEMENTARRAYAPPLEPROC)(GLenum mode, const GLint * first, const GLsizei * count, GLsizei primcount); typedef void (GLAPIENTRY *PFNGLMULTIDRAWELEMENTSPROC)(GLenum mode, const GLsizei * count, GLenum type, const void *const* indices, GLsizei drawcount); typedef void (GLAPIENTRY *PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC)(GLenum mode, const GLsizei * count, GLenum type, const void *const* indices, GLsizei drawcount, const GLint * basevertex); typedef void (GLAPIENTRY *PFNGLMULTIDRAWELEMENTSBASEVERTEXEXTPROC)(GLenum mode, const GLsizei * count, GLenum type, const void *const* indices, GLsizei primcount, const GLint * basevertex); typedef void (GLAPIENTRY *PFNGLMULTIDRAWELEMENTSEXTPROC)(GLenum mode, const GLsizei * count, GLenum type, const void *const* indices, GLsizei primcount); typedef void (GLAPIENTRY *PFNGLMULTIDRAWELEMENTSINDIRECTPROC)(GLenum mode, GLenum type, const void * indirect, GLsizei drawcount, GLsizei stride); typedef void (GLAPIENTRY *PFNGLMULTIDRAWELEMENTSINDIRECTAMDPROC)(GLenum mode, GLenum type, const void * indirect, GLsizei primcount, GLsizei stride); typedef void (GLAPIENTRY *PFNGLMULTIDRAWELEMENTSINDIRECTBINDLESSCOUNTNVPROC)(GLenum mode, GLenum type, const void * indirect, GLsizei drawCount, GLsizei maxDrawCount, GLsizei stride, GLint vertexBufferCount); typedef void (GLAPIENTRY *PFNGLMULTIDRAWELEMENTSINDIRECTBINDLESSNVPROC)(GLenum mode, GLenum type, const void * indirect, GLsizei drawCount, GLsizei stride, GLint vertexBufferCount); typedef void (GLAPIENTRY *PFNGLMULTIDRAWELEMENTSINDIRECTCOUNTPROC)(GLenum mode, GLenum type, const void * indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); typedef void (GLAPIENTRY *PFNGLMULTIDRAWELEMENTSINDIRECTCOUNTARBPROC)(GLenum mode, GLenum type, const void * indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); typedef void (GLAPIENTRY *PFNGLMULTIDRAWELEMENTSINDIRECTEXTPROC)(GLenum mode, GLenum type, const void * indirect, GLsizei drawcount, GLsizei stride); typedef void (GLAPIENTRY *PFNGLMULTIDRAWMESHTASKSINDIRECTCOUNTNVPROC)(GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); typedef void (GLAPIENTRY *PFNGLMULTIDRAWMESHTASKSINDIRECTNVPROC)(GLintptr indirect, GLsizei drawcount, GLsizei stride); typedef void (GLAPIENTRY *PFNGLMULTIDRAWRANGEELEMENTARRAYAPPLEPROC)(GLenum mode, GLuint start, GLuint end, const GLint * first, const GLsizei * count, GLsizei primcount); typedef void (GLAPIENTRY *PFNGLMULTIMODEDRAWARRAYSIBMPROC)(const GLenum * mode, const GLint * first, const GLsizei * count, GLsizei primcount, GLint modestride); typedef void (GLAPIENTRY *PFNGLMULTIMODEDRAWELEMENTSIBMPROC)(const GLenum * mode, const GLsizei * count, GLenum type, const void *const* indices, GLsizei primcount, GLint modestride); typedef void (GLAPIENTRY *PFNGLMULTITEXBUFFEREXTPROC)(GLenum texunit, GLenum target, GLenum internalformat, GLuint buffer); typedef void (GLAPIENTRY *PFNGLMULTITEXCOORD1BOESPROC)(GLenum texture, GLbyte s); typedef void (GLAPIENTRY *PFNGLMULTITEXCOORD1BVOESPROC)(GLenum texture, const GLbyte * coords); typedef void (GLAPIENTRY *PFNGLMULTITEXCOORD1DPROC)(GLenum target, GLdouble s); typedef void (GLAPIENTRY *PFNGLMULTITEXCOORD1DARBPROC)(GLenum target, GLdouble s); typedef void (GLAPIENTRY *PFNGLMULTITEXCOORD1DVPROC)(GLenum target, const GLdouble * v); typedef void (GLAPIENTRY *PFNGLMULTITEXCOORD1DVARBPROC)(GLenum target, const GLdouble * v); typedef void (GLAPIENTRY *PFNGLMULTITEXCOORD1FPROC)(GLenum target, GLfloat s); typedef void (GLAPIENTRY *PFNGLMULTITEXCOORD1FARBPROC)(GLenum target, GLfloat s); typedef void (GLAPIENTRY *PFNGLMULTITEXCOORD1FVPROC)(GLenum target, const GLfloat * v); typedef void (GLAPIENTRY *PFNGLMULTITEXCOORD1FVARBPROC)(GLenum target, const GLfloat * v); typedef void (GLAPIENTRY *PFNGLMULTITEXCOORD1HNVPROC)(GLenum target, GLhalfNV s); typedef void (GLAPIENTRY *PFNGLMULTITEXCOORD1HVNVPROC)(GLenum target, const GLhalfNV * v); typedef void (GLAPIENTRY *PFNGLMULTITEXCOORD1IPROC)(GLenum target, GLint s); typedef void (GLAPIENTRY *PFNGLMULTITEXCOORD1IARBPROC)(GLenum target, GLint s); typedef void (GLAPIENTRY *PFNGLMULTITEXCOORD1IVPROC)(GLenum target, const GLint * v); typedef void (GLAPIENTRY *PFNGLMULTITEXCOORD1IVARBPROC)(GLenum target, const GLint * v); typedef void (GLAPIENTRY *PFNGLMULTITEXCOORD1SPROC)(GLenum target, GLshort s); typedef void (GLAPIENTRY *PFNGLMULTITEXCOORD1SARBPROC)(GLenum target, GLshort s); typedef void (GLAPIENTRY *PFNGLMULTITEXCOORD1SVPROC)(GLenum target, const GLshort * v); typedef void (GLAPIENTRY *PFNGLMULTITEXCOORD1SVARBPROC)(GLenum target, const GLshort * v); typedef void (GLAPIENTRY *PFNGLMULTITEXCOORD1XOESPROC)(GLenum texture, GLfixed s); typedef void (GLAPIENTRY *PFNGLMULTITEXCOORD1XVOESPROC)(GLenum texture, const GLfixed * coords); typedef void (GLAPIENTRY *PFNGLMULTITEXCOORD2BOESPROC)(GLenum texture, GLbyte s, GLbyte t); typedef void (GLAPIENTRY *PFNGLMULTITEXCOORD2BVOESPROC)(GLenum texture, const GLbyte * coords); typedef void (GLAPIENTRY *PFNGLMULTITEXCOORD2DPROC)(GLenum target, GLdouble s, GLdouble t); typedef void (GLAPIENTRY *PFNGLMULTITEXCOORD2DARBPROC)(GLenum target, GLdouble s, GLdouble t); typedef void (GLAPIENTRY *PFNGLMULTITEXCOORD2DVPROC)(GLenum target, const GLdouble * v); typedef void (GLAPIENTRY *PFNGLMULTITEXCOORD2DVARBPROC)(GLenum target, const GLdouble * v); typedef void (GLAPIENTRY *PFNGLMULTITEXCOORD2FPROC)(GLenum target, GLfloat s, GLfloat t); typedef void (GLAPIENTRY *PFNGLMULTITEXCOORD2FARBPROC)(GLenum target, GLfloat s, GLfloat t); typedef void (GLAPIENTRY *PFNGLMULTITEXCOORD2FVPROC)(GLenum target, const GLfloat * v); typedef void (GLAPIENTRY *PFNGLMULTITEXCOORD2FVARBPROC)(GLenum target, const GLfloat * v); typedef void (GLAPIENTRY *PFNGLMULTITEXCOORD2HNVPROC)(GLenum target, GLhalfNV s, GLhalfNV t); typedef void (GLAPIENTRY *PFNGLMULTITEXCOORD2HVNVPROC)(GLenum target, const GLhalfNV * v); typedef void (GLAPIENTRY *PFNGLMULTITEXCOORD2IPROC)(GLenum target, GLint s, GLint t); typedef void (GLAPIENTRY *PFNGLMULTITEXCOORD2IARBPROC)(GLenum target, GLint s, GLint t); typedef void (GLAPIENTRY *PFNGLMULTITEXCOORD2IVPROC)(GLenum target, const GLint * v); typedef void (GLAPIENTRY *PFNGLMULTITEXCOORD2IVARBPROC)(GLenum target, const GLint * v); typedef void (GLAPIENTRY *PFNGLMULTITEXCOORD2SPROC)(GLenum target, GLshort s, GLshort t); typedef void (GLAPIENTRY *PFNGLMULTITEXCOORD2SARBPROC)(GLenum target, GLshort s, GLshort t); typedef void (GLAPIENTRY *PFNGLMULTITEXCOORD2SVPROC)(GLenum target, const GLshort * v); typedef void (GLAPIENTRY *PFNGLMULTITEXCOORD2SVARBPROC)(GLenum target, const GLshort * v); typedef void (GLAPIENTRY *PFNGLMULTITEXCOORD2XOESPROC)(GLenum texture, GLfixed s, GLfixed t); typedef void (GLAPIENTRY *PFNGLMULTITEXCOORD2XVOESPROC)(GLenum texture, const GLfixed * coords); typedef void (GLAPIENTRY *PFNGLMULTITEXCOORD3BOESPROC)(GLenum texture, GLbyte s, GLbyte t, GLbyte r); typedef void (GLAPIENTRY *PFNGLMULTITEXCOORD3BVOESPROC)(GLenum texture, const GLbyte * coords); typedef void (GLAPIENTRY *PFNGLMULTITEXCOORD3DPROC)(GLenum target, GLdouble s, GLdouble t, GLdouble r); typedef void (GLAPIENTRY *PFNGLMULTITEXCOORD3DARBPROC)(GLenum target, GLdouble s, GLdouble t, GLdouble r); typedef void (GLAPIENTRY *PFNGLMULTITEXCOORD3DVPROC)(GLenum target, const GLdouble * v); typedef void (GLAPIENTRY *PFNGLMULTITEXCOORD3DVARBPROC)(GLenum target, const GLdouble * v); typedef void (GLAPIENTRY *PFNGLMULTITEXCOORD3FPROC)(GLenum target, GLfloat s, GLfloat t, GLfloat r); typedef void (GLAPIENTRY *PFNGLMULTITEXCOORD3FARBPROC)(GLenum target, GLfloat s, GLfloat t, GLfloat r); typedef void (GLAPIENTRY *PFNGLMULTITEXCOORD3FVPROC)(GLenum target, const GLfloat * v); typedef void (GLAPIENTRY *PFNGLMULTITEXCOORD3FVARBPROC)(GLenum target, const GLfloat * v); typedef void (GLAPIENTRY *PFNGLMULTITEXCOORD3HNVPROC)(GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r); typedef void (GLAPIENTRY *PFNGLMULTITEXCOORD3HVNVPROC)(GLenum target, const GLhalfNV * v); typedef void (GLAPIENTRY *PFNGLMULTITEXCOORD3IPROC)(GLenum target, GLint s, GLint t, GLint r); typedef void (GLAPIENTRY *PFNGLMULTITEXCOORD3IARBPROC)(GLenum target, GLint s, GLint t, GLint r); typedef void (GLAPIENTRY *PFNGLMULTITEXCOORD3IVPROC)(GLenum target, const GLint * v); typedef void (GLAPIENTRY *PFNGLMULTITEXCOORD3IVARBPROC)(GLenum target, const GLint * v); typedef void (GLAPIENTRY *PFNGLMULTITEXCOORD3SPROC)(GLenum target, GLshort s, GLshort t, GLshort r); typedef void (GLAPIENTRY *PFNGLMULTITEXCOORD3SARBPROC)(GLenum target, GLshort s, GLshort t, GLshort r); typedef void (GLAPIENTRY *PFNGLMULTITEXCOORD3SVPROC)(GLenum target, const GLshort * v); typedef void (GLAPIENTRY *PFNGLMULTITEXCOORD3SVARBPROC)(GLenum target, const GLshort * v); typedef void (GLAPIENTRY *PFNGLMULTITEXCOORD3XOESPROC)(GLenum texture, GLfixed s, GLfixed t, GLfixed r); typedef void (GLAPIENTRY *PFNGLMULTITEXCOORD3XVOESPROC)(GLenum texture, const GLfixed * coords); typedef void (GLAPIENTRY *PFNGLMULTITEXCOORD4BOESPROC)(GLenum texture, GLbyte s, GLbyte t, GLbyte r, GLbyte q); typedef void (GLAPIENTRY *PFNGLMULTITEXCOORD4BVOESPROC)(GLenum texture, const GLbyte * coords); typedef void (GLAPIENTRY *PFNGLMULTITEXCOORD4DPROC)(GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q); typedef void (GLAPIENTRY *PFNGLMULTITEXCOORD4DARBPROC)(GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q); typedef void (GLAPIENTRY *PFNGLMULTITEXCOORD4DVPROC)(GLenum target, const GLdouble * v); typedef void (GLAPIENTRY *PFNGLMULTITEXCOORD4DVARBPROC)(GLenum target, const GLdouble * v); typedef void (GLAPIENTRY *PFNGLMULTITEXCOORD4FPROC)(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q); typedef void (GLAPIENTRY *PFNGLMULTITEXCOORD4FARBPROC)(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q); typedef void (GLAPIENTRY *PFNGLMULTITEXCOORD4FVPROC)(GLenum target, const GLfloat * v); typedef void (GLAPIENTRY *PFNGLMULTITEXCOORD4FVARBPROC)(GLenum target, const GLfloat * v); typedef void (GLAPIENTRY *PFNGLMULTITEXCOORD4HNVPROC)(GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q); typedef void (GLAPIENTRY *PFNGLMULTITEXCOORD4HVNVPROC)(GLenum target, const GLhalfNV * v); typedef void (GLAPIENTRY *PFNGLMULTITEXCOORD4IPROC)(GLenum target, GLint s, GLint t, GLint r, GLint q); typedef void (GLAPIENTRY *PFNGLMULTITEXCOORD4IARBPROC)(GLenum target, GLint s, GLint t, GLint r, GLint q); typedef void (GLAPIENTRY *PFNGLMULTITEXCOORD4IVPROC)(GLenum target, const GLint * v); typedef void (GLAPIENTRY *PFNGLMULTITEXCOORD4IVARBPROC)(GLenum target, const GLint * v); typedef void (GLAPIENTRY *PFNGLMULTITEXCOORD4SPROC)(GLenum target, GLshort s, GLshort t, GLshort r, GLshort q); typedef void (GLAPIENTRY *PFNGLMULTITEXCOORD4SARBPROC)(GLenum target, GLshort s, GLshort t, GLshort r, GLshort q); typedef void (GLAPIENTRY *PFNGLMULTITEXCOORD4SVPROC)(GLenum target, const GLshort * v); typedef void (GLAPIENTRY *PFNGLMULTITEXCOORD4SVARBPROC)(GLenum target, const GLshort * v); typedef void (GLAPIENTRY *PFNGLMULTITEXCOORD4XPROC)(GLenum texture, GLfixed s, GLfixed t, GLfixed r, GLfixed q); typedef void (GLAPIENTRY *PFNGLMULTITEXCOORD4XOESPROC)(GLenum texture, GLfixed s, GLfixed t, GLfixed r, GLfixed q); typedef void (GLAPIENTRY *PFNGLMULTITEXCOORD4XVOESPROC)(GLenum texture, const GLfixed * coords); typedef void (GLAPIENTRY *PFNGLMULTITEXCOORDP1UIPROC)(GLenum texture, GLenum type, GLuint coords); typedef void (GLAPIENTRY *PFNGLMULTITEXCOORDP1UIVPROC)(GLenum texture, GLenum type, const GLuint * coords); typedef void (GLAPIENTRY *PFNGLMULTITEXCOORDP2UIPROC)(GLenum texture, GLenum type, GLuint coords); typedef void (GLAPIENTRY *PFNGLMULTITEXCOORDP2UIVPROC)(GLenum texture, GLenum type, const GLuint * coords); typedef void (GLAPIENTRY *PFNGLMULTITEXCOORDP3UIPROC)(GLenum texture, GLenum type, GLuint coords); typedef void (GLAPIENTRY *PFNGLMULTITEXCOORDP3UIVPROC)(GLenum texture, GLenum type, const GLuint * coords); typedef void (GLAPIENTRY *PFNGLMULTITEXCOORDP4UIPROC)(GLenum texture, GLenum type, GLuint coords); typedef void (GLAPIENTRY *PFNGLMULTITEXCOORDP4UIVPROC)(GLenum texture, GLenum type, const GLuint * coords); typedef void (GLAPIENTRY *PFNGLMULTITEXCOORDPOINTEREXTPROC)(GLenum texunit, GLint size, GLenum type, GLsizei stride, const void * pointer); typedef void (GLAPIENTRY *PFNGLMULTITEXENVFEXTPROC)(GLenum texunit, GLenum target, GLenum pname, GLfloat param); typedef void (GLAPIENTRY *PFNGLMULTITEXENVFVEXTPROC)(GLenum texunit, GLenum target, GLenum pname, const GLfloat * params); typedef void (GLAPIENTRY *PFNGLMULTITEXENVIEXTPROC)(GLenum texunit, GLenum target, GLenum pname, GLint param); typedef void (GLAPIENTRY *PFNGLMULTITEXENVIVEXTPROC)(GLenum texunit, GLenum target, GLenum pname, const GLint * params); typedef void (GLAPIENTRY *PFNGLMULTITEXGENDEXTPROC)(GLenum texunit, GLenum coord, GLenum pname, GLdouble param); typedef void (GLAPIENTRY *PFNGLMULTITEXGENDVEXTPROC)(GLenum texunit, GLenum coord, GLenum pname, const GLdouble * params); typedef void (GLAPIENTRY *PFNGLMULTITEXGENFEXTPROC)(GLenum texunit, GLenum coord, GLenum pname, GLfloat param); typedef void (GLAPIENTRY *PFNGLMULTITEXGENFVEXTPROC)(GLenum texunit, GLenum coord, GLenum pname, const GLfloat * params); typedef void (GLAPIENTRY *PFNGLMULTITEXGENIEXTPROC)(GLenum texunit, GLenum coord, GLenum pname, GLint param); typedef void (GLAPIENTRY *PFNGLMULTITEXGENIVEXTPROC)(GLenum texunit, GLenum coord, GLenum pname, const GLint * params); typedef void (GLAPIENTRY *PFNGLMULTITEXIMAGE1DEXTPROC)(GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void * pixels); typedef void (GLAPIENTRY *PFNGLMULTITEXIMAGE2DEXTPROC)(GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void * pixels); typedef void (GLAPIENTRY *PFNGLMULTITEXIMAGE3DEXTPROC)(GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void * pixels); typedef void (GLAPIENTRY *PFNGLMULTITEXPARAMETERIIVEXTPROC)(GLenum texunit, GLenum target, GLenum pname, const GLint * params); typedef void (GLAPIENTRY *PFNGLMULTITEXPARAMETERIUIVEXTPROC)(GLenum texunit, GLenum target, GLenum pname, const GLuint * params); typedef void (GLAPIENTRY *PFNGLMULTITEXPARAMETERFEXTPROC)(GLenum texunit, GLenum target, GLenum pname, GLfloat param); typedef void (GLAPIENTRY *PFNGLMULTITEXPARAMETERFVEXTPROC)(GLenum texunit, GLenum target, GLenum pname, const GLfloat * params); typedef void (GLAPIENTRY *PFNGLMULTITEXPARAMETERIEXTPROC)(GLenum texunit, GLenum target, GLenum pname, GLint param); typedef void (GLAPIENTRY *PFNGLMULTITEXPARAMETERIVEXTPROC)(GLenum texunit, GLenum target, GLenum pname, const GLint * params); typedef void (GLAPIENTRY *PFNGLMULTITEXRENDERBUFFEREXTPROC)(GLenum texunit, GLenum target, GLuint renderbuffer); typedef void (GLAPIENTRY *PFNGLMULTITEXSUBIMAGE1DEXTPROC)(GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void * pixels); typedef void (GLAPIENTRY *PFNGLMULTITEXSUBIMAGE2DEXTPROC)(GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void * pixels); typedef void (GLAPIENTRY *PFNGLMULTITEXSUBIMAGE3DEXTPROC)(GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void * pixels); typedef void (GLAPIENTRY *PFNGLMULTICASTBARRIERNVPROC)(void); typedef void (GLAPIENTRY *PFNGLMULTICASTBLITFRAMEBUFFERNVPROC)(GLuint srcGpu, GLuint dstGpu, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); typedef void (GLAPIENTRY *PFNGLMULTICASTBUFFERSUBDATANVPROC)(GLbitfield gpuMask, GLuint buffer, GLintptr offset, GLsizeiptr size, const void * data); typedef void (GLAPIENTRY *PFNGLMULTICASTCOPYBUFFERSUBDATANVPROC)(GLuint readGpu, GLbitfield writeGpuMask, GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); typedef void (GLAPIENTRY *PFNGLMULTICASTCOPYIMAGESUBDATANVPROC)(GLuint srcGpu, GLbitfield dstGpuMask, GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth); typedef void (GLAPIENTRY *PFNGLMULTICASTFRAMEBUFFERSAMPLELOCATIONSFVNVPROC)(GLuint gpu, GLuint framebuffer, GLuint start, GLsizei count, const GLfloat * v); typedef void (GLAPIENTRY *PFNGLMULTICASTGETQUERYOBJECTI64VNVPROC)(GLuint gpu, GLuint id, GLenum pname, GLint64 * params); typedef void (GLAPIENTRY *PFNGLMULTICASTGETQUERYOBJECTIVNVPROC)(GLuint gpu, GLuint id, GLenum pname, GLint * params); typedef void (GLAPIENTRY *PFNGLMULTICASTGETQUERYOBJECTUI64VNVPROC)(GLuint gpu, GLuint id, GLenum pname, GLuint64 * params); typedef void (GLAPIENTRY *PFNGLMULTICASTGETQUERYOBJECTUIVNVPROC)(GLuint gpu, GLuint id, GLenum pname, GLuint * params); typedef void (GLAPIENTRY *PFNGLMULTICASTSCISSORARRAYVNVXPROC)(GLuint gpu, GLuint first, GLsizei count, const GLint * v); typedef void (GLAPIENTRY *PFNGLMULTICASTVIEWPORTARRAYVNVXPROC)(GLuint gpu, GLuint first, GLsizei count, const GLfloat * v); typedef void (GLAPIENTRY *PFNGLMULTICASTVIEWPORTPOSITIONWSCALENVXPROC)(GLuint gpu, GLuint index, GLfloat xcoeff, GLfloat ycoeff); typedef void (GLAPIENTRY *PFNGLMULTICASTWAITSYNCNVPROC)(GLuint signalGpu, GLbitfield waitGpuMask); typedef void (GLAPIENTRY *PFNGLNAMEDBUFFERATTACHMEMORYNVPROC)(GLuint buffer, GLuint memory, GLuint64 offset); typedef void (GLAPIENTRY *PFNGLNAMEDBUFFERDATAPROC)(GLuint buffer, GLsizeiptr size, const void * data, GLenum usage); typedef void (GLAPIENTRY *PFNGLNAMEDBUFFERDATAEXTPROC)(GLuint buffer, GLsizeiptr size, const void * data, GLenum usage); typedef void (GLAPIENTRY *PFNGLNAMEDBUFFERPAGECOMMITMENTARBPROC)(GLuint buffer, GLintptr offset, GLsizeiptr size, GLboolean commit); typedef void (GLAPIENTRY *PFNGLNAMEDBUFFERPAGECOMMITMENTEXTPROC)(GLuint buffer, GLintptr offset, GLsizeiptr size, GLboolean commit); typedef void (GLAPIENTRY *PFNGLNAMEDBUFFERSTORAGEPROC)(GLuint buffer, GLsizeiptr size, const void * data, GLbitfield flags); typedef void (GLAPIENTRY *PFNGLNAMEDBUFFERSTORAGEEXTPROC)(GLuint buffer, GLsizeiptr size, const void * data, GLbitfield flags); typedef void (GLAPIENTRY *PFNGLNAMEDBUFFERSTORAGEEXTERNALEXTPROC)(GLuint buffer, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags); typedef void (GLAPIENTRY *PFNGLNAMEDBUFFERSTORAGEMEMEXTPROC)(GLuint buffer, GLsizeiptr size, GLuint memory, GLuint64 offset); typedef void (GLAPIENTRY *PFNGLNAMEDBUFFERSUBDATAPROC)(GLuint buffer, GLintptr offset, GLsizeiptr size, const void * data); typedef void (GLAPIENTRY *PFNGLNAMEDBUFFERSUBDATAEXTPROC)(GLuint buffer, GLintptr offset, GLsizeiptr size, const void * data); typedef void (GLAPIENTRY *PFNGLNAMEDCOPYBUFFERSUBDATAEXTPROC)(GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); typedef void (GLAPIENTRY *PFNGLNAMEDFRAMEBUFFERDRAWBUFFERPROC)(GLuint framebuffer, GLenum buf); typedef void (GLAPIENTRY *PFNGLNAMEDFRAMEBUFFERDRAWBUFFERSPROC)(GLuint framebuffer, GLsizei n, const GLenum * bufs); typedef void (GLAPIENTRY *PFNGLNAMEDFRAMEBUFFERPARAMETERIPROC)(GLuint framebuffer, GLenum pname, GLint param); typedef void (GLAPIENTRY *PFNGLNAMEDFRAMEBUFFERPARAMETERIEXTPROC)(GLuint framebuffer, GLenum pname, GLint param); typedef void (GLAPIENTRY *PFNGLNAMEDFRAMEBUFFERREADBUFFERPROC)(GLuint framebuffer, GLenum src); typedef void (GLAPIENTRY *PFNGLNAMEDFRAMEBUFFERRENDERBUFFERPROC)(GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); typedef void (GLAPIENTRY *PFNGLNAMEDFRAMEBUFFERRENDERBUFFEREXTPROC)(GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); typedef void (GLAPIENTRY *PFNGLNAMEDFRAMEBUFFERSAMPLELOCATIONSFVARBPROC)(GLuint framebuffer, GLuint start, GLsizei count, const GLfloat * v); typedef void (GLAPIENTRY *PFNGLNAMEDFRAMEBUFFERSAMPLELOCATIONSFVNVPROC)(GLuint framebuffer, GLuint start, GLsizei count, const GLfloat * v); typedef void (GLAPIENTRY *PFNGLNAMEDFRAMEBUFFERSAMPLEPOSITIONSFVAMDPROC)(GLuint framebuffer, GLuint numsamples, GLuint pixelindex, const GLfloat * values); typedef void (GLAPIENTRY *PFNGLNAMEDFRAMEBUFFERTEXTUREPROC)(GLuint framebuffer, GLenum attachment, GLuint texture, GLint level); typedef void (GLAPIENTRY *PFNGLNAMEDFRAMEBUFFERTEXTURE1DEXTPROC)(GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level); typedef void (GLAPIENTRY *PFNGLNAMEDFRAMEBUFFERTEXTURE2DEXTPROC)(GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level); typedef void (GLAPIENTRY *PFNGLNAMEDFRAMEBUFFERTEXTURE3DEXTPROC)(GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); typedef void (GLAPIENTRY *PFNGLNAMEDFRAMEBUFFERTEXTUREEXTPROC)(GLuint framebuffer, GLenum attachment, GLuint texture, GLint level); typedef void (GLAPIENTRY *PFNGLNAMEDFRAMEBUFFERTEXTUREFACEEXTPROC)(GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLenum face); typedef void (GLAPIENTRY *PFNGLNAMEDFRAMEBUFFERTEXTURELAYERPROC)(GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer); typedef void (GLAPIENTRY *PFNGLNAMEDFRAMEBUFFERTEXTURELAYEREXTPROC)(GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer); typedef void (GLAPIENTRY *PFNGLNAMEDPROGRAMLOCALPARAMETER4DEXTPROC)(GLuint program, GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); typedef void (GLAPIENTRY *PFNGLNAMEDPROGRAMLOCALPARAMETER4DVEXTPROC)(GLuint program, GLenum target, GLuint index, const GLdouble * params); typedef void (GLAPIENTRY *PFNGLNAMEDPROGRAMLOCALPARAMETER4FEXTPROC)(GLuint program, GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); typedef void (GLAPIENTRY *PFNGLNAMEDPROGRAMLOCALPARAMETER4FVEXTPROC)(GLuint program, GLenum target, GLuint index, const GLfloat * params); typedef void (GLAPIENTRY *PFNGLNAMEDPROGRAMLOCALPARAMETERI4IEXTPROC)(GLuint program, GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w); typedef void (GLAPIENTRY *PFNGLNAMEDPROGRAMLOCALPARAMETERI4IVEXTPROC)(GLuint program, GLenum target, GLuint index, const GLint * params); typedef void (GLAPIENTRY *PFNGLNAMEDPROGRAMLOCALPARAMETERI4UIEXTPROC)(GLuint program, GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); typedef void (GLAPIENTRY *PFNGLNAMEDPROGRAMLOCALPARAMETERI4UIVEXTPROC)(GLuint program, GLenum target, GLuint index, const GLuint * params); typedef void (GLAPIENTRY *PFNGLNAMEDPROGRAMLOCALPARAMETERS4FVEXTPROC)(GLuint program, GLenum target, GLuint index, GLsizei count, const GLfloat * params); typedef void (GLAPIENTRY *PFNGLNAMEDPROGRAMLOCALPARAMETERSI4IVEXTPROC)(GLuint program, GLenum target, GLuint index, GLsizei count, const GLint * params); typedef void (GLAPIENTRY *PFNGLNAMEDPROGRAMLOCALPARAMETERSI4UIVEXTPROC)(GLuint program, GLenum target, GLuint index, GLsizei count, const GLuint * params); typedef void (GLAPIENTRY *PFNGLNAMEDPROGRAMSTRINGEXTPROC)(GLuint program, GLenum target, GLenum format, GLsizei len, const void * string); typedef void (GLAPIENTRY *PFNGLNAMEDRENDERBUFFERSTORAGEPROC)(GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height); typedef void (GLAPIENTRY *PFNGLNAMEDRENDERBUFFERSTORAGEEXTPROC)(GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height); typedef void (GLAPIENTRY *PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEPROC)(GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); typedef void (GLAPIENTRY *PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC)(GLuint renderbuffer, GLsizei samples, GLsizei storageSamples, GLenum internalformat, GLsizei width, GLsizei height); typedef void (GLAPIENTRY *PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLECOVERAGEEXTPROC)(GLuint renderbuffer, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height); typedef void (GLAPIENTRY *PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC)(GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); typedef void (GLAPIENTRY *PFNGLNAMEDSTRINGARBPROC)(GLenum type, GLint namelen, const GLchar * name, GLint stringlen, const GLchar * string); typedef void (GLAPIENTRY *PFNGLNEWLISTPROC)(GLuint list, GLenum mode); typedef GLuint (GLAPIENTRY *PFNGLNEWOBJECTBUFFERATIPROC)(GLsizei size, const void * pointer, GLenum usage); typedef void (GLAPIENTRY *PFNGLNORMAL3BPROC)(GLbyte nx, GLbyte ny, GLbyte nz); typedef void (GLAPIENTRY *PFNGLNORMAL3BVPROC)(const GLbyte * v); typedef void (GLAPIENTRY *PFNGLNORMAL3DPROC)(GLdouble nx, GLdouble ny, GLdouble nz); typedef void (GLAPIENTRY *PFNGLNORMAL3DVPROC)(const GLdouble * v); typedef void (GLAPIENTRY *PFNGLNORMAL3FPROC)(GLfloat nx, GLfloat ny, GLfloat nz); typedef void (GLAPIENTRY *PFNGLNORMAL3FVERTEX3FSUNPROC)(GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); typedef void (GLAPIENTRY *PFNGLNORMAL3FVERTEX3FVSUNPROC)(const GLfloat * n, const GLfloat * v); typedef void (GLAPIENTRY *PFNGLNORMAL3FVPROC)(const GLfloat * v); typedef void (GLAPIENTRY *PFNGLNORMAL3HNVPROC)(GLhalfNV nx, GLhalfNV ny, GLhalfNV nz); typedef void (GLAPIENTRY *PFNGLNORMAL3HVNVPROC)(const GLhalfNV * v); typedef void (GLAPIENTRY *PFNGLNORMAL3IPROC)(GLint nx, GLint ny, GLint nz); typedef void (GLAPIENTRY *PFNGLNORMAL3IVPROC)(const GLint * v); typedef void (GLAPIENTRY *PFNGLNORMAL3SPROC)(GLshort nx, GLshort ny, GLshort nz); typedef void (GLAPIENTRY *PFNGLNORMAL3SVPROC)(const GLshort * v); typedef void (GLAPIENTRY *PFNGLNORMAL3XPROC)(GLfixed nx, GLfixed ny, GLfixed nz); typedef void (GLAPIENTRY *PFNGLNORMAL3XOESPROC)(GLfixed nx, GLfixed ny, GLfixed nz); typedef void (GLAPIENTRY *PFNGLNORMAL3XVOESPROC)(const GLfixed * coords); typedef void (GLAPIENTRY *PFNGLNORMALFORMATNVPROC)(GLenum type, GLsizei stride); typedef void (GLAPIENTRY *PFNGLNORMALP3UIPROC)(GLenum type, GLuint coords); typedef void (GLAPIENTRY *PFNGLNORMALP3UIVPROC)(GLenum type, const GLuint * coords); typedef void (GLAPIENTRY *PFNGLNORMALPOINTERPROC)(GLenum type, GLsizei stride, const void * pointer); typedef void (GLAPIENTRY *PFNGLNORMALPOINTEREXTPROC)(GLenum type, GLsizei stride, GLsizei count, const void * pointer); typedef void (GLAPIENTRY *PFNGLNORMALPOINTERLISTIBMPROC)(GLenum type, GLint stride, const void ** pointer, GLint ptrstride); typedef void (GLAPIENTRY *PFNGLNORMALPOINTERVINTELPROC)(GLenum type, const void ** pointer); typedef void (GLAPIENTRY *PFNGLNORMALSTREAM3BATIPROC)(GLenum stream, GLbyte nx, GLbyte ny, GLbyte nz); typedef void (GLAPIENTRY *PFNGLNORMALSTREAM3BVATIPROC)(GLenum stream, const GLbyte * coords); typedef void (GLAPIENTRY *PFNGLNORMALSTREAM3DATIPROC)(GLenum stream, GLdouble nx, GLdouble ny, GLdouble nz); typedef void (GLAPIENTRY *PFNGLNORMALSTREAM3DVATIPROC)(GLenum stream, const GLdouble * coords); typedef void (GLAPIENTRY *PFNGLNORMALSTREAM3FATIPROC)(GLenum stream, GLfloat nx, GLfloat ny, GLfloat nz); typedef void (GLAPIENTRY *PFNGLNORMALSTREAM3FVATIPROC)(GLenum stream, const GLfloat * coords); typedef void (GLAPIENTRY *PFNGLNORMALSTREAM3IATIPROC)(GLenum stream, GLint nx, GLint ny, GLint nz); typedef void (GLAPIENTRY *PFNGLNORMALSTREAM3IVATIPROC)(GLenum stream, const GLint * coords); typedef void (GLAPIENTRY *PFNGLNORMALSTREAM3SATIPROC)(GLenum stream, GLshort nx, GLshort ny, GLshort nz); typedef void (GLAPIENTRY *PFNGLNORMALSTREAM3SVATIPROC)(GLenum stream, const GLshort * coords); typedef void (GLAPIENTRY *PFNGLOBJECTLABELPROC)(GLenum identifier, GLuint name, GLsizei length, const GLchar * label); typedef void (GLAPIENTRY *PFNGLOBJECTLABELKHRPROC)(GLenum identifier, GLuint name, GLsizei length, const GLchar * label); typedef void (GLAPIENTRY *PFNGLOBJECTPTRLABELPROC)(const void * ptr, GLsizei length, const GLchar * label); typedef void (GLAPIENTRY *PFNGLOBJECTPTRLABELKHRPROC)(const void * ptr, GLsizei length, const GLchar * label); typedef GLenum (GLAPIENTRY *PFNGLOBJECTPURGEABLEAPPLEPROC)(GLenum objectType, GLuint name, GLenum option); typedef GLenum (GLAPIENTRY *PFNGLOBJECTUNPURGEABLEAPPLEPROC)(GLenum objectType, GLuint name, GLenum option); typedef void (GLAPIENTRY *PFNGLORTHOPROC)(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar); typedef void (GLAPIENTRY *PFNGLORTHOFPROC)(GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f); typedef void (GLAPIENTRY *PFNGLORTHOFOESPROC)(GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f); typedef void (GLAPIENTRY *PFNGLORTHOXPROC)(GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f); typedef void (GLAPIENTRY *PFNGLORTHOXOESPROC)(GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f); typedef void (GLAPIENTRY *PFNGLPNTRIANGLESFATIPROC)(GLenum pname, GLfloat param); typedef void (GLAPIENTRY *PFNGLPNTRIANGLESIATIPROC)(GLenum pname, GLint param); typedef void (GLAPIENTRY *PFNGLPASSTEXCOORDATIPROC)(GLuint dst, GLuint coord, GLenum swizzle); typedef void (GLAPIENTRY *PFNGLPASSTHROUGHPROC)(GLfloat token); typedef void (GLAPIENTRY *PFNGLPASSTHROUGHXOESPROC)(GLfixed token); typedef void (GLAPIENTRY *PFNGLPATCHPARAMETERFVPROC)(GLenum pname, const GLfloat * values); typedef void (GLAPIENTRY *PFNGLPATCHPARAMETERIPROC)(GLenum pname, GLint value); typedef void (GLAPIENTRY *PFNGLPATCHPARAMETERIEXTPROC)(GLenum pname, GLint value); typedef void (GLAPIENTRY *PFNGLPATCHPARAMETERIOESPROC)(GLenum pname, GLint value); typedef void (GLAPIENTRY *PFNGLPATHCOLORGENNVPROC)(GLenum color, GLenum genMode, GLenum colorFormat, const GLfloat * coeffs); typedef void (GLAPIENTRY *PFNGLPATHCOMMANDSNVPROC)(GLuint path, GLsizei numCommands, const GLubyte * commands, GLsizei numCoords, GLenum coordType, const void * coords); typedef void (GLAPIENTRY *PFNGLPATHCOORDSNVPROC)(GLuint path, GLsizei numCoords, GLenum coordType, const void * coords); typedef void (GLAPIENTRY *PFNGLPATHCOVERDEPTHFUNCNVPROC)(GLenum func); typedef void (GLAPIENTRY *PFNGLPATHDASHARRAYNVPROC)(GLuint path, GLsizei dashCount, const GLfloat * dashArray); typedef void (GLAPIENTRY *PFNGLPATHFOGGENNVPROC)(GLenum genMode); typedef GLenum (GLAPIENTRY *PFNGLPATHGLYPHINDEXARRAYNVPROC)(GLuint firstPathName, GLenum fontTarget, const void * fontName, GLbitfield fontStyle, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale); typedef GLenum (GLAPIENTRY *PFNGLPATHGLYPHINDEXRANGENVPROC)(GLenum fontTarget, const void * fontName, GLbitfield fontStyle, GLuint pathParameterTemplate, GLfloat emScale, GLuint baseAndCount); typedef void (GLAPIENTRY *PFNGLPATHGLYPHRANGENVPROC)(GLuint firstPathName, GLenum fontTarget, const void * fontName, GLbitfield fontStyle, GLuint firstGlyph, GLsizei numGlyphs, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale); typedef void (GLAPIENTRY *PFNGLPATHGLYPHSNVPROC)(GLuint firstPathName, GLenum fontTarget, const void * fontName, GLbitfield fontStyle, GLsizei numGlyphs, GLenum type, const void * charcodes, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale); typedef GLenum (GLAPIENTRY *PFNGLPATHMEMORYGLYPHINDEXARRAYNVPROC)(GLuint firstPathName, GLenum fontTarget, GLsizeiptr fontSize, const void * fontData, GLsizei faceIndex, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale); typedef void (GLAPIENTRY *PFNGLPATHPARAMETERFNVPROC)(GLuint path, GLenum pname, GLfloat value); typedef void (GLAPIENTRY *PFNGLPATHPARAMETERFVNVPROC)(GLuint path, GLenum pname, const GLfloat * value); typedef void (GLAPIENTRY *PFNGLPATHPARAMETERINVPROC)(GLuint path, GLenum pname, GLint value); typedef void (GLAPIENTRY *PFNGLPATHPARAMETERIVNVPROC)(GLuint path, GLenum pname, const GLint * value); typedef void (GLAPIENTRY *PFNGLPATHSTENCILDEPTHOFFSETNVPROC)(GLfloat factor, GLfloat units); typedef void (GLAPIENTRY *PFNGLPATHSTENCILFUNCNVPROC)(GLenum func, GLint ref, GLuint mask); typedef void (GLAPIENTRY *PFNGLPATHSTRINGNVPROC)(GLuint path, GLenum format, GLsizei length, const void * pathString); typedef void (GLAPIENTRY *PFNGLPATHSUBCOMMANDSNVPROC)(GLuint path, GLsizei commandStart, GLsizei commandsToDelete, GLsizei numCommands, const GLubyte * commands, GLsizei numCoords, GLenum coordType, const void * coords); typedef void (GLAPIENTRY *PFNGLPATHSUBCOORDSNVPROC)(GLuint path, GLsizei coordStart, GLsizei numCoords, GLenum coordType, const void * coords); typedef void (GLAPIENTRY *PFNGLPATHTEXGENNVPROC)(GLenum texCoordSet, GLenum genMode, GLint components, const GLfloat * coeffs); typedef void (GLAPIENTRY *PFNGLPAUSETRANSFORMFEEDBACKPROC)(void); typedef void (GLAPIENTRY *PFNGLPAUSETRANSFORMFEEDBACKNVPROC)(void); typedef void (GLAPIENTRY *PFNGLPIXELDATARANGENVPROC)(GLenum target, GLsizei length, const void * pointer); typedef void (GLAPIENTRY *PFNGLPIXELMAPFVPROC)(GLenum map, GLsizei mapsize, const GLfloat * values); typedef void (GLAPIENTRY *PFNGLPIXELMAPUIVPROC)(GLenum map, GLsizei mapsize, const GLuint * values); typedef void (GLAPIENTRY *PFNGLPIXELMAPUSVPROC)(GLenum map, GLsizei mapsize, const GLushort * values); typedef void (GLAPIENTRY *PFNGLPIXELMAPXPROC)(GLenum map, GLint size, const GLfixed * values); typedef void (GLAPIENTRY *PFNGLPIXELSTOREFPROC)(GLenum pname, GLfloat param); typedef void (GLAPIENTRY *PFNGLPIXELSTOREIPROC)(GLenum pname, GLint param); typedef void (GLAPIENTRY *PFNGLPIXELSTOREXPROC)(GLenum pname, GLfixed param); typedef void (GLAPIENTRY *PFNGLPIXELTEXGENPARAMETERFSGISPROC)(GLenum pname, GLfloat param); typedef void (GLAPIENTRY *PFNGLPIXELTEXGENPARAMETERFVSGISPROC)(GLenum pname, const GLfloat * params); typedef void (GLAPIENTRY *PFNGLPIXELTEXGENPARAMETERISGISPROC)(GLenum pname, GLint param); typedef void (GLAPIENTRY *PFNGLPIXELTEXGENPARAMETERIVSGISPROC)(GLenum pname, const GLint * params); typedef void (GLAPIENTRY *PFNGLPIXELTEXGENSGIXPROC)(GLenum mode); typedef void (GLAPIENTRY *PFNGLPIXELTRANSFERFPROC)(GLenum pname, GLfloat param); typedef void (GLAPIENTRY *PFNGLPIXELTRANSFERIPROC)(GLenum pname, GLint param); typedef void (GLAPIENTRY *PFNGLPIXELTRANSFERXOESPROC)(GLenum pname, GLfixed param); typedef void (GLAPIENTRY *PFNGLPIXELTRANSFORMPARAMETERFEXTPROC)(GLenum target, GLenum pname, GLfloat param); typedef void (GLAPIENTRY *PFNGLPIXELTRANSFORMPARAMETERFVEXTPROC)(GLenum target, GLenum pname, const GLfloat * params); typedef void (GLAPIENTRY *PFNGLPIXELTRANSFORMPARAMETERIEXTPROC)(GLenum target, GLenum pname, GLint param); typedef void (GLAPIENTRY *PFNGLPIXELTRANSFORMPARAMETERIVEXTPROC)(GLenum target, GLenum pname, const GLint * params); typedef void (GLAPIENTRY *PFNGLPIXELZOOMPROC)(GLfloat xfactor, GLfloat yfactor); typedef void (GLAPIENTRY *PFNGLPIXELZOOMXOESPROC)(GLfixed xfactor, GLfixed yfactor); typedef GLboolean (GLAPIENTRY *PFNGLPOINTALONGPATHNVPROC)(GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distance, GLfloat * x, GLfloat * y, GLfloat * tangentX, GLfloat * tangentY); typedef void (GLAPIENTRY *PFNGLPOINTPARAMETERFPROC)(GLenum pname, GLfloat param); typedef void (GLAPIENTRY *PFNGLPOINTPARAMETERFARBPROC)(GLenum pname, GLfloat param); typedef void (GLAPIENTRY *PFNGLPOINTPARAMETERFEXTPROC)(GLenum pname, GLfloat param); typedef void (GLAPIENTRY *PFNGLPOINTPARAMETERFSGISPROC)(GLenum pname, GLfloat param); typedef void (GLAPIENTRY *PFNGLPOINTPARAMETERFVPROC)(GLenum pname, const GLfloat * params); typedef void (GLAPIENTRY *PFNGLPOINTPARAMETERFVARBPROC)(GLenum pname, const GLfloat * params); typedef void (GLAPIENTRY *PFNGLPOINTPARAMETERFVEXTPROC)(GLenum pname, const GLfloat * params); typedef void (GLAPIENTRY *PFNGLPOINTPARAMETERFVSGISPROC)(GLenum pname, const GLfloat * params); typedef void (GLAPIENTRY *PFNGLPOINTPARAMETERIPROC)(GLenum pname, GLint param); typedef void (GLAPIENTRY *PFNGLPOINTPARAMETERINVPROC)(GLenum pname, GLint param); typedef void (GLAPIENTRY *PFNGLPOINTPARAMETERIVPROC)(GLenum pname, const GLint * params); typedef void (GLAPIENTRY *PFNGLPOINTPARAMETERIVNVPROC)(GLenum pname, const GLint * params); typedef void (GLAPIENTRY *PFNGLPOINTPARAMETERXPROC)(GLenum pname, GLfixed param); typedef void (GLAPIENTRY *PFNGLPOINTPARAMETERXOESPROC)(GLenum pname, GLfixed param); typedef void (GLAPIENTRY *PFNGLPOINTPARAMETERXVPROC)(GLenum pname, const GLfixed * params); typedef void (GLAPIENTRY *PFNGLPOINTPARAMETERXVOESPROC)(GLenum pname, const GLfixed * params); typedef void (GLAPIENTRY *PFNGLPOINTSIZEPROC)(GLfloat size); typedef void (GLAPIENTRY *PFNGLPOINTSIZEPOINTEROESPROC)(GLenum type, GLsizei stride, const void * pointer); typedef void (GLAPIENTRY *PFNGLPOINTSIZEXPROC)(GLfixed size); typedef void (GLAPIENTRY *PFNGLPOINTSIZEXOESPROC)(GLfixed size); typedef GLint (GLAPIENTRY *PFNGLPOLLASYNCSGIXPROC)(GLuint * markerp); typedef GLint (GLAPIENTRY *PFNGLPOLLINSTRUMENTSSGIXPROC)(GLint * marker_p); typedef void (GLAPIENTRY *PFNGLPOLYGONMODEPROC)(GLenum face, GLenum mode); typedef void (GLAPIENTRY *PFNGLPOLYGONMODENVPROC)(GLenum face, GLenum mode); typedef void (GLAPIENTRY *PFNGLPOLYGONOFFSETPROC)(GLfloat factor, GLfloat units); typedef void (GLAPIENTRY *PFNGLPOLYGONOFFSETCLAMPPROC)(GLfloat factor, GLfloat units, GLfloat clamp); typedef void (GLAPIENTRY *PFNGLPOLYGONOFFSETCLAMPEXTPROC)(GLfloat factor, GLfloat units, GLfloat clamp); typedef void (GLAPIENTRY *PFNGLPOLYGONOFFSETEXTPROC)(GLfloat factor, GLfloat bias); typedef void (GLAPIENTRY *PFNGLPOLYGONOFFSETXPROC)(GLfixed factor, GLfixed units); typedef void (GLAPIENTRY *PFNGLPOLYGONOFFSETXOESPROC)(GLfixed factor, GLfixed units); typedef void (GLAPIENTRY *PFNGLPOLYGONSTIPPLEPROC)(const GLubyte * mask); typedef void (GLAPIENTRY *PFNGLPOPATTRIBPROC)(void); typedef void (GLAPIENTRY *PFNGLPOPCLIENTATTRIBPROC)(void); typedef void (GLAPIENTRY *PFNGLPOPDEBUGGROUPPROC)(void); typedef void (GLAPIENTRY *PFNGLPOPDEBUGGROUPKHRPROC)(void); typedef void (GLAPIENTRY *PFNGLPOPGROUPMARKEREXTPROC)(void); typedef void (GLAPIENTRY *PFNGLPOPMATRIXPROC)(void); typedef void (GLAPIENTRY *PFNGLPOPNAMEPROC)(void); typedef void (GLAPIENTRY *PFNGLPRESENTFRAMEDUALFILLNVPROC)(GLuint video_slot, GLuint64EXT minPresentTime, GLuint beginPresentTimeId, GLuint presentDurationId, GLenum type, GLenum target0, GLuint fill0, GLenum target1, GLuint fill1, GLenum target2, GLuint fill2, GLenum target3, GLuint fill3); typedef void (GLAPIENTRY *PFNGLPRESENTFRAMEKEYEDNVPROC)(GLuint video_slot, GLuint64EXT minPresentTime, GLuint beginPresentTimeId, GLuint presentDurationId, GLenum type, GLenum target0, GLuint fill0, GLuint key0, GLenum target1, GLuint fill1, GLuint key1); typedef void (GLAPIENTRY *PFNGLPRIMITIVEBOUNDINGBOXPROC)(GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW); typedef void (GLAPIENTRY *PFNGLPRIMITIVEBOUNDINGBOXARBPROC)(GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW); typedef void (GLAPIENTRY *PFNGLPRIMITIVEBOUNDINGBOXEXTPROC)(GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW); typedef void (GLAPIENTRY *PFNGLPRIMITIVEBOUNDINGBOXOESPROC)(GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW); typedef void (GLAPIENTRY *PFNGLPRIMITIVERESTARTINDEXPROC)(GLuint index); typedef void (GLAPIENTRY *PFNGLPRIMITIVERESTARTINDEXNVPROC)(GLuint index); typedef void (GLAPIENTRY *PFNGLPRIMITIVERESTARTNVPROC)(void); typedef void (GLAPIENTRY *PFNGLPRIORITIZETEXTURESPROC)(GLsizei n, const GLuint * textures, const GLfloat * priorities); typedef void (GLAPIENTRY *PFNGLPRIORITIZETEXTURESEXTPROC)(GLsizei n, const GLuint * textures, const GLclampf * priorities); typedef void (GLAPIENTRY *PFNGLPRIORITIZETEXTURESXOESPROC)(GLsizei n, const GLuint * textures, const GLfixed * priorities); typedef void (GLAPIENTRY *PFNGLPROGRAMBINARYPROC)(GLuint program, GLenum binaryFormat, const void * binary, GLsizei length); typedef void (GLAPIENTRY *PFNGLPROGRAMBINARYOESPROC)(GLuint program, GLenum binaryFormat, const void * binary, GLint length); typedef void (GLAPIENTRY *PFNGLPROGRAMBUFFERPARAMETERSIIVNVPROC)(GLenum target, GLuint bindingIndex, GLuint wordIndex, GLsizei count, const GLint * params); typedef void (GLAPIENTRY *PFNGLPROGRAMBUFFERPARAMETERSIUIVNVPROC)(GLenum target, GLuint bindingIndex, GLuint wordIndex, GLsizei count, const GLuint * params); typedef void (GLAPIENTRY *PFNGLPROGRAMBUFFERPARAMETERSFVNVPROC)(GLenum target, GLuint bindingIndex, GLuint wordIndex, GLsizei count, const GLfloat * params); typedef void (GLAPIENTRY *PFNGLPROGRAMENVPARAMETER4DARBPROC)(GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); typedef void (GLAPIENTRY *PFNGLPROGRAMENVPARAMETER4DVARBPROC)(GLenum target, GLuint index, const GLdouble * params); typedef void (GLAPIENTRY *PFNGLPROGRAMENVPARAMETER4FARBPROC)(GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); typedef void (GLAPIENTRY *PFNGLPROGRAMENVPARAMETER4FVARBPROC)(GLenum target, GLuint index, const GLfloat * params); typedef void (GLAPIENTRY *PFNGLPROGRAMENVPARAMETERI4INVPROC)(GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w); typedef void (GLAPIENTRY *PFNGLPROGRAMENVPARAMETERI4IVNVPROC)(GLenum target, GLuint index, const GLint * params); typedef void (GLAPIENTRY *PFNGLPROGRAMENVPARAMETERI4UINVPROC)(GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); typedef void (GLAPIENTRY *PFNGLPROGRAMENVPARAMETERI4UIVNVPROC)(GLenum target, GLuint index, const GLuint * params); typedef void (GLAPIENTRY *PFNGLPROGRAMENVPARAMETERS4FVEXTPROC)(GLenum target, GLuint index, GLsizei count, const GLfloat * params); typedef void (GLAPIENTRY *PFNGLPROGRAMENVPARAMETERSI4IVNVPROC)(GLenum target, GLuint index, GLsizei count, const GLint * params); typedef void (GLAPIENTRY *PFNGLPROGRAMENVPARAMETERSI4UIVNVPROC)(GLenum target, GLuint index, GLsizei count, const GLuint * params); typedef void (GLAPIENTRY *PFNGLPROGRAMLOCALPARAMETER4DARBPROC)(GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); typedef void (GLAPIENTRY *PFNGLPROGRAMLOCALPARAMETER4DVARBPROC)(GLenum target, GLuint index, const GLdouble * params); typedef void (GLAPIENTRY *PFNGLPROGRAMLOCALPARAMETER4FARBPROC)(GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); typedef void (GLAPIENTRY *PFNGLPROGRAMLOCALPARAMETER4FVARBPROC)(GLenum target, GLuint index, const GLfloat * params); typedef void (GLAPIENTRY *PFNGLPROGRAMLOCALPARAMETERI4INVPROC)(GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w); typedef void (GLAPIENTRY *PFNGLPROGRAMLOCALPARAMETERI4IVNVPROC)(GLenum target, GLuint index, const GLint * params); typedef void (GLAPIENTRY *PFNGLPROGRAMLOCALPARAMETERI4UINVPROC)(GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); typedef void (GLAPIENTRY *PFNGLPROGRAMLOCALPARAMETERI4UIVNVPROC)(GLenum target, GLuint index, const GLuint * params); typedef void (GLAPIENTRY *PFNGLPROGRAMLOCALPARAMETERS4FVEXTPROC)(GLenum target, GLuint index, GLsizei count, const GLfloat * params); typedef void (GLAPIENTRY *PFNGLPROGRAMLOCALPARAMETERSI4IVNVPROC)(GLenum target, GLuint index, GLsizei count, const GLint * params); typedef void (GLAPIENTRY *PFNGLPROGRAMLOCALPARAMETERSI4UIVNVPROC)(GLenum target, GLuint index, GLsizei count, const GLuint * params); typedef void (GLAPIENTRY *PFNGLPROGRAMNAMEDPARAMETER4DNVPROC)(GLuint id, GLsizei len, const GLubyte * name, GLdouble x, GLdouble y, GLdouble z, GLdouble w); typedef void (GLAPIENTRY *PFNGLPROGRAMNAMEDPARAMETER4DVNVPROC)(GLuint id, GLsizei len, const GLubyte * name, const GLdouble * v); typedef void (GLAPIENTRY *PFNGLPROGRAMNAMEDPARAMETER4FNVPROC)(GLuint id, GLsizei len, const GLubyte * name, GLfloat x, GLfloat y, GLfloat z, GLfloat w); typedef void (GLAPIENTRY *PFNGLPROGRAMNAMEDPARAMETER4FVNVPROC)(GLuint id, GLsizei len, const GLubyte * name, const GLfloat * v); typedef void (GLAPIENTRY *PFNGLPROGRAMPARAMETER4DNVPROC)(GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); typedef void (GLAPIENTRY *PFNGLPROGRAMPARAMETER4DVNVPROC)(GLenum target, GLuint index, const GLdouble * v); typedef void (GLAPIENTRY *PFNGLPROGRAMPARAMETER4FNVPROC)(GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); typedef void (GLAPIENTRY *PFNGLPROGRAMPARAMETER4FVNVPROC)(GLenum target, GLuint index, const GLfloat * v); typedef void (GLAPIENTRY *PFNGLPROGRAMPARAMETERIPROC)(GLuint program, GLenum pname, GLint value); typedef void (GLAPIENTRY *PFNGLPROGRAMPARAMETERIARBPROC)(GLuint program, GLenum pname, GLint value); typedef void (GLAPIENTRY *PFNGLPROGRAMPARAMETERIEXTPROC)(GLuint program, GLenum pname, GLint value); typedef void (GLAPIENTRY *PFNGLPROGRAMPARAMETERS4DVNVPROC)(GLenum target, GLuint index, GLsizei count, const GLdouble * v); typedef void (GLAPIENTRY *PFNGLPROGRAMPARAMETERS4FVNVPROC)(GLenum target, GLuint index, GLsizei count, const GLfloat * v); typedef void (GLAPIENTRY *PFNGLPROGRAMPATHFRAGMENTINPUTGENNVPROC)(GLuint program, GLint location, GLenum genMode, GLint components, const GLfloat * coeffs); typedef void (GLAPIENTRY *PFNGLPROGRAMSTRINGARBPROC)(GLenum target, GLenum format, GLsizei len, const void * string); typedef void (GLAPIENTRY *PFNGLPROGRAMSUBROUTINEPARAMETERSUIVNVPROC)(GLenum target, GLsizei count, const GLuint * params); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORM1DPROC)(GLuint program, GLint location, GLdouble v0); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORM1DEXTPROC)(GLuint program, GLint location, GLdouble x); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORM1DVPROC)(GLuint program, GLint location, GLsizei count, const GLdouble * value); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORM1DVEXTPROC)(GLuint program, GLint location, GLsizei count, const GLdouble * value); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORM1FPROC)(GLuint program, GLint location, GLfloat v0); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORM1FEXTPROC)(GLuint program, GLint location, GLfloat v0); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORM1FVPROC)(GLuint program, GLint location, GLsizei count, const GLfloat * value); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORM1FVEXTPROC)(GLuint program, GLint location, GLsizei count, const GLfloat * value); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORM1IPROC)(GLuint program, GLint location, GLint v0); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORM1I64ARBPROC)(GLuint program, GLint location, GLint64 x); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORM1I64NVPROC)(GLuint program, GLint location, GLint64EXT x); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORM1I64VARBPROC)(GLuint program, GLint location, GLsizei count, const GLint64 * value); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORM1I64VNVPROC)(GLuint program, GLint location, GLsizei count, const GLint64EXT * value); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORM1IEXTPROC)(GLuint program, GLint location, GLint v0); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORM1IVPROC)(GLuint program, GLint location, GLsizei count, const GLint * value); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORM1IVEXTPROC)(GLuint program, GLint location, GLsizei count, const GLint * value); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORM1UIPROC)(GLuint program, GLint location, GLuint v0); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORM1UI64ARBPROC)(GLuint program, GLint location, GLuint64 x); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORM1UI64NVPROC)(GLuint program, GLint location, GLuint64EXT x); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORM1UI64VARBPROC)(GLuint program, GLint location, GLsizei count, const GLuint64 * value); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORM1UI64VNVPROC)(GLuint program, GLint location, GLsizei count, const GLuint64EXT * value); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORM1UIEXTPROC)(GLuint program, GLint location, GLuint v0); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORM1UIVPROC)(GLuint program, GLint location, GLsizei count, const GLuint * value); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORM1UIVEXTPROC)(GLuint program, GLint location, GLsizei count, const GLuint * value); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORM2DPROC)(GLuint program, GLint location, GLdouble v0, GLdouble v1); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORM2DEXTPROC)(GLuint program, GLint location, GLdouble x, GLdouble y); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORM2DVPROC)(GLuint program, GLint location, GLsizei count, const GLdouble * value); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORM2DVEXTPROC)(GLuint program, GLint location, GLsizei count, const GLdouble * value); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORM2FPROC)(GLuint program, GLint location, GLfloat v0, GLfloat v1); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORM2FEXTPROC)(GLuint program, GLint location, GLfloat v0, GLfloat v1); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORM2FVPROC)(GLuint program, GLint location, GLsizei count, const GLfloat * value); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORM2FVEXTPROC)(GLuint program, GLint location, GLsizei count, const GLfloat * value); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORM2IPROC)(GLuint program, GLint location, GLint v0, GLint v1); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORM2I64ARBPROC)(GLuint program, GLint location, GLint64 x, GLint64 y); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORM2I64NVPROC)(GLuint program, GLint location, GLint64EXT x, GLint64EXT y); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORM2I64VARBPROC)(GLuint program, GLint location, GLsizei count, const GLint64 * value); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORM2I64VNVPROC)(GLuint program, GLint location, GLsizei count, const GLint64EXT * value); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORM2IEXTPROC)(GLuint program, GLint location, GLint v0, GLint v1); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORM2IVPROC)(GLuint program, GLint location, GLsizei count, const GLint * value); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORM2IVEXTPROC)(GLuint program, GLint location, GLsizei count, const GLint * value); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORM2UIPROC)(GLuint program, GLint location, GLuint v0, GLuint v1); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORM2UI64ARBPROC)(GLuint program, GLint location, GLuint64 x, GLuint64 y); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORM2UI64NVPROC)(GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORM2UI64VARBPROC)(GLuint program, GLint location, GLsizei count, const GLuint64 * value); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORM2UI64VNVPROC)(GLuint program, GLint location, GLsizei count, const GLuint64EXT * value); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORM2UIEXTPROC)(GLuint program, GLint location, GLuint v0, GLuint v1); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORM2UIVPROC)(GLuint program, GLint location, GLsizei count, const GLuint * value); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORM2UIVEXTPROC)(GLuint program, GLint location, GLsizei count, const GLuint * value); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORM3DPROC)(GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORM3DEXTPROC)(GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORM3DVPROC)(GLuint program, GLint location, GLsizei count, const GLdouble * value); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORM3DVEXTPROC)(GLuint program, GLint location, GLsizei count, const GLdouble * value); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORM3FPROC)(GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORM3FEXTPROC)(GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORM3FVPROC)(GLuint program, GLint location, GLsizei count, const GLfloat * value); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORM3FVEXTPROC)(GLuint program, GLint location, GLsizei count, const GLfloat * value); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORM3IPROC)(GLuint program, GLint location, GLint v0, GLint v1, GLint v2); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORM3I64ARBPROC)(GLuint program, GLint location, GLint64 x, GLint64 y, GLint64 z); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORM3I64NVPROC)(GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORM3I64VARBPROC)(GLuint program, GLint location, GLsizei count, const GLint64 * value); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORM3I64VNVPROC)(GLuint program, GLint location, GLsizei count, const GLint64EXT * value); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORM3IEXTPROC)(GLuint program, GLint location, GLint v0, GLint v1, GLint v2); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORM3IVPROC)(GLuint program, GLint location, GLsizei count, const GLint * value); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORM3IVEXTPROC)(GLuint program, GLint location, GLsizei count, const GLint * value); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORM3UIPROC)(GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORM3UI64ARBPROC)(GLuint program, GLint location, GLuint64 x, GLuint64 y, GLuint64 z); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORM3UI64NVPROC)(GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORM3UI64VARBPROC)(GLuint program, GLint location, GLsizei count, const GLuint64 * value); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORM3UI64VNVPROC)(GLuint program, GLint location, GLsizei count, const GLuint64EXT * value); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORM3UIEXTPROC)(GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORM3UIVPROC)(GLuint program, GLint location, GLsizei count, const GLuint * value); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORM3UIVEXTPROC)(GLuint program, GLint location, GLsizei count, const GLuint * value); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORM4DPROC)(GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2, GLdouble v3); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORM4DEXTPROC)(GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORM4DVPROC)(GLuint program, GLint location, GLsizei count, const GLdouble * value); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORM4DVEXTPROC)(GLuint program, GLint location, GLsizei count, const GLdouble * value); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORM4FPROC)(GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORM4FEXTPROC)(GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORM4FVPROC)(GLuint program, GLint location, GLsizei count, const GLfloat * value); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORM4FVEXTPROC)(GLuint program, GLint location, GLsizei count, const GLfloat * value); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORM4IPROC)(GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORM4I64ARBPROC)(GLuint program, GLint location, GLint64 x, GLint64 y, GLint64 z, GLint64 w); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORM4I64NVPROC)(GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORM4I64VARBPROC)(GLuint program, GLint location, GLsizei count, const GLint64 * value); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORM4I64VNVPROC)(GLuint program, GLint location, GLsizei count, const GLint64EXT * value); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORM4IEXTPROC)(GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORM4IVPROC)(GLuint program, GLint location, GLsizei count, const GLint * value); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORM4IVEXTPROC)(GLuint program, GLint location, GLsizei count, const GLint * value); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORM4UIPROC)(GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORM4UI64ARBPROC)(GLuint program, GLint location, GLuint64 x, GLuint64 y, GLuint64 z, GLuint64 w); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORM4UI64NVPROC)(GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORM4UI64VARBPROC)(GLuint program, GLint location, GLsizei count, const GLuint64 * value); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORM4UI64VNVPROC)(GLuint program, GLint location, GLsizei count, const GLuint64EXT * value); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORM4UIEXTPROC)(GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORM4UIVPROC)(GLuint program, GLint location, GLsizei count, const GLuint * value); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORM4UIVEXTPROC)(GLuint program, GLint location, GLsizei count, const GLuint * value); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORMHANDLEUI64ARBPROC)(GLuint program, GLint location, GLuint64 value); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORMHANDLEUI64IMGPROC)(GLuint program, GLint location, GLuint64 value); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORMHANDLEUI64NVPROC)(GLuint program, GLint location, GLuint64 value); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORMHANDLEUI64VARBPROC)(GLuint program, GLint location, GLsizei count, const GLuint64 * values); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORMHANDLEUI64VIMGPROC)(GLuint program, GLint location, GLsizei count, const GLuint64 * values); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORMHANDLEUI64VNVPROC)(GLuint program, GLint location, GLsizei count, const GLuint64 * values); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORMMATRIX2DVPROC)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble * value); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORMMATRIX2DVEXTPROC)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble * value); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORMMATRIX2FVPROC)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORMMATRIX2X3DVPROC)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble * value); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORMMATRIX2X3DVEXTPROC)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble * value); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORMMATRIX2X3FVPROC)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORMMATRIX2X4DVPROC)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble * value); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORMMATRIX2X4DVEXTPROC)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble * value); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORMMATRIX2X4FVPROC)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORMMATRIX3DVPROC)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble * value); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORMMATRIX3DVEXTPROC)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble * value); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORMMATRIX3FVPROC)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORMMATRIX3X2DVPROC)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble * value); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORMMATRIX3X2DVEXTPROC)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble * value); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORMMATRIX3X2FVPROC)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORMMATRIX3X4DVPROC)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble * value); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORMMATRIX3X4DVEXTPROC)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble * value); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORMMATRIX3X4FVPROC)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORMMATRIX4DVPROC)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble * value); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORMMATRIX4DVEXTPROC)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble * value); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORMMATRIX4FVPROC)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORMMATRIX4X2DVPROC)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble * value); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORMMATRIX4X2DVEXTPROC)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble * value); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORMMATRIX4X2FVPROC)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORMMATRIX4X3DVPROC)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble * value); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORMMATRIX4X3DVEXTPROC)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble * value); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORMMATRIX4X3FVPROC)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORMUI64NVPROC)(GLuint program, GLint location, GLuint64EXT value); typedef void (GLAPIENTRY *PFNGLPROGRAMUNIFORMUI64VNVPROC)(GLuint program, GLint location, GLsizei count, const GLuint64EXT * value); typedef void (GLAPIENTRY *PFNGLPROGRAMVERTEXLIMITNVPROC)(GLenum target, GLint limit); typedef void (GLAPIENTRY *PFNGLPROVOKINGVERTEXPROC)(GLenum mode); typedef void (GLAPIENTRY *PFNGLPROVOKINGVERTEXEXTPROC)(GLenum mode); typedef void (GLAPIENTRY *PFNGLPUSHATTRIBPROC)(GLbitfield mask); typedef void (GLAPIENTRY *PFNGLPUSHCLIENTATTRIBPROC)(GLbitfield mask); typedef void (GLAPIENTRY *PFNGLPUSHCLIENTATTRIBDEFAULTEXTPROC)(GLbitfield mask); typedef void (GLAPIENTRY *PFNGLPUSHDEBUGGROUPPROC)(GLenum source, GLuint id, GLsizei length, const GLchar * message); typedef void (GLAPIENTRY *PFNGLPUSHDEBUGGROUPKHRPROC)(GLenum source, GLuint id, GLsizei length, const GLchar * message); typedef void (GLAPIENTRY *PFNGLPUSHGROUPMARKEREXTPROC)(GLsizei length, const GLchar * marker); typedef void (GLAPIENTRY *PFNGLPUSHMATRIXPROC)(void); typedef void (GLAPIENTRY *PFNGLPUSHNAMEPROC)(GLuint name); typedef void (GLAPIENTRY *PFNGLQUERYCOUNTERPROC)(GLuint id, GLenum target); typedef void (GLAPIENTRY *PFNGLQUERYCOUNTEREXTPROC)(GLuint id, GLenum target); typedef GLbitfield (GLAPIENTRY *PFNGLQUERYMATRIXXOESPROC)(GLfixed * mantissa, GLint * exponent); typedef void (GLAPIENTRY *PFNGLQUERYOBJECTPARAMETERUIAMDPROC)(GLenum target, GLuint id, GLenum pname, GLuint param); typedef GLint (GLAPIENTRY *PFNGLQUERYRESOURCENVPROC)(GLenum queryType, GLint tagId, GLuint bufSize, GLint * buffer); typedef void (GLAPIENTRY *PFNGLQUERYRESOURCETAGNVPROC)(GLint tagId, const GLchar * tagString); typedef void (GLAPIENTRY *PFNGLRASTERPOS2DPROC)(GLdouble x, GLdouble y); typedef void (GLAPIENTRY *PFNGLRASTERPOS2DVPROC)(const GLdouble * v); typedef void (GLAPIENTRY *PFNGLRASTERPOS2FPROC)(GLfloat x, GLfloat y); typedef void (GLAPIENTRY *PFNGLRASTERPOS2FVPROC)(const GLfloat * v); typedef void (GLAPIENTRY *PFNGLRASTERPOS2IPROC)(GLint x, GLint y); typedef void (GLAPIENTRY *PFNGLRASTERPOS2IVPROC)(const GLint * v); typedef void (GLAPIENTRY *PFNGLRASTERPOS2SPROC)(GLshort x, GLshort y); typedef void (GLAPIENTRY *PFNGLRASTERPOS2SVPROC)(const GLshort * v); typedef void (GLAPIENTRY *PFNGLRASTERPOS2XOESPROC)(GLfixed x, GLfixed y); typedef void (GLAPIENTRY *PFNGLRASTERPOS2XVOESPROC)(const GLfixed * coords); typedef void (GLAPIENTRY *PFNGLRASTERPOS3DPROC)(GLdouble x, GLdouble y, GLdouble z); typedef void (GLAPIENTRY *PFNGLRASTERPOS3DVPROC)(const GLdouble * v); typedef void (GLAPIENTRY *PFNGLRASTERPOS3FPROC)(GLfloat x, GLfloat y, GLfloat z); typedef void (GLAPIENTRY *PFNGLRASTERPOS3FVPROC)(const GLfloat * v); typedef void (GLAPIENTRY *PFNGLRASTERPOS3IPROC)(GLint x, GLint y, GLint z); typedef void (GLAPIENTRY *PFNGLRASTERPOS3IVPROC)(const GLint * v); typedef void (GLAPIENTRY *PFNGLRASTERPOS3SPROC)(GLshort x, GLshort y, GLshort z); typedef void (GLAPIENTRY *PFNGLRASTERPOS3SVPROC)(const GLshort * v); typedef void (GLAPIENTRY *PFNGLRASTERPOS3XOESPROC)(GLfixed x, GLfixed y, GLfixed z); typedef void (GLAPIENTRY *PFNGLRASTERPOS3XVOESPROC)(const GLfixed * coords); typedef void (GLAPIENTRY *PFNGLRASTERPOS4DPROC)(GLdouble x, GLdouble y, GLdouble z, GLdouble w); typedef void (GLAPIENTRY *PFNGLRASTERPOS4DVPROC)(const GLdouble * v); typedef void (GLAPIENTRY *PFNGLRASTERPOS4FPROC)(GLfloat x, GLfloat y, GLfloat z, GLfloat w); typedef void (GLAPIENTRY *PFNGLRASTERPOS4FVPROC)(const GLfloat * v); typedef void (GLAPIENTRY *PFNGLRASTERPOS4IPROC)(GLint x, GLint y, GLint z, GLint w); typedef void (GLAPIENTRY *PFNGLRASTERPOS4IVPROC)(const GLint * v); typedef void (GLAPIENTRY *PFNGLRASTERPOS4SPROC)(GLshort x, GLshort y, GLshort z, GLshort w); typedef void (GLAPIENTRY *PFNGLRASTERPOS4SVPROC)(const GLshort * v); typedef void (GLAPIENTRY *PFNGLRASTERPOS4XOESPROC)(GLfixed x, GLfixed y, GLfixed z, GLfixed w); typedef void (GLAPIENTRY *PFNGLRASTERPOS4XVOESPROC)(const GLfixed * coords); typedef void (GLAPIENTRY *PFNGLRASTERSAMPLESEXTPROC)(GLuint samples, GLboolean fixedsamplelocations); typedef void (GLAPIENTRY *PFNGLREADBUFFERPROC)(GLenum src); typedef void (GLAPIENTRY *PFNGLREADBUFFERINDEXEDEXTPROC)(GLenum src, GLint index); typedef void (GLAPIENTRY *PFNGLREADBUFFERNVPROC)(GLenum mode); typedef void (GLAPIENTRY *PFNGLREADINSTRUMENTSSGIXPROC)(GLint marker); typedef void (GLAPIENTRY *PFNGLREADPIXELSPROC)(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void * pixels); typedef void (GLAPIENTRY *PFNGLREADNPIXELSPROC)(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void * data); typedef void (GLAPIENTRY *PFNGLREADNPIXELSARBPROC)(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void * data); typedef void (GLAPIENTRY *PFNGLREADNPIXELSEXTPROC)(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void * data); typedef void (GLAPIENTRY *PFNGLREADNPIXELSKHRPROC)(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void * data); typedef void (GLAPIENTRY *PFNGLRECTDPROC)(GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2); typedef void (GLAPIENTRY *PFNGLRECTDVPROC)(const GLdouble * v1, const GLdouble * v2); typedef void (GLAPIENTRY *PFNGLRECTFPROC)(GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2); typedef void (GLAPIENTRY *PFNGLRECTFVPROC)(const GLfloat * v1, const GLfloat * v2); typedef void (GLAPIENTRY *PFNGLRECTIPROC)(GLint x1, GLint y1, GLint x2, GLint y2); typedef void (GLAPIENTRY *PFNGLRECTIVPROC)(const GLint * v1, const GLint * v2); typedef void (GLAPIENTRY *PFNGLRECTSPROC)(GLshort x1, GLshort y1, GLshort x2, GLshort y2); typedef void (GLAPIENTRY *PFNGLRECTSVPROC)(const GLshort * v1, const GLshort * v2); typedef void (GLAPIENTRY *PFNGLRECTXOESPROC)(GLfixed x1, GLfixed y1, GLfixed x2, GLfixed y2); typedef void (GLAPIENTRY *PFNGLRECTXVOESPROC)(const GLfixed * v1, const GLfixed * v2); typedef void (GLAPIENTRY *PFNGLREFERENCEPLANESGIXPROC)(const GLdouble * equation); typedef GLboolean (GLAPIENTRY *PFNGLRELEASEKEYEDMUTEXWIN32EXTPROC)(GLuint memory, GLuint64 key); typedef void (GLAPIENTRY *PFNGLRELEASESHADERCOMPILERPROC)(void); typedef void (GLAPIENTRY *PFNGLRENDERGPUMASKNVPROC)(GLbitfield mask); typedef GLint (GLAPIENTRY *PFNGLRENDERMODEPROC)(GLenum mode); typedef void (GLAPIENTRY *PFNGLRENDERBUFFERSTORAGEPROC)(GLenum target, GLenum internalformat, GLsizei width, GLsizei height); typedef void (GLAPIENTRY *PFNGLRENDERBUFFERSTORAGEEXTPROC)(GLenum target, GLenum internalformat, GLsizei width, GLsizei height); typedef void (GLAPIENTRY *PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC)(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); typedef void (GLAPIENTRY *PFNGLRENDERBUFFERSTORAGEMULTISAMPLEANGLEPROC)(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); typedef void (GLAPIENTRY *PFNGLRENDERBUFFERSTORAGEMULTISAMPLEAPPLEPROC)(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); typedef void (GLAPIENTRY *PFNGLRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC)(GLenum target, GLsizei samples, GLsizei storageSamples, GLenum internalformat, GLsizei width, GLsizei height); typedef void (GLAPIENTRY *PFNGLRENDERBUFFERSTORAGEMULTISAMPLECOVERAGENVPROC)(GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height); typedef void (GLAPIENTRY *PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC)(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); typedef void (GLAPIENTRY *PFNGLRENDERBUFFERSTORAGEMULTISAMPLEIMGPROC)(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); typedef void (GLAPIENTRY *PFNGLRENDERBUFFERSTORAGEMULTISAMPLENVPROC)(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); typedef void (GLAPIENTRY *PFNGLRENDERBUFFERSTORAGEOESPROC)(GLenum target, GLenum internalformat, GLsizei width, GLsizei height); typedef void (GLAPIENTRY *PFNGLREPLACEMENTCODEPOINTERSUNPROC)(GLenum type, GLsizei stride, const void ** pointer); typedef void (GLAPIENTRY *PFNGLREPLACEMENTCODEUBSUNPROC)(GLubyte code); typedef void (GLAPIENTRY *PFNGLREPLACEMENTCODEUBVSUNPROC)(const GLubyte * code); typedef void (GLAPIENTRY *PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FSUNPROC)(GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z); typedef void (GLAPIENTRY *PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FVSUNPROC)(const GLuint * rc, const GLfloat * c, const GLfloat * v); typedef void (GLAPIENTRY *PFNGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FSUNPROC)(GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); typedef void (GLAPIENTRY *PFNGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FVSUNPROC)(const GLuint * rc, const GLfloat * c, const GLfloat * n, const GLfloat * v); typedef void (GLAPIENTRY *PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FSUNPROC)(GLuint rc, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z); typedef void (GLAPIENTRY *PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FVSUNPROC)(const GLuint * rc, const GLubyte * c, const GLfloat * v); typedef void (GLAPIENTRY *PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FSUNPROC)(GLuint rc, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); typedef void (GLAPIENTRY *PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FVSUNPROC)(const GLuint * rc, const GLfloat * n, const GLfloat * v); typedef void (GLAPIENTRY *PFNGLREPLACEMENTCODEUISUNPROC)(GLuint code); typedef void (GLAPIENTRY *PFNGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUNPROC)(GLuint rc, GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); typedef void (GLAPIENTRY *PFNGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC)(const GLuint * rc, const GLfloat * tc, const GLfloat * c, const GLfloat * n, const GLfloat * v); typedef void (GLAPIENTRY *PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FSUNPROC)(GLuint rc, GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); typedef void (GLAPIENTRY *PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FVSUNPROC)(const GLuint * rc, const GLfloat * tc, const GLfloat * n, const GLfloat * v); typedef void (GLAPIENTRY *PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FSUNPROC)(GLuint rc, GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z); typedef void (GLAPIENTRY *PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FVSUNPROC)(const GLuint * rc, const GLfloat * tc, const GLfloat * v); typedef void (GLAPIENTRY *PFNGLREPLACEMENTCODEUIVERTEX3FSUNPROC)(GLuint rc, GLfloat x, GLfloat y, GLfloat z); typedef void (GLAPIENTRY *PFNGLREPLACEMENTCODEUIVERTEX3FVSUNPROC)(const GLuint * rc, const GLfloat * v); typedef void (GLAPIENTRY *PFNGLREPLACEMENTCODEUIVSUNPROC)(const GLuint * code); typedef void (GLAPIENTRY *PFNGLREPLACEMENTCODEUSSUNPROC)(GLushort code); typedef void (GLAPIENTRY *PFNGLREPLACEMENTCODEUSVSUNPROC)(const GLushort * code); typedef void (GLAPIENTRY *PFNGLREQUESTRESIDENTPROGRAMSNVPROC)(GLsizei n, const GLuint * programs); typedef void (GLAPIENTRY *PFNGLRESETHISTOGRAMPROC)(GLenum target); typedef void (GLAPIENTRY *PFNGLRESETHISTOGRAMEXTPROC)(GLenum target); typedef void (GLAPIENTRY *PFNGLRESETMEMORYOBJECTPARAMETERNVPROC)(GLuint memory, GLenum pname); typedef void (GLAPIENTRY *PFNGLRESETMINMAXPROC)(GLenum target); typedef void (GLAPIENTRY *PFNGLRESETMINMAXEXTPROC)(GLenum target); typedef void (GLAPIENTRY *PFNGLRESIZEBUFFERSMESAPROC)(void); typedef void (GLAPIENTRY *PFNGLRESOLVEDEPTHVALUESNVPROC)(void); typedef void (GLAPIENTRY *PFNGLRESOLVEMULTISAMPLEFRAMEBUFFERAPPLEPROC)(void); typedef void (GLAPIENTRY *PFNGLRESUMETRANSFORMFEEDBACKPROC)(void); typedef void (GLAPIENTRY *PFNGLRESUMETRANSFORMFEEDBACKNVPROC)(void); typedef void (GLAPIENTRY *PFNGLROTATEDPROC)(GLdouble angle, GLdouble x, GLdouble y, GLdouble z); typedef void (GLAPIENTRY *PFNGLROTATEFPROC)(GLfloat angle, GLfloat x, GLfloat y, GLfloat z); typedef void (GLAPIENTRY *PFNGLROTATEXPROC)(GLfixed angle, GLfixed x, GLfixed y, GLfixed z); typedef void (GLAPIENTRY *PFNGLROTATEXOESPROC)(GLfixed angle, GLfixed x, GLfixed y, GLfixed z); typedef void (GLAPIENTRY *PFNGLSAMPLECOVERAGEPROC)(GLfloat value, GLboolean invert); typedef void (GLAPIENTRY *PFNGLSAMPLECOVERAGEARBPROC)(GLfloat value, GLboolean invert); typedef void (GLAPIENTRY *PFNGLSAMPLECOVERAGEXPROC)(GLclampx value, GLboolean invert); typedef void (GLAPIENTRY *PFNGLSAMPLECOVERAGEXOESPROC)(GLclampx value, GLboolean invert); typedef void (GLAPIENTRY *PFNGLSAMPLEMAPATIPROC)(GLuint dst, GLuint interp, GLenum swizzle); typedef void (GLAPIENTRY *PFNGLSAMPLEMASKEXTPROC)(GLclampf value, GLboolean invert); typedef void (GLAPIENTRY *PFNGLSAMPLEMASKINDEXEDNVPROC)(GLuint index, GLbitfield mask); typedef void (GLAPIENTRY *PFNGLSAMPLEMASKSGISPROC)(GLclampf value, GLboolean invert); typedef void (GLAPIENTRY *PFNGLSAMPLEMASKIPROC)(GLuint maskNumber, GLbitfield mask); typedef void (GLAPIENTRY *PFNGLSAMPLEPATTERNEXTPROC)(GLenum pattern); typedef void (GLAPIENTRY *PFNGLSAMPLEPATTERNSGISPROC)(GLenum pattern); typedef void (GLAPIENTRY *PFNGLSAMPLERPARAMETERIIVPROC)(GLuint sampler, GLenum pname, const GLint * param); typedef void (GLAPIENTRY *PFNGLSAMPLERPARAMETERIIVEXTPROC)(GLuint sampler, GLenum pname, const GLint * param); typedef void (GLAPIENTRY *PFNGLSAMPLERPARAMETERIIVOESPROC)(GLuint sampler, GLenum pname, const GLint * param); typedef void (GLAPIENTRY *PFNGLSAMPLERPARAMETERIUIVPROC)(GLuint sampler, GLenum pname, const GLuint * param); typedef void (GLAPIENTRY *PFNGLSAMPLERPARAMETERIUIVEXTPROC)(GLuint sampler, GLenum pname, const GLuint * param); typedef void (GLAPIENTRY *PFNGLSAMPLERPARAMETERIUIVOESPROC)(GLuint sampler, GLenum pname, const GLuint * param); typedef void (GLAPIENTRY *PFNGLSAMPLERPARAMETERFPROC)(GLuint sampler, GLenum pname, GLfloat param); typedef void (GLAPIENTRY *PFNGLSAMPLERPARAMETERFVPROC)(GLuint sampler, GLenum pname, const GLfloat * param); typedef void (GLAPIENTRY *PFNGLSAMPLERPARAMETERIPROC)(GLuint sampler, GLenum pname, GLint param); typedef void (GLAPIENTRY *PFNGLSAMPLERPARAMETERIVPROC)(GLuint sampler, GLenum pname, const GLint * param); typedef void (GLAPIENTRY *PFNGLSCALEDPROC)(GLdouble x, GLdouble y, GLdouble z); typedef void (GLAPIENTRY *PFNGLSCALEFPROC)(GLfloat x, GLfloat y, GLfloat z); typedef void (GLAPIENTRY *PFNGLSCALEXPROC)(GLfixed x, GLfixed y, GLfixed z); typedef void (GLAPIENTRY *PFNGLSCALEXOESPROC)(GLfixed x, GLfixed y, GLfixed z); typedef void (GLAPIENTRY *PFNGLSCISSORPROC)(GLint x, GLint y, GLsizei width, GLsizei height); typedef void (GLAPIENTRY *PFNGLSCISSORARRAYVPROC)(GLuint first, GLsizei count, const GLint * v); typedef void (GLAPIENTRY *PFNGLSCISSORARRAYVNVPROC)(GLuint first, GLsizei count, const GLint * v); typedef void (GLAPIENTRY *PFNGLSCISSORARRAYVOESPROC)(GLuint first, GLsizei count, const GLint * v); typedef void (GLAPIENTRY *PFNGLSCISSOREXCLUSIVEARRAYVNVPROC)(GLuint first, GLsizei count, const GLint * v); typedef void (GLAPIENTRY *PFNGLSCISSOREXCLUSIVENVPROC)(GLint x, GLint y, GLsizei width, GLsizei height); typedef void (GLAPIENTRY *PFNGLSCISSORINDEXEDPROC)(GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height); typedef void (GLAPIENTRY *PFNGLSCISSORINDEXEDNVPROC)(GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height); typedef void (GLAPIENTRY *PFNGLSCISSORINDEXEDOESPROC)(GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height); typedef void (GLAPIENTRY *PFNGLSCISSORINDEXEDVPROC)(GLuint index, const GLint * v); typedef void (GLAPIENTRY *PFNGLSCISSORINDEXEDVNVPROC)(GLuint index, const GLint * v); typedef void (GLAPIENTRY *PFNGLSCISSORINDEXEDVOESPROC)(GLuint index, const GLint * v); typedef void (GLAPIENTRY *PFNGLSECONDARYCOLOR3BPROC)(GLbyte red, GLbyte green, GLbyte blue); typedef void (GLAPIENTRY *PFNGLSECONDARYCOLOR3BEXTPROC)(GLbyte red, GLbyte green, GLbyte blue); typedef void (GLAPIENTRY *PFNGLSECONDARYCOLOR3BVPROC)(const GLbyte * v); typedef void (GLAPIENTRY *PFNGLSECONDARYCOLOR3BVEXTPROC)(const GLbyte * v); typedef void (GLAPIENTRY *PFNGLSECONDARYCOLOR3DPROC)(GLdouble red, GLdouble green, GLdouble blue); typedef void (GLAPIENTRY *PFNGLSECONDARYCOLOR3DEXTPROC)(GLdouble red, GLdouble green, GLdouble blue); typedef void (GLAPIENTRY *PFNGLSECONDARYCOLOR3DVPROC)(const GLdouble * v); typedef void (GLAPIENTRY *PFNGLSECONDARYCOLOR3DVEXTPROC)(const GLdouble * v); typedef void (GLAPIENTRY *PFNGLSECONDARYCOLOR3FPROC)(GLfloat red, GLfloat green, GLfloat blue); typedef void (GLAPIENTRY *PFNGLSECONDARYCOLOR3FEXTPROC)(GLfloat red, GLfloat green, GLfloat blue); typedef void (GLAPIENTRY *PFNGLSECONDARYCOLOR3FVPROC)(const GLfloat * v); typedef void (GLAPIENTRY *PFNGLSECONDARYCOLOR3FVEXTPROC)(const GLfloat * v); typedef void (GLAPIENTRY *PFNGLSECONDARYCOLOR3HNVPROC)(GLhalfNV red, GLhalfNV green, GLhalfNV blue); typedef void (GLAPIENTRY *PFNGLSECONDARYCOLOR3HVNVPROC)(const GLhalfNV * v); typedef void (GLAPIENTRY *PFNGLSECONDARYCOLOR3IPROC)(GLint red, GLint green, GLint blue); typedef void (GLAPIENTRY *PFNGLSECONDARYCOLOR3IEXTPROC)(GLint red, GLint green, GLint blue); typedef void (GLAPIENTRY *PFNGLSECONDARYCOLOR3IVPROC)(const GLint * v); typedef void (GLAPIENTRY *PFNGLSECONDARYCOLOR3IVEXTPROC)(const GLint * v); typedef void (GLAPIENTRY *PFNGLSECONDARYCOLOR3SPROC)(GLshort red, GLshort green, GLshort blue); typedef void (GLAPIENTRY *PFNGLSECONDARYCOLOR3SEXTPROC)(GLshort red, GLshort green, GLshort blue); typedef void (GLAPIENTRY *PFNGLSECONDARYCOLOR3SVPROC)(const GLshort * v); typedef void (GLAPIENTRY *PFNGLSECONDARYCOLOR3SVEXTPROC)(const GLshort * v); typedef void (GLAPIENTRY *PFNGLSECONDARYCOLOR3UBPROC)(GLubyte red, GLubyte green, GLubyte blue); typedef void (GLAPIENTRY *PFNGLSECONDARYCOLOR3UBEXTPROC)(GLubyte red, GLubyte green, GLubyte blue); typedef void (GLAPIENTRY *PFNGLSECONDARYCOLOR3UBVPROC)(const GLubyte * v); typedef void (GLAPIENTRY *PFNGLSECONDARYCOLOR3UBVEXTPROC)(const GLubyte * v); typedef void (GLAPIENTRY *PFNGLSECONDARYCOLOR3UIPROC)(GLuint red, GLuint green, GLuint blue); typedef void (GLAPIENTRY *PFNGLSECONDARYCOLOR3UIEXTPROC)(GLuint red, GLuint green, GLuint blue); typedef void (GLAPIENTRY *PFNGLSECONDARYCOLOR3UIVPROC)(const GLuint * v); typedef void (GLAPIENTRY *PFNGLSECONDARYCOLOR3UIVEXTPROC)(const GLuint * v); typedef void (GLAPIENTRY *PFNGLSECONDARYCOLOR3USPROC)(GLushort red, GLushort green, GLushort blue); typedef void (GLAPIENTRY *PFNGLSECONDARYCOLOR3USEXTPROC)(GLushort red, GLushort green, GLushort blue); typedef void (GLAPIENTRY *PFNGLSECONDARYCOLOR3USVPROC)(const GLushort * v); typedef void (GLAPIENTRY *PFNGLSECONDARYCOLOR3USVEXTPROC)(const GLushort * v); typedef void (GLAPIENTRY *PFNGLSECONDARYCOLORFORMATNVPROC)(GLint size, GLenum type, GLsizei stride); typedef void (GLAPIENTRY *PFNGLSECONDARYCOLORP3UIPROC)(GLenum type, GLuint color); typedef void (GLAPIENTRY *PFNGLSECONDARYCOLORP3UIVPROC)(GLenum type, const GLuint * color); typedef void (GLAPIENTRY *PFNGLSECONDARYCOLORPOINTERPROC)(GLint size, GLenum type, GLsizei stride, const void * pointer); typedef void (GLAPIENTRY *PFNGLSECONDARYCOLORPOINTEREXTPROC)(GLint size, GLenum type, GLsizei stride, const void * pointer); typedef void (GLAPIENTRY *PFNGLSECONDARYCOLORPOINTERLISTIBMPROC)(GLint size, GLenum type, GLint stride, const void ** pointer, GLint ptrstride); typedef void (GLAPIENTRY *PFNGLSELECTBUFFERPROC)(GLsizei size, GLuint * buffer); typedef void (GLAPIENTRY *PFNGLSELECTPERFMONITORCOUNTERSAMDPROC)(GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint * counterList); typedef void (GLAPIENTRY *PFNGLSEMAPHOREPARAMETERUI64VEXTPROC)(GLuint semaphore, GLenum pname, const GLuint64 * params); typedef void (GLAPIENTRY *PFNGLSEPARABLEFILTER2DPROC)(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void * row, const void * column); typedef void (GLAPIENTRY *PFNGLSEPARABLEFILTER2DEXTPROC)(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void * row, const void * column); typedef void (GLAPIENTRY *PFNGLSETFENCEAPPLEPROC)(GLuint fence); typedef void (GLAPIENTRY *PFNGLSETFENCENVPROC)(GLuint fence, GLenum condition); typedef void (GLAPIENTRY *PFNGLSETFRAGMENTSHADERCONSTANTATIPROC)(GLuint dst, const GLfloat * value); typedef void (GLAPIENTRY *PFNGLSETINVARIANTEXTPROC)(GLuint id, GLenum type, const void * addr); typedef void (GLAPIENTRY *PFNGLSETLOCALCONSTANTEXTPROC)(GLuint id, GLenum type, const void * addr); typedef void (GLAPIENTRY *PFNGLSETMULTISAMPLEFVAMDPROC)(GLenum pname, GLuint index, const GLfloat * val); typedef void (GLAPIENTRY *PFNGLSHADEMODELPROC)(GLenum mode); typedef void (GLAPIENTRY *PFNGLSHADERBINARYPROC)(GLsizei count, const GLuint * shaders, GLenum binaryformat, const void * binary, GLsizei length); typedef void (GLAPIENTRY *PFNGLSHADEROP1EXTPROC)(GLenum op, GLuint res, GLuint arg1); typedef void (GLAPIENTRY *PFNGLSHADEROP2EXTPROC)(GLenum op, GLuint res, GLuint arg1, GLuint arg2); typedef void (GLAPIENTRY *PFNGLSHADEROP3EXTPROC)(GLenum op, GLuint res, GLuint arg1, GLuint arg2, GLuint arg3); typedef void (GLAPIENTRY *PFNGLSHADERSOURCEPROC)(GLuint shader, GLsizei count, const GLchar *const* string, const GLint * length); typedef void (GLAPIENTRY *PFNGLSHADERSOURCEARBPROC)(GLhandleARB shaderObj, GLsizei count, const GLcharARB ** string, const GLint * length); typedef void (GLAPIENTRY *PFNGLSHADERSTORAGEBLOCKBINDINGPROC)(GLuint program, GLuint storageBlockIndex, GLuint storageBlockBinding); typedef void (GLAPIENTRY *PFNGLSHADINGRATEIMAGEBARRIERNVPROC)(GLboolean synchronize); typedef void (GLAPIENTRY *PFNGLSHADINGRATEIMAGEPALETTENVPROC)(GLuint viewport, GLuint first, GLsizei count, const GLenum * rates); typedef void (GLAPIENTRY *PFNGLSHADINGRATESAMPLEORDERCUSTOMNVPROC)(GLenum rate, GLuint samples, const GLint * locations); typedef void (GLAPIENTRY *PFNGLSHADINGRATESAMPLEORDERNVPROC)(GLenum order); typedef void (GLAPIENTRY *PFNGLSHARPENTEXFUNCSGISPROC)(GLenum target, GLsizei n, const GLfloat * points); typedef void (GLAPIENTRY *PFNGLSIGNALSEMAPHOREEXTPROC)(GLuint semaphore, GLuint numBufferBarriers, const GLuint * buffers, GLuint numTextureBarriers, const GLuint * textures, const GLenum * dstLayouts); typedef void (GLAPIENTRY *PFNGLSIGNALSEMAPHOREUI64NVXPROC)(GLuint signalGpu, GLsizei fenceObjectCount, const GLuint * semaphoreArray, const GLuint64 * fenceValueArray); typedef void (GLAPIENTRY *PFNGLSIGNALVKFENCENVPROC)(GLuint64 vkFence); typedef void (GLAPIENTRY *PFNGLSIGNALVKSEMAPHORENVPROC)(GLuint64 vkSemaphore); typedef void (GLAPIENTRY *PFNGLSPECIALIZESHADERPROC)(GLuint shader, const GLchar * pEntryPoint, GLuint numSpecializationConstants, const GLuint * pConstantIndex, const GLuint * pConstantValue); typedef void (GLAPIENTRY *PFNGLSPECIALIZESHADERARBPROC)(GLuint shader, const GLchar * pEntryPoint, GLuint numSpecializationConstants, const GLuint * pConstantIndex, const GLuint * pConstantValue); typedef void (GLAPIENTRY *PFNGLSPRITEPARAMETERFSGIXPROC)(GLenum pname, GLfloat param); typedef void (GLAPIENTRY *PFNGLSPRITEPARAMETERFVSGIXPROC)(GLenum pname, const GLfloat * params); typedef void (GLAPIENTRY *PFNGLSPRITEPARAMETERISGIXPROC)(GLenum pname, GLint param); typedef void (GLAPIENTRY *PFNGLSPRITEPARAMETERIVSGIXPROC)(GLenum pname, const GLint * params); typedef void (GLAPIENTRY *PFNGLSTARTINSTRUMENTSSGIXPROC)(void); typedef void (GLAPIENTRY *PFNGLSTARTTILINGQCOMPROC)(GLuint x, GLuint y, GLuint width, GLuint height, GLbitfield preserveMask); typedef void (GLAPIENTRY *PFNGLSTATECAPTURENVPROC)(GLuint state, GLenum mode); typedef void (GLAPIENTRY *PFNGLSTENCILCLEARTAGEXTPROC)(GLsizei stencilTagBits, GLuint stencilClearTag); typedef void (GLAPIENTRY *PFNGLSTENCILFILLPATHINSTANCEDNVPROC)(GLsizei numPaths, GLenum pathNameType, const void * paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum transformType, const GLfloat * transformValues); typedef void (GLAPIENTRY *PFNGLSTENCILFILLPATHNVPROC)(GLuint path, GLenum fillMode, GLuint mask); typedef void (GLAPIENTRY *PFNGLSTENCILFUNCPROC)(GLenum func, GLint ref, GLuint mask); typedef void (GLAPIENTRY *PFNGLSTENCILFUNCSEPARATEPROC)(GLenum face, GLenum func, GLint ref, GLuint mask); typedef void (GLAPIENTRY *PFNGLSTENCILFUNCSEPARATEATIPROC)(GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask); typedef void (GLAPIENTRY *PFNGLSTENCILMASKPROC)(GLuint mask); typedef void (GLAPIENTRY *PFNGLSTENCILMASKSEPARATEPROC)(GLenum face, GLuint mask); typedef void (GLAPIENTRY *PFNGLSTENCILOPPROC)(GLenum fail, GLenum zfail, GLenum zpass); typedef void (GLAPIENTRY *PFNGLSTENCILOPSEPARATEPROC)(GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass); typedef void (GLAPIENTRY *PFNGLSTENCILOPSEPARATEATIPROC)(GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass); typedef void (GLAPIENTRY *PFNGLSTENCILOPVALUEAMDPROC)(GLenum face, GLuint value); typedef void (GLAPIENTRY *PFNGLSTENCILSTROKEPATHINSTANCEDNVPROC)(GLsizei numPaths, GLenum pathNameType, const void * paths, GLuint pathBase, GLint reference, GLuint mask, GLenum transformType, const GLfloat * transformValues); typedef void (GLAPIENTRY *PFNGLSTENCILSTROKEPATHNVPROC)(GLuint path, GLint reference, GLuint mask); typedef void (GLAPIENTRY *PFNGLSTENCILTHENCOVERFILLPATHINSTANCEDNVPROC)(GLsizei numPaths, GLenum pathNameType, const void * paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat * transformValues); typedef void (GLAPIENTRY *PFNGLSTENCILTHENCOVERFILLPATHNVPROC)(GLuint path, GLenum fillMode, GLuint mask, GLenum coverMode); typedef void (GLAPIENTRY *PFNGLSTENCILTHENCOVERSTROKEPATHINSTANCEDNVPROC)(GLsizei numPaths, GLenum pathNameType, const void * paths, GLuint pathBase, GLint reference, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat * transformValues); typedef void (GLAPIENTRY *PFNGLSTENCILTHENCOVERSTROKEPATHNVPROC)(GLuint path, GLint reference, GLuint mask, GLenum coverMode); typedef void (GLAPIENTRY *PFNGLSTOPINSTRUMENTSSGIXPROC)(GLint marker); typedef void (GLAPIENTRY *PFNGLSTRINGMARKERGREMEDYPROC)(GLsizei len, const void * string); typedef void (GLAPIENTRY *PFNGLSUBPIXELPRECISIONBIASNVPROC)(GLuint xbits, GLuint ybits); typedef void (GLAPIENTRY *PFNGLSWIZZLEEXTPROC)(GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW); typedef void (GLAPIENTRY *PFNGLSYNCTEXTUREINTELPROC)(GLuint texture); typedef void (GLAPIENTRY *PFNGLTAGSAMPLEBUFFERSGIXPROC)(void); typedef void (GLAPIENTRY *PFNGLTANGENT3BEXTPROC)(GLbyte tx, GLbyte ty, GLbyte tz); typedef void (GLAPIENTRY *PFNGLTANGENT3BVEXTPROC)(const GLbyte * v); typedef void (GLAPIENTRY *PFNGLTANGENT3DEXTPROC)(GLdouble tx, GLdouble ty, GLdouble tz); typedef void (GLAPIENTRY *PFNGLTANGENT3DVEXTPROC)(const GLdouble * v); typedef void (GLAPIENTRY *PFNGLTANGENT3FEXTPROC)(GLfloat tx, GLfloat ty, GLfloat tz); typedef void (GLAPIENTRY *PFNGLTANGENT3FVEXTPROC)(const GLfloat * v); typedef void (GLAPIENTRY *PFNGLTANGENT3IEXTPROC)(GLint tx, GLint ty, GLint tz); typedef void (GLAPIENTRY *PFNGLTANGENT3IVEXTPROC)(const GLint * v); typedef void (GLAPIENTRY *PFNGLTANGENT3SEXTPROC)(GLshort tx, GLshort ty, GLshort tz); typedef void (GLAPIENTRY *PFNGLTANGENT3SVEXTPROC)(const GLshort * v); typedef void (GLAPIENTRY *PFNGLTANGENTPOINTEREXTPROC)(GLenum type, GLsizei stride, const void * pointer); typedef void (GLAPIENTRY *PFNGLTBUFFERMASK3DFXPROC)(GLuint mask); typedef void (GLAPIENTRY *PFNGLTESSELLATIONFACTORAMDPROC)(GLfloat factor); typedef void (GLAPIENTRY *PFNGLTESSELLATIONMODEAMDPROC)(GLenum mode); typedef GLboolean (GLAPIENTRY *PFNGLTESTFENCEAPPLEPROC)(GLuint fence); typedef GLboolean (GLAPIENTRY *PFNGLTESTFENCENVPROC)(GLuint fence); typedef GLboolean (GLAPIENTRY *PFNGLTESTOBJECTAPPLEPROC)(GLenum object, GLuint name); typedef void (GLAPIENTRY *PFNGLTEXATTACHMEMORYNVPROC)(GLenum target, GLuint memory, GLuint64 offset); typedef void (GLAPIENTRY *PFNGLTEXBUFFERPROC)(GLenum target, GLenum internalformat, GLuint buffer); typedef void (GLAPIENTRY *PFNGLTEXBUFFERARBPROC)(GLenum target, GLenum internalformat, GLuint buffer); typedef void (GLAPIENTRY *PFNGLTEXBUFFEREXTPROC)(GLenum target, GLenum internalformat, GLuint buffer); typedef void (GLAPIENTRY *PFNGLTEXBUFFEROESPROC)(GLenum target, GLenum internalformat, GLuint buffer); typedef void (GLAPIENTRY *PFNGLTEXBUFFERRANGEPROC)(GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size); typedef void (GLAPIENTRY *PFNGLTEXBUFFERRANGEEXTPROC)(GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size); typedef void (GLAPIENTRY *PFNGLTEXBUFFERRANGEOESPROC)(GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size); typedef void (GLAPIENTRY *PFNGLTEXBUMPPARAMETERFVATIPROC)(GLenum pname, const GLfloat * param); typedef void (GLAPIENTRY *PFNGLTEXBUMPPARAMETERIVATIPROC)(GLenum pname, const GLint * param); typedef void (GLAPIENTRY *PFNGLTEXCOORD1BOESPROC)(GLbyte s); typedef void (GLAPIENTRY *PFNGLTEXCOORD1BVOESPROC)(const GLbyte * coords); typedef void (GLAPIENTRY *PFNGLTEXCOORD1DPROC)(GLdouble s); typedef void (GLAPIENTRY *PFNGLTEXCOORD1DVPROC)(const GLdouble * v); typedef void (GLAPIENTRY *PFNGLTEXCOORD1FPROC)(GLfloat s); typedef void (GLAPIENTRY *PFNGLTEXCOORD1FVPROC)(const GLfloat * v); typedef void (GLAPIENTRY *PFNGLTEXCOORD1HNVPROC)(GLhalfNV s); typedef void (GLAPIENTRY *PFNGLTEXCOORD1HVNVPROC)(const GLhalfNV * v); typedef void (GLAPIENTRY *PFNGLTEXCOORD1IPROC)(GLint s); typedef void (GLAPIENTRY *PFNGLTEXCOORD1IVPROC)(const GLint * v); typedef void (GLAPIENTRY *PFNGLTEXCOORD1SPROC)(GLshort s); typedef void (GLAPIENTRY *PFNGLTEXCOORD1SVPROC)(const GLshort * v); typedef void (GLAPIENTRY *PFNGLTEXCOORD1XOESPROC)(GLfixed s); typedef void (GLAPIENTRY *PFNGLTEXCOORD1XVOESPROC)(const GLfixed * coords); typedef void (GLAPIENTRY *PFNGLTEXCOORD2BOESPROC)(GLbyte s, GLbyte t); typedef void (GLAPIENTRY *PFNGLTEXCOORD2BVOESPROC)(const GLbyte * coords); typedef void (GLAPIENTRY *PFNGLTEXCOORD2DPROC)(GLdouble s, GLdouble t); typedef void (GLAPIENTRY *PFNGLTEXCOORD2DVPROC)(const GLdouble * v); typedef void (GLAPIENTRY *PFNGLTEXCOORD2FPROC)(GLfloat s, GLfloat t); typedef void (GLAPIENTRY *PFNGLTEXCOORD2FCOLOR3FVERTEX3FSUNPROC)(GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z); typedef void (GLAPIENTRY *PFNGLTEXCOORD2FCOLOR3FVERTEX3FVSUNPROC)(const GLfloat * tc, const GLfloat * c, const GLfloat * v); typedef void (GLAPIENTRY *PFNGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUNPROC)(GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); typedef void (GLAPIENTRY *PFNGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC)(const GLfloat * tc, const GLfloat * c, const GLfloat * n, const GLfloat * v); typedef void (GLAPIENTRY *PFNGLTEXCOORD2FCOLOR4UBVERTEX3FSUNPROC)(GLfloat s, GLfloat t, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z); typedef void (GLAPIENTRY *PFNGLTEXCOORD2FCOLOR4UBVERTEX3FVSUNPROC)(const GLfloat * tc, const GLubyte * c, const GLfloat * v); typedef void (GLAPIENTRY *PFNGLTEXCOORD2FNORMAL3FVERTEX3FSUNPROC)(GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); typedef void (GLAPIENTRY *PFNGLTEXCOORD2FNORMAL3FVERTEX3FVSUNPROC)(const GLfloat * tc, const GLfloat * n, const GLfloat * v); typedef void (GLAPIENTRY *PFNGLTEXCOORD2FVERTEX3FSUNPROC)(GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z); typedef void (GLAPIENTRY *PFNGLTEXCOORD2FVERTEX3FVSUNPROC)(const GLfloat * tc, const GLfloat * v); typedef void (GLAPIENTRY *PFNGLTEXCOORD2FVPROC)(const GLfloat * v); typedef void (GLAPIENTRY *PFNGLTEXCOORD2HNVPROC)(GLhalfNV s, GLhalfNV t); typedef void (GLAPIENTRY *PFNGLTEXCOORD2HVNVPROC)(const GLhalfNV * v); typedef void (GLAPIENTRY *PFNGLTEXCOORD2IPROC)(GLint s, GLint t); typedef void (GLAPIENTRY *PFNGLTEXCOORD2IVPROC)(const GLint * v); typedef void (GLAPIENTRY *PFNGLTEXCOORD2SPROC)(GLshort s, GLshort t); typedef void (GLAPIENTRY *PFNGLTEXCOORD2SVPROC)(const GLshort * v); typedef void (GLAPIENTRY *PFNGLTEXCOORD2XOESPROC)(GLfixed s, GLfixed t); typedef void (GLAPIENTRY *PFNGLTEXCOORD2XVOESPROC)(const GLfixed * coords); typedef void (GLAPIENTRY *PFNGLTEXCOORD3BOESPROC)(GLbyte s, GLbyte t, GLbyte r); typedef void (GLAPIENTRY *PFNGLTEXCOORD3BVOESPROC)(const GLbyte * coords); typedef void (GLAPIENTRY *PFNGLTEXCOORD3DPROC)(GLdouble s, GLdouble t, GLdouble r); typedef void (GLAPIENTRY *PFNGLTEXCOORD3DVPROC)(const GLdouble * v); typedef void (GLAPIENTRY *PFNGLTEXCOORD3FPROC)(GLfloat s, GLfloat t, GLfloat r); typedef void (GLAPIENTRY *PFNGLTEXCOORD3FVPROC)(const GLfloat * v); typedef void (GLAPIENTRY *PFNGLTEXCOORD3HNVPROC)(GLhalfNV s, GLhalfNV t, GLhalfNV r); typedef void (GLAPIENTRY *PFNGLTEXCOORD3HVNVPROC)(const GLhalfNV * v); typedef void (GLAPIENTRY *PFNGLTEXCOORD3IPROC)(GLint s, GLint t, GLint r); typedef void (GLAPIENTRY *PFNGLTEXCOORD3IVPROC)(const GLint * v); typedef void (GLAPIENTRY *PFNGLTEXCOORD3SPROC)(GLshort s, GLshort t, GLshort r); typedef void (GLAPIENTRY *PFNGLTEXCOORD3SVPROC)(const GLshort * v); typedef void (GLAPIENTRY *PFNGLTEXCOORD3XOESPROC)(GLfixed s, GLfixed t, GLfixed r); typedef void (GLAPIENTRY *PFNGLTEXCOORD3XVOESPROC)(const GLfixed * coords); typedef void (GLAPIENTRY *PFNGLTEXCOORD4BOESPROC)(GLbyte s, GLbyte t, GLbyte r, GLbyte q); typedef void (GLAPIENTRY *PFNGLTEXCOORD4BVOESPROC)(const GLbyte * coords); typedef void (GLAPIENTRY *PFNGLTEXCOORD4DPROC)(GLdouble s, GLdouble t, GLdouble r, GLdouble q); typedef void (GLAPIENTRY *PFNGLTEXCOORD4DVPROC)(const GLdouble * v); typedef void (GLAPIENTRY *PFNGLTEXCOORD4FPROC)(GLfloat s, GLfloat t, GLfloat r, GLfloat q); typedef void (GLAPIENTRY *PFNGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FSUNPROC)(GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z, GLfloat w); typedef void (GLAPIENTRY *PFNGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FVSUNPROC)(const GLfloat * tc, const GLfloat * c, const GLfloat * n, const GLfloat * v); typedef void (GLAPIENTRY *PFNGLTEXCOORD4FVERTEX4FSUNPROC)(GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat x, GLfloat y, GLfloat z, GLfloat w); typedef void (GLAPIENTRY *PFNGLTEXCOORD4FVERTEX4FVSUNPROC)(const GLfloat * tc, const GLfloat * v); typedef void (GLAPIENTRY *PFNGLTEXCOORD4FVPROC)(const GLfloat * v); typedef void (GLAPIENTRY *PFNGLTEXCOORD4HNVPROC)(GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q); typedef void (GLAPIENTRY *PFNGLTEXCOORD4HVNVPROC)(const GLhalfNV * v); typedef void (GLAPIENTRY *PFNGLTEXCOORD4IPROC)(GLint s, GLint t, GLint r, GLint q); typedef void (GLAPIENTRY *PFNGLTEXCOORD4IVPROC)(const GLint * v); typedef void (GLAPIENTRY *PFNGLTEXCOORD4SPROC)(GLshort s, GLshort t, GLshort r, GLshort q); typedef void (GLAPIENTRY *PFNGLTEXCOORD4SVPROC)(const GLshort * v); typedef void (GLAPIENTRY *PFNGLTEXCOORD4XOESPROC)(GLfixed s, GLfixed t, GLfixed r, GLfixed q); typedef void (GLAPIENTRY *PFNGLTEXCOORD4XVOESPROC)(const GLfixed * coords); typedef void (GLAPIENTRY *PFNGLTEXCOORDFORMATNVPROC)(GLint size, GLenum type, GLsizei stride); typedef void (GLAPIENTRY *PFNGLTEXCOORDP1UIPROC)(GLenum type, GLuint coords); typedef void (GLAPIENTRY *PFNGLTEXCOORDP1UIVPROC)(GLenum type, const GLuint * coords); typedef void (GLAPIENTRY *PFNGLTEXCOORDP2UIPROC)(GLenum type, GLuint coords); typedef void (GLAPIENTRY *PFNGLTEXCOORDP2UIVPROC)(GLenum type, const GLuint * coords); typedef void (GLAPIENTRY *PFNGLTEXCOORDP3UIPROC)(GLenum type, GLuint coords); typedef void (GLAPIENTRY *PFNGLTEXCOORDP3UIVPROC)(GLenum type, const GLuint * coords); typedef void (GLAPIENTRY *PFNGLTEXCOORDP4UIPROC)(GLenum type, GLuint coords); typedef void (GLAPIENTRY *PFNGLTEXCOORDP4UIVPROC)(GLenum type, const GLuint * coords); typedef void (GLAPIENTRY *PFNGLTEXCOORDPOINTERPROC)(GLint size, GLenum type, GLsizei stride, const void * pointer); typedef void (GLAPIENTRY *PFNGLTEXCOORDPOINTEREXTPROC)(GLint size, GLenum type, GLsizei stride, GLsizei count, const void * pointer); typedef void (GLAPIENTRY *PFNGLTEXCOORDPOINTERLISTIBMPROC)(GLint size, GLenum type, GLint stride, const void ** pointer, GLint ptrstride); typedef void (GLAPIENTRY *PFNGLTEXCOORDPOINTERVINTELPROC)(GLint size, GLenum type, const void ** pointer); typedef void (GLAPIENTRY *PFNGLTEXENVFPROC)(GLenum target, GLenum pname, GLfloat param); typedef void (GLAPIENTRY *PFNGLTEXENVFVPROC)(GLenum target, GLenum pname, const GLfloat * params); typedef void (GLAPIENTRY *PFNGLTEXENVIPROC)(GLenum target, GLenum pname, GLint param); typedef void (GLAPIENTRY *PFNGLTEXENVIVPROC)(GLenum target, GLenum pname, const GLint * params); typedef void (GLAPIENTRY *PFNGLTEXENVXPROC)(GLenum target, GLenum pname, GLfixed param); typedef void (GLAPIENTRY *PFNGLTEXENVXOESPROC)(GLenum target, GLenum pname, GLfixed param); typedef void (GLAPIENTRY *PFNGLTEXENVXVPROC)(GLenum target, GLenum pname, const GLfixed * params); typedef void (GLAPIENTRY *PFNGLTEXENVXVOESPROC)(GLenum target, GLenum pname, const GLfixed * params); typedef void (GLAPIENTRY *PFNGLTEXFILTERFUNCSGISPROC)(GLenum target, GLenum filter, GLsizei n, const GLfloat * weights); typedef void (GLAPIENTRY *PFNGLTEXGENDPROC)(GLenum coord, GLenum pname, GLdouble param); typedef void (GLAPIENTRY *PFNGLTEXGENDVPROC)(GLenum coord, GLenum pname, const GLdouble * params); typedef void (GLAPIENTRY *PFNGLTEXGENFPROC)(GLenum coord, GLenum pname, GLfloat param); typedef void (GLAPIENTRY *PFNGLTEXGENFOESPROC)(GLenum coord, GLenum pname, GLfloat param); typedef void (GLAPIENTRY *PFNGLTEXGENFVPROC)(GLenum coord, GLenum pname, const GLfloat * params); typedef void (GLAPIENTRY *PFNGLTEXGENFVOESPROC)(GLenum coord, GLenum pname, const GLfloat * params); typedef void (GLAPIENTRY *PFNGLTEXGENIPROC)(GLenum coord, GLenum pname, GLint param); typedef void (GLAPIENTRY *PFNGLTEXGENIOESPROC)(GLenum coord, GLenum pname, GLint param); typedef void (GLAPIENTRY *PFNGLTEXGENIVPROC)(GLenum coord, GLenum pname, const GLint * params); typedef void (GLAPIENTRY *PFNGLTEXGENIVOESPROC)(GLenum coord, GLenum pname, const GLint * params); typedef void (GLAPIENTRY *PFNGLTEXGENXOESPROC)(GLenum coord, GLenum pname, GLfixed param); typedef void (GLAPIENTRY *PFNGLTEXGENXVOESPROC)(GLenum coord, GLenum pname, const GLfixed * params); typedef void (GLAPIENTRY *PFNGLTEXIMAGE1DPROC)(GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void * pixels); typedef void (GLAPIENTRY *PFNGLTEXIMAGE2DPROC)(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void * pixels); typedef void (GLAPIENTRY *PFNGLTEXIMAGE2DMULTISAMPLEPROC)(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations); typedef void (GLAPIENTRY *PFNGLTEXIMAGE2DMULTISAMPLECOVERAGENVPROC)(GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations); typedef void (GLAPIENTRY *PFNGLTEXIMAGE3DPROC)(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void * pixels); typedef void (GLAPIENTRY *PFNGLTEXIMAGE3DEXTPROC)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void * pixels); typedef void (GLAPIENTRY *PFNGLTEXIMAGE3DMULTISAMPLEPROC)(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations); typedef void (GLAPIENTRY *PFNGLTEXIMAGE3DMULTISAMPLECOVERAGENVPROC)(GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations); typedef void (GLAPIENTRY *PFNGLTEXIMAGE3DOESPROC)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void * pixels); typedef void (GLAPIENTRY *PFNGLTEXIMAGE4DSGISPROC)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLsizei size4d, GLint border, GLenum format, GLenum type, const void * pixels); typedef void (GLAPIENTRY *PFNGLTEXPAGECOMMITMENTARBPROC)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean commit); typedef void (GLAPIENTRY *PFNGLTEXPAGECOMMITMENTEXTPROC)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean commit); typedef void (GLAPIENTRY *PFNGLTEXPARAMETERIIVPROC)(GLenum target, GLenum pname, const GLint * params); typedef void (GLAPIENTRY *PFNGLTEXPARAMETERIIVEXTPROC)(GLenum target, GLenum pname, const GLint * params); typedef void (GLAPIENTRY *PFNGLTEXPARAMETERIIVOESPROC)(GLenum target, GLenum pname, const GLint * params); typedef void (GLAPIENTRY *PFNGLTEXPARAMETERIUIVPROC)(GLenum target, GLenum pname, const GLuint * params); typedef void (GLAPIENTRY *PFNGLTEXPARAMETERIUIVEXTPROC)(GLenum target, GLenum pname, const GLuint * params); typedef void (GLAPIENTRY *PFNGLTEXPARAMETERIUIVOESPROC)(GLenum target, GLenum pname, const GLuint * params); typedef void (GLAPIENTRY *PFNGLTEXPARAMETERFPROC)(GLenum target, GLenum pname, GLfloat param); typedef void (GLAPIENTRY *PFNGLTEXPARAMETERFVPROC)(GLenum target, GLenum pname, const GLfloat * params); typedef void (GLAPIENTRY *PFNGLTEXPARAMETERIPROC)(GLenum target, GLenum pname, GLint param); typedef void (GLAPIENTRY *PFNGLTEXPARAMETERIVPROC)(GLenum target, GLenum pname, const GLint * params); typedef void (GLAPIENTRY *PFNGLTEXPARAMETERXPROC)(GLenum target, GLenum pname, GLfixed param); typedef void (GLAPIENTRY *PFNGLTEXPARAMETERXOESPROC)(GLenum target, GLenum pname, GLfixed param); typedef void (GLAPIENTRY *PFNGLTEXPARAMETERXVPROC)(GLenum target, GLenum pname, const GLfixed * params); typedef void (GLAPIENTRY *PFNGLTEXPARAMETERXVOESPROC)(GLenum target, GLenum pname, const GLfixed * params); typedef void (GLAPIENTRY *PFNGLTEXRENDERBUFFERNVPROC)(GLenum target, GLuint renderbuffer); typedef void (GLAPIENTRY *PFNGLTEXSTORAGE1DPROC)(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); typedef void (GLAPIENTRY *PFNGLTEXSTORAGE1DEXTPROC)(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); typedef void (GLAPIENTRY *PFNGLTEXSTORAGE2DPROC)(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); typedef void (GLAPIENTRY *PFNGLTEXSTORAGE2DEXTPROC)(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); typedef void (GLAPIENTRY *PFNGLTEXSTORAGE2DMULTISAMPLEPROC)(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations); typedef void (GLAPIENTRY *PFNGLTEXSTORAGE3DPROC)(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); typedef void (GLAPIENTRY *PFNGLTEXSTORAGE3DEXTPROC)(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); typedef void (GLAPIENTRY *PFNGLTEXSTORAGE3DMULTISAMPLEPROC)(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations); typedef void (GLAPIENTRY *PFNGLTEXSTORAGE3DMULTISAMPLEOESPROC)(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations); typedef void (GLAPIENTRY *PFNGLTEXSTORAGEMEM1DEXTPROC)(GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLuint memory, GLuint64 offset); typedef void (GLAPIENTRY *PFNGLTEXSTORAGEMEM2DEXTPROC)(GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLuint memory, GLuint64 offset); typedef void (GLAPIENTRY *PFNGLTEXSTORAGEMEM2DMULTISAMPLEEXTPROC)(GLenum target, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset); typedef void (GLAPIENTRY *PFNGLTEXSTORAGEMEM3DEXTPROC)(GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset); typedef void (GLAPIENTRY *PFNGLTEXSTORAGEMEM3DMULTISAMPLEEXTPROC)(GLenum target, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset); typedef void (GLAPIENTRY *PFNGLTEXSTORAGESPARSEAMDPROC)(GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLsizei layers, GLbitfield flags); typedef void (GLAPIENTRY *PFNGLTEXSUBIMAGE1DPROC)(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void * pixels); typedef void (GLAPIENTRY *PFNGLTEXSUBIMAGE1DEXTPROC)(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void * pixels); typedef void (GLAPIENTRY *PFNGLTEXSUBIMAGE2DPROC)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void * pixels); typedef void (GLAPIENTRY *PFNGLTEXSUBIMAGE2DEXTPROC)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void * pixels); typedef void (GLAPIENTRY *PFNGLTEXSUBIMAGE3DPROC)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void * pixels); typedef void (GLAPIENTRY *PFNGLTEXSUBIMAGE3DEXTPROC)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void * pixels); typedef void (GLAPIENTRY *PFNGLTEXSUBIMAGE3DOESPROC)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void * pixels); typedef void (GLAPIENTRY *PFNGLTEXSUBIMAGE4DSGISPROC)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint woffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei size4d, GLenum format, GLenum type, const void * pixels); typedef void (GLAPIENTRY *PFNGLTEXTUREATTACHMEMORYNVPROC)(GLuint texture, GLuint memory, GLuint64 offset); typedef void (GLAPIENTRY *PFNGLTEXTUREBARRIERPROC)(void); typedef void (GLAPIENTRY *PFNGLTEXTUREBARRIERNVPROC)(void); typedef void (GLAPIENTRY *PFNGLTEXTUREBUFFERPROC)(GLuint texture, GLenum internalformat, GLuint buffer); typedef void (GLAPIENTRY *PFNGLTEXTUREBUFFEREXTPROC)(GLuint texture, GLenum target, GLenum internalformat, GLuint buffer); typedef void (GLAPIENTRY *PFNGLTEXTUREBUFFERRANGEPROC)(GLuint texture, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size); typedef void (GLAPIENTRY *PFNGLTEXTUREBUFFERRANGEEXTPROC)(GLuint texture, GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size); typedef void (GLAPIENTRY *PFNGLTEXTURECOLORMASKSGISPROC)(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha); typedef void (GLAPIENTRY *PFNGLTEXTUREFOVEATIONPARAMETERSQCOMPROC)(GLuint texture, GLuint layer, GLuint focalPoint, GLfloat focalX, GLfloat focalY, GLfloat gainX, GLfloat gainY, GLfloat foveaArea); typedef void (GLAPIENTRY *PFNGLTEXTUREIMAGE1DEXTPROC)(GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void * pixels); typedef void (GLAPIENTRY *PFNGLTEXTUREIMAGE2DEXTPROC)(GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void * pixels); typedef void (GLAPIENTRY *PFNGLTEXTUREIMAGE2DMULTISAMPLECOVERAGENVPROC)(GLuint texture, GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations); typedef void (GLAPIENTRY *PFNGLTEXTUREIMAGE2DMULTISAMPLENVPROC)(GLuint texture, GLenum target, GLsizei samples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations); typedef void (GLAPIENTRY *PFNGLTEXTUREIMAGE3DEXTPROC)(GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void * pixels); typedef void (GLAPIENTRY *PFNGLTEXTUREIMAGE3DMULTISAMPLECOVERAGENVPROC)(GLuint texture, GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations); typedef void (GLAPIENTRY *PFNGLTEXTUREIMAGE3DMULTISAMPLENVPROC)(GLuint texture, GLenum target, GLsizei samples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations); typedef void (GLAPIENTRY *PFNGLTEXTURELIGHTEXTPROC)(GLenum pname); typedef void (GLAPIENTRY *PFNGLTEXTUREMATERIALEXTPROC)(GLenum face, GLenum mode); typedef void (GLAPIENTRY *PFNGLTEXTURENORMALEXTPROC)(GLenum mode); typedef void (GLAPIENTRY *PFNGLTEXTUREPAGECOMMITMENTEXTPROC)(GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean commit); typedef void (GLAPIENTRY *PFNGLTEXTUREPARAMETERIIVPROC)(GLuint texture, GLenum pname, const GLint * params); typedef void (GLAPIENTRY *PFNGLTEXTUREPARAMETERIIVEXTPROC)(GLuint texture, GLenum target, GLenum pname, const GLint * params); typedef void (GLAPIENTRY *PFNGLTEXTUREPARAMETERIUIVPROC)(GLuint texture, GLenum pname, const GLuint * params); typedef void (GLAPIENTRY *PFNGLTEXTUREPARAMETERIUIVEXTPROC)(GLuint texture, GLenum target, GLenum pname, const GLuint * params); typedef void (GLAPIENTRY *PFNGLTEXTUREPARAMETERFPROC)(GLuint texture, GLenum pname, GLfloat param); typedef void (GLAPIENTRY *PFNGLTEXTUREPARAMETERFEXTPROC)(GLuint texture, GLenum target, GLenum pname, GLfloat param); typedef void (GLAPIENTRY *PFNGLTEXTUREPARAMETERFVPROC)(GLuint texture, GLenum pname, const GLfloat * param); typedef void (GLAPIENTRY *PFNGLTEXTUREPARAMETERFVEXTPROC)(GLuint texture, GLenum target, GLenum pname, const GLfloat * params); typedef void (GLAPIENTRY *PFNGLTEXTUREPARAMETERIPROC)(GLuint texture, GLenum pname, GLint param); typedef void (GLAPIENTRY *PFNGLTEXTUREPARAMETERIEXTPROC)(GLuint texture, GLenum target, GLenum pname, GLint param); typedef void (GLAPIENTRY *PFNGLTEXTUREPARAMETERIVPROC)(GLuint texture, GLenum pname, const GLint * param); typedef void (GLAPIENTRY *PFNGLTEXTUREPARAMETERIVEXTPROC)(GLuint texture, GLenum target, GLenum pname, const GLint * params); typedef void (GLAPIENTRY *PFNGLTEXTURERANGEAPPLEPROC)(GLenum target, GLsizei length, const void * pointer); typedef void (GLAPIENTRY *PFNGLTEXTURERENDERBUFFEREXTPROC)(GLuint texture, GLenum target, GLuint renderbuffer); typedef void (GLAPIENTRY *PFNGLTEXTURESTORAGE1DPROC)(GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width); typedef void (GLAPIENTRY *PFNGLTEXTURESTORAGE1DEXTPROC)(GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); typedef void (GLAPIENTRY *PFNGLTEXTURESTORAGE2DPROC)(GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); typedef void (GLAPIENTRY *PFNGLTEXTURESTORAGE2DEXTPROC)(GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); typedef void (GLAPIENTRY *PFNGLTEXTURESTORAGE2DMULTISAMPLEPROC)(GLuint texture, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations); typedef void (GLAPIENTRY *PFNGLTEXTURESTORAGE2DMULTISAMPLEEXTPROC)(GLuint texture, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations); typedef void (GLAPIENTRY *PFNGLTEXTURESTORAGE3DPROC)(GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); typedef void (GLAPIENTRY *PFNGLTEXTURESTORAGE3DEXTPROC)(GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); typedef void (GLAPIENTRY *PFNGLTEXTURESTORAGE3DMULTISAMPLEPROC)(GLuint texture, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations); typedef void (GLAPIENTRY *PFNGLTEXTURESTORAGE3DMULTISAMPLEEXTPROC)(GLuint texture, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations); typedef void (GLAPIENTRY *PFNGLTEXTURESTORAGEMEM1DEXTPROC)(GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLuint memory, GLuint64 offset); typedef void (GLAPIENTRY *PFNGLTEXTURESTORAGEMEM2DEXTPROC)(GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLuint memory, GLuint64 offset); typedef void (GLAPIENTRY *PFNGLTEXTURESTORAGEMEM2DMULTISAMPLEEXTPROC)(GLuint texture, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset); typedef void (GLAPIENTRY *PFNGLTEXTURESTORAGEMEM3DEXTPROC)(GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset); typedef void (GLAPIENTRY *PFNGLTEXTURESTORAGEMEM3DMULTISAMPLEEXTPROC)(GLuint texture, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset); typedef void (GLAPIENTRY *PFNGLTEXTURESTORAGESPARSEAMDPROC)(GLuint texture, GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLsizei layers, GLbitfield flags); typedef void (GLAPIENTRY *PFNGLTEXTURESUBIMAGE1DPROC)(GLuint texture, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void * pixels); typedef void (GLAPIENTRY *PFNGLTEXTURESUBIMAGE1DEXTPROC)(GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void * pixels); typedef void (GLAPIENTRY *PFNGLTEXTURESUBIMAGE2DPROC)(GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void * pixels); typedef void (GLAPIENTRY *PFNGLTEXTURESUBIMAGE2DEXTPROC)(GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void * pixels); typedef void (GLAPIENTRY *PFNGLTEXTURESUBIMAGE3DPROC)(GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void * pixels); typedef void (GLAPIENTRY *PFNGLTEXTURESUBIMAGE3DEXTPROC)(GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void * pixels); typedef void (GLAPIENTRY *PFNGLTEXTUREVIEWPROC)(GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers); typedef void (GLAPIENTRY *PFNGLTEXTUREVIEWEXTPROC)(GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers); typedef void (GLAPIENTRY *PFNGLTEXTUREVIEWOESPROC)(GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers); typedef void (GLAPIENTRY *PFNGLTRACKMATRIXNVPROC)(GLenum target, GLuint address, GLenum matrix, GLenum transform); typedef void (GLAPIENTRY *PFNGLTRANSFORMFEEDBACKATTRIBSNVPROC)(GLsizei count, const GLint * attribs, GLenum bufferMode); typedef void (GLAPIENTRY *PFNGLTRANSFORMFEEDBACKBUFFERBASEPROC)(GLuint xfb, GLuint index, GLuint buffer); typedef void (GLAPIENTRY *PFNGLTRANSFORMFEEDBACKBUFFERRANGEPROC)(GLuint xfb, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); typedef void (GLAPIENTRY *PFNGLTRANSFORMFEEDBACKSTREAMATTRIBSNVPROC)(GLsizei count, const GLint * attribs, GLsizei nbuffers, const GLint * bufstreams, GLenum bufferMode); typedef void (GLAPIENTRY *PFNGLTRANSFORMFEEDBACKVARYINGSPROC)(GLuint program, GLsizei count, const GLchar *const* varyings, GLenum bufferMode); typedef void (GLAPIENTRY *PFNGLTRANSFORMFEEDBACKVARYINGSEXTPROC)(GLuint program, GLsizei count, const GLchar *const* varyings, GLenum bufferMode); typedef void (GLAPIENTRY *PFNGLTRANSFORMFEEDBACKVARYINGSNVPROC)(GLuint program, GLsizei count, const GLint * locations, GLenum bufferMode); typedef void (GLAPIENTRY *PFNGLTRANSFORMPATHNVPROC)(GLuint resultPath, GLuint srcPath, GLenum transformType, const GLfloat * transformValues); typedef void (GLAPIENTRY *PFNGLTRANSLATEDPROC)(GLdouble x, GLdouble y, GLdouble z); typedef void (GLAPIENTRY *PFNGLTRANSLATEFPROC)(GLfloat x, GLfloat y, GLfloat z); typedef void (GLAPIENTRY *PFNGLTRANSLATEXPROC)(GLfixed x, GLfixed y, GLfixed z); typedef void (GLAPIENTRY *PFNGLTRANSLATEXOESPROC)(GLfixed x, GLfixed y, GLfixed z); typedef void (GLAPIENTRY *PFNGLUNIFORM1DPROC)(GLint location, GLdouble x); typedef void (GLAPIENTRY *PFNGLUNIFORM1DVPROC)(GLint location, GLsizei count, const GLdouble * value); typedef void (GLAPIENTRY *PFNGLUNIFORM1FPROC)(GLint location, GLfloat v0); typedef void (GLAPIENTRY *PFNGLUNIFORM1FARBPROC)(GLint location, GLfloat v0); typedef void (GLAPIENTRY *PFNGLUNIFORM1FVPROC)(GLint location, GLsizei count, const GLfloat * value); typedef void (GLAPIENTRY *PFNGLUNIFORM1FVARBPROC)(GLint location, GLsizei count, const GLfloat * value); typedef void (GLAPIENTRY *PFNGLUNIFORM1IPROC)(GLint location, GLint v0); typedef void (GLAPIENTRY *PFNGLUNIFORM1I64ARBPROC)(GLint location, GLint64 x); typedef void (GLAPIENTRY *PFNGLUNIFORM1I64NVPROC)(GLint location, GLint64EXT x); typedef void (GLAPIENTRY *PFNGLUNIFORM1I64VARBPROC)(GLint location, GLsizei count, const GLint64 * value); typedef void (GLAPIENTRY *PFNGLUNIFORM1I64VNVPROC)(GLint location, GLsizei count, const GLint64EXT * value); typedef void (GLAPIENTRY *PFNGLUNIFORM1IARBPROC)(GLint location, GLint v0); typedef void (GLAPIENTRY *PFNGLUNIFORM1IVPROC)(GLint location, GLsizei count, const GLint * value); typedef void (GLAPIENTRY *PFNGLUNIFORM1IVARBPROC)(GLint location, GLsizei count, const GLint * value); typedef void (GLAPIENTRY *PFNGLUNIFORM1UIPROC)(GLint location, GLuint v0); typedef void (GLAPIENTRY *PFNGLUNIFORM1UI64ARBPROC)(GLint location, GLuint64 x); typedef void (GLAPIENTRY *PFNGLUNIFORM1UI64NVPROC)(GLint location, GLuint64EXT x); typedef void (GLAPIENTRY *PFNGLUNIFORM1UI64VARBPROC)(GLint location, GLsizei count, const GLuint64 * value); typedef void (GLAPIENTRY *PFNGLUNIFORM1UI64VNVPROC)(GLint location, GLsizei count, const GLuint64EXT * value); typedef void (GLAPIENTRY *PFNGLUNIFORM1UIEXTPROC)(GLint location, GLuint v0); typedef void (GLAPIENTRY *PFNGLUNIFORM1UIVPROC)(GLint location, GLsizei count, const GLuint * value); typedef void (GLAPIENTRY *PFNGLUNIFORM1UIVEXTPROC)(GLint location, GLsizei count, const GLuint * value); typedef void (GLAPIENTRY *PFNGLUNIFORM2DPROC)(GLint location, GLdouble x, GLdouble y); typedef void (GLAPIENTRY *PFNGLUNIFORM2DVPROC)(GLint location, GLsizei count, const GLdouble * value); typedef void (GLAPIENTRY *PFNGLUNIFORM2FPROC)(GLint location, GLfloat v0, GLfloat v1); typedef void (GLAPIENTRY *PFNGLUNIFORM2FARBPROC)(GLint location, GLfloat v0, GLfloat v1); typedef void (GLAPIENTRY *PFNGLUNIFORM2FVPROC)(GLint location, GLsizei count, const GLfloat * value); typedef void (GLAPIENTRY *PFNGLUNIFORM2FVARBPROC)(GLint location, GLsizei count, const GLfloat * value); typedef void (GLAPIENTRY *PFNGLUNIFORM2IPROC)(GLint location, GLint v0, GLint v1); typedef void (GLAPIENTRY *PFNGLUNIFORM2I64ARBPROC)(GLint location, GLint64 x, GLint64 y); typedef void (GLAPIENTRY *PFNGLUNIFORM2I64NVPROC)(GLint location, GLint64EXT x, GLint64EXT y); typedef void (GLAPIENTRY *PFNGLUNIFORM2I64VARBPROC)(GLint location, GLsizei count, const GLint64 * value); typedef void (GLAPIENTRY *PFNGLUNIFORM2I64VNVPROC)(GLint location, GLsizei count, const GLint64EXT * value); typedef void (GLAPIENTRY *PFNGLUNIFORM2IARBPROC)(GLint location, GLint v0, GLint v1); typedef void (GLAPIENTRY *PFNGLUNIFORM2IVPROC)(GLint location, GLsizei count, const GLint * value); typedef void (GLAPIENTRY *PFNGLUNIFORM2IVARBPROC)(GLint location, GLsizei count, const GLint * value); typedef void (GLAPIENTRY *PFNGLUNIFORM2UIPROC)(GLint location, GLuint v0, GLuint v1); typedef void (GLAPIENTRY *PFNGLUNIFORM2UI64ARBPROC)(GLint location, GLuint64 x, GLuint64 y); typedef void (GLAPIENTRY *PFNGLUNIFORM2UI64NVPROC)(GLint location, GLuint64EXT x, GLuint64EXT y); typedef void (GLAPIENTRY *PFNGLUNIFORM2UI64VARBPROC)(GLint location, GLsizei count, const GLuint64 * value); typedef void (GLAPIENTRY *PFNGLUNIFORM2UI64VNVPROC)(GLint location, GLsizei count, const GLuint64EXT * value); typedef void (GLAPIENTRY *PFNGLUNIFORM2UIEXTPROC)(GLint location, GLuint v0, GLuint v1); typedef void (GLAPIENTRY *PFNGLUNIFORM2UIVPROC)(GLint location, GLsizei count, const GLuint * value); typedef void (GLAPIENTRY *PFNGLUNIFORM2UIVEXTPROC)(GLint location, GLsizei count, const GLuint * value); typedef void (GLAPIENTRY *PFNGLUNIFORM3DPROC)(GLint location, GLdouble x, GLdouble y, GLdouble z); typedef void (GLAPIENTRY *PFNGLUNIFORM3DVPROC)(GLint location, GLsizei count, const GLdouble * value); typedef void (GLAPIENTRY *PFNGLUNIFORM3FPROC)(GLint location, GLfloat v0, GLfloat v1, GLfloat v2); typedef void (GLAPIENTRY *PFNGLUNIFORM3FARBPROC)(GLint location, GLfloat v0, GLfloat v1, GLfloat v2); typedef void (GLAPIENTRY *PFNGLUNIFORM3FVPROC)(GLint location, GLsizei count, const GLfloat * value); typedef void (GLAPIENTRY *PFNGLUNIFORM3FVARBPROC)(GLint location, GLsizei count, const GLfloat * value); typedef void (GLAPIENTRY *PFNGLUNIFORM3IPROC)(GLint location, GLint v0, GLint v1, GLint v2); typedef void (GLAPIENTRY *PFNGLUNIFORM3I64ARBPROC)(GLint location, GLint64 x, GLint64 y, GLint64 z); typedef void (GLAPIENTRY *PFNGLUNIFORM3I64NVPROC)(GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z); typedef void (GLAPIENTRY *PFNGLUNIFORM3I64VARBPROC)(GLint location, GLsizei count, const GLint64 * value); typedef void (GLAPIENTRY *PFNGLUNIFORM3I64VNVPROC)(GLint location, GLsizei count, const GLint64EXT * value); typedef void (GLAPIENTRY *PFNGLUNIFORM3IARBPROC)(GLint location, GLint v0, GLint v1, GLint v2); typedef void (GLAPIENTRY *PFNGLUNIFORM3IVPROC)(GLint location, GLsizei count, const GLint * value); typedef void (GLAPIENTRY *PFNGLUNIFORM3IVARBPROC)(GLint location, GLsizei count, const GLint * value); typedef void (GLAPIENTRY *PFNGLUNIFORM3UIPROC)(GLint location, GLuint v0, GLuint v1, GLuint v2); typedef void (GLAPIENTRY *PFNGLUNIFORM3UI64ARBPROC)(GLint location, GLuint64 x, GLuint64 y, GLuint64 z); typedef void (GLAPIENTRY *PFNGLUNIFORM3UI64NVPROC)(GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z); typedef void (GLAPIENTRY *PFNGLUNIFORM3UI64VARBPROC)(GLint location, GLsizei count, const GLuint64 * value); typedef void (GLAPIENTRY *PFNGLUNIFORM3UI64VNVPROC)(GLint location, GLsizei count, const GLuint64EXT * value); typedef void (GLAPIENTRY *PFNGLUNIFORM3UIEXTPROC)(GLint location, GLuint v0, GLuint v1, GLuint v2); typedef void (GLAPIENTRY *PFNGLUNIFORM3UIVPROC)(GLint location, GLsizei count, const GLuint * value); typedef void (GLAPIENTRY *PFNGLUNIFORM3UIVEXTPROC)(GLint location, GLsizei count, const GLuint * value); typedef void (GLAPIENTRY *PFNGLUNIFORM4DPROC)(GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w); typedef void (GLAPIENTRY *PFNGLUNIFORM4DVPROC)(GLint location, GLsizei count, const GLdouble * value); typedef void (GLAPIENTRY *PFNGLUNIFORM4FPROC)(GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); typedef void (GLAPIENTRY *PFNGLUNIFORM4FARBPROC)(GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); typedef void (GLAPIENTRY *PFNGLUNIFORM4FVPROC)(GLint location, GLsizei count, const GLfloat * value); typedef void (GLAPIENTRY *PFNGLUNIFORM4FVARBPROC)(GLint location, GLsizei count, const GLfloat * value); typedef void (GLAPIENTRY *PFNGLUNIFORM4IPROC)(GLint location, GLint v0, GLint v1, GLint v2, GLint v3); typedef void (GLAPIENTRY *PFNGLUNIFORM4I64ARBPROC)(GLint location, GLint64 x, GLint64 y, GLint64 z, GLint64 w); typedef void (GLAPIENTRY *PFNGLUNIFORM4I64NVPROC)(GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w); typedef void (GLAPIENTRY *PFNGLUNIFORM4I64VARBPROC)(GLint location, GLsizei count, const GLint64 * value); typedef void (GLAPIENTRY *PFNGLUNIFORM4I64VNVPROC)(GLint location, GLsizei count, const GLint64EXT * value); typedef void (GLAPIENTRY *PFNGLUNIFORM4IARBPROC)(GLint location, GLint v0, GLint v1, GLint v2, GLint v3); typedef void (GLAPIENTRY *PFNGLUNIFORM4IVPROC)(GLint location, GLsizei count, const GLint * value); typedef void (GLAPIENTRY *PFNGLUNIFORM4IVARBPROC)(GLint location, GLsizei count, const GLint * value); typedef void (GLAPIENTRY *PFNGLUNIFORM4UIPROC)(GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); typedef void (GLAPIENTRY *PFNGLUNIFORM4UI64ARBPROC)(GLint location, GLuint64 x, GLuint64 y, GLuint64 z, GLuint64 w); typedef void (GLAPIENTRY *PFNGLUNIFORM4UI64NVPROC)(GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w); typedef void (GLAPIENTRY *PFNGLUNIFORM4UI64VARBPROC)(GLint location, GLsizei count, const GLuint64 * value); typedef void (GLAPIENTRY *PFNGLUNIFORM4UI64VNVPROC)(GLint location, GLsizei count, const GLuint64EXT * value); typedef void (GLAPIENTRY *PFNGLUNIFORM4UIEXTPROC)(GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); typedef void (GLAPIENTRY *PFNGLUNIFORM4UIVPROC)(GLint location, GLsizei count, const GLuint * value); typedef void (GLAPIENTRY *PFNGLUNIFORM4UIVEXTPROC)(GLint location, GLsizei count, const GLuint * value); typedef void (GLAPIENTRY *PFNGLUNIFORMBLOCKBINDINGPROC)(GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding); typedef void (GLAPIENTRY *PFNGLUNIFORMBUFFEREXTPROC)(GLuint program, GLint location, GLuint buffer); typedef void (GLAPIENTRY *PFNGLUNIFORMHANDLEUI64ARBPROC)(GLint location, GLuint64 value); typedef void (GLAPIENTRY *PFNGLUNIFORMHANDLEUI64IMGPROC)(GLint location, GLuint64 value); typedef void (GLAPIENTRY *PFNGLUNIFORMHANDLEUI64NVPROC)(GLint location, GLuint64 value); typedef void (GLAPIENTRY *PFNGLUNIFORMHANDLEUI64VARBPROC)(GLint location, GLsizei count, const GLuint64 * value); typedef void (GLAPIENTRY *PFNGLUNIFORMHANDLEUI64VIMGPROC)(GLint location, GLsizei count, const GLuint64 * value); typedef void (GLAPIENTRY *PFNGLUNIFORMHANDLEUI64VNVPROC)(GLint location, GLsizei count, const GLuint64 * value); typedef void (GLAPIENTRY *PFNGLUNIFORMMATRIX2DVPROC)(GLint location, GLsizei count, GLboolean transpose, const GLdouble * value); typedef void (GLAPIENTRY *PFNGLUNIFORMMATRIX2FVPROC)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); typedef void (GLAPIENTRY *PFNGLUNIFORMMATRIX2FVARBPROC)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); typedef void (GLAPIENTRY *PFNGLUNIFORMMATRIX2X3DVPROC)(GLint location, GLsizei count, GLboolean transpose, const GLdouble * value); typedef void (GLAPIENTRY *PFNGLUNIFORMMATRIX2X3FVPROC)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); typedef void (GLAPIENTRY *PFNGLUNIFORMMATRIX2X3FVNVPROC)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); typedef void (GLAPIENTRY *PFNGLUNIFORMMATRIX2X4DVPROC)(GLint location, GLsizei count, GLboolean transpose, const GLdouble * value); typedef void (GLAPIENTRY *PFNGLUNIFORMMATRIX2X4FVPROC)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); typedef void (GLAPIENTRY *PFNGLUNIFORMMATRIX2X4FVNVPROC)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); typedef void (GLAPIENTRY *PFNGLUNIFORMMATRIX3DVPROC)(GLint location, GLsizei count, GLboolean transpose, const GLdouble * value); typedef void (GLAPIENTRY *PFNGLUNIFORMMATRIX3FVPROC)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); typedef void (GLAPIENTRY *PFNGLUNIFORMMATRIX3FVARBPROC)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); typedef void (GLAPIENTRY *PFNGLUNIFORMMATRIX3X2DVPROC)(GLint location, GLsizei count, GLboolean transpose, const GLdouble * value); typedef void (GLAPIENTRY *PFNGLUNIFORMMATRIX3X2FVPROC)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); typedef void (GLAPIENTRY *PFNGLUNIFORMMATRIX3X2FVNVPROC)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); typedef void (GLAPIENTRY *PFNGLUNIFORMMATRIX3X4DVPROC)(GLint location, GLsizei count, GLboolean transpose, const GLdouble * value); typedef void (GLAPIENTRY *PFNGLUNIFORMMATRIX3X4FVPROC)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); typedef void (GLAPIENTRY *PFNGLUNIFORMMATRIX3X4FVNVPROC)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); typedef void (GLAPIENTRY *PFNGLUNIFORMMATRIX4DVPROC)(GLint location, GLsizei count, GLboolean transpose, const GLdouble * value); typedef void (GLAPIENTRY *PFNGLUNIFORMMATRIX4FVPROC)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); typedef void (GLAPIENTRY *PFNGLUNIFORMMATRIX4FVARBPROC)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); typedef void (GLAPIENTRY *PFNGLUNIFORMMATRIX4X2DVPROC)(GLint location, GLsizei count, GLboolean transpose, const GLdouble * value); typedef void (GLAPIENTRY *PFNGLUNIFORMMATRIX4X2FVPROC)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); typedef void (GLAPIENTRY *PFNGLUNIFORMMATRIX4X2FVNVPROC)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); typedef void (GLAPIENTRY *PFNGLUNIFORMMATRIX4X3DVPROC)(GLint location, GLsizei count, GLboolean transpose, const GLdouble * value); typedef void (GLAPIENTRY *PFNGLUNIFORMMATRIX4X3FVPROC)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); typedef void (GLAPIENTRY *PFNGLUNIFORMMATRIX4X3FVNVPROC)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); typedef void (GLAPIENTRY *PFNGLUNIFORMSUBROUTINESUIVPROC)(GLenum shadertype, GLsizei count, const GLuint * indices); typedef void (GLAPIENTRY *PFNGLUNIFORMUI64NVPROC)(GLint location, GLuint64EXT value); typedef void (GLAPIENTRY *PFNGLUNIFORMUI64VNVPROC)(GLint location, GLsizei count, const GLuint64EXT * value); typedef void (GLAPIENTRY *PFNGLUNLOCKARRAYSEXTPROC)(void); typedef GLboolean (GLAPIENTRY *PFNGLUNMAPBUFFERPROC)(GLenum target); typedef GLboolean (GLAPIENTRY *PFNGLUNMAPBUFFERARBPROC)(GLenum target); typedef GLboolean (GLAPIENTRY *PFNGLUNMAPBUFFEROESPROC)(GLenum target); typedef GLboolean (GLAPIENTRY *PFNGLUNMAPNAMEDBUFFERPROC)(GLuint buffer); typedef GLboolean (GLAPIENTRY *PFNGLUNMAPNAMEDBUFFEREXTPROC)(GLuint buffer); typedef void (GLAPIENTRY *PFNGLUNMAPOBJECTBUFFERATIPROC)(GLuint buffer); typedef void (GLAPIENTRY *PFNGLUNMAPTEXTURE2DINTELPROC)(GLuint texture, GLint level); typedef void (GLAPIENTRY *PFNGLUPDATEOBJECTBUFFERATIPROC)(GLuint buffer, GLuint offset, GLsizei size, const void * pointer, GLenum preserve); typedef void (GLAPIENTRY *PFNGLUPLOADGPUMASKNVXPROC)(GLbitfield mask); typedef void (GLAPIENTRY *PFNGLUSEPROGRAMPROC)(GLuint program); typedef void (GLAPIENTRY *PFNGLUSEPROGRAMOBJECTARBPROC)(GLhandleARB programObj); typedef void (GLAPIENTRY *PFNGLUSEPROGRAMSTAGESPROC)(GLuint pipeline, GLbitfield stages, GLuint program); typedef void (GLAPIENTRY *PFNGLUSEPROGRAMSTAGESEXTPROC)(GLuint pipeline, GLbitfield stages, GLuint program); typedef void (GLAPIENTRY *PFNGLUSESHADERPROGRAMEXTPROC)(GLenum type, GLuint program); typedef void (GLAPIENTRY *PFNGLVDPAUFININVPROC)(void); typedef void (GLAPIENTRY *PFNGLVDPAUGETSURFACEIVNVPROC)(GLvdpauSurfaceNV surface, GLenum pname, GLsizei bufSize, GLsizei * length, GLint * values); typedef void (GLAPIENTRY *PFNGLVDPAUINITNVPROC)(const void * vdpDevice, const void * getProcAddress); typedef GLboolean (GLAPIENTRY *PFNGLVDPAUISSURFACENVPROC)(GLvdpauSurfaceNV surface); typedef void (GLAPIENTRY *PFNGLVDPAUMAPSURFACESNVPROC)(GLsizei numSurfaces, const GLvdpauSurfaceNV * surfaces); typedef GLvdpauSurfaceNV (GLAPIENTRY *PFNGLVDPAUREGISTEROUTPUTSURFACENVPROC)(const void * vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint * textureNames); typedef GLvdpauSurfaceNV (GLAPIENTRY *PFNGLVDPAUREGISTERVIDEOSURFACENVPROC)(const void * vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint * textureNames); typedef GLvdpauSurfaceNV (GLAPIENTRY *PFNGLVDPAUREGISTERVIDEOSURFACEWITHPICTURESTRUCTURENVPROC)(const void * vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint * textureNames, GLboolean isFrameStructure); typedef void (GLAPIENTRY *PFNGLVDPAUSURFACEACCESSNVPROC)(GLvdpauSurfaceNV surface, GLenum access); typedef void (GLAPIENTRY *PFNGLVDPAUUNMAPSURFACESNVPROC)(GLsizei numSurface, const GLvdpauSurfaceNV * surfaces); typedef void (GLAPIENTRY *PFNGLVDPAUUNREGISTERSURFACENVPROC)(GLvdpauSurfaceNV surface); typedef void (GLAPIENTRY *PFNGLVALIDATEPROGRAMPROC)(GLuint program); typedef void (GLAPIENTRY *PFNGLVALIDATEPROGRAMARBPROC)(GLhandleARB programObj); typedef void (GLAPIENTRY *PFNGLVALIDATEPROGRAMPIPELINEPROC)(GLuint pipeline); typedef void (GLAPIENTRY *PFNGLVALIDATEPROGRAMPIPELINEEXTPROC)(GLuint pipeline); typedef void (GLAPIENTRY *PFNGLVARIANTARRAYOBJECTATIPROC)(GLuint id, GLenum type, GLsizei stride, GLuint buffer, GLuint offset); typedef void (GLAPIENTRY *PFNGLVARIANTPOINTEREXTPROC)(GLuint id, GLenum type, GLuint stride, const void * addr); typedef void (GLAPIENTRY *PFNGLVARIANTBVEXTPROC)(GLuint id, const GLbyte * addr); typedef void (GLAPIENTRY *PFNGLVARIANTDVEXTPROC)(GLuint id, const GLdouble * addr); typedef void (GLAPIENTRY *PFNGLVARIANTFVEXTPROC)(GLuint id, const GLfloat * addr); typedef void (GLAPIENTRY *PFNGLVARIANTIVEXTPROC)(GLuint id, const GLint * addr); typedef void (GLAPIENTRY *PFNGLVARIANTSVEXTPROC)(GLuint id, const GLshort * addr); typedef void (GLAPIENTRY *PFNGLVARIANTUBVEXTPROC)(GLuint id, const GLubyte * addr); typedef void (GLAPIENTRY *PFNGLVARIANTUIVEXTPROC)(GLuint id, const GLuint * addr); typedef void (GLAPIENTRY *PFNGLVARIANTUSVEXTPROC)(GLuint id, const GLushort * addr); typedef void (GLAPIENTRY *PFNGLVERTEX2BOESPROC)(GLbyte x, GLbyte y); typedef void (GLAPIENTRY *PFNGLVERTEX2BVOESPROC)(const GLbyte * coords); typedef void (GLAPIENTRY *PFNGLVERTEX2DPROC)(GLdouble x, GLdouble y); typedef void (GLAPIENTRY *PFNGLVERTEX2DVPROC)(const GLdouble * v); typedef void (GLAPIENTRY *PFNGLVERTEX2FPROC)(GLfloat x, GLfloat y); typedef void (GLAPIENTRY *PFNGLVERTEX2FVPROC)(const GLfloat * v); typedef void (GLAPIENTRY *PFNGLVERTEX2HNVPROC)(GLhalfNV x, GLhalfNV y); typedef void (GLAPIENTRY *PFNGLVERTEX2HVNVPROC)(const GLhalfNV * v); typedef void (GLAPIENTRY *PFNGLVERTEX2IPROC)(GLint x, GLint y); typedef void (GLAPIENTRY *PFNGLVERTEX2IVPROC)(const GLint * v); typedef void (GLAPIENTRY *PFNGLVERTEX2SPROC)(GLshort x, GLshort y); typedef void (GLAPIENTRY *PFNGLVERTEX2SVPROC)(const GLshort * v); typedef void (GLAPIENTRY *PFNGLVERTEX2XOESPROC)(GLfixed x); typedef void (GLAPIENTRY *PFNGLVERTEX2XVOESPROC)(const GLfixed * coords); typedef void (GLAPIENTRY *PFNGLVERTEX3BOESPROC)(GLbyte x, GLbyte y, GLbyte z); typedef void (GLAPIENTRY *PFNGLVERTEX3BVOESPROC)(const GLbyte * coords); typedef void (GLAPIENTRY *PFNGLVERTEX3DPROC)(GLdouble x, GLdouble y, GLdouble z); typedef void (GLAPIENTRY *PFNGLVERTEX3DVPROC)(const GLdouble * v); typedef void (GLAPIENTRY *PFNGLVERTEX3FPROC)(GLfloat x, GLfloat y, GLfloat z); typedef void (GLAPIENTRY *PFNGLVERTEX3FVPROC)(const GLfloat * v); typedef void (GLAPIENTRY *PFNGLVERTEX3HNVPROC)(GLhalfNV x, GLhalfNV y, GLhalfNV z); typedef void (GLAPIENTRY *PFNGLVERTEX3HVNVPROC)(const GLhalfNV * v); typedef void (GLAPIENTRY *PFNGLVERTEX3IPROC)(GLint x, GLint y, GLint z); typedef void (GLAPIENTRY *PFNGLVERTEX3IVPROC)(const GLint * v); typedef void (GLAPIENTRY *PFNGLVERTEX3SPROC)(GLshort x, GLshort y, GLshort z); typedef void (GLAPIENTRY *PFNGLVERTEX3SVPROC)(const GLshort * v); typedef void (GLAPIENTRY *PFNGLVERTEX3XOESPROC)(GLfixed x, GLfixed y); typedef void (GLAPIENTRY *PFNGLVERTEX3XVOESPROC)(const GLfixed * coords); typedef void (GLAPIENTRY *PFNGLVERTEX4BOESPROC)(GLbyte x, GLbyte y, GLbyte z, GLbyte w); typedef void (GLAPIENTRY *PFNGLVERTEX4BVOESPROC)(const GLbyte * coords); typedef void (GLAPIENTRY *PFNGLVERTEX4DPROC)(GLdouble x, GLdouble y, GLdouble z, GLdouble w); typedef void (GLAPIENTRY *PFNGLVERTEX4DVPROC)(const GLdouble * v); typedef void (GLAPIENTRY *PFNGLVERTEX4FPROC)(GLfloat x, GLfloat y, GLfloat z, GLfloat w); typedef void (GLAPIENTRY *PFNGLVERTEX4FVPROC)(const GLfloat * v); typedef void (GLAPIENTRY *PFNGLVERTEX4HNVPROC)(GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w); typedef void (GLAPIENTRY *PFNGLVERTEX4HVNVPROC)(const GLhalfNV * v); typedef void (GLAPIENTRY *PFNGLVERTEX4IPROC)(GLint x, GLint y, GLint z, GLint w); typedef void (GLAPIENTRY *PFNGLVERTEX4IVPROC)(const GLint * v); typedef void (GLAPIENTRY *PFNGLVERTEX4SPROC)(GLshort x, GLshort y, GLshort z, GLshort w); typedef void (GLAPIENTRY *PFNGLVERTEX4SVPROC)(const GLshort * v); typedef void (GLAPIENTRY *PFNGLVERTEX4XOESPROC)(GLfixed x, GLfixed y, GLfixed z); typedef void (GLAPIENTRY *PFNGLVERTEX4XVOESPROC)(const GLfixed * coords); typedef void (GLAPIENTRY *PFNGLVERTEXARRAYATTRIBBINDINGPROC)(GLuint vaobj, GLuint attribindex, GLuint bindingindex); typedef void (GLAPIENTRY *PFNGLVERTEXARRAYATTRIBFORMATPROC)(GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset); typedef void (GLAPIENTRY *PFNGLVERTEXARRAYATTRIBIFORMATPROC)(GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset); typedef void (GLAPIENTRY *PFNGLVERTEXARRAYATTRIBLFORMATPROC)(GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset); typedef void (GLAPIENTRY *PFNGLVERTEXARRAYBINDVERTEXBUFFEREXTPROC)(GLuint vaobj, GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride); typedef void (GLAPIENTRY *PFNGLVERTEXARRAYBINDINGDIVISORPROC)(GLuint vaobj, GLuint bindingindex, GLuint divisor); typedef void (GLAPIENTRY *PFNGLVERTEXARRAYCOLOROFFSETEXTPROC)(GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset); typedef void (GLAPIENTRY *PFNGLVERTEXARRAYEDGEFLAGOFFSETEXTPROC)(GLuint vaobj, GLuint buffer, GLsizei stride, GLintptr offset); typedef void (GLAPIENTRY *PFNGLVERTEXARRAYELEMENTBUFFERPROC)(GLuint vaobj, GLuint buffer); typedef void (GLAPIENTRY *PFNGLVERTEXARRAYFOGCOORDOFFSETEXTPROC)(GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset); typedef void (GLAPIENTRY *PFNGLVERTEXARRAYINDEXOFFSETEXTPROC)(GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset); typedef void (GLAPIENTRY *PFNGLVERTEXARRAYMULTITEXCOORDOFFSETEXTPROC)(GLuint vaobj, GLuint buffer, GLenum texunit, GLint size, GLenum type, GLsizei stride, GLintptr offset); typedef void (GLAPIENTRY *PFNGLVERTEXARRAYNORMALOFFSETEXTPROC)(GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset); typedef void (GLAPIENTRY *PFNGLVERTEXARRAYPARAMETERIAPPLEPROC)(GLenum pname, GLint param); typedef void (GLAPIENTRY *PFNGLVERTEXARRAYRANGEAPPLEPROC)(GLsizei length, void * pointer); typedef void (GLAPIENTRY *PFNGLVERTEXARRAYRANGENVPROC)(GLsizei length, const void * pointer); typedef void (GLAPIENTRY *PFNGLVERTEXARRAYSECONDARYCOLOROFFSETEXTPROC)(GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset); typedef void (GLAPIENTRY *PFNGLVERTEXARRAYTEXCOORDOFFSETEXTPROC)(GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset); typedef void (GLAPIENTRY *PFNGLVERTEXARRAYVERTEXATTRIBBINDINGEXTPROC)(GLuint vaobj, GLuint attribindex, GLuint bindingindex); typedef void (GLAPIENTRY *PFNGLVERTEXARRAYVERTEXATTRIBDIVISOREXTPROC)(GLuint vaobj, GLuint index, GLuint divisor); typedef void (GLAPIENTRY *PFNGLVERTEXARRAYVERTEXATTRIBFORMATEXTPROC)(GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset); typedef void (GLAPIENTRY *PFNGLVERTEXARRAYVERTEXATTRIBIFORMATEXTPROC)(GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset); typedef void (GLAPIENTRY *PFNGLVERTEXARRAYVERTEXATTRIBIOFFSETEXTPROC)(GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset); typedef void (GLAPIENTRY *PFNGLVERTEXARRAYVERTEXATTRIBLFORMATEXTPROC)(GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset); typedef void (GLAPIENTRY *PFNGLVERTEXARRAYVERTEXATTRIBLOFFSETEXTPROC)(GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset); typedef void (GLAPIENTRY *PFNGLVERTEXARRAYVERTEXATTRIBOFFSETEXTPROC)(GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLintptr offset); typedef void (GLAPIENTRY *PFNGLVERTEXARRAYVERTEXBINDINGDIVISOREXTPROC)(GLuint vaobj, GLuint bindingindex, GLuint divisor); typedef void (GLAPIENTRY *PFNGLVERTEXARRAYVERTEXBUFFERPROC)(GLuint vaobj, GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride); typedef void (GLAPIENTRY *PFNGLVERTEXARRAYVERTEXBUFFERSPROC)(GLuint vaobj, GLuint first, GLsizei count, const GLuint * buffers, const GLintptr * offsets, const GLsizei * strides); typedef void (GLAPIENTRY *PFNGLVERTEXARRAYVERTEXOFFSETEXTPROC)(GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB1DPROC)(GLuint index, GLdouble x); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB1DARBPROC)(GLuint index, GLdouble x); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB1DNVPROC)(GLuint index, GLdouble x); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB1DVPROC)(GLuint index, const GLdouble * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB1DVARBPROC)(GLuint index, const GLdouble * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB1DVNVPROC)(GLuint index, const GLdouble * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB1FPROC)(GLuint index, GLfloat x); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB1FARBPROC)(GLuint index, GLfloat x); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB1FNVPROC)(GLuint index, GLfloat x); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB1FVPROC)(GLuint index, const GLfloat * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB1FVARBPROC)(GLuint index, const GLfloat * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB1FVNVPROC)(GLuint index, const GLfloat * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB1HNVPROC)(GLuint index, GLhalfNV x); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB1HVNVPROC)(GLuint index, const GLhalfNV * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB1SPROC)(GLuint index, GLshort x); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB1SARBPROC)(GLuint index, GLshort x); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB1SNVPROC)(GLuint index, GLshort x); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB1SVPROC)(GLuint index, const GLshort * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB1SVARBPROC)(GLuint index, const GLshort * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB1SVNVPROC)(GLuint index, const GLshort * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB2DPROC)(GLuint index, GLdouble x, GLdouble y); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB2DARBPROC)(GLuint index, GLdouble x, GLdouble y); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB2DNVPROC)(GLuint index, GLdouble x, GLdouble y); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB2DVPROC)(GLuint index, const GLdouble * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB2DVARBPROC)(GLuint index, const GLdouble * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB2DVNVPROC)(GLuint index, const GLdouble * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB2FPROC)(GLuint index, GLfloat x, GLfloat y); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB2FARBPROC)(GLuint index, GLfloat x, GLfloat y); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB2FNVPROC)(GLuint index, GLfloat x, GLfloat y); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB2FVPROC)(GLuint index, const GLfloat * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB2FVARBPROC)(GLuint index, const GLfloat * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB2FVNVPROC)(GLuint index, const GLfloat * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB2HNVPROC)(GLuint index, GLhalfNV x, GLhalfNV y); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB2HVNVPROC)(GLuint index, const GLhalfNV * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB2SPROC)(GLuint index, GLshort x, GLshort y); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB2SARBPROC)(GLuint index, GLshort x, GLshort y); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB2SNVPROC)(GLuint index, GLshort x, GLshort y); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB2SVPROC)(GLuint index, const GLshort * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB2SVARBPROC)(GLuint index, const GLshort * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB2SVNVPROC)(GLuint index, const GLshort * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB3DPROC)(GLuint index, GLdouble x, GLdouble y, GLdouble z); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB3DARBPROC)(GLuint index, GLdouble x, GLdouble y, GLdouble z); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB3DNVPROC)(GLuint index, GLdouble x, GLdouble y, GLdouble z); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB3DVPROC)(GLuint index, const GLdouble * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB3DVARBPROC)(GLuint index, const GLdouble * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB3DVNVPROC)(GLuint index, const GLdouble * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB3FPROC)(GLuint index, GLfloat x, GLfloat y, GLfloat z); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB3FARBPROC)(GLuint index, GLfloat x, GLfloat y, GLfloat z); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB3FNVPROC)(GLuint index, GLfloat x, GLfloat y, GLfloat z); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB3FVPROC)(GLuint index, const GLfloat * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB3FVARBPROC)(GLuint index, const GLfloat * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB3FVNVPROC)(GLuint index, const GLfloat * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB3HNVPROC)(GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB3HVNVPROC)(GLuint index, const GLhalfNV * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB3SPROC)(GLuint index, GLshort x, GLshort y, GLshort z); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB3SARBPROC)(GLuint index, GLshort x, GLshort y, GLshort z); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB3SNVPROC)(GLuint index, GLshort x, GLshort y, GLshort z); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB3SVPROC)(GLuint index, const GLshort * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB3SVARBPROC)(GLuint index, const GLshort * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB3SVNVPROC)(GLuint index, const GLshort * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB4NBVPROC)(GLuint index, const GLbyte * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB4NBVARBPROC)(GLuint index, const GLbyte * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB4NIVPROC)(GLuint index, const GLint * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB4NIVARBPROC)(GLuint index, const GLint * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB4NSVPROC)(GLuint index, const GLshort * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB4NSVARBPROC)(GLuint index, const GLshort * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB4NUBPROC)(GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB4NUBARBPROC)(GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB4NUBVPROC)(GLuint index, const GLubyte * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB4NUBVARBPROC)(GLuint index, const GLubyte * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB4NUIVPROC)(GLuint index, const GLuint * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB4NUIVARBPROC)(GLuint index, const GLuint * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB4NUSVPROC)(GLuint index, const GLushort * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB4NUSVARBPROC)(GLuint index, const GLushort * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB4BVPROC)(GLuint index, const GLbyte * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB4BVARBPROC)(GLuint index, const GLbyte * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB4DPROC)(GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB4DARBPROC)(GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB4DNVPROC)(GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB4DVPROC)(GLuint index, const GLdouble * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB4DVARBPROC)(GLuint index, const GLdouble * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB4DVNVPROC)(GLuint index, const GLdouble * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB4FPROC)(GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB4FARBPROC)(GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB4FNVPROC)(GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB4FVPROC)(GLuint index, const GLfloat * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB4FVARBPROC)(GLuint index, const GLfloat * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB4FVNVPROC)(GLuint index, const GLfloat * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB4HNVPROC)(GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB4HVNVPROC)(GLuint index, const GLhalfNV * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB4IVPROC)(GLuint index, const GLint * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB4IVARBPROC)(GLuint index, const GLint * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB4SPROC)(GLuint index, GLshort x, GLshort y, GLshort z, GLshort w); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB4SARBPROC)(GLuint index, GLshort x, GLshort y, GLshort z, GLshort w); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB4SNVPROC)(GLuint index, GLshort x, GLshort y, GLshort z, GLshort w); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB4SVPROC)(GLuint index, const GLshort * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB4SVARBPROC)(GLuint index, const GLshort * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB4SVNVPROC)(GLuint index, const GLshort * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB4UBNVPROC)(GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB4UBVPROC)(GLuint index, const GLubyte * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB4UBVARBPROC)(GLuint index, const GLubyte * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB4UBVNVPROC)(GLuint index, const GLubyte * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB4UIVPROC)(GLuint index, const GLuint * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB4UIVARBPROC)(GLuint index, const GLuint * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB4USVPROC)(GLuint index, const GLushort * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIB4USVARBPROC)(GLuint index, const GLushort * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBARRAYOBJECTATIPROC)(GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLuint buffer, GLuint offset); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBBINDINGPROC)(GLuint attribindex, GLuint bindingindex); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBDIVISORPROC)(GLuint index, GLuint divisor); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBDIVISORANGLEPROC)(GLuint index, GLuint divisor); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBDIVISORARBPROC)(GLuint index, GLuint divisor); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBDIVISOREXTPROC)(GLuint index, GLuint divisor); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBDIVISORNVPROC)(GLuint index, GLuint divisor); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBFORMATPROC)(GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBFORMATNVPROC)(GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBI1IPROC)(GLuint index, GLint x); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBI1IEXTPROC)(GLuint index, GLint x); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBI1IVPROC)(GLuint index, const GLint * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBI1IVEXTPROC)(GLuint index, const GLint * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBI1UIPROC)(GLuint index, GLuint x); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBI1UIEXTPROC)(GLuint index, GLuint x); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBI1UIVPROC)(GLuint index, const GLuint * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBI1UIVEXTPROC)(GLuint index, const GLuint * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBI2IPROC)(GLuint index, GLint x, GLint y); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBI2IEXTPROC)(GLuint index, GLint x, GLint y); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBI2IVPROC)(GLuint index, const GLint * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBI2IVEXTPROC)(GLuint index, const GLint * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBI2UIPROC)(GLuint index, GLuint x, GLuint y); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBI2UIEXTPROC)(GLuint index, GLuint x, GLuint y); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBI2UIVPROC)(GLuint index, const GLuint * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBI2UIVEXTPROC)(GLuint index, const GLuint * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBI3IPROC)(GLuint index, GLint x, GLint y, GLint z); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBI3IEXTPROC)(GLuint index, GLint x, GLint y, GLint z); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBI3IVPROC)(GLuint index, const GLint * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBI3IVEXTPROC)(GLuint index, const GLint * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBI3UIPROC)(GLuint index, GLuint x, GLuint y, GLuint z); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBI3UIEXTPROC)(GLuint index, GLuint x, GLuint y, GLuint z); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBI3UIVPROC)(GLuint index, const GLuint * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBI3UIVEXTPROC)(GLuint index, const GLuint * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBI4BVPROC)(GLuint index, const GLbyte * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBI4BVEXTPROC)(GLuint index, const GLbyte * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBI4IPROC)(GLuint index, GLint x, GLint y, GLint z, GLint w); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBI4IEXTPROC)(GLuint index, GLint x, GLint y, GLint z, GLint w); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBI4IVPROC)(GLuint index, const GLint * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBI4IVEXTPROC)(GLuint index, const GLint * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBI4SVPROC)(GLuint index, const GLshort * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBI4SVEXTPROC)(GLuint index, const GLshort * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBI4UBVPROC)(GLuint index, const GLubyte * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBI4UBVEXTPROC)(GLuint index, const GLubyte * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBI4UIPROC)(GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBI4UIEXTPROC)(GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBI4UIVPROC)(GLuint index, const GLuint * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBI4UIVEXTPROC)(GLuint index, const GLuint * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBI4USVPROC)(GLuint index, const GLushort * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBI4USVEXTPROC)(GLuint index, const GLushort * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBIFORMATPROC)(GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBIFORMATNVPROC)(GLuint index, GLint size, GLenum type, GLsizei stride); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBIPOINTERPROC)(GLuint index, GLint size, GLenum type, GLsizei stride, const void * pointer); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBIPOINTEREXTPROC)(GLuint index, GLint size, GLenum type, GLsizei stride, const void * pointer); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBL1DPROC)(GLuint index, GLdouble x); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBL1DEXTPROC)(GLuint index, GLdouble x); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBL1DVPROC)(GLuint index, const GLdouble * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBL1DVEXTPROC)(GLuint index, const GLdouble * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBL1I64NVPROC)(GLuint index, GLint64EXT x); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBL1I64VNVPROC)(GLuint index, const GLint64EXT * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBL1UI64ARBPROC)(GLuint index, GLuint64EXT x); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBL1UI64NVPROC)(GLuint index, GLuint64EXT x); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBL1UI64VARBPROC)(GLuint index, const GLuint64EXT * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBL1UI64VNVPROC)(GLuint index, const GLuint64EXT * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBL2DPROC)(GLuint index, GLdouble x, GLdouble y); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBL2DEXTPROC)(GLuint index, GLdouble x, GLdouble y); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBL2DVPROC)(GLuint index, const GLdouble * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBL2DVEXTPROC)(GLuint index, const GLdouble * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBL2I64NVPROC)(GLuint index, GLint64EXT x, GLint64EXT y); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBL2I64VNVPROC)(GLuint index, const GLint64EXT * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBL2UI64NVPROC)(GLuint index, GLuint64EXT x, GLuint64EXT y); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBL2UI64VNVPROC)(GLuint index, const GLuint64EXT * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBL3DPROC)(GLuint index, GLdouble x, GLdouble y, GLdouble z); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBL3DEXTPROC)(GLuint index, GLdouble x, GLdouble y, GLdouble z); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBL3DVPROC)(GLuint index, const GLdouble * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBL3DVEXTPROC)(GLuint index, const GLdouble * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBL3I64NVPROC)(GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBL3I64VNVPROC)(GLuint index, const GLint64EXT * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBL3UI64NVPROC)(GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBL3UI64VNVPROC)(GLuint index, const GLuint64EXT * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBL4DPROC)(GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBL4DEXTPROC)(GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBL4DVPROC)(GLuint index, const GLdouble * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBL4DVEXTPROC)(GLuint index, const GLdouble * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBL4I64NVPROC)(GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBL4I64VNVPROC)(GLuint index, const GLint64EXT * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBL4UI64NVPROC)(GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBL4UI64VNVPROC)(GLuint index, const GLuint64EXT * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBLFORMATPROC)(GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBLFORMATNVPROC)(GLuint index, GLint size, GLenum type, GLsizei stride); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBLPOINTERPROC)(GLuint index, GLint size, GLenum type, GLsizei stride, const void * pointer); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBLPOINTEREXTPROC)(GLuint index, GLint size, GLenum type, GLsizei stride, const void * pointer); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBP1UIPROC)(GLuint index, GLenum type, GLboolean normalized, GLuint value); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBP1UIVPROC)(GLuint index, GLenum type, GLboolean normalized, const GLuint * value); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBP2UIPROC)(GLuint index, GLenum type, GLboolean normalized, GLuint value); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBP2UIVPROC)(GLuint index, GLenum type, GLboolean normalized, const GLuint * value); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBP3UIPROC)(GLuint index, GLenum type, GLboolean normalized, GLuint value); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBP3UIVPROC)(GLuint index, GLenum type, GLboolean normalized, const GLuint * value); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBP4UIPROC)(GLuint index, GLenum type, GLboolean normalized, GLuint value); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBP4UIVPROC)(GLuint index, GLenum type, GLboolean normalized, const GLuint * value); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBPARAMETERIAMDPROC)(GLuint index, GLenum pname, GLint param); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBPOINTERPROC)(GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void * pointer); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBPOINTERARBPROC)(GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void * pointer); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBPOINTERNVPROC)(GLuint index, GLint fsize, GLenum type, GLsizei stride, const void * pointer); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBS1DVNVPROC)(GLuint index, GLsizei count, const GLdouble * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBS1FVNVPROC)(GLuint index, GLsizei count, const GLfloat * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBS1HVNVPROC)(GLuint index, GLsizei n, const GLhalfNV * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBS1SVNVPROC)(GLuint index, GLsizei count, const GLshort * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBS2DVNVPROC)(GLuint index, GLsizei count, const GLdouble * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBS2FVNVPROC)(GLuint index, GLsizei count, const GLfloat * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBS2HVNVPROC)(GLuint index, GLsizei n, const GLhalfNV * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBS2SVNVPROC)(GLuint index, GLsizei count, const GLshort * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBS3DVNVPROC)(GLuint index, GLsizei count, const GLdouble * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBS3FVNVPROC)(GLuint index, GLsizei count, const GLfloat * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBS3HVNVPROC)(GLuint index, GLsizei n, const GLhalfNV * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBS3SVNVPROC)(GLuint index, GLsizei count, const GLshort * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBS4DVNVPROC)(GLuint index, GLsizei count, const GLdouble * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBS4FVNVPROC)(GLuint index, GLsizei count, const GLfloat * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBS4HVNVPROC)(GLuint index, GLsizei n, const GLhalfNV * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBS4SVNVPROC)(GLuint index, GLsizei count, const GLshort * v); typedef void (GLAPIENTRY *PFNGLVERTEXATTRIBS4UBVNVPROC)(GLuint index, GLsizei count, const GLubyte * v); typedef void (GLAPIENTRY *PFNGLVERTEXBINDINGDIVISORPROC)(GLuint bindingindex, GLuint divisor); typedef void (GLAPIENTRY *PFNGLVERTEXBLENDARBPROC)(GLint count); typedef void (GLAPIENTRY *PFNGLVERTEXBLENDENVFATIPROC)(GLenum pname, GLfloat param); typedef void (GLAPIENTRY *PFNGLVERTEXBLENDENVIATIPROC)(GLenum pname, GLint param); typedef void (GLAPIENTRY *PFNGLVERTEXFORMATNVPROC)(GLint size, GLenum type, GLsizei stride); typedef void (GLAPIENTRY *PFNGLVERTEXP2UIPROC)(GLenum type, GLuint value); typedef void (GLAPIENTRY *PFNGLVERTEXP2UIVPROC)(GLenum type, const GLuint * value); typedef void (GLAPIENTRY *PFNGLVERTEXP3UIPROC)(GLenum type, GLuint value); typedef void (GLAPIENTRY *PFNGLVERTEXP3UIVPROC)(GLenum type, const GLuint * value); typedef void (GLAPIENTRY *PFNGLVERTEXP4UIPROC)(GLenum type, GLuint value); typedef void (GLAPIENTRY *PFNGLVERTEXP4UIVPROC)(GLenum type, const GLuint * value); typedef void (GLAPIENTRY *PFNGLVERTEXPOINTERPROC)(GLint size, GLenum type, GLsizei stride, const void * pointer); typedef void (GLAPIENTRY *PFNGLVERTEXPOINTEREXTPROC)(GLint size, GLenum type, GLsizei stride, GLsizei count, const void * pointer); typedef void (GLAPIENTRY *PFNGLVERTEXPOINTERLISTIBMPROC)(GLint size, GLenum type, GLint stride, const void ** pointer, GLint ptrstride); typedef void (GLAPIENTRY *PFNGLVERTEXPOINTERVINTELPROC)(GLint size, GLenum type, const void ** pointer); typedef void (GLAPIENTRY *PFNGLVERTEXSTREAM1DATIPROC)(GLenum stream, GLdouble x); typedef void (GLAPIENTRY *PFNGLVERTEXSTREAM1DVATIPROC)(GLenum stream, const GLdouble * coords); typedef void (GLAPIENTRY *PFNGLVERTEXSTREAM1FATIPROC)(GLenum stream, GLfloat x); typedef void (GLAPIENTRY *PFNGLVERTEXSTREAM1FVATIPROC)(GLenum stream, const GLfloat * coords); typedef void (GLAPIENTRY *PFNGLVERTEXSTREAM1IATIPROC)(GLenum stream, GLint x); typedef void (GLAPIENTRY *PFNGLVERTEXSTREAM1IVATIPROC)(GLenum stream, const GLint * coords); typedef void (GLAPIENTRY *PFNGLVERTEXSTREAM1SATIPROC)(GLenum stream, GLshort x); typedef void (GLAPIENTRY *PFNGLVERTEXSTREAM1SVATIPROC)(GLenum stream, const GLshort * coords); typedef void (GLAPIENTRY *PFNGLVERTEXSTREAM2DATIPROC)(GLenum stream, GLdouble x, GLdouble y); typedef void (GLAPIENTRY *PFNGLVERTEXSTREAM2DVATIPROC)(GLenum stream, const GLdouble * coords); typedef void (GLAPIENTRY *PFNGLVERTEXSTREAM2FATIPROC)(GLenum stream, GLfloat x, GLfloat y); typedef void (GLAPIENTRY *PFNGLVERTEXSTREAM2FVATIPROC)(GLenum stream, const GLfloat * coords); typedef void (GLAPIENTRY *PFNGLVERTEXSTREAM2IATIPROC)(GLenum stream, GLint x, GLint y); typedef void (GLAPIENTRY *PFNGLVERTEXSTREAM2IVATIPROC)(GLenum stream, const GLint * coords); typedef void (GLAPIENTRY *PFNGLVERTEXSTREAM2SATIPROC)(GLenum stream, GLshort x, GLshort y); typedef void (GLAPIENTRY *PFNGLVERTEXSTREAM2SVATIPROC)(GLenum stream, const GLshort * coords); typedef void (GLAPIENTRY *PFNGLVERTEXSTREAM3DATIPROC)(GLenum stream, GLdouble x, GLdouble y, GLdouble z); typedef void (GLAPIENTRY *PFNGLVERTEXSTREAM3DVATIPROC)(GLenum stream, const GLdouble * coords); typedef void (GLAPIENTRY *PFNGLVERTEXSTREAM3FATIPROC)(GLenum stream, GLfloat x, GLfloat y, GLfloat z); typedef void (GLAPIENTRY *PFNGLVERTEXSTREAM3FVATIPROC)(GLenum stream, const GLfloat * coords); typedef void (GLAPIENTRY *PFNGLVERTEXSTREAM3IATIPROC)(GLenum stream, GLint x, GLint y, GLint z); typedef void (GLAPIENTRY *PFNGLVERTEXSTREAM3IVATIPROC)(GLenum stream, const GLint * coords); typedef void (GLAPIENTRY *PFNGLVERTEXSTREAM3SATIPROC)(GLenum stream, GLshort x, GLshort y, GLshort z); typedef void (GLAPIENTRY *PFNGLVERTEXSTREAM3SVATIPROC)(GLenum stream, const GLshort * coords); typedef void (GLAPIENTRY *PFNGLVERTEXSTREAM4DATIPROC)(GLenum stream, GLdouble x, GLdouble y, GLdouble z, GLdouble w); typedef void (GLAPIENTRY *PFNGLVERTEXSTREAM4DVATIPROC)(GLenum stream, const GLdouble * coords); typedef void (GLAPIENTRY *PFNGLVERTEXSTREAM4FATIPROC)(GLenum stream, GLfloat x, GLfloat y, GLfloat z, GLfloat w); typedef void (GLAPIENTRY *PFNGLVERTEXSTREAM4FVATIPROC)(GLenum stream, const GLfloat * coords); typedef void (GLAPIENTRY *PFNGLVERTEXSTREAM4IATIPROC)(GLenum stream, GLint x, GLint y, GLint z, GLint w); typedef void (GLAPIENTRY *PFNGLVERTEXSTREAM4IVATIPROC)(GLenum stream, const GLint * coords); typedef void (GLAPIENTRY *PFNGLVERTEXSTREAM4SATIPROC)(GLenum stream, GLshort x, GLshort y, GLshort z, GLshort w); typedef void (GLAPIENTRY *PFNGLVERTEXSTREAM4SVATIPROC)(GLenum stream, const GLshort * coords); typedef void (GLAPIENTRY *PFNGLVERTEXWEIGHTPOINTEREXTPROC)(GLint size, GLenum type, GLsizei stride, const void * pointer); typedef void (GLAPIENTRY *PFNGLVERTEXWEIGHTFEXTPROC)(GLfloat weight); typedef void (GLAPIENTRY *PFNGLVERTEXWEIGHTFVEXTPROC)(const GLfloat * weight); typedef void (GLAPIENTRY *PFNGLVERTEXWEIGHTHNVPROC)(GLhalfNV weight); typedef void (GLAPIENTRY *PFNGLVERTEXWEIGHTHVNVPROC)(const GLhalfNV * weight); typedef GLenum (GLAPIENTRY *PFNGLVIDEOCAPTURENVPROC)(GLuint video_capture_slot, GLuint * sequence_num, GLuint64EXT * capture_time); typedef void (GLAPIENTRY *PFNGLVIDEOCAPTURESTREAMPARAMETERDVNVPROC)(GLuint video_capture_slot, GLuint stream, GLenum pname, const GLdouble * params); typedef void (GLAPIENTRY *PFNGLVIDEOCAPTURESTREAMPARAMETERFVNVPROC)(GLuint video_capture_slot, GLuint stream, GLenum pname, const GLfloat * params); typedef void (GLAPIENTRY *PFNGLVIDEOCAPTURESTREAMPARAMETERIVNVPROC)(GLuint video_capture_slot, GLuint stream, GLenum pname, const GLint * params); typedef void (GLAPIENTRY *PFNGLVIEWPORTPROC)(GLint x, GLint y, GLsizei width, GLsizei height); typedef void (GLAPIENTRY *PFNGLVIEWPORTARRAYVPROC)(GLuint first, GLsizei count, const GLfloat * v); typedef void (GLAPIENTRY *PFNGLVIEWPORTARRAYVNVPROC)(GLuint first, GLsizei count, const GLfloat * v); typedef void (GLAPIENTRY *PFNGLVIEWPORTARRAYVOESPROC)(GLuint first, GLsizei count, const GLfloat * v); typedef void (GLAPIENTRY *PFNGLVIEWPORTINDEXEDFPROC)(GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h); typedef void (GLAPIENTRY *PFNGLVIEWPORTINDEXEDFNVPROC)(GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h); typedef void (GLAPIENTRY *PFNGLVIEWPORTINDEXEDFOESPROC)(GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h); typedef void (GLAPIENTRY *PFNGLVIEWPORTINDEXEDFVPROC)(GLuint index, const GLfloat * v); typedef void (GLAPIENTRY *PFNGLVIEWPORTINDEXEDFVNVPROC)(GLuint index, const GLfloat * v); typedef void (GLAPIENTRY *PFNGLVIEWPORTINDEXEDFVOESPROC)(GLuint index, const GLfloat * v); typedef void (GLAPIENTRY *PFNGLVIEWPORTPOSITIONWSCALENVPROC)(GLuint index, GLfloat xcoeff, GLfloat ycoeff); typedef void (GLAPIENTRY *PFNGLVIEWPORTSWIZZLENVPROC)(GLuint index, GLenum swizzlex, GLenum swizzley, GLenum swizzlez, GLenum swizzlew); typedef void (GLAPIENTRY *PFNGLWAITSEMAPHOREEXTPROC)(GLuint semaphore, GLuint numBufferBarriers, const GLuint * buffers, GLuint numTextureBarriers, const GLuint * textures, const GLenum * srcLayouts); typedef void (GLAPIENTRY *PFNGLWAITSEMAPHOREUI64NVXPROC)(GLuint waitGpu, GLsizei fenceObjectCount, const GLuint * semaphoreArray, const GLuint64 * fenceValueArray); typedef void (GLAPIENTRY *PFNGLWAITSYNCPROC)(GLsync sync, GLbitfield flags, GLuint64 timeout); typedef void (GLAPIENTRY *PFNGLWAITSYNCAPPLEPROC)(GLsync sync, GLbitfield flags, GLuint64 timeout); typedef void (GLAPIENTRY *PFNGLWAITVKSEMAPHORENVPROC)(GLuint64 vkSemaphore); typedef void (GLAPIENTRY *PFNGLWEIGHTPATHSNVPROC)(GLuint resultPath, GLsizei numPaths, const GLuint * paths, const GLfloat * weights); typedef void (GLAPIENTRY *PFNGLWEIGHTPOINTERARBPROC)(GLint size, GLenum type, GLsizei stride, const void * pointer); typedef void (GLAPIENTRY *PFNGLWEIGHTPOINTEROESPROC)(GLint size, GLenum type, GLsizei stride, const void * pointer); typedef void (GLAPIENTRY *PFNGLWEIGHTBVARBPROC)(GLint size, const GLbyte * weights); typedef void (GLAPIENTRY *PFNGLWEIGHTDVARBPROC)(GLint size, const GLdouble * weights); typedef void (GLAPIENTRY *PFNGLWEIGHTFVARBPROC)(GLint size, const GLfloat * weights); typedef void (GLAPIENTRY *PFNGLWEIGHTIVARBPROC)(GLint size, const GLint * weights); typedef void (GLAPIENTRY *PFNGLWEIGHTSVARBPROC)(GLint size, const GLshort * weights); typedef void (GLAPIENTRY *PFNGLWEIGHTUBVARBPROC)(GLint size, const GLubyte * weights); typedef void (GLAPIENTRY *PFNGLWEIGHTUIVARBPROC)(GLint size, const GLuint * weights); typedef void (GLAPIENTRY *PFNGLWEIGHTUSVARBPROC)(GLint size, const GLushort * weights); typedef void (GLAPIENTRY *PFNGLWINDOWPOS2DPROC)(GLdouble x, GLdouble y); typedef void (GLAPIENTRY *PFNGLWINDOWPOS2DARBPROC)(GLdouble x, GLdouble y); typedef void (GLAPIENTRY *PFNGLWINDOWPOS2DMESAPROC)(GLdouble x, GLdouble y); typedef void (GLAPIENTRY *PFNGLWINDOWPOS2DVPROC)(const GLdouble * v); typedef void (GLAPIENTRY *PFNGLWINDOWPOS2DVARBPROC)(const GLdouble * v); typedef void (GLAPIENTRY *PFNGLWINDOWPOS2DVMESAPROC)(const GLdouble * v); typedef void (GLAPIENTRY *PFNGLWINDOWPOS2FPROC)(GLfloat x, GLfloat y); typedef void (GLAPIENTRY *PFNGLWINDOWPOS2FARBPROC)(GLfloat x, GLfloat y); typedef void (GLAPIENTRY *PFNGLWINDOWPOS2FMESAPROC)(GLfloat x, GLfloat y); typedef void (GLAPIENTRY *PFNGLWINDOWPOS2FVPROC)(const GLfloat * v); typedef void (GLAPIENTRY *PFNGLWINDOWPOS2FVARBPROC)(const GLfloat * v); typedef void (GLAPIENTRY *PFNGLWINDOWPOS2FVMESAPROC)(const GLfloat * v); typedef void (GLAPIENTRY *PFNGLWINDOWPOS2IPROC)(GLint x, GLint y); typedef void (GLAPIENTRY *PFNGLWINDOWPOS2IARBPROC)(GLint x, GLint y); typedef void (GLAPIENTRY *PFNGLWINDOWPOS2IMESAPROC)(GLint x, GLint y); typedef void (GLAPIENTRY *PFNGLWINDOWPOS2IVPROC)(const GLint * v); typedef void (GLAPIENTRY *PFNGLWINDOWPOS2IVARBPROC)(const GLint * v); typedef void (GLAPIENTRY *PFNGLWINDOWPOS2IVMESAPROC)(const GLint * v); typedef void (GLAPIENTRY *PFNGLWINDOWPOS2SPROC)(GLshort x, GLshort y); typedef void (GLAPIENTRY *PFNGLWINDOWPOS2SARBPROC)(GLshort x, GLshort y); typedef void (GLAPIENTRY *PFNGLWINDOWPOS2SMESAPROC)(GLshort x, GLshort y); typedef void (GLAPIENTRY *PFNGLWINDOWPOS2SVPROC)(const GLshort * v); typedef void (GLAPIENTRY *PFNGLWINDOWPOS2SVARBPROC)(const GLshort * v); typedef void (GLAPIENTRY *PFNGLWINDOWPOS2SVMESAPROC)(const GLshort * v); typedef void (GLAPIENTRY *PFNGLWINDOWPOS3DPROC)(GLdouble x, GLdouble y, GLdouble z); typedef void (GLAPIENTRY *PFNGLWINDOWPOS3DARBPROC)(GLdouble x, GLdouble y, GLdouble z); typedef void (GLAPIENTRY *PFNGLWINDOWPOS3DMESAPROC)(GLdouble x, GLdouble y, GLdouble z); typedef void (GLAPIENTRY *PFNGLWINDOWPOS3DVPROC)(const GLdouble * v); typedef void (GLAPIENTRY *PFNGLWINDOWPOS3DVARBPROC)(const GLdouble * v); typedef void (GLAPIENTRY *PFNGLWINDOWPOS3DVMESAPROC)(const GLdouble * v); typedef void (GLAPIENTRY *PFNGLWINDOWPOS3FPROC)(GLfloat x, GLfloat y, GLfloat z); typedef void (GLAPIENTRY *PFNGLWINDOWPOS3FARBPROC)(GLfloat x, GLfloat y, GLfloat z); typedef void (GLAPIENTRY *PFNGLWINDOWPOS3FMESAPROC)(GLfloat x, GLfloat y, GLfloat z); typedef void (GLAPIENTRY *PFNGLWINDOWPOS3FVPROC)(const GLfloat * v); typedef void (GLAPIENTRY *PFNGLWINDOWPOS3FVARBPROC)(const GLfloat * v); typedef void (GLAPIENTRY *PFNGLWINDOWPOS3FVMESAPROC)(const GLfloat * v); typedef void (GLAPIENTRY *PFNGLWINDOWPOS3IPROC)(GLint x, GLint y, GLint z); typedef void (GLAPIENTRY *PFNGLWINDOWPOS3IARBPROC)(GLint x, GLint y, GLint z); typedef void (GLAPIENTRY *PFNGLWINDOWPOS3IMESAPROC)(GLint x, GLint y, GLint z); typedef void (GLAPIENTRY *PFNGLWINDOWPOS3IVPROC)(const GLint * v); typedef void (GLAPIENTRY *PFNGLWINDOWPOS3IVARBPROC)(const GLint * v); typedef void (GLAPIENTRY *PFNGLWINDOWPOS3IVMESAPROC)(const GLint * v); typedef void (GLAPIENTRY *PFNGLWINDOWPOS3SPROC)(GLshort x, GLshort y, GLshort z); typedef void (GLAPIENTRY *PFNGLWINDOWPOS3SARBPROC)(GLshort x, GLshort y, GLshort z); typedef void (GLAPIENTRY *PFNGLWINDOWPOS3SMESAPROC)(GLshort x, GLshort y, GLshort z); typedef void (GLAPIENTRY *PFNGLWINDOWPOS3SVPROC)(const GLshort * v); typedef void (GLAPIENTRY *PFNGLWINDOWPOS3SVARBPROC)(const GLshort * v); typedef void (GLAPIENTRY *PFNGLWINDOWPOS3SVMESAPROC)(const GLshort * v); typedef void (GLAPIENTRY *PFNGLWINDOWPOS4DMESAPROC)(GLdouble x, GLdouble y, GLdouble z, GLdouble w); typedef void (GLAPIENTRY *PFNGLWINDOWPOS4DVMESAPROC)(const GLdouble * v); typedef void (GLAPIENTRY *PFNGLWINDOWPOS4FMESAPROC)(GLfloat x, GLfloat y, GLfloat z, GLfloat w); typedef void (GLAPIENTRY *PFNGLWINDOWPOS4FVMESAPROC)(const GLfloat * v); typedef void (GLAPIENTRY *PFNGLWINDOWPOS4IMESAPROC)(GLint x, GLint y, GLint z, GLint w); typedef void (GLAPIENTRY *PFNGLWINDOWPOS4IVMESAPROC)(const GLint * v); typedef void (GLAPIENTRY *PFNGLWINDOWPOS4SMESAPROC)(GLshort x, GLshort y, GLshort z, GLshort w); typedef void (GLAPIENTRY *PFNGLWINDOWPOS4SVMESAPROC)(const GLshort * v); typedef void (GLAPIENTRY *PFNGLWINDOWRECTANGLESEXTPROC)(GLenum mode, GLsizei count, const GLint * box); typedef void (GLAPIENTRY *PFNGLWRITEMASKEXTPROC)(GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glAccum)(GLenum op, GLfloat value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glAccumxOES)(GLenum op, GLfixed value); EPOXY_PUBLIC GLboolean (EPOXY_CALLSPEC *epoxy_glAcquireKeyedMutexWin32EXT)(GLuint memory, GLuint64 key, GLuint timeout); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glActiveProgramEXT)(GLuint program); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glActiveShaderProgram)(GLuint pipeline, GLuint program); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glActiveShaderProgramEXT)(GLuint pipeline, GLuint program); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glActiveStencilFaceEXT)(GLenum face); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glActiveTexture)(GLenum texture); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glActiveTextureARB)(GLenum texture); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glActiveVaryingNV)(GLuint program, const GLchar * name); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glAlphaFragmentOp1ATI)(GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glAlphaFragmentOp2ATI)(GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glAlphaFragmentOp3ATI)(GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glAlphaFunc)(GLenum func, GLfloat ref); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glAlphaFuncQCOM)(GLenum func, GLclampf ref); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glAlphaFuncx)(GLenum func, GLfixed ref); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glAlphaFuncxOES)(GLenum func, GLfixed ref); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glAlphaToCoverageDitherControlNV)(GLenum mode); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glApplyFramebufferAttachmentCMAAINTEL)(void); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glApplyTextureEXT)(GLenum mode); EPOXY_PUBLIC GLboolean (EPOXY_CALLSPEC *epoxy_glAreProgramsResidentNV)(GLsizei n, const GLuint * programs, GLboolean * residences); EPOXY_PUBLIC GLboolean (EPOXY_CALLSPEC *epoxy_glAreTexturesResident)(GLsizei n, const GLuint * textures, GLboolean * residences); EPOXY_PUBLIC GLboolean (EPOXY_CALLSPEC *epoxy_glAreTexturesResidentEXT)(GLsizei n, const GLuint * textures, GLboolean * residences); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glArrayElement)(GLint i); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glArrayElementEXT)(GLint i); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glArrayObjectATI)(GLenum array, GLint size, GLenum type, GLsizei stride, GLuint buffer, GLuint offset); EPOXY_PUBLIC GLuint (EPOXY_CALLSPEC *epoxy_glAsyncCopyBufferSubDataNVX)(GLsizei waitSemaphoreCount, const GLuint * waitSemaphoreArray, const GLuint64 * fenceValueArray, GLuint readGpu, GLbitfield writeGpuMask, GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size, GLsizei signalSemaphoreCount, const GLuint * signalSemaphoreArray, const GLuint64 * signalValueArray); EPOXY_PUBLIC GLuint (EPOXY_CALLSPEC *epoxy_glAsyncCopyImageSubDataNVX)(GLsizei waitSemaphoreCount, const GLuint * waitSemaphoreArray, const GLuint64 * waitValueArray, GLuint srcGpu, GLbitfield dstGpuMask, GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth, GLsizei signalSemaphoreCount, const GLuint * signalSemaphoreArray, const GLuint64 * signalValueArray); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glAsyncMarkerSGIX)(GLuint marker); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glAttachObjectARB)(GLhandleARB containerObj, GLhandleARB obj); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glAttachShader)(GLuint program, GLuint shader); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBegin)(GLenum mode); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBeginConditionalRender)(GLuint id, GLenum mode); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBeginConditionalRenderNV)(GLuint id, GLenum mode); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBeginConditionalRenderNVX)(GLuint id); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBeginFragmentShaderATI)(void); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBeginOcclusionQueryNV)(GLuint id); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBeginPerfMonitorAMD)(GLuint monitor); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBeginPerfQueryINTEL)(GLuint queryHandle); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBeginQuery)(GLenum target, GLuint id); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBeginQueryARB)(GLenum target, GLuint id); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBeginQueryEXT)(GLenum target, GLuint id); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBeginQueryIndexed)(GLenum target, GLuint index, GLuint id); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBeginTransformFeedback)(GLenum primitiveMode); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBeginTransformFeedbackEXT)(GLenum primitiveMode); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBeginTransformFeedbackNV)(GLenum primitiveMode); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBeginVertexShaderEXT)(void); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBeginVideoCaptureNV)(GLuint video_capture_slot); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBindAttribLocation)(GLuint program, GLuint index, const GLchar * name); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBindAttribLocationARB)(GLhandleARB programObj, GLuint index, const GLcharARB * name); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBindBuffer)(GLenum target, GLuint buffer); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBindBufferARB)(GLenum target, GLuint buffer); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBindBufferBase)(GLenum target, GLuint index, GLuint buffer); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBindBufferBaseEXT)(GLenum target, GLuint index, GLuint buffer); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBindBufferBaseNV)(GLenum target, GLuint index, GLuint buffer); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBindBufferOffsetEXT)(GLenum target, GLuint index, GLuint buffer, GLintptr offset); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBindBufferOffsetNV)(GLenum target, GLuint index, GLuint buffer, GLintptr offset); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBindBufferRange)(GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBindBufferRangeEXT)(GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBindBufferRangeNV)(GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBindBuffersBase)(GLenum target, GLuint first, GLsizei count, const GLuint * buffers); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBindBuffersRange)(GLenum target, GLuint first, GLsizei count, const GLuint * buffers, const GLintptr * offsets, const GLsizeiptr * sizes); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBindFragDataLocation)(GLuint program, GLuint color, const GLchar * name); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBindFragDataLocationEXT)(GLuint program, GLuint color, const GLchar * name); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBindFragDataLocationIndexed)(GLuint program, GLuint colorNumber, GLuint index, const GLchar * name); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBindFragDataLocationIndexedEXT)(GLuint program, GLuint colorNumber, GLuint index, const GLchar * name); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBindFragmentShaderATI)(GLuint id); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBindFramebuffer)(GLenum target, GLuint framebuffer); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBindFramebufferEXT)(GLenum target, GLuint framebuffer); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBindFramebufferOES)(GLenum target, GLuint framebuffer); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBindImageTexture)(GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBindImageTextureEXT)(GLuint index, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLint format); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBindImageTextures)(GLuint first, GLsizei count, const GLuint * textures); EPOXY_PUBLIC GLuint (EPOXY_CALLSPEC *epoxy_glBindLightParameterEXT)(GLenum light, GLenum value); EPOXY_PUBLIC GLuint (EPOXY_CALLSPEC *epoxy_glBindMaterialParameterEXT)(GLenum face, GLenum value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBindMultiTextureEXT)(GLenum texunit, GLenum target, GLuint texture); EPOXY_PUBLIC GLuint (EPOXY_CALLSPEC *epoxy_glBindParameterEXT)(GLenum value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBindProgramARB)(GLenum target, GLuint program); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBindProgramNV)(GLenum target, GLuint id); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBindProgramPipeline)(GLuint pipeline); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBindProgramPipelineEXT)(GLuint pipeline); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBindRenderbuffer)(GLenum target, GLuint renderbuffer); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBindRenderbufferEXT)(GLenum target, GLuint renderbuffer); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBindRenderbufferOES)(GLenum target, GLuint renderbuffer); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBindSampler)(GLuint unit, GLuint sampler); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBindSamplers)(GLuint first, GLsizei count, const GLuint * samplers); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBindShadingRateImageNV)(GLuint texture); EPOXY_PUBLIC GLuint (EPOXY_CALLSPEC *epoxy_glBindTexGenParameterEXT)(GLenum unit, GLenum coord, GLenum value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBindTexture)(GLenum target, GLuint texture); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBindTextureEXT)(GLenum target, GLuint texture); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBindTextureUnit)(GLuint unit, GLuint texture); EPOXY_PUBLIC GLuint (EPOXY_CALLSPEC *epoxy_glBindTextureUnitParameterEXT)(GLenum unit, GLenum value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBindTextures)(GLuint first, GLsizei count, const GLuint * textures); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBindTransformFeedback)(GLenum target, GLuint id); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBindTransformFeedbackNV)(GLenum target, GLuint id); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBindVertexArray)(GLuint array); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBindVertexArrayAPPLE)(GLuint array); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBindVertexArrayOES)(GLuint array); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBindVertexBuffer)(GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBindVertexBuffers)(GLuint first, GLsizei count, const GLuint * buffers, const GLintptr * offsets, const GLsizei * strides); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBindVertexShaderEXT)(GLuint id); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBindVideoCaptureStreamBufferNV)(GLuint video_capture_slot, GLuint stream, GLenum frame_region, GLintptrARB offset); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBindVideoCaptureStreamTextureNV)(GLuint video_capture_slot, GLuint stream, GLenum frame_region, GLenum target, GLuint texture); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBinormal3bEXT)(GLbyte bx, GLbyte by, GLbyte bz); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBinormal3bvEXT)(const GLbyte * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBinormal3dEXT)(GLdouble bx, GLdouble by, GLdouble bz); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBinormal3dvEXT)(const GLdouble * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBinormal3fEXT)(GLfloat bx, GLfloat by, GLfloat bz); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBinormal3fvEXT)(const GLfloat * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBinormal3iEXT)(GLint bx, GLint by, GLint bz); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBinormal3ivEXT)(const GLint * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBinormal3sEXT)(GLshort bx, GLshort by, GLshort bz); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBinormal3svEXT)(const GLshort * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBinormalPointerEXT)(GLenum type, GLsizei stride, const void * pointer); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBitmap)(GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte * bitmap); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBitmapxOES)(GLsizei width, GLsizei height, GLfixed xorig, GLfixed yorig, GLfixed xmove, GLfixed ymove, const GLubyte * bitmap); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBlendBarrier)(void); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBlendBarrierKHR)(void); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBlendBarrierNV)(void); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBlendColor)(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBlendColorEXT)(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBlendColorxOES)(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBlendEquation)(GLenum mode); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBlendEquationEXT)(GLenum mode); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBlendEquationIndexedAMD)(GLuint buf, GLenum mode); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBlendEquationOES)(GLenum mode); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBlendEquationSeparate)(GLenum modeRGB, GLenum modeAlpha); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBlendEquationSeparateEXT)(GLenum modeRGB, GLenum modeAlpha); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBlendEquationSeparateIndexedAMD)(GLuint buf, GLenum modeRGB, GLenum modeAlpha); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBlendEquationSeparateOES)(GLenum modeRGB, GLenum modeAlpha); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBlendEquationSeparatei)(GLuint buf, GLenum modeRGB, GLenum modeAlpha); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBlendEquationSeparateiARB)(GLuint buf, GLenum modeRGB, GLenum modeAlpha); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBlendEquationSeparateiEXT)(GLuint buf, GLenum modeRGB, GLenum modeAlpha); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBlendEquationSeparateiOES)(GLuint buf, GLenum modeRGB, GLenum modeAlpha); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBlendEquationi)(GLuint buf, GLenum mode); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBlendEquationiARB)(GLuint buf, GLenum mode); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBlendEquationiEXT)(GLuint buf, GLenum mode); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBlendEquationiOES)(GLuint buf, GLenum mode); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBlendFunc)(GLenum sfactor, GLenum dfactor); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBlendFuncIndexedAMD)(GLuint buf, GLenum src, GLenum dst); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBlendFuncSeparate)(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBlendFuncSeparateEXT)(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBlendFuncSeparateINGR)(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBlendFuncSeparateIndexedAMD)(GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBlendFuncSeparateOES)(GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBlendFuncSeparatei)(GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBlendFuncSeparateiARB)(GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBlendFuncSeparateiEXT)(GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBlendFuncSeparateiOES)(GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBlendFunci)(GLuint buf, GLenum src, GLenum dst); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBlendFunciARB)(GLuint buf, GLenum src, GLenum dst); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBlendFunciEXT)(GLuint buf, GLenum src, GLenum dst); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBlendFunciOES)(GLuint buf, GLenum src, GLenum dst); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBlendParameteriNV)(GLenum pname, GLint value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBlitFramebuffer)(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBlitFramebufferANGLE)(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBlitFramebufferEXT)(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBlitFramebufferNV)(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBlitNamedFramebuffer)(GLuint readFramebuffer, GLuint drawFramebuffer, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBufferAddressRangeNV)(GLenum pname, GLuint index, GLuint64EXT address, GLsizeiptr length); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBufferAttachMemoryNV)(GLenum target, GLuint memory, GLuint64 offset); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBufferData)(GLenum target, GLsizeiptr size, const void * data, GLenum usage); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBufferDataARB)(GLenum target, GLsizeiptrARB size, const void * data, GLenum usage); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBufferPageCommitmentARB)(GLenum target, GLintptr offset, GLsizeiptr size, GLboolean commit); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBufferParameteriAPPLE)(GLenum target, GLenum pname, GLint param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBufferStorage)(GLenum target, GLsizeiptr size, const void * data, GLbitfield flags); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBufferStorageEXT)(GLenum target, GLsizeiptr size, const void * data, GLbitfield flags); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBufferStorageExternalEXT)(GLenum target, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBufferStorageMemEXT)(GLenum target, GLsizeiptr size, GLuint memory, GLuint64 offset); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBufferSubData)(GLenum target, GLintptr offset, GLsizeiptr size, const void * data); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glBufferSubDataARB)(GLenum target, GLintptrARB offset, GLsizeiptrARB size, const void * data); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCallCommandListNV)(GLuint list); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCallList)(GLuint list); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCallLists)(GLsizei n, GLenum type, const void * lists); EPOXY_PUBLIC GLenum (EPOXY_CALLSPEC *epoxy_glCheckFramebufferStatus)(GLenum target); EPOXY_PUBLIC GLenum (EPOXY_CALLSPEC *epoxy_glCheckFramebufferStatusEXT)(GLenum target); EPOXY_PUBLIC GLenum (EPOXY_CALLSPEC *epoxy_glCheckFramebufferStatusOES)(GLenum target); EPOXY_PUBLIC GLenum (EPOXY_CALLSPEC *epoxy_glCheckNamedFramebufferStatus)(GLuint framebuffer, GLenum target); EPOXY_PUBLIC GLenum (EPOXY_CALLSPEC *epoxy_glCheckNamedFramebufferStatusEXT)(GLuint framebuffer, GLenum target); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glClampColor)(GLenum target, GLenum clamp); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glClampColorARB)(GLenum target, GLenum clamp); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glClear)(GLbitfield mask); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glClearAccum)(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glClearAccumxOES)(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glClearBufferData)(GLenum target, GLenum internalformat, GLenum format, GLenum type, const void * data); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glClearBufferSubData)(GLenum target, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, const void * data); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glClearBufferfi)(GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glClearBufferfv)(GLenum buffer, GLint drawbuffer, const GLfloat * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glClearBufferiv)(GLenum buffer, GLint drawbuffer, const GLint * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glClearBufferuiv)(GLenum buffer, GLint drawbuffer, const GLuint * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glClearColor)(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glClearColorIiEXT)(GLint red, GLint green, GLint blue, GLint alpha); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glClearColorIuiEXT)(GLuint red, GLuint green, GLuint blue, GLuint alpha); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glClearColorx)(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glClearColorxOES)(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glClearDepth)(GLdouble depth); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glClearDepthdNV)(GLdouble depth); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glClearDepthf)(GLfloat d); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glClearDepthfOES)(GLclampf depth); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glClearDepthx)(GLfixed depth); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glClearDepthxOES)(GLfixed depth); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glClearIndex)(GLfloat c); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glClearNamedBufferData)(GLuint buffer, GLenum internalformat, GLenum format, GLenum type, const void * data); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glClearNamedBufferDataEXT)(GLuint buffer, GLenum internalformat, GLenum format, GLenum type, const void * data); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glClearNamedBufferSubData)(GLuint buffer, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, const void * data); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glClearNamedBufferSubDataEXT)(GLuint buffer, GLenum internalformat, GLsizeiptr offset, GLsizeiptr size, GLenum format, GLenum type, const void * data); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glClearNamedFramebufferfi)(GLuint framebuffer, GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glClearNamedFramebufferfv)(GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLfloat * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glClearNamedFramebufferiv)(GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLint * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glClearNamedFramebufferuiv)(GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLuint * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glClearPixelLocalStorageuiEXT)(GLsizei offset, GLsizei n, const GLuint * values); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glClearStencil)(GLint s); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glClearTexImage)(GLuint texture, GLint level, GLenum format, GLenum type, const void * data); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glClearTexImageEXT)(GLuint texture, GLint level, GLenum format, GLenum type, const void * data); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glClearTexSubImage)(GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void * data); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glClearTexSubImageEXT)(GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void * data); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glClientActiveTexture)(GLenum texture); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glClientActiveTextureARB)(GLenum texture); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glClientActiveVertexStreamATI)(GLenum stream); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glClientAttribDefaultEXT)(GLbitfield mask); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glClientWaitSemaphoreui64NVX)(GLsizei fenceObjectCount, const GLuint * semaphoreArray, const GLuint64 * fenceValueArray); EPOXY_PUBLIC GLenum (EPOXY_CALLSPEC *epoxy_glClientWaitSync)(GLsync sync, GLbitfield flags, GLuint64 timeout); EPOXY_PUBLIC GLenum (EPOXY_CALLSPEC *epoxy_glClientWaitSyncAPPLE)(GLsync sync, GLbitfield flags, GLuint64 timeout); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glClipControl)(GLenum origin, GLenum depth); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glClipControlEXT)(GLenum origin, GLenum depth); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glClipPlane)(GLenum plane, const GLdouble * equation); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glClipPlanef)(GLenum p, const GLfloat * eqn); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glClipPlanefIMG)(GLenum p, const GLfloat * eqn); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glClipPlanefOES)(GLenum plane, const GLfloat * equation); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glClipPlanex)(GLenum plane, const GLfixed * equation); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glClipPlanexIMG)(GLenum p, const GLfixed * eqn); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glClipPlanexOES)(GLenum plane, const GLfixed * equation); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glColor3b)(GLbyte red, GLbyte green, GLbyte blue); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glColor3bv)(const GLbyte * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glColor3d)(GLdouble red, GLdouble green, GLdouble blue); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glColor3dv)(const GLdouble * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glColor3f)(GLfloat red, GLfloat green, GLfloat blue); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glColor3fVertex3fSUN)(GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glColor3fVertex3fvSUN)(const GLfloat * c, const GLfloat * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glColor3fv)(const GLfloat * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glColor3hNV)(GLhalfNV red, GLhalfNV green, GLhalfNV blue); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glColor3hvNV)(const GLhalfNV * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glColor3i)(GLint red, GLint green, GLint blue); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glColor3iv)(const GLint * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glColor3s)(GLshort red, GLshort green, GLshort blue); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glColor3sv)(const GLshort * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glColor3ub)(GLubyte red, GLubyte green, GLubyte blue); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glColor3ubv)(const GLubyte * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glColor3ui)(GLuint red, GLuint green, GLuint blue); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glColor3uiv)(const GLuint * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glColor3us)(GLushort red, GLushort green, GLushort blue); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glColor3usv)(const GLushort * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glColor3xOES)(GLfixed red, GLfixed green, GLfixed blue); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glColor3xvOES)(const GLfixed * components); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glColor4b)(GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glColor4bv)(const GLbyte * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glColor4d)(GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glColor4dv)(const GLdouble * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glColor4f)(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glColor4fNormal3fVertex3fSUN)(GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glColor4fNormal3fVertex3fvSUN)(const GLfloat * c, const GLfloat * n, const GLfloat * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glColor4fv)(const GLfloat * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glColor4hNV)(GLhalfNV red, GLhalfNV green, GLhalfNV blue, GLhalfNV alpha); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glColor4hvNV)(const GLhalfNV * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glColor4i)(GLint red, GLint green, GLint blue, GLint alpha); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glColor4iv)(const GLint * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glColor4s)(GLshort red, GLshort green, GLshort blue, GLshort alpha); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glColor4sv)(const GLshort * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glColor4ub)(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glColor4ubVertex2fSUN)(GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glColor4ubVertex2fvSUN)(const GLubyte * c, const GLfloat * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glColor4ubVertex3fSUN)(GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glColor4ubVertex3fvSUN)(const GLubyte * c, const GLfloat * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glColor4ubv)(const GLubyte * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glColor4ui)(GLuint red, GLuint green, GLuint blue, GLuint alpha); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glColor4uiv)(const GLuint * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glColor4us)(GLushort red, GLushort green, GLushort blue, GLushort alpha); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glColor4usv)(const GLushort * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glColor4x)(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glColor4xOES)(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glColor4xvOES)(const GLfixed * components); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glColorFormatNV)(GLint size, GLenum type, GLsizei stride); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glColorFragmentOp1ATI)(GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glColorFragmentOp2ATI)(GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glColorFragmentOp3ATI)(GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glColorMask)(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glColorMaskIndexedEXT)(GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glColorMaski)(GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glColorMaskiEXT)(GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glColorMaskiOES)(GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glColorMaterial)(GLenum face, GLenum mode); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glColorP3ui)(GLenum type, GLuint color); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glColorP3uiv)(GLenum type, const GLuint * color); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glColorP4ui)(GLenum type, GLuint color); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glColorP4uiv)(GLenum type, const GLuint * color); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glColorPointer)(GLint size, GLenum type, GLsizei stride, const void * pointer); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glColorPointerEXT)(GLint size, GLenum type, GLsizei stride, GLsizei count, const void * pointer); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glColorPointerListIBM)(GLint size, GLenum type, GLint stride, const void ** pointer, GLint ptrstride); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glColorPointervINTEL)(GLint size, GLenum type, const void ** pointer); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glColorSubTable)(GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const void * data); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glColorSubTableEXT)(GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const void * data); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glColorTable)(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void * table); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glColorTableEXT)(GLenum target, GLenum internalFormat, GLsizei width, GLenum format, GLenum type, const void * table); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glColorTableParameterfv)(GLenum target, GLenum pname, const GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glColorTableParameterfvSGI)(GLenum target, GLenum pname, const GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glColorTableParameteriv)(GLenum target, GLenum pname, const GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glColorTableParameterivSGI)(GLenum target, GLenum pname, const GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glColorTableSGI)(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void * table); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCombinerInputNV)(GLenum stage, GLenum portion, GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCombinerOutputNV)(GLenum stage, GLenum portion, GLenum abOutput, GLenum cdOutput, GLenum sumOutput, GLenum scale, GLenum bias, GLboolean abDotProduct, GLboolean cdDotProduct, GLboolean muxSum); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCombinerParameterfNV)(GLenum pname, GLfloat param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCombinerParameterfvNV)(GLenum pname, const GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCombinerParameteriNV)(GLenum pname, GLint param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCombinerParameterivNV)(GLenum pname, const GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCombinerStageParameterfvNV)(GLenum stage, GLenum pname, const GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCommandListSegmentsNV)(GLuint list, GLuint segments); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCompileCommandListNV)(GLuint list); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCompileShader)(GLuint shader); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCompileShaderARB)(GLhandleARB shaderObj); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCompileShaderIncludeARB)(GLuint shader, GLsizei count, const GLchar *const* path, const GLint * length); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCompressedMultiTexImage1DEXT)(GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void * bits); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCompressedMultiTexImage2DEXT)(GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void * bits); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCompressedMultiTexImage3DEXT)(GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void * bits); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCompressedMultiTexSubImage1DEXT)(GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void * bits); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCompressedMultiTexSubImage2DEXT)(GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void * bits); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCompressedMultiTexSubImage3DEXT)(GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void * bits); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCompressedTexImage1D)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void * data); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCompressedTexImage1DARB)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void * data); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCompressedTexImage2D)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void * data); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCompressedTexImage2DARB)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void * data); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCompressedTexImage3D)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void * data); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCompressedTexImage3DARB)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void * data); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCompressedTexImage3DOES)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void * data); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCompressedTexSubImage1D)(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void * data); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCompressedTexSubImage1DARB)(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void * data); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCompressedTexSubImage2D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void * data); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCompressedTexSubImage2DARB)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void * data); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCompressedTexSubImage3D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void * data); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCompressedTexSubImage3DARB)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void * data); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCompressedTexSubImage3DOES)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void * data); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCompressedTextureImage1DEXT)(GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void * bits); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCompressedTextureImage2DEXT)(GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void * bits); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCompressedTextureImage3DEXT)(GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void * bits); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCompressedTextureSubImage1D)(GLuint texture, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void * data); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCompressedTextureSubImage1DEXT)(GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void * bits); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCompressedTextureSubImage2D)(GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void * data); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCompressedTextureSubImage2DEXT)(GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void * bits); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCompressedTextureSubImage3D)(GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void * data); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCompressedTextureSubImage3DEXT)(GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void * bits); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glConservativeRasterParameterfNV)(GLenum pname, GLfloat value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glConservativeRasterParameteriNV)(GLenum pname, GLint param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glConvolutionFilter1D)(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void * image); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glConvolutionFilter1DEXT)(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void * image); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glConvolutionFilter2D)(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void * image); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glConvolutionFilter2DEXT)(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void * image); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glConvolutionParameterf)(GLenum target, GLenum pname, GLfloat params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glConvolutionParameterfEXT)(GLenum target, GLenum pname, GLfloat params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glConvolutionParameterfv)(GLenum target, GLenum pname, const GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glConvolutionParameterfvEXT)(GLenum target, GLenum pname, const GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glConvolutionParameteri)(GLenum target, GLenum pname, GLint params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glConvolutionParameteriEXT)(GLenum target, GLenum pname, GLint params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glConvolutionParameteriv)(GLenum target, GLenum pname, const GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glConvolutionParameterivEXT)(GLenum target, GLenum pname, const GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glConvolutionParameterxOES)(GLenum target, GLenum pname, GLfixed param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glConvolutionParameterxvOES)(GLenum target, GLenum pname, const GLfixed * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCopyBufferSubData)(GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCopyBufferSubDataNV)(GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCopyColorSubTable)(GLenum target, GLsizei start, GLint x, GLint y, GLsizei width); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCopyColorSubTableEXT)(GLenum target, GLsizei start, GLint x, GLint y, GLsizei width); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCopyColorTable)(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCopyColorTableSGI)(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCopyConvolutionFilter1D)(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCopyConvolutionFilter1DEXT)(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCopyConvolutionFilter2D)(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCopyConvolutionFilter2DEXT)(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCopyImageSubData)(GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCopyImageSubDataEXT)(GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCopyImageSubDataNV)(GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei width, GLsizei height, GLsizei depth); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCopyImageSubDataOES)(GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCopyMultiTexImage1DEXT)(GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCopyMultiTexImage2DEXT)(GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCopyMultiTexSubImage1DEXT)(GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCopyMultiTexSubImage2DEXT)(GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCopyMultiTexSubImage3DEXT)(GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCopyNamedBufferSubData)(GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCopyPathNV)(GLuint resultPath, GLuint srcPath); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCopyPixels)(GLint x, GLint y, GLsizei width, GLsizei height, GLenum type); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCopyTexImage1D)(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCopyTexImage1DEXT)(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCopyTexImage2D)(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCopyTexImage2DEXT)(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCopyTexSubImage1D)(GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCopyTexSubImage1DEXT)(GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCopyTexSubImage2D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCopyTexSubImage2DEXT)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCopyTexSubImage3D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCopyTexSubImage3DEXT)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCopyTexSubImage3DOES)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCopyTextureImage1DEXT)(GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCopyTextureImage2DEXT)(GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCopyTextureLevelsAPPLE)(GLuint destinationTexture, GLuint sourceTexture, GLint sourceBaseLevel, GLsizei sourceLevelCount); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCopyTextureSubImage1D)(GLuint texture, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCopyTextureSubImage1DEXT)(GLuint texture, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCopyTextureSubImage2D)(GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCopyTextureSubImage2DEXT)(GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCopyTextureSubImage3D)(GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCopyTextureSubImage3DEXT)(GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCoverFillPathInstancedNV)(GLsizei numPaths, GLenum pathNameType, const void * paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat * transformValues); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCoverFillPathNV)(GLuint path, GLenum coverMode); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCoverStrokePathInstancedNV)(GLsizei numPaths, GLenum pathNameType, const void * paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat * transformValues); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCoverStrokePathNV)(GLuint path, GLenum coverMode); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCoverageMaskNV)(GLboolean mask); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCoverageModulationNV)(GLenum components); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCoverageModulationTableNV)(GLsizei n, const GLfloat * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCoverageOperationNV)(GLenum operation); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCreateBuffers)(GLsizei n, GLuint * buffers); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCreateCommandListsNV)(GLsizei n, GLuint * lists); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCreateFramebuffers)(GLsizei n, GLuint * framebuffers); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCreateMemoryObjectsEXT)(GLsizei n, GLuint * memoryObjects); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCreatePerfQueryINTEL)(GLuint queryId, GLuint * queryHandle); EPOXY_PUBLIC GLuint (EPOXY_CALLSPEC *epoxy_glCreateProgram)(void); EPOXY_PUBLIC GLhandleARB (EPOXY_CALLSPEC *epoxy_glCreateProgramObjectARB)(void); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCreateProgramPipelines)(GLsizei n, GLuint * pipelines); EPOXY_PUBLIC GLuint (EPOXY_CALLSPEC *epoxy_glCreateProgressFenceNVX)(void); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCreateQueries)(GLenum target, GLsizei n, GLuint * ids); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCreateRenderbuffers)(GLsizei n, GLuint * renderbuffers); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCreateSamplers)(GLsizei n, GLuint * samplers); EPOXY_PUBLIC GLuint (EPOXY_CALLSPEC *epoxy_glCreateShader)(GLenum type); EPOXY_PUBLIC GLhandleARB (EPOXY_CALLSPEC *epoxy_glCreateShaderObjectARB)(GLenum shaderType); EPOXY_PUBLIC GLuint (EPOXY_CALLSPEC *epoxy_glCreateShaderProgramEXT)(GLenum type, const GLchar * string); EPOXY_PUBLIC GLuint (EPOXY_CALLSPEC *epoxy_glCreateShaderProgramv)(GLenum type, GLsizei count, const GLchar *const* strings); EPOXY_PUBLIC GLuint (EPOXY_CALLSPEC *epoxy_glCreateShaderProgramvEXT)(GLenum type, GLsizei count, const GLchar ** strings); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCreateStatesNV)(GLsizei n, GLuint * states); EPOXY_PUBLIC GLsync (EPOXY_CALLSPEC *epoxy_glCreateSyncFromCLeventARB)(struct _cl_context * context, struct _cl_event * event, GLbitfield flags); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCreateTextures)(GLenum target, GLsizei n, GLuint * textures); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCreateTransformFeedbacks)(GLsizei n, GLuint * ids); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCreateVertexArrays)(GLsizei n, GLuint * arrays); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCullFace)(GLenum mode); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCullParameterdvEXT)(GLenum pname, GLdouble * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCullParameterfvEXT)(GLenum pname, GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCurrentPaletteMatrixARB)(GLint index); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glCurrentPaletteMatrixOES)(GLuint matrixpaletteindex); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDebugMessageCallback)(GLDEBUGPROC callback, const void * userParam); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDebugMessageCallbackAMD)(GLDEBUGPROCAMD callback, void * userParam); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDebugMessageCallbackARB)(GLDEBUGPROCARB callback, const void * userParam); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDebugMessageCallbackKHR)(GLDEBUGPROCKHR callback, const void * userParam); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDebugMessageControl)(GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint * ids, GLboolean enabled); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDebugMessageControlARB)(GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint * ids, GLboolean enabled); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDebugMessageControlKHR)(GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint * ids, GLboolean enabled); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDebugMessageEnableAMD)(GLenum category, GLenum severity, GLsizei count, const GLuint * ids, GLboolean enabled); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDebugMessageInsert)(GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar * buf); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDebugMessageInsertAMD)(GLenum category, GLenum severity, GLuint id, GLsizei length, const GLchar * buf); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDebugMessageInsertARB)(GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar * buf); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDebugMessageInsertKHR)(GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar * buf); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDeformSGIX)(GLbitfield mask); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDeformationMap3dSGIX)(GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, GLdouble w1, GLdouble w2, GLint wstride, GLint worder, const GLdouble * points); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDeformationMap3fSGIX)(GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, GLfloat w1, GLfloat w2, GLint wstride, GLint worder, const GLfloat * points); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDeleteAsyncMarkersSGIX)(GLuint marker, GLsizei range); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDeleteBuffers)(GLsizei n, const GLuint * buffers); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDeleteBuffersARB)(GLsizei n, const GLuint * buffers); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDeleteCommandListsNV)(GLsizei n, const GLuint * lists); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDeleteFencesAPPLE)(GLsizei n, const GLuint * fences); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDeleteFencesNV)(GLsizei n, const GLuint * fences); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDeleteFragmentShaderATI)(GLuint id); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDeleteFramebuffers)(GLsizei n, const GLuint * framebuffers); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDeleteFramebuffersEXT)(GLsizei n, const GLuint * framebuffers); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDeleteFramebuffersOES)(GLsizei n, const GLuint * framebuffers); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDeleteLists)(GLuint list, GLsizei range); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDeleteMemoryObjectsEXT)(GLsizei n, const GLuint * memoryObjects); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDeleteNamedStringARB)(GLint namelen, const GLchar * name); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDeleteNamesAMD)(GLenum identifier, GLuint num, const GLuint * names); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDeleteObjectARB)(GLhandleARB obj); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDeleteOcclusionQueriesNV)(GLsizei n, const GLuint * ids); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDeletePathsNV)(GLuint path, GLsizei range); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDeletePerfMonitorsAMD)(GLsizei n, GLuint * monitors); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDeletePerfQueryINTEL)(GLuint queryHandle); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDeleteProgram)(GLuint program); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDeleteProgramPipelines)(GLsizei n, const GLuint * pipelines); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDeleteProgramPipelinesEXT)(GLsizei n, const GLuint * pipelines); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDeleteProgramsARB)(GLsizei n, const GLuint * programs); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDeleteProgramsNV)(GLsizei n, const GLuint * programs); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDeleteQueries)(GLsizei n, const GLuint * ids); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDeleteQueriesARB)(GLsizei n, const GLuint * ids); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDeleteQueriesEXT)(GLsizei n, const GLuint * ids); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDeleteQueryResourceTagNV)(GLsizei n, const GLint * tagIds); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDeleteRenderbuffers)(GLsizei n, const GLuint * renderbuffers); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDeleteRenderbuffersEXT)(GLsizei n, const GLuint * renderbuffers); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDeleteRenderbuffersOES)(GLsizei n, const GLuint * renderbuffers); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDeleteSamplers)(GLsizei count, const GLuint * samplers); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDeleteSemaphoresEXT)(GLsizei n, const GLuint * semaphores); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDeleteShader)(GLuint shader); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDeleteStatesNV)(GLsizei n, const GLuint * states); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDeleteSync)(GLsync sync); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDeleteSyncAPPLE)(GLsync sync); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDeleteTextures)(GLsizei n, const GLuint * textures); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDeleteTexturesEXT)(GLsizei n, const GLuint * textures); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDeleteTransformFeedbacks)(GLsizei n, const GLuint * ids); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDeleteTransformFeedbacksNV)(GLsizei n, const GLuint * ids); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDeleteVertexArrays)(GLsizei n, const GLuint * arrays); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDeleteVertexArraysAPPLE)(GLsizei n, const GLuint * arrays); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDeleteVertexArraysOES)(GLsizei n, const GLuint * arrays); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDeleteVertexShaderEXT)(GLuint id); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDepthBoundsEXT)(GLclampd zmin, GLclampd zmax); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDepthBoundsdNV)(GLdouble zmin, GLdouble zmax); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDepthFunc)(GLenum func); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDepthMask)(GLboolean flag); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDepthRange)(GLdouble n, GLdouble f); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDepthRangeArrayfvNV)(GLuint first, GLsizei count, const GLfloat * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDepthRangeArrayfvOES)(GLuint first, GLsizei count, const GLfloat * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDepthRangeArrayv)(GLuint first, GLsizei count, const GLdouble * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDepthRangeIndexed)(GLuint index, GLdouble n, GLdouble f); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDepthRangeIndexedfNV)(GLuint index, GLfloat n, GLfloat f); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDepthRangeIndexedfOES)(GLuint index, GLfloat n, GLfloat f); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDepthRangedNV)(GLdouble zNear, GLdouble zFar); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDepthRangef)(GLfloat n, GLfloat f); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDepthRangefOES)(GLclampf n, GLclampf f); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDepthRangex)(GLfixed n, GLfixed f); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDepthRangexOES)(GLfixed n, GLfixed f); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDetachObjectARB)(GLhandleARB containerObj, GLhandleARB attachedObj); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDetachShader)(GLuint program, GLuint shader); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDetailTexFuncSGIS)(GLenum target, GLsizei n, const GLfloat * points); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDisable)(GLenum cap); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDisableClientState)(GLenum array); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDisableClientStateIndexedEXT)(GLenum array, GLuint index); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDisableClientStateiEXT)(GLenum array, GLuint index); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDisableDriverControlQCOM)(GLuint driverControl); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDisableIndexedEXT)(GLenum target, GLuint index); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDisableVariantClientStateEXT)(GLuint id); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDisableVertexArrayAttrib)(GLuint vaobj, GLuint index); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDisableVertexArrayAttribEXT)(GLuint vaobj, GLuint index); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDisableVertexArrayEXT)(GLuint vaobj, GLenum array); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDisableVertexAttribAPPLE)(GLuint index, GLenum pname); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDisableVertexAttribArray)(GLuint index); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDisableVertexAttribArrayARB)(GLuint index); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDisablei)(GLenum target, GLuint index); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDisableiEXT)(GLenum target, GLuint index); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDisableiNV)(GLenum target, GLuint index); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDisableiOES)(GLenum target, GLuint index); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDiscardFramebufferEXT)(GLenum target, GLsizei numAttachments, const GLenum * attachments); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDispatchCompute)(GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDispatchComputeGroupSizeARB)(GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z, GLuint group_size_x, GLuint group_size_y, GLuint group_size_z); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDispatchComputeIndirect)(GLintptr indirect); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDrawArrays)(GLenum mode, GLint first, GLsizei count); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDrawArraysEXT)(GLenum mode, GLint first, GLsizei count); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDrawArraysIndirect)(GLenum mode, const void * indirect); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDrawArraysInstanced)(GLenum mode, GLint first, GLsizei count, GLsizei instancecount); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDrawArraysInstancedANGLE)(GLenum mode, GLint first, GLsizei count, GLsizei primcount); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDrawArraysInstancedARB)(GLenum mode, GLint first, GLsizei count, GLsizei primcount); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDrawArraysInstancedBaseInstance)(GLenum mode, GLint first, GLsizei count, GLsizei instancecount, GLuint baseinstance); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDrawArraysInstancedBaseInstanceEXT)(GLenum mode, GLint first, GLsizei count, GLsizei instancecount, GLuint baseinstance); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDrawArraysInstancedEXT)(GLenum mode, GLint start, GLsizei count, GLsizei primcount); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDrawArraysInstancedNV)(GLenum mode, GLint first, GLsizei count, GLsizei primcount); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDrawBuffer)(GLenum buf); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDrawBuffers)(GLsizei n, const GLenum * bufs); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDrawBuffersARB)(GLsizei n, const GLenum * bufs); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDrawBuffersATI)(GLsizei n, const GLenum * bufs); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDrawBuffersEXT)(GLsizei n, const GLenum * bufs); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDrawBuffersIndexedEXT)(GLint n, const GLenum * location, const GLint * indices); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDrawBuffersNV)(GLsizei n, const GLenum * bufs); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDrawCommandsAddressNV)(GLenum primitiveMode, const GLuint64 * indirects, const GLsizei * sizes, GLuint count); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDrawCommandsNV)(GLenum primitiveMode, GLuint buffer, const GLintptr * indirects, const GLsizei * sizes, GLuint count); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDrawCommandsStatesAddressNV)(const GLuint64 * indirects, const GLsizei * sizes, const GLuint * states, const GLuint * fbos, GLuint count); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDrawCommandsStatesNV)(GLuint buffer, const GLintptr * indirects, const GLsizei * sizes, const GLuint * states, const GLuint * fbos, GLuint count); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDrawElementArrayAPPLE)(GLenum mode, GLint first, GLsizei count); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDrawElementArrayATI)(GLenum mode, GLsizei count); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDrawElements)(GLenum mode, GLsizei count, GLenum type, const void * indices); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDrawElementsBaseVertex)(GLenum mode, GLsizei count, GLenum type, const void * indices, GLint basevertex); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDrawElementsBaseVertexEXT)(GLenum mode, GLsizei count, GLenum type, const void * indices, GLint basevertex); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDrawElementsBaseVertexOES)(GLenum mode, GLsizei count, GLenum type, const void * indices, GLint basevertex); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDrawElementsIndirect)(GLenum mode, GLenum type, const void * indirect); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDrawElementsInstanced)(GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei instancecount); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDrawElementsInstancedANGLE)(GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei primcount); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDrawElementsInstancedARB)(GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei primcount); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDrawElementsInstancedBaseInstance)(GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei instancecount, GLuint baseinstance); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDrawElementsInstancedBaseInstanceEXT)(GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei instancecount, GLuint baseinstance); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDrawElementsInstancedBaseVertex)(GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei instancecount, GLint basevertex); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDrawElementsInstancedBaseVertexBaseInstance)(GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei instancecount, GLint basevertex, GLuint baseinstance); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDrawElementsInstancedBaseVertexBaseInstanceEXT)(GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei instancecount, GLint basevertex, GLuint baseinstance); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDrawElementsInstancedBaseVertexEXT)(GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei instancecount, GLint basevertex); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDrawElementsInstancedBaseVertexOES)(GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei instancecount, GLint basevertex); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDrawElementsInstancedEXT)(GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei primcount); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDrawElementsInstancedNV)(GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei primcount); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDrawMeshArraysSUN)(GLenum mode, GLint first, GLsizei count, GLsizei width); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDrawMeshTasksIndirectNV)(GLintptr indirect); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDrawMeshTasksNV)(GLuint first, GLuint count); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDrawPixels)(GLsizei width, GLsizei height, GLenum format, GLenum type, const void * pixels); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDrawRangeElementArrayAPPLE)(GLenum mode, GLuint start, GLuint end, GLint first, GLsizei count); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDrawRangeElementArrayATI)(GLenum mode, GLuint start, GLuint end, GLsizei count); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDrawRangeElements)(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void * indices); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDrawRangeElementsBaseVertex)(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void * indices, GLint basevertex); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDrawRangeElementsBaseVertexEXT)(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void * indices, GLint basevertex); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDrawRangeElementsBaseVertexOES)(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void * indices, GLint basevertex); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDrawRangeElementsEXT)(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void * indices); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDrawTexfOES)(GLfloat x, GLfloat y, GLfloat z, GLfloat width, GLfloat height); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDrawTexfvOES)(const GLfloat * coords); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDrawTexiOES)(GLint x, GLint y, GLint z, GLint width, GLint height); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDrawTexivOES)(const GLint * coords); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDrawTexsOES)(GLshort x, GLshort y, GLshort z, GLshort width, GLshort height); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDrawTexsvOES)(const GLshort * coords); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDrawTextureNV)(GLuint texture, GLuint sampler, GLfloat x0, GLfloat y0, GLfloat x1, GLfloat y1, GLfloat z, GLfloat s0, GLfloat t0, GLfloat s1, GLfloat t1); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDrawTexxOES)(GLfixed x, GLfixed y, GLfixed z, GLfixed width, GLfixed height); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDrawTexxvOES)(const GLfixed * coords); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDrawTransformFeedback)(GLenum mode, GLuint id); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDrawTransformFeedbackEXT)(GLenum mode, GLuint id); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDrawTransformFeedbackInstanced)(GLenum mode, GLuint id, GLsizei instancecount); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDrawTransformFeedbackInstancedEXT)(GLenum mode, GLuint id, GLsizei instancecount); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDrawTransformFeedbackNV)(GLenum mode, GLuint id); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDrawTransformFeedbackStream)(GLenum mode, GLuint id, GLuint stream); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDrawTransformFeedbackStreamInstanced)(GLenum mode, GLuint id, GLuint stream, GLsizei instancecount); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glDrawVkImageNV)(GLuint64 vkImage, GLuint sampler, GLfloat x0, GLfloat y0, GLfloat x1, GLfloat y1, GLfloat z, GLfloat s0, GLfloat t0, GLfloat s1, GLfloat t1); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glEGLImageTargetRenderbufferStorageOES)(GLenum target, GLeglImageOES image); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glEGLImageTargetTexStorageEXT)(GLenum target, GLeglImageOES image, const GLint* attrib_list); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glEGLImageTargetTexture2DOES)(GLenum target, GLeglImageOES image); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glEGLImageTargetTextureStorageEXT)(GLuint texture, GLeglImageOES image, const GLint* attrib_list); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glEdgeFlag)(GLboolean flag); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glEdgeFlagFormatNV)(GLsizei stride); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glEdgeFlagPointer)(GLsizei stride, const void * pointer); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glEdgeFlagPointerEXT)(GLsizei stride, GLsizei count, const GLboolean * pointer); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glEdgeFlagPointerListIBM)(GLint stride, const GLboolean ** pointer, GLint ptrstride); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glEdgeFlagv)(const GLboolean * flag); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glElementPointerAPPLE)(GLenum type, const void * pointer); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glElementPointerATI)(GLenum type, const void * pointer); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glEnable)(GLenum cap); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glEnableClientState)(GLenum array); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glEnableClientStateIndexedEXT)(GLenum array, GLuint index); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glEnableClientStateiEXT)(GLenum array, GLuint index); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glEnableDriverControlQCOM)(GLuint driverControl); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glEnableIndexedEXT)(GLenum target, GLuint index); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glEnableVariantClientStateEXT)(GLuint id); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glEnableVertexArrayAttrib)(GLuint vaobj, GLuint index); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glEnableVertexArrayAttribEXT)(GLuint vaobj, GLuint index); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glEnableVertexArrayEXT)(GLuint vaobj, GLenum array); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glEnableVertexAttribAPPLE)(GLuint index, GLenum pname); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glEnableVertexAttribArray)(GLuint index); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glEnableVertexAttribArrayARB)(GLuint index); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glEnablei)(GLenum target, GLuint index); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glEnableiEXT)(GLenum target, GLuint index); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glEnableiNV)(GLenum target, GLuint index); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glEnableiOES)(GLenum target, GLuint index); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glEnd)(void); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glEndConditionalRender)(void); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glEndConditionalRenderNV)(void); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glEndConditionalRenderNVX)(void); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glEndFragmentShaderATI)(void); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glEndList)(void); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glEndOcclusionQueryNV)(void); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glEndPerfMonitorAMD)(GLuint monitor); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glEndPerfQueryINTEL)(GLuint queryHandle); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glEndQuery)(GLenum target); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glEndQueryARB)(GLenum target); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glEndQueryEXT)(GLenum target); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glEndQueryIndexed)(GLenum target, GLuint index); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glEndTilingQCOM)(GLbitfield preserveMask); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glEndTransformFeedback)(void); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glEndTransformFeedbackEXT)(void); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glEndTransformFeedbackNV)(void); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glEndVertexShaderEXT)(void); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glEndVideoCaptureNV)(GLuint video_capture_slot); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glEvalCoord1d)(GLdouble u); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glEvalCoord1dv)(const GLdouble * u); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glEvalCoord1f)(GLfloat u); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glEvalCoord1fv)(const GLfloat * u); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glEvalCoord1xOES)(GLfixed u); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glEvalCoord1xvOES)(const GLfixed * coords); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glEvalCoord2d)(GLdouble u, GLdouble v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glEvalCoord2dv)(const GLdouble * u); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glEvalCoord2f)(GLfloat u, GLfloat v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glEvalCoord2fv)(const GLfloat * u); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glEvalCoord2xOES)(GLfixed u, GLfixed v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glEvalCoord2xvOES)(const GLfixed * coords); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glEvalMapsNV)(GLenum target, GLenum mode); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glEvalMesh1)(GLenum mode, GLint i1, GLint i2); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glEvalMesh2)(GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glEvalPoint1)(GLint i); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glEvalPoint2)(GLint i, GLint j); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glEvaluateDepthValuesARB)(void); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glExecuteProgramNV)(GLenum target, GLuint id, const GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glExtGetBufferPointervQCOM)(GLenum target, void ** params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glExtGetBuffersQCOM)(GLuint * buffers, GLint maxBuffers, GLint * numBuffers); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glExtGetFramebuffersQCOM)(GLuint * framebuffers, GLint maxFramebuffers, GLint * numFramebuffers); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glExtGetProgramBinarySourceQCOM)(GLuint program, GLenum shadertype, GLchar * source, GLint * length); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glExtGetProgramsQCOM)(GLuint * programs, GLint maxPrograms, GLint * numPrograms); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glExtGetRenderbuffersQCOM)(GLuint * renderbuffers, GLint maxRenderbuffers, GLint * numRenderbuffers); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glExtGetShadersQCOM)(GLuint * shaders, GLint maxShaders, GLint * numShaders); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glExtGetTexLevelParameterivQCOM)(GLuint texture, GLenum face, GLint level, GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glExtGetTexSubImageQCOM)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, void * texels); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glExtGetTexturesQCOM)(GLuint * textures, GLint maxTextures, GLint * numTextures); EPOXY_PUBLIC GLboolean (EPOXY_CALLSPEC *epoxy_glExtIsProgramBinaryQCOM)(GLuint program); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glExtTexObjectStateOverrideiQCOM)(GLenum target, GLenum pname, GLint param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glExtractComponentEXT)(GLuint res, GLuint src, GLuint num); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFeedbackBuffer)(GLsizei size, GLenum type, GLfloat * buffer); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFeedbackBufferxOES)(GLsizei n, GLenum type, const GLfixed * buffer); EPOXY_PUBLIC GLsync (EPOXY_CALLSPEC *epoxy_glFenceSync)(GLenum condition, GLbitfield flags); EPOXY_PUBLIC GLsync (EPOXY_CALLSPEC *epoxy_glFenceSyncAPPLE)(GLenum condition, GLbitfield flags); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFinalCombinerInputNV)(GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFinish)(void); EPOXY_PUBLIC GLint (EPOXY_CALLSPEC *epoxy_glFinishAsyncSGIX)(GLuint * markerp); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFinishFenceAPPLE)(GLuint fence); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFinishFenceNV)(GLuint fence); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFinishObjectAPPLE)(GLenum object, GLint name); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFinishTextureSUNX)(void); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFlush)(void); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFlushMappedBufferRange)(GLenum target, GLintptr offset, GLsizeiptr length); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFlushMappedBufferRangeAPPLE)(GLenum target, GLintptr offset, GLsizeiptr size); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFlushMappedBufferRangeEXT)(GLenum target, GLintptr offset, GLsizeiptr length); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFlushMappedNamedBufferRange)(GLuint buffer, GLintptr offset, GLsizeiptr length); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFlushMappedNamedBufferRangeEXT)(GLuint buffer, GLintptr offset, GLsizeiptr length); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFlushPixelDataRangeNV)(GLenum target); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFlushRasterSGIX)(void); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFlushStaticDataIBM)(GLenum target); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFlushVertexArrayRangeAPPLE)(GLsizei length, void * pointer); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFlushVertexArrayRangeNV)(void); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFogCoordFormatNV)(GLenum type, GLsizei stride); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFogCoordPointer)(GLenum type, GLsizei stride, const void * pointer); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFogCoordPointerEXT)(GLenum type, GLsizei stride, const void * pointer); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFogCoordPointerListIBM)(GLenum type, GLint stride, const void ** pointer, GLint ptrstride); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFogCoordd)(GLdouble coord); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFogCoorddEXT)(GLdouble coord); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFogCoorddv)(const GLdouble * coord); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFogCoorddvEXT)(const GLdouble * coord); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFogCoordf)(GLfloat coord); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFogCoordfEXT)(GLfloat coord); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFogCoordfv)(const GLfloat * coord); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFogCoordfvEXT)(const GLfloat * coord); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFogCoordhNV)(GLhalfNV fog); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFogCoordhvNV)(const GLhalfNV * fog); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFogFuncSGIS)(GLsizei n, const GLfloat * points); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFogf)(GLenum pname, GLfloat param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFogfv)(GLenum pname, const GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFogi)(GLenum pname, GLint param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFogiv)(GLenum pname, const GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFogx)(GLenum pname, GLfixed param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFogxOES)(GLenum pname, GLfixed param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFogxv)(GLenum pname, const GLfixed * param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFogxvOES)(GLenum pname, const GLfixed * param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFragmentColorMaterialSGIX)(GLenum face, GLenum mode); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFragmentCoverageColorNV)(GLuint color); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFragmentLightModelfSGIX)(GLenum pname, GLfloat param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFragmentLightModelfvSGIX)(GLenum pname, const GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFragmentLightModeliSGIX)(GLenum pname, GLint param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFragmentLightModelivSGIX)(GLenum pname, const GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFragmentLightfSGIX)(GLenum light, GLenum pname, GLfloat param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFragmentLightfvSGIX)(GLenum light, GLenum pname, const GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFragmentLightiSGIX)(GLenum light, GLenum pname, GLint param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFragmentLightivSGIX)(GLenum light, GLenum pname, const GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFragmentMaterialfSGIX)(GLenum face, GLenum pname, GLfloat param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFragmentMaterialfvSGIX)(GLenum face, GLenum pname, const GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFragmentMaterialiSGIX)(GLenum face, GLenum pname, GLint param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFragmentMaterialivSGIX)(GLenum face, GLenum pname, const GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFrameTerminatorGREMEDY)(void); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFrameZoomSGIX)(GLint factor); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFramebufferDrawBufferEXT)(GLuint framebuffer, GLenum mode); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFramebufferDrawBuffersEXT)(GLuint framebuffer, GLsizei n, const GLenum * bufs); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFramebufferFetchBarrierEXT)(void); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFramebufferFetchBarrierQCOM)(void); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFramebufferFoveationConfigQCOM)(GLuint framebuffer, GLuint numLayers, GLuint focalPointsPerLayer, GLuint requestedFeatures, GLuint * providedFeatures); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFramebufferFoveationParametersQCOM)(GLuint framebuffer, GLuint layer, GLuint focalPoint, GLfloat focalX, GLfloat focalY, GLfloat gainX, GLfloat gainY, GLfloat foveaArea); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFramebufferParameteri)(GLenum target, GLenum pname, GLint param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFramebufferParameteriMESA)(GLenum target, GLenum pname, GLint param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFramebufferPixelLocalStorageSizeEXT)(GLuint target, GLsizei size); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFramebufferReadBufferEXT)(GLuint framebuffer, GLenum mode); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFramebufferRenderbuffer)(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFramebufferRenderbufferEXT)(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFramebufferRenderbufferOES)(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFramebufferSampleLocationsfvARB)(GLenum target, GLuint start, GLsizei count, const GLfloat * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFramebufferSampleLocationsfvNV)(GLenum target, GLuint start, GLsizei count, const GLfloat * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFramebufferSamplePositionsfvAMD)(GLenum target, GLuint numsamples, GLuint pixelindex, const GLfloat * values); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFramebufferTexture)(GLenum target, GLenum attachment, GLuint texture, GLint level); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFramebufferTexture1D)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFramebufferTexture1DEXT)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFramebufferTexture2D)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFramebufferTexture2DDownsampleIMG)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint xscale, GLint yscale); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFramebufferTexture2DEXT)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFramebufferTexture2DMultisampleEXT)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFramebufferTexture2DMultisampleIMG)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFramebufferTexture2DOES)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFramebufferTexture3D)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFramebufferTexture3DEXT)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFramebufferTexture3DOES)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFramebufferTextureARB)(GLenum target, GLenum attachment, GLuint texture, GLint level); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFramebufferTextureEXT)(GLenum target, GLenum attachment, GLuint texture, GLint level); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFramebufferTextureFaceARB)(GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFramebufferTextureFaceEXT)(GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFramebufferTextureLayer)(GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFramebufferTextureLayerARB)(GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFramebufferTextureLayerDownsampleIMG)(GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer, GLint xscale, GLint yscale); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFramebufferTextureLayerEXT)(GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFramebufferTextureMultisampleMultiviewOVR)(GLenum target, GLenum attachment, GLuint texture, GLint level, GLsizei samples, GLint baseViewIndex, GLsizei numViews); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFramebufferTextureMultiviewOVR)(GLenum target, GLenum attachment, GLuint texture, GLint level, GLint baseViewIndex, GLsizei numViews); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFramebufferTextureOES)(GLenum target, GLenum attachment, GLuint texture, GLint level); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFreeObjectBufferATI)(GLuint buffer); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFrontFace)(GLenum mode); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFrustum)(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFrustumf)(GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFrustumfOES)(GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFrustumx)(GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glFrustumxOES)(GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f); EPOXY_PUBLIC GLuint (EPOXY_CALLSPEC *epoxy_glGenAsyncMarkersSGIX)(GLsizei range); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGenBuffers)(GLsizei n, GLuint * buffers); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGenBuffersARB)(GLsizei n, GLuint * buffers); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGenFencesAPPLE)(GLsizei n, GLuint * fences); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGenFencesNV)(GLsizei n, GLuint * fences); EPOXY_PUBLIC GLuint (EPOXY_CALLSPEC *epoxy_glGenFragmentShadersATI)(GLuint range); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGenFramebuffers)(GLsizei n, GLuint * framebuffers); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGenFramebuffersEXT)(GLsizei n, GLuint * framebuffers); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGenFramebuffersOES)(GLsizei n, GLuint * framebuffers); EPOXY_PUBLIC GLuint (EPOXY_CALLSPEC *epoxy_glGenLists)(GLsizei range); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGenNamesAMD)(GLenum identifier, GLuint num, GLuint * names); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGenOcclusionQueriesNV)(GLsizei n, GLuint * ids); EPOXY_PUBLIC GLuint (EPOXY_CALLSPEC *epoxy_glGenPathsNV)(GLsizei range); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGenPerfMonitorsAMD)(GLsizei n, GLuint * monitors); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGenProgramPipelines)(GLsizei n, GLuint * pipelines); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGenProgramPipelinesEXT)(GLsizei n, GLuint * pipelines); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGenProgramsARB)(GLsizei n, GLuint * programs); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGenProgramsNV)(GLsizei n, GLuint * programs); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGenQueries)(GLsizei n, GLuint * ids); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGenQueriesARB)(GLsizei n, GLuint * ids); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGenQueriesEXT)(GLsizei n, GLuint * ids); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGenQueryResourceTagNV)(GLsizei n, GLint * tagIds); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGenRenderbuffers)(GLsizei n, GLuint * renderbuffers); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGenRenderbuffersEXT)(GLsizei n, GLuint * renderbuffers); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGenRenderbuffersOES)(GLsizei n, GLuint * renderbuffers); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGenSamplers)(GLsizei count, GLuint * samplers); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGenSemaphoresEXT)(GLsizei n, GLuint * semaphores); EPOXY_PUBLIC GLuint (EPOXY_CALLSPEC *epoxy_glGenSymbolsEXT)(GLenum datatype, GLenum storagetype, GLenum range, GLuint components); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGenTextures)(GLsizei n, GLuint * textures); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGenTexturesEXT)(GLsizei n, GLuint * textures); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGenTransformFeedbacks)(GLsizei n, GLuint * ids); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGenTransformFeedbacksNV)(GLsizei n, GLuint * ids); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGenVertexArrays)(GLsizei n, GLuint * arrays); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGenVertexArraysAPPLE)(GLsizei n, GLuint * arrays); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGenVertexArraysOES)(GLsizei n, GLuint * arrays); EPOXY_PUBLIC GLuint (EPOXY_CALLSPEC *epoxy_glGenVertexShadersEXT)(GLuint range); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGenerateMipmap)(GLenum target); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGenerateMipmapEXT)(GLenum target); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGenerateMipmapOES)(GLenum target); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGenerateMultiTexMipmapEXT)(GLenum texunit, GLenum target); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGenerateTextureMipmap)(GLuint texture); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGenerateTextureMipmapEXT)(GLuint texture, GLenum target); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetActiveAtomicCounterBufferiv)(GLuint program, GLuint bufferIndex, GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetActiveAttrib)(GLuint program, GLuint index, GLsizei bufSize, GLsizei * length, GLint * size, GLenum * type, GLchar * name); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetActiveAttribARB)(GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei * length, GLint * size, GLenum * type, GLcharARB * name); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetActiveSubroutineName)(GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei * length, GLchar * name); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetActiveSubroutineUniformName)(GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei * length, GLchar * name); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetActiveSubroutineUniformiv)(GLuint program, GLenum shadertype, GLuint index, GLenum pname, GLint * values); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetActiveUniform)(GLuint program, GLuint index, GLsizei bufSize, GLsizei * length, GLint * size, GLenum * type, GLchar * name); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetActiveUniformARB)(GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei * length, GLint * size, GLenum * type, GLcharARB * name); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetActiveUniformBlockName)(GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei * length, GLchar * uniformBlockName); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetActiveUniformBlockiv)(GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetActiveUniformName)(GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei * length, GLchar * uniformName); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetActiveUniformsiv)(GLuint program, GLsizei uniformCount, const GLuint * uniformIndices, GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetActiveVaryingNV)(GLuint program, GLuint index, GLsizei bufSize, GLsizei * length, GLsizei * size, GLenum * type, GLchar * name); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetArrayObjectfvATI)(GLenum array, GLenum pname, GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetArrayObjectivATI)(GLenum array, GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetAttachedObjectsARB)(GLhandleARB containerObj, GLsizei maxCount, GLsizei * count, GLhandleARB * obj); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetAttachedShaders)(GLuint program, GLsizei maxCount, GLsizei * count, GLuint * shaders); EPOXY_PUBLIC GLint (EPOXY_CALLSPEC *epoxy_glGetAttribLocation)(GLuint program, const GLchar * name); EPOXY_PUBLIC GLint (EPOXY_CALLSPEC *epoxy_glGetAttribLocationARB)(GLhandleARB programObj, const GLcharARB * name); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetBooleanIndexedvEXT)(GLenum target, GLuint index, GLboolean * data); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetBooleani_v)(GLenum target, GLuint index, GLboolean * data); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetBooleanv)(GLenum pname, GLboolean * data); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetBufferParameteri64v)(GLenum target, GLenum pname, GLint64 * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetBufferParameteriv)(GLenum target, GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetBufferParameterivARB)(GLenum target, GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetBufferParameterui64vNV)(GLenum target, GLenum pname, GLuint64EXT * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetBufferPointerv)(GLenum target, GLenum pname, void ** params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetBufferPointervARB)(GLenum target, GLenum pname, void ** params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetBufferPointervOES)(GLenum target, GLenum pname, void ** params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetBufferSubData)(GLenum target, GLintptr offset, GLsizeiptr size, void * data); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetBufferSubDataARB)(GLenum target, GLintptrARB offset, GLsizeiptrARB size, void * data); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetClipPlane)(GLenum plane, GLdouble * equation); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetClipPlanef)(GLenum plane, GLfloat * equation); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetClipPlanefOES)(GLenum plane, GLfloat * equation); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetClipPlanex)(GLenum plane, GLfixed * equation); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetClipPlanexOES)(GLenum plane, GLfixed * equation); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetColorTable)(GLenum target, GLenum format, GLenum type, void * table); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetColorTableEXT)(GLenum target, GLenum format, GLenum type, void * data); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetColorTableParameterfv)(GLenum target, GLenum pname, GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetColorTableParameterfvEXT)(GLenum target, GLenum pname, GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetColorTableParameterfvSGI)(GLenum target, GLenum pname, GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetColorTableParameteriv)(GLenum target, GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetColorTableParameterivEXT)(GLenum target, GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetColorTableParameterivSGI)(GLenum target, GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetColorTableSGI)(GLenum target, GLenum format, GLenum type, void * table); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetCombinerInputParameterfvNV)(GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetCombinerInputParameterivNV)(GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetCombinerOutputParameterfvNV)(GLenum stage, GLenum portion, GLenum pname, GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetCombinerOutputParameterivNV)(GLenum stage, GLenum portion, GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetCombinerStageParameterfvNV)(GLenum stage, GLenum pname, GLfloat * params); EPOXY_PUBLIC GLuint (EPOXY_CALLSPEC *epoxy_glGetCommandHeaderNV)(GLenum tokenID, GLuint size); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetCompressedMultiTexImageEXT)(GLenum texunit, GLenum target, GLint lod, void * img); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetCompressedTexImage)(GLenum target, GLint level, void * img); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetCompressedTexImageARB)(GLenum target, GLint level, void * img); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetCompressedTextureImage)(GLuint texture, GLint level, GLsizei bufSize, void * pixels); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetCompressedTextureImageEXT)(GLuint texture, GLenum target, GLint lod, void * img); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetCompressedTextureSubImage)(GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei bufSize, void * pixels); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetConvolutionFilter)(GLenum target, GLenum format, GLenum type, void * image); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetConvolutionFilterEXT)(GLenum target, GLenum format, GLenum type, void * image); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetConvolutionParameterfv)(GLenum target, GLenum pname, GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetConvolutionParameterfvEXT)(GLenum target, GLenum pname, GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetConvolutionParameteriv)(GLenum target, GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetConvolutionParameterivEXT)(GLenum target, GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetConvolutionParameterxvOES)(GLenum target, GLenum pname, GLfixed * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetCoverageModulationTableNV)(GLsizei bufsize, GLfloat * v); EPOXY_PUBLIC GLuint (EPOXY_CALLSPEC *epoxy_glGetDebugMessageLog)(GLuint count, GLsizei bufSize, GLenum * sources, GLenum * types, GLuint * ids, GLenum * severities, GLsizei * lengths, GLchar * messageLog); EPOXY_PUBLIC GLuint (EPOXY_CALLSPEC *epoxy_glGetDebugMessageLogAMD)(GLuint count, GLsizei bufsize, GLenum * categories, GLuint * severities, GLuint * ids, GLsizei * lengths, GLchar * message); EPOXY_PUBLIC GLuint (EPOXY_CALLSPEC *epoxy_glGetDebugMessageLogARB)(GLuint count, GLsizei bufSize, GLenum * sources, GLenum * types, GLuint * ids, GLenum * severities, GLsizei * lengths, GLchar * messageLog); EPOXY_PUBLIC GLuint (EPOXY_CALLSPEC *epoxy_glGetDebugMessageLogKHR)(GLuint count, GLsizei bufSize, GLenum * sources, GLenum * types, GLuint * ids, GLenum * severities, GLsizei * lengths, GLchar * messageLog); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetDetailTexFuncSGIS)(GLenum target, GLfloat * points); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetDoubleIndexedvEXT)(GLenum target, GLuint index, GLdouble * data); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetDoublei_v)(GLenum target, GLuint index, GLdouble * data); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetDoublei_vEXT)(GLenum pname, GLuint index, GLdouble * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetDoublev)(GLenum pname, GLdouble * data); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetDriverControlStringQCOM)(GLuint driverControl, GLsizei bufSize, GLsizei * length, GLchar * driverControlString); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetDriverControlsQCOM)(GLint * num, GLsizei size, GLuint * driverControls); EPOXY_PUBLIC GLenum (EPOXY_CALLSPEC *epoxy_glGetError)(void); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetFenceivNV)(GLuint fence, GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetFinalCombinerInputParameterfvNV)(GLenum variable, GLenum pname, GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetFinalCombinerInputParameterivNV)(GLenum variable, GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetFirstPerfQueryIdINTEL)(GLuint * queryId); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetFixedv)(GLenum pname, GLfixed * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetFixedvOES)(GLenum pname, GLfixed * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetFloatIndexedvEXT)(GLenum target, GLuint index, GLfloat * data); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetFloati_v)(GLenum target, GLuint index, GLfloat * data); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetFloati_vEXT)(GLenum pname, GLuint index, GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetFloati_vNV)(GLenum target, GLuint index, GLfloat * data); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetFloati_vOES)(GLenum target, GLuint index, GLfloat * data); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetFloatv)(GLenum pname, GLfloat * data); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetFogFuncSGIS)(GLfloat * points); EPOXY_PUBLIC GLint (EPOXY_CALLSPEC *epoxy_glGetFragDataIndex)(GLuint program, const GLchar * name); EPOXY_PUBLIC GLint (EPOXY_CALLSPEC *epoxy_glGetFragDataIndexEXT)(GLuint program, const GLchar * name); EPOXY_PUBLIC GLint (EPOXY_CALLSPEC *epoxy_glGetFragDataLocation)(GLuint program, const GLchar * name); EPOXY_PUBLIC GLint (EPOXY_CALLSPEC *epoxy_glGetFragDataLocationEXT)(GLuint program, const GLchar * name); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetFragmentLightfvSGIX)(GLenum light, GLenum pname, GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetFragmentLightivSGIX)(GLenum light, GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetFragmentMaterialfvSGIX)(GLenum face, GLenum pname, GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetFragmentMaterialivSGIX)(GLenum face, GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetFramebufferAttachmentParameteriv)(GLenum target, GLenum attachment, GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetFramebufferAttachmentParameterivEXT)(GLenum target, GLenum attachment, GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetFramebufferAttachmentParameterivOES)(GLenum target, GLenum attachment, GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetFramebufferParameterfvAMD)(GLenum target, GLenum pname, GLuint numsamples, GLuint pixelindex, GLsizei size, GLfloat * values); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetFramebufferParameteriv)(GLenum target, GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetFramebufferParameterivEXT)(GLuint framebuffer, GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetFramebufferParameterivMESA)(GLenum target, GLenum pname, GLint * params); EPOXY_PUBLIC GLsizei (EPOXY_CALLSPEC *epoxy_glGetFramebufferPixelLocalStorageSizeEXT)(GLuint target); EPOXY_PUBLIC GLenum (EPOXY_CALLSPEC *epoxy_glGetGraphicsResetStatus)(void); EPOXY_PUBLIC GLenum (EPOXY_CALLSPEC *epoxy_glGetGraphicsResetStatusARB)(void); EPOXY_PUBLIC GLenum (EPOXY_CALLSPEC *epoxy_glGetGraphicsResetStatusEXT)(void); EPOXY_PUBLIC GLenum (EPOXY_CALLSPEC *epoxy_glGetGraphicsResetStatusKHR)(void); EPOXY_PUBLIC GLhandleARB (EPOXY_CALLSPEC *epoxy_glGetHandleARB)(GLenum pname); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetHistogram)(GLenum target, GLboolean reset, GLenum format, GLenum type, void * values); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetHistogramEXT)(GLenum target, GLboolean reset, GLenum format, GLenum type, void * values); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetHistogramParameterfv)(GLenum target, GLenum pname, GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetHistogramParameterfvEXT)(GLenum target, GLenum pname, GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetHistogramParameteriv)(GLenum target, GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetHistogramParameterivEXT)(GLenum target, GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetHistogramParameterxvOES)(GLenum target, GLenum pname, GLfixed * params); EPOXY_PUBLIC GLuint64 (EPOXY_CALLSPEC *epoxy_glGetImageHandleARB)(GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format); EPOXY_PUBLIC GLuint64 (EPOXY_CALLSPEC *epoxy_glGetImageHandleNV)(GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetImageTransformParameterfvHP)(GLenum target, GLenum pname, GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetImageTransformParameterivHP)(GLenum target, GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetInfoLogARB)(GLhandleARB obj, GLsizei maxLength, GLsizei * length, GLcharARB * infoLog); EPOXY_PUBLIC GLint (EPOXY_CALLSPEC *epoxy_glGetInstrumentsSGIX)(void); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetInteger64i_v)(GLenum target, GLuint index, GLint64 * data); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetInteger64v)(GLenum pname, GLint64 * data); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetInteger64vAPPLE)(GLenum pname, GLint64 * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetIntegerIndexedvEXT)(GLenum target, GLuint index, GLint * data); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetIntegeri_v)(GLenum target, GLuint index, GLint * data); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetIntegeri_vEXT)(GLenum target, GLuint index, GLint * data); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetIntegerui64i_vNV)(GLenum value, GLuint index, GLuint64EXT * result); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetIntegerui64vNV)(GLenum value, GLuint64EXT * result); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetIntegerv)(GLenum pname, GLint * data); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetInternalformatSampleivNV)(GLenum target, GLenum internalformat, GLsizei samples, GLenum pname, GLsizei bufSize, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetInternalformati64v)(GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint64 * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetInternalformativ)(GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetInvariantBooleanvEXT)(GLuint id, GLenum value, GLboolean * data); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetInvariantFloatvEXT)(GLuint id, GLenum value, GLfloat * data); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetInvariantIntegervEXT)(GLuint id, GLenum value, GLint * data); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetLightfv)(GLenum light, GLenum pname, GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetLightiv)(GLenum light, GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetLightxOES)(GLenum light, GLenum pname, GLfixed * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetLightxv)(GLenum light, GLenum pname, GLfixed * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetLightxvOES)(GLenum light, GLenum pname, GLfixed * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetListParameterfvSGIX)(GLuint list, GLenum pname, GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetListParameterivSGIX)(GLuint list, GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetLocalConstantBooleanvEXT)(GLuint id, GLenum value, GLboolean * data); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetLocalConstantFloatvEXT)(GLuint id, GLenum value, GLfloat * data); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetLocalConstantIntegervEXT)(GLuint id, GLenum value, GLint * data); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetMapAttribParameterfvNV)(GLenum target, GLuint index, GLenum pname, GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetMapAttribParameterivNV)(GLenum target, GLuint index, GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetMapControlPointsNV)(GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLboolean packed, void * points); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetMapParameterfvNV)(GLenum target, GLenum pname, GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetMapParameterivNV)(GLenum target, GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetMapdv)(GLenum target, GLenum query, GLdouble * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetMapfv)(GLenum target, GLenum query, GLfloat * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetMapiv)(GLenum target, GLenum query, GLint * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetMapxvOES)(GLenum target, GLenum query, GLfixed * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetMaterialfv)(GLenum face, GLenum pname, GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetMaterialiv)(GLenum face, GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetMaterialxOES)(GLenum face, GLenum pname, GLfixed param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetMaterialxv)(GLenum face, GLenum pname, GLfixed * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetMaterialxvOES)(GLenum face, GLenum pname, GLfixed * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetMemoryObjectDetachedResourcesuivNV)(GLuint memory, GLenum pname, GLint first, GLsizei count, GLuint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetMemoryObjectParameterivEXT)(GLuint memoryObject, GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetMinmax)(GLenum target, GLboolean reset, GLenum format, GLenum type, void * values); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetMinmaxEXT)(GLenum target, GLboolean reset, GLenum format, GLenum type, void * values); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetMinmaxParameterfv)(GLenum target, GLenum pname, GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetMinmaxParameterfvEXT)(GLenum target, GLenum pname, GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetMinmaxParameteriv)(GLenum target, GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetMinmaxParameterivEXT)(GLenum target, GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetMultiTexEnvfvEXT)(GLenum texunit, GLenum target, GLenum pname, GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetMultiTexEnvivEXT)(GLenum texunit, GLenum target, GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetMultiTexGendvEXT)(GLenum texunit, GLenum coord, GLenum pname, GLdouble * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetMultiTexGenfvEXT)(GLenum texunit, GLenum coord, GLenum pname, GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetMultiTexGenivEXT)(GLenum texunit, GLenum coord, GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetMultiTexImageEXT)(GLenum texunit, GLenum target, GLint level, GLenum format, GLenum type, void * pixels); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetMultiTexLevelParameterfvEXT)(GLenum texunit, GLenum target, GLint level, GLenum pname, GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetMultiTexLevelParameterivEXT)(GLenum texunit, GLenum target, GLint level, GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetMultiTexParameterIivEXT)(GLenum texunit, GLenum target, GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetMultiTexParameterIuivEXT)(GLenum texunit, GLenum target, GLenum pname, GLuint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetMultiTexParameterfvEXT)(GLenum texunit, GLenum target, GLenum pname, GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetMultiTexParameterivEXT)(GLenum texunit, GLenum target, GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetMultisamplefv)(GLenum pname, GLuint index, GLfloat * val); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetMultisamplefvNV)(GLenum pname, GLuint index, GLfloat * val); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetNamedBufferParameteri64v)(GLuint buffer, GLenum pname, GLint64 * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetNamedBufferParameteriv)(GLuint buffer, GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetNamedBufferParameterivEXT)(GLuint buffer, GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetNamedBufferParameterui64vNV)(GLuint buffer, GLenum pname, GLuint64EXT * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetNamedBufferPointerv)(GLuint buffer, GLenum pname, void ** params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetNamedBufferPointervEXT)(GLuint buffer, GLenum pname, void ** params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetNamedBufferSubData)(GLuint buffer, GLintptr offset, GLsizeiptr size, void * data); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetNamedBufferSubDataEXT)(GLuint buffer, GLintptr offset, GLsizeiptr size, void * data); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetNamedFramebufferAttachmentParameteriv)(GLuint framebuffer, GLenum attachment, GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetNamedFramebufferAttachmentParameterivEXT)(GLuint framebuffer, GLenum attachment, GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetNamedFramebufferParameterfvAMD)(GLuint framebuffer, GLenum pname, GLuint numsamples, GLuint pixelindex, GLsizei size, GLfloat * values); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetNamedFramebufferParameteriv)(GLuint framebuffer, GLenum pname, GLint * param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetNamedFramebufferParameterivEXT)(GLuint framebuffer, GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetNamedProgramLocalParameterIivEXT)(GLuint program, GLenum target, GLuint index, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetNamedProgramLocalParameterIuivEXT)(GLuint program, GLenum target, GLuint index, GLuint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetNamedProgramLocalParameterdvEXT)(GLuint program, GLenum target, GLuint index, GLdouble * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetNamedProgramLocalParameterfvEXT)(GLuint program, GLenum target, GLuint index, GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetNamedProgramStringEXT)(GLuint program, GLenum target, GLenum pname, void * string); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetNamedProgramivEXT)(GLuint program, GLenum target, GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetNamedRenderbufferParameteriv)(GLuint renderbuffer, GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetNamedRenderbufferParameterivEXT)(GLuint renderbuffer, GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetNamedStringARB)(GLint namelen, const GLchar * name, GLsizei bufSize, GLint * stringlen, GLchar * string); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetNamedStringivARB)(GLint namelen, const GLchar * name, GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetNextPerfQueryIdINTEL)(GLuint queryId, GLuint * nextQueryId); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetObjectBufferfvATI)(GLuint buffer, GLenum pname, GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetObjectBufferivATI)(GLuint buffer, GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetObjectLabel)(GLenum identifier, GLuint name, GLsizei bufSize, GLsizei * length, GLchar * label); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetObjectLabelEXT)(GLenum type, GLuint object, GLsizei bufSize, GLsizei * length, GLchar * label); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetObjectLabelKHR)(GLenum identifier, GLuint name, GLsizei bufSize, GLsizei * length, GLchar * label); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetObjectParameterfvARB)(GLhandleARB obj, GLenum pname, GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetObjectParameterivAPPLE)(GLenum objectType, GLuint name, GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetObjectParameterivARB)(GLhandleARB obj, GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetObjectPtrLabel)(const void * ptr, GLsizei bufSize, GLsizei * length, GLchar * label); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetObjectPtrLabelKHR)(const void * ptr, GLsizei bufSize, GLsizei * length, GLchar * label); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetOcclusionQueryivNV)(GLuint id, GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetOcclusionQueryuivNV)(GLuint id, GLenum pname, GLuint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetPathColorGenfvNV)(GLenum color, GLenum pname, GLfloat * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetPathColorGenivNV)(GLenum color, GLenum pname, GLint * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetPathCommandsNV)(GLuint path, GLubyte * commands); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetPathCoordsNV)(GLuint path, GLfloat * coords); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetPathDashArrayNV)(GLuint path, GLfloat * dashArray); EPOXY_PUBLIC GLfloat (EPOXY_CALLSPEC *epoxy_glGetPathLengthNV)(GLuint path, GLsizei startSegment, GLsizei numSegments); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetPathMetricRangeNV)(GLbitfield metricQueryMask, GLuint firstPathName, GLsizei numPaths, GLsizei stride, GLfloat * metrics); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetPathMetricsNV)(GLbitfield metricQueryMask, GLsizei numPaths, GLenum pathNameType, const void * paths, GLuint pathBase, GLsizei stride, GLfloat * metrics); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetPathParameterfvNV)(GLuint path, GLenum pname, GLfloat * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetPathParameterivNV)(GLuint path, GLenum pname, GLint * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetPathSpacingNV)(GLenum pathListMode, GLsizei numPaths, GLenum pathNameType, const void * paths, GLuint pathBase, GLfloat advanceScale, GLfloat kerningScale, GLenum transformType, GLfloat * returnedSpacing); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetPathTexGenfvNV)(GLenum texCoordSet, GLenum pname, GLfloat * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetPathTexGenivNV)(GLenum texCoordSet, GLenum pname, GLint * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetPerfCounterInfoINTEL)(GLuint queryId, GLuint counterId, GLuint counterNameLength, GLchar * counterName, GLuint counterDescLength, GLchar * counterDesc, GLuint * counterOffset, GLuint * counterDataSize, GLuint * counterTypeEnum, GLuint * counterDataTypeEnum, GLuint64 * rawCounterMaxValue); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetPerfMonitorCounterDataAMD)(GLuint monitor, GLenum pname, GLsizei dataSize, GLuint * data, GLint * bytesWritten); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetPerfMonitorCounterInfoAMD)(GLuint group, GLuint counter, GLenum pname, void * data); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetPerfMonitorCounterStringAMD)(GLuint group, GLuint counter, GLsizei bufSize, GLsizei * length, GLchar * counterString); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetPerfMonitorCountersAMD)(GLuint group, GLint * numCounters, GLint * maxActiveCounters, GLsizei counterSize, GLuint * counters); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetPerfMonitorGroupStringAMD)(GLuint group, GLsizei bufSize, GLsizei * length, GLchar * groupString); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetPerfMonitorGroupsAMD)(GLint * numGroups, GLsizei groupsSize, GLuint * groups); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetPerfQueryDataINTEL)(GLuint queryHandle, GLuint flags, GLsizei dataSize, void * data, GLuint * bytesWritten); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetPerfQueryIdByNameINTEL)(GLchar * queryName, GLuint * queryId); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetPerfQueryInfoINTEL)(GLuint queryId, GLuint queryNameLength, GLchar * queryName, GLuint * dataSize, GLuint * noCounters, GLuint * noInstances, GLuint * capsMask); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetPixelMapfv)(GLenum map, GLfloat * values); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetPixelMapuiv)(GLenum map, GLuint * values); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetPixelMapusv)(GLenum map, GLushort * values); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetPixelMapxv)(GLenum map, GLint size, GLfixed * values); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetPixelTexGenParameterfvSGIS)(GLenum pname, GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetPixelTexGenParameterivSGIS)(GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetPixelTransformParameterfvEXT)(GLenum target, GLenum pname, GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetPixelTransformParameterivEXT)(GLenum target, GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetPointerIndexedvEXT)(GLenum target, GLuint index, void ** data); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetPointeri_vEXT)(GLenum pname, GLuint index, void ** params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetPointerv)(GLenum pname, void ** params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetPointervEXT)(GLenum pname, void ** params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetPointervKHR)(GLenum pname, void ** params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetPolygonStipple)(GLubyte * mask); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetProgramBinary)(GLuint program, GLsizei bufSize, GLsizei * length, GLenum * binaryFormat, void * binary); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetProgramBinaryOES)(GLuint program, GLsizei bufSize, GLsizei * length, GLenum * binaryFormat, void * binary); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetProgramEnvParameterIivNV)(GLenum target, GLuint index, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetProgramEnvParameterIuivNV)(GLenum target, GLuint index, GLuint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetProgramEnvParameterdvARB)(GLenum target, GLuint index, GLdouble * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetProgramEnvParameterfvARB)(GLenum target, GLuint index, GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetProgramInfoLog)(GLuint program, GLsizei bufSize, GLsizei * length, GLchar * infoLog); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetProgramInterfaceiv)(GLuint program, GLenum programInterface, GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetProgramLocalParameterIivNV)(GLenum target, GLuint index, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetProgramLocalParameterIuivNV)(GLenum target, GLuint index, GLuint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetProgramLocalParameterdvARB)(GLenum target, GLuint index, GLdouble * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetProgramLocalParameterfvARB)(GLenum target, GLuint index, GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetProgramNamedParameterdvNV)(GLuint id, GLsizei len, const GLubyte * name, GLdouble * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetProgramNamedParameterfvNV)(GLuint id, GLsizei len, const GLubyte * name, GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetProgramParameterdvNV)(GLenum target, GLuint index, GLenum pname, GLdouble * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetProgramParameterfvNV)(GLenum target, GLuint index, GLenum pname, GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetProgramPipelineInfoLog)(GLuint pipeline, GLsizei bufSize, GLsizei * length, GLchar * infoLog); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetProgramPipelineInfoLogEXT)(GLuint pipeline, GLsizei bufSize, GLsizei * length, GLchar * infoLog); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetProgramPipelineiv)(GLuint pipeline, GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetProgramPipelineivEXT)(GLuint pipeline, GLenum pname, GLint * params); EPOXY_PUBLIC GLuint (EPOXY_CALLSPEC *epoxy_glGetProgramResourceIndex)(GLuint program, GLenum programInterface, const GLchar * name); EPOXY_PUBLIC GLint (EPOXY_CALLSPEC *epoxy_glGetProgramResourceLocation)(GLuint program, GLenum programInterface, const GLchar * name); EPOXY_PUBLIC GLint (EPOXY_CALLSPEC *epoxy_glGetProgramResourceLocationIndex)(GLuint program, GLenum programInterface, const GLchar * name); EPOXY_PUBLIC GLint (EPOXY_CALLSPEC *epoxy_glGetProgramResourceLocationIndexEXT)(GLuint program, GLenum programInterface, const GLchar * name); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetProgramResourceName)(GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei * length, GLchar * name); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetProgramResourcefvNV)(GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum * props, GLsizei bufSize, GLsizei * length, GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetProgramResourceiv)(GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum * props, GLsizei bufSize, GLsizei * length, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetProgramStageiv)(GLuint program, GLenum shadertype, GLenum pname, GLint * values); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetProgramStringARB)(GLenum target, GLenum pname, void * string); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetProgramStringNV)(GLuint id, GLenum pname, GLubyte * program); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetProgramSubroutineParameteruivNV)(GLenum target, GLuint index, GLuint * param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetProgramiv)(GLuint program, GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetProgramivARB)(GLenum target, GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetProgramivNV)(GLuint id, GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetQueryBufferObjecti64v)(GLuint id, GLuint buffer, GLenum pname, GLintptr offset); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetQueryBufferObjectiv)(GLuint id, GLuint buffer, GLenum pname, GLintptr offset); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetQueryBufferObjectui64v)(GLuint id, GLuint buffer, GLenum pname, GLintptr offset); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetQueryBufferObjectuiv)(GLuint id, GLuint buffer, GLenum pname, GLintptr offset); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetQueryIndexediv)(GLenum target, GLuint index, GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetQueryObjecti64v)(GLuint id, GLenum pname, GLint64 * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetQueryObjecti64vEXT)(GLuint id, GLenum pname, GLint64 * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetQueryObjectiv)(GLuint id, GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetQueryObjectivARB)(GLuint id, GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetQueryObjectivEXT)(GLuint id, GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetQueryObjectui64v)(GLuint id, GLenum pname, GLuint64 * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetQueryObjectui64vEXT)(GLuint id, GLenum pname, GLuint64 * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetQueryObjectuiv)(GLuint id, GLenum pname, GLuint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetQueryObjectuivARB)(GLuint id, GLenum pname, GLuint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetQueryObjectuivEXT)(GLuint id, GLenum pname, GLuint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetQueryiv)(GLenum target, GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetQueryivARB)(GLenum target, GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetQueryivEXT)(GLenum target, GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetRenderbufferParameteriv)(GLenum target, GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetRenderbufferParameterivEXT)(GLenum target, GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetRenderbufferParameterivOES)(GLenum target, GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetSamplerParameterIiv)(GLuint sampler, GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetSamplerParameterIivEXT)(GLuint sampler, GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetSamplerParameterIivOES)(GLuint sampler, GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetSamplerParameterIuiv)(GLuint sampler, GLenum pname, GLuint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetSamplerParameterIuivEXT)(GLuint sampler, GLenum pname, GLuint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetSamplerParameterIuivOES)(GLuint sampler, GLenum pname, GLuint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetSamplerParameterfv)(GLuint sampler, GLenum pname, GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetSamplerParameteriv)(GLuint sampler, GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetSemaphoreParameterui64vEXT)(GLuint semaphore, GLenum pname, GLuint64 * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetSeparableFilter)(GLenum target, GLenum format, GLenum type, void * row, void * column, void * span); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetSeparableFilterEXT)(GLenum target, GLenum format, GLenum type, void * row, void * column, void * span); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetShaderInfoLog)(GLuint shader, GLsizei bufSize, GLsizei * length, GLchar * infoLog); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetShaderPrecisionFormat)(GLenum shadertype, GLenum precisiontype, GLint * range, GLint * precision); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetShaderSource)(GLuint shader, GLsizei bufSize, GLsizei * length, GLchar * source); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetShaderSourceARB)(GLhandleARB obj, GLsizei maxLength, GLsizei * length, GLcharARB * source); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetShaderiv)(GLuint shader, GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetShadingRateImagePaletteNV)(GLuint viewport, GLuint entry, GLenum * rate); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetShadingRateSampleLocationivNV)(GLenum rate, GLuint samples, GLuint index, GLint * location); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetSharpenTexFuncSGIS)(GLenum target, GLfloat * points); EPOXY_PUBLIC GLushort (EPOXY_CALLSPEC *epoxy_glGetStageIndexNV)(GLenum shadertype); EPOXY_PUBLIC const GLubyte * (EPOXY_CALLSPEC *epoxy_glGetString)(GLenum name); EPOXY_PUBLIC const GLubyte * (EPOXY_CALLSPEC *epoxy_glGetStringi)(GLenum name, GLuint index); EPOXY_PUBLIC GLuint (EPOXY_CALLSPEC *epoxy_glGetSubroutineIndex)(GLuint program, GLenum shadertype, const GLchar * name); EPOXY_PUBLIC GLint (EPOXY_CALLSPEC *epoxy_glGetSubroutineUniformLocation)(GLuint program, GLenum shadertype, const GLchar * name); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetSynciv)(GLsync sync, GLenum pname, GLsizei bufSize, GLsizei * length, GLint * values); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetSyncivAPPLE)(GLsync sync, GLenum pname, GLsizei bufSize, GLsizei * length, GLint * values); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetTexBumpParameterfvATI)(GLenum pname, GLfloat * param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetTexBumpParameterivATI)(GLenum pname, GLint * param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetTexEnvfv)(GLenum target, GLenum pname, GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetTexEnviv)(GLenum target, GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetTexEnvxv)(GLenum target, GLenum pname, GLfixed * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetTexEnvxvOES)(GLenum target, GLenum pname, GLfixed * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetTexFilterFuncSGIS)(GLenum target, GLenum filter, GLfloat * weights); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetTexGendv)(GLenum coord, GLenum pname, GLdouble * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetTexGenfv)(GLenum coord, GLenum pname, GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetTexGenfvOES)(GLenum coord, GLenum pname, GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetTexGeniv)(GLenum coord, GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetTexGenivOES)(GLenum coord, GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetTexGenxvOES)(GLenum coord, GLenum pname, GLfixed * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetTexImage)(GLenum target, GLint level, GLenum format, GLenum type, void * pixels); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetTexLevelParameterfv)(GLenum target, GLint level, GLenum pname, GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetTexLevelParameteriv)(GLenum target, GLint level, GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetTexLevelParameterxvOES)(GLenum target, GLint level, GLenum pname, GLfixed * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetTexParameterIiv)(GLenum target, GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetTexParameterIivEXT)(GLenum target, GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetTexParameterIivOES)(GLenum target, GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetTexParameterIuiv)(GLenum target, GLenum pname, GLuint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetTexParameterIuivEXT)(GLenum target, GLenum pname, GLuint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetTexParameterIuivOES)(GLenum target, GLenum pname, GLuint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetTexParameterPointervAPPLE)(GLenum target, GLenum pname, void ** params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetTexParameterfv)(GLenum target, GLenum pname, GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetTexParameteriv)(GLenum target, GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetTexParameterxv)(GLenum target, GLenum pname, GLfixed * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetTexParameterxvOES)(GLenum target, GLenum pname, GLfixed * params); EPOXY_PUBLIC GLuint64 (EPOXY_CALLSPEC *epoxy_glGetTextureHandleARB)(GLuint texture); EPOXY_PUBLIC GLuint64 (EPOXY_CALLSPEC *epoxy_glGetTextureHandleIMG)(GLuint texture); EPOXY_PUBLIC GLuint64 (EPOXY_CALLSPEC *epoxy_glGetTextureHandleNV)(GLuint texture); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetTextureImage)(GLuint texture, GLint level, GLenum format, GLenum type, GLsizei bufSize, void * pixels); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetTextureImageEXT)(GLuint texture, GLenum target, GLint level, GLenum format, GLenum type, void * pixels); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetTextureLevelParameterfv)(GLuint texture, GLint level, GLenum pname, GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetTextureLevelParameterfvEXT)(GLuint texture, GLenum target, GLint level, GLenum pname, GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetTextureLevelParameteriv)(GLuint texture, GLint level, GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetTextureLevelParameterivEXT)(GLuint texture, GLenum target, GLint level, GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetTextureParameterIiv)(GLuint texture, GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetTextureParameterIivEXT)(GLuint texture, GLenum target, GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetTextureParameterIuiv)(GLuint texture, GLenum pname, GLuint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetTextureParameterIuivEXT)(GLuint texture, GLenum target, GLenum pname, GLuint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetTextureParameterfv)(GLuint texture, GLenum pname, GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetTextureParameterfvEXT)(GLuint texture, GLenum target, GLenum pname, GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetTextureParameteriv)(GLuint texture, GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetTextureParameterivEXT)(GLuint texture, GLenum target, GLenum pname, GLint * params); EPOXY_PUBLIC GLuint64 (EPOXY_CALLSPEC *epoxy_glGetTextureSamplerHandleARB)(GLuint texture, GLuint sampler); EPOXY_PUBLIC GLuint64 (EPOXY_CALLSPEC *epoxy_glGetTextureSamplerHandleIMG)(GLuint texture, GLuint sampler); EPOXY_PUBLIC GLuint64 (EPOXY_CALLSPEC *epoxy_glGetTextureSamplerHandleNV)(GLuint texture, GLuint sampler); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetTextureSubImage)(GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLsizei bufSize, void * pixels); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetTrackMatrixivNV)(GLenum target, GLuint address, GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetTransformFeedbackVarying)(GLuint program, GLuint index, GLsizei bufSize, GLsizei * length, GLsizei * size, GLenum * type, GLchar * name); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetTransformFeedbackVaryingEXT)(GLuint program, GLuint index, GLsizei bufSize, GLsizei * length, GLsizei * size, GLenum * type, GLchar * name); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetTransformFeedbackVaryingNV)(GLuint program, GLuint index, GLint * location); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetTransformFeedbacki64_v)(GLuint xfb, GLenum pname, GLuint index, GLint64 * param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetTransformFeedbacki_v)(GLuint xfb, GLenum pname, GLuint index, GLint * param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetTransformFeedbackiv)(GLuint xfb, GLenum pname, GLint * param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetTranslatedShaderSourceANGLE)(GLuint shader, GLsizei bufsize, GLsizei * length, GLchar * source); EPOXY_PUBLIC GLuint (EPOXY_CALLSPEC *epoxy_glGetUniformBlockIndex)(GLuint program, const GLchar * uniformBlockName); EPOXY_PUBLIC GLint (EPOXY_CALLSPEC *epoxy_glGetUniformBufferSizeEXT)(GLuint program, GLint location); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetUniformIndices)(GLuint program, GLsizei uniformCount, const GLchar *const* uniformNames, GLuint * uniformIndices); EPOXY_PUBLIC GLint (EPOXY_CALLSPEC *epoxy_glGetUniformLocation)(GLuint program, const GLchar * name); EPOXY_PUBLIC GLint (EPOXY_CALLSPEC *epoxy_glGetUniformLocationARB)(GLhandleARB programObj, const GLcharARB * name); EPOXY_PUBLIC GLintptr (EPOXY_CALLSPEC *epoxy_glGetUniformOffsetEXT)(GLuint program, GLint location); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetUniformSubroutineuiv)(GLenum shadertype, GLint location, GLuint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetUniformdv)(GLuint program, GLint location, GLdouble * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetUniformfv)(GLuint program, GLint location, GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetUniformfvARB)(GLhandleARB programObj, GLint location, GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetUniformi64vARB)(GLuint program, GLint location, GLint64 * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetUniformi64vNV)(GLuint program, GLint location, GLint64EXT * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetUniformiv)(GLuint program, GLint location, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetUniformivARB)(GLhandleARB programObj, GLint location, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetUniformui64vARB)(GLuint program, GLint location, GLuint64 * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetUniformui64vNV)(GLuint program, GLint location, GLuint64EXT * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetUniformuiv)(GLuint program, GLint location, GLuint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetUniformuivEXT)(GLuint program, GLint location, GLuint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetUnsignedBytei_vEXT)(GLenum target, GLuint index, GLubyte * data); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetUnsignedBytevEXT)(GLenum pname, GLubyte * data); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetVariantArrayObjectfvATI)(GLuint id, GLenum pname, GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetVariantArrayObjectivATI)(GLuint id, GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetVariantBooleanvEXT)(GLuint id, GLenum value, GLboolean * data); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetVariantFloatvEXT)(GLuint id, GLenum value, GLfloat * data); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetVariantIntegervEXT)(GLuint id, GLenum value, GLint * data); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetVariantPointervEXT)(GLuint id, GLenum value, void ** data); EPOXY_PUBLIC GLint (EPOXY_CALLSPEC *epoxy_glGetVaryingLocationNV)(GLuint program, const GLchar * name); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetVertexArrayIndexed64iv)(GLuint vaobj, GLuint index, GLenum pname, GLint64 * param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetVertexArrayIndexediv)(GLuint vaobj, GLuint index, GLenum pname, GLint * param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetVertexArrayIntegeri_vEXT)(GLuint vaobj, GLuint index, GLenum pname, GLint * param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetVertexArrayIntegervEXT)(GLuint vaobj, GLenum pname, GLint * param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetVertexArrayPointeri_vEXT)(GLuint vaobj, GLuint index, GLenum pname, void ** param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetVertexArrayPointervEXT)(GLuint vaobj, GLenum pname, void ** param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetVertexArrayiv)(GLuint vaobj, GLenum pname, GLint * param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetVertexAttribArrayObjectfvATI)(GLuint index, GLenum pname, GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetVertexAttribArrayObjectivATI)(GLuint index, GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetVertexAttribIiv)(GLuint index, GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetVertexAttribIivEXT)(GLuint index, GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetVertexAttribIuiv)(GLuint index, GLenum pname, GLuint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetVertexAttribIuivEXT)(GLuint index, GLenum pname, GLuint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetVertexAttribLdv)(GLuint index, GLenum pname, GLdouble * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetVertexAttribLdvEXT)(GLuint index, GLenum pname, GLdouble * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetVertexAttribLi64vNV)(GLuint index, GLenum pname, GLint64EXT * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetVertexAttribLui64vARB)(GLuint index, GLenum pname, GLuint64EXT * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetVertexAttribLui64vNV)(GLuint index, GLenum pname, GLuint64EXT * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetVertexAttribPointerv)(GLuint index, GLenum pname, void ** pointer); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetVertexAttribPointervARB)(GLuint index, GLenum pname, void ** pointer); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetVertexAttribPointervNV)(GLuint index, GLenum pname, void ** pointer); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetVertexAttribdv)(GLuint index, GLenum pname, GLdouble * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetVertexAttribdvARB)(GLuint index, GLenum pname, GLdouble * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetVertexAttribdvNV)(GLuint index, GLenum pname, GLdouble * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetVertexAttribfv)(GLuint index, GLenum pname, GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetVertexAttribfvARB)(GLuint index, GLenum pname, GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetVertexAttribfvNV)(GLuint index, GLenum pname, GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetVertexAttribiv)(GLuint index, GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetVertexAttribivARB)(GLuint index, GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetVertexAttribivNV)(GLuint index, GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetVideoCaptureStreamdvNV)(GLuint video_capture_slot, GLuint stream, GLenum pname, GLdouble * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetVideoCaptureStreamfvNV)(GLuint video_capture_slot, GLuint stream, GLenum pname, GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetVideoCaptureStreamivNV)(GLuint video_capture_slot, GLuint stream, GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetVideoCaptureivNV)(GLuint video_capture_slot, GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetVideoi64vNV)(GLuint video_slot, GLenum pname, GLint64EXT * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetVideoivNV)(GLuint video_slot, GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetVideoui64vNV)(GLuint video_slot, GLenum pname, GLuint64EXT * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetVideouivNV)(GLuint video_slot, GLenum pname, GLuint * params); EPOXY_PUBLIC GLVULKANPROCNV (EPOXY_CALLSPEC *epoxy_glGetVkProcAddrNV)(const GLchar * name); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetnColorTable)(GLenum target, GLenum format, GLenum type, GLsizei bufSize, void * table); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetnColorTableARB)(GLenum target, GLenum format, GLenum type, GLsizei bufSize, void * table); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetnCompressedTexImage)(GLenum target, GLint lod, GLsizei bufSize, void * pixels); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetnCompressedTexImageARB)(GLenum target, GLint lod, GLsizei bufSize, void * img); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetnConvolutionFilter)(GLenum target, GLenum format, GLenum type, GLsizei bufSize, void * image); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetnConvolutionFilterARB)(GLenum target, GLenum format, GLenum type, GLsizei bufSize, void * image); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetnHistogram)(GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void * values); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetnHistogramARB)(GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void * values); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetnMapdv)(GLenum target, GLenum query, GLsizei bufSize, GLdouble * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetnMapdvARB)(GLenum target, GLenum query, GLsizei bufSize, GLdouble * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetnMapfv)(GLenum target, GLenum query, GLsizei bufSize, GLfloat * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetnMapfvARB)(GLenum target, GLenum query, GLsizei bufSize, GLfloat * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetnMapiv)(GLenum target, GLenum query, GLsizei bufSize, GLint * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetnMapivARB)(GLenum target, GLenum query, GLsizei bufSize, GLint * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetnMinmax)(GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void * values); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetnMinmaxARB)(GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void * values); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetnPixelMapfv)(GLenum map, GLsizei bufSize, GLfloat * values); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetnPixelMapfvARB)(GLenum map, GLsizei bufSize, GLfloat * values); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetnPixelMapuiv)(GLenum map, GLsizei bufSize, GLuint * values); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetnPixelMapuivARB)(GLenum map, GLsizei bufSize, GLuint * values); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetnPixelMapusv)(GLenum map, GLsizei bufSize, GLushort * values); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetnPixelMapusvARB)(GLenum map, GLsizei bufSize, GLushort * values); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetnPolygonStipple)(GLsizei bufSize, GLubyte * pattern); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetnPolygonStippleARB)(GLsizei bufSize, GLubyte * pattern); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetnSeparableFilter)(GLenum target, GLenum format, GLenum type, GLsizei rowBufSize, void * row, GLsizei columnBufSize, void * column, void * span); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetnSeparableFilterARB)(GLenum target, GLenum format, GLenum type, GLsizei rowBufSize, void * row, GLsizei columnBufSize, void * column, void * span); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetnTexImage)(GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, void * pixels); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetnTexImageARB)(GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, void * img); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetnUniformdv)(GLuint program, GLint location, GLsizei bufSize, GLdouble * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetnUniformdvARB)(GLuint program, GLint location, GLsizei bufSize, GLdouble * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetnUniformfv)(GLuint program, GLint location, GLsizei bufSize, GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetnUniformfvARB)(GLuint program, GLint location, GLsizei bufSize, GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetnUniformfvEXT)(GLuint program, GLint location, GLsizei bufSize, GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetnUniformfvKHR)(GLuint program, GLint location, GLsizei bufSize, GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetnUniformi64vARB)(GLuint program, GLint location, GLsizei bufSize, GLint64 * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetnUniformiv)(GLuint program, GLint location, GLsizei bufSize, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetnUniformivARB)(GLuint program, GLint location, GLsizei bufSize, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetnUniformivEXT)(GLuint program, GLint location, GLsizei bufSize, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetnUniformivKHR)(GLuint program, GLint location, GLsizei bufSize, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetnUniformui64vARB)(GLuint program, GLint location, GLsizei bufSize, GLuint64 * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetnUniformuiv)(GLuint program, GLint location, GLsizei bufSize, GLuint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetnUniformuivARB)(GLuint program, GLint location, GLsizei bufSize, GLuint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGetnUniformuivKHR)(GLuint program, GLint location, GLsizei bufSize, GLuint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGlobalAlphaFactorbSUN)(GLbyte factor); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGlobalAlphaFactordSUN)(GLdouble factor); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGlobalAlphaFactorfSUN)(GLfloat factor); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGlobalAlphaFactoriSUN)(GLint factor); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGlobalAlphaFactorsSUN)(GLshort factor); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGlobalAlphaFactorubSUN)(GLubyte factor); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGlobalAlphaFactoruiSUN)(GLuint factor); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glGlobalAlphaFactorusSUN)(GLushort factor); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glHint)(GLenum target, GLenum mode); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glHintPGI)(GLenum target, GLint mode); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glHistogram)(GLenum target, GLsizei width, GLenum internalformat, GLboolean sink); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glHistogramEXT)(GLenum target, GLsizei width, GLenum internalformat, GLboolean sink); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glIglooInterfaceSGIX)(GLenum pname, const void * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glImageTransformParameterfHP)(GLenum target, GLenum pname, GLfloat param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glImageTransformParameterfvHP)(GLenum target, GLenum pname, const GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glImageTransformParameteriHP)(GLenum target, GLenum pname, GLint param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glImageTransformParameterivHP)(GLenum target, GLenum pname, const GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glImportMemoryFdEXT)(GLuint memory, GLuint64 size, GLenum handleType, GLint fd); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glImportMemoryWin32HandleEXT)(GLuint memory, GLuint64 size, GLenum handleType, void * handle); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glImportMemoryWin32NameEXT)(GLuint memory, GLuint64 size, GLenum handleType, const void * name); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glImportSemaphoreFdEXT)(GLuint semaphore, GLenum handleType, GLint fd); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glImportSemaphoreWin32HandleEXT)(GLuint semaphore, GLenum handleType, void * handle); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glImportSemaphoreWin32NameEXT)(GLuint semaphore, GLenum handleType, const void * name); EPOXY_PUBLIC GLsync (EPOXY_CALLSPEC *epoxy_glImportSyncEXT)(GLenum external_sync_type, GLintptr external_sync, GLbitfield flags); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glIndexFormatNV)(GLenum type, GLsizei stride); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glIndexFuncEXT)(GLenum func, GLclampf ref); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glIndexMask)(GLuint mask); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glIndexMaterialEXT)(GLenum face, GLenum mode); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glIndexPointer)(GLenum type, GLsizei stride, const void * pointer); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glIndexPointerEXT)(GLenum type, GLsizei stride, GLsizei count, const void * pointer); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glIndexPointerListIBM)(GLenum type, GLint stride, const void ** pointer, GLint ptrstride); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glIndexd)(GLdouble c); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glIndexdv)(const GLdouble * c); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glIndexf)(GLfloat c); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glIndexfv)(const GLfloat * c); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glIndexi)(GLint c); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glIndexiv)(const GLint * c); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glIndexs)(GLshort c); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glIndexsv)(const GLshort * c); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glIndexub)(GLubyte c); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glIndexubv)(const GLubyte * c); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glIndexxOES)(GLfixed component); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glIndexxvOES)(const GLfixed * component); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glInitNames)(void); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glInsertComponentEXT)(GLuint res, GLuint src, GLuint num); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glInsertEventMarkerEXT)(GLsizei length, const GLchar * marker); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glInstrumentsBufferSGIX)(GLsizei size, GLint * buffer); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glInterleavedArrays)(GLenum format, GLsizei stride, const void * pointer); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glInterpolatePathsNV)(GLuint resultPath, GLuint pathA, GLuint pathB, GLfloat weight); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glInvalidateBufferData)(GLuint buffer); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glInvalidateBufferSubData)(GLuint buffer, GLintptr offset, GLsizeiptr length); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glInvalidateFramebuffer)(GLenum target, GLsizei numAttachments, const GLenum * attachments); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glInvalidateNamedFramebufferData)(GLuint framebuffer, GLsizei numAttachments, const GLenum * attachments); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glInvalidateNamedFramebufferSubData)(GLuint framebuffer, GLsizei numAttachments, const GLenum * attachments, GLint x, GLint y, GLsizei width, GLsizei height); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glInvalidateSubFramebuffer)(GLenum target, GLsizei numAttachments, const GLenum * attachments, GLint x, GLint y, GLsizei width, GLsizei height); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glInvalidateTexImage)(GLuint texture, GLint level); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glInvalidateTexSubImage)(GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth); EPOXY_PUBLIC GLboolean (EPOXY_CALLSPEC *epoxy_glIsAsyncMarkerSGIX)(GLuint marker); EPOXY_PUBLIC GLboolean (EPOXY_CALLSPEC *epoxy_glIsBuffer)(GLuint buffer); EPOXY_PUBLIC GLboolean (EPOXY_CALLSPEC *epoxy_glIsBufferARB)(GLuint buffer); EPOXY_PUBLIC GLboolean (EPOXY_CALLSPEC *epoxy_glIsBufferResidentNV)(GLenum target); EPOXY_PUBLIC GLboolean (EPOXY_CALLSPEC *epoxy_glIsCommandListNV)(GLuint list); EPOXY_PUBLIC GLboolean (EPOXY_CALLSPEC *epoxy_glIsEnabled)(GLenum cap); EPOXY_PUBLIC GLboolean (EPOXY_CALLSPEC *epoxy_glIsEnabledIndexedEXT)(GLenum target, GLuint index); EPOXY_PUBLIC GLboolean (EPOXY_CALLSPEC *epoxy_glIsEnabledi)(GLenum target, GLuint index); EPOXY_PUBLIC GLboolean (EPOXY_CALLSPEC *epoxy_glIsEnablediEXT)(GLenum target, GLuint index); EPOXY_PUBLIC GLboolean (EPOXY_CALLSPEC *epoxy_glIsEnablediNV)(GLenum target, GLuint index); EPOXY_PUBLIC GLboolean (EPOXY_CALLSPEC *epoxy_glIsEnablediOES)(GLenum target, GLuint index); EPOXY_PUBLIC GLboolean (EPOXY_CALLSPEC *epoxy_glIsFenceAPPLE)(GLuint fence); EPOXY_PUBLIC GLboolean (EPOXY_CALLSPEC *epoxy_glIsFenceNV)(GLuint fence); EPOXY_PUBLIC GLboolean (EPOXY_CALLSPEC *epoxy_glIsFramebuffer)(GLuint framebuffer); EPOXY_PUBLIC GLboolean (EPOXY_CALLSPEC *epoxy_glIsFramebufferEXT)(GLuint framebuffer); EPOXY_PUBLIC GLboolean (EPOXY_CALLSPEC *epoxy_glIsFramebufferOES)(GLuint framebuffer); EPOXY_PUBLIC GLboolean (EPOXY_CALLSPEC *epoxy_glIsImageHandleResidentARB)(GLuint64 handle); EPOXY_PUBLIC GLboolean (EPOXY_CALLSPEC *epoxy_glIsImageHandleResidentNV)(GLuint64 handle); EPOXY_PUBLIC GLboolean (EPOXY_CALLSPEC *epoxy_glIsList)(GLuint list); EPOXY_PUBLIC GLboolean (EPOXY_CALLSPEC *epoxy_glIsMemoryObjectEXT)(GLuint memoryObject); EPOXY_PUBLIC GLboolean (EPOXY_CALLSPEC *epoxy_glIsNameAMD)(GLenum identifier, GLuint name); EPOXY_PUBLIC GLboolean (EPOXY_CALLSPEC *epoxy_glIsNamedBufferResidentNV)(GLuint buffer); EPOXY_PUBLIC GLboolean (EPOXY_CALLSPEC *epoxy_glIsNamedStringARB)(GLint namelen, const GLchar * name); EPOXY_PUBLIC GLboolean (EPOXY_CALLSPEC *epoxy_glIsObjectBufferATI)(GLuint buffer); EPOXY_PUBLIC GLboolean (EPOXY_CALLSPEC *epoxy_glIsOcclusionQueryNV)(GLuint id); EPOXY_PUBLIC GLboolean (EPOXY_CALLSPEC *epoxy_glIsPathNV)(GLuint path); EPOXY_PUBLIC GLboolean (EPOXY_CALLSPEC *epoxy_glIsPointInFillPathNV)(GLuint path, GLuint mask, GLfloat x, GLfloat y); EPOXY_PUBLIC GLboolean (EPOXY_CALLSPEC *epoxy_glIsPointInStrokePathNV)(GLuint path, GLfloat x, GLfloat y); EPOXY_PUBLIC GLboolean (EPOXY_CALLSPEC *epoxy_glIsProgram)(GLuint program); EPOXY_PUBLIC GLboolean (EPOXY_CALLSPEC *epoxy_glIsProgramARB)(GLuint program); EPOXY_PUBLIC GLboolean (EPOXY_CALLSPEC *epoxy_glIsProgramNV)(GLuint id); EPOXY_PUBLIC GLboolean (EPOXY_CALLSPEC *epoxy_glIsProgramPipeline)(GLuint pipeline); EPOXY_PUBLIC GLboolean (EPOXY_CALLSPEC *epoxy_glIsProgramPipelineEXT)(GLuint pipeline); EPOXY_PUBLIC GLboolean (EPOXY_CALLSPEC *epoxy_glIsQuery)(GLuint id); EPOXY_PUBLIC GLboolean (EPOXY_CALLSPEC *epoxy_glIsQueryARB)(GLuint id); EPOXY_PUBLIC GLboolean (EPOXY_CALLSPEC *epoxy_glIsQueryEXT)(GLuint id); EPOXY_PUBLIC GLboolean (EPOXY_CALLSPEC *epoxy_glIsRenderbuffer)(GLuint renderbuffer); EPOXY_PUBLIC GLboolean (EPOXY_CALLSPEC *epoxy_glIsRenderbufferEXT)(GLuint renderbuffer); EPOXY_PUBLIC GLboolean (EPOXY_CALLSPEC *epoxy_glIsRenderbufferOES)(GLuint renderbuffer); EPOXY_PUBLIC GLboolean (EPOXY_CALLSPEC *epoxy_glIsSampler)(GLuint sampler); EPOXY_PUBLIC GLboolean (EPOXY_CALLSPEC *epoxy_glIsSemaphoreEXT)(GLuint semaphore); EPOXY_PUBLIC GLboolean (EPOXY_CALLSPEC *epoxy_glIsShader)(GLuint shader); EPOXY_PUBLIC GLboolean (EPOXY_CALLSPEC *epoxy_glIsStateNV)(GLuint state); EPOXY_PUBLIC GLboolean (EPOXY_CALLSPEC *epoxy_glIsSync)(GLsync sync); EPOXY_PUBLIC GLboolean (EPOXY_CALLSPEC *epoxy_glIsSyncAPPLE)(GLsync sync); EPOXY_PUBLIC GLboolean (EPOXY_CALLSPEC *epoxy_glIsTexture)(GLuint texture); EPOXY_PUBLIC GLboolean (EPOXY_CALLSPEC *epoxy_glIsTextureEXT)(GLuint texture); EPOXY_PUBLIC GLboolean (EPOXY_CALLSPEC *epoxy_glIsTextureHandleResidentARB)(GLuint64 handle); EPOXY_PUBLIC GLboolean (EPOXY_CALLSPEC *epoxy_glIsTextureHandleResidentNV)(GLuint64 handle); EPOXY_PUBLIC GLboolean (EPOXY_CALLSPEC *epoxy_glIsTransformFeedback)(GLuint id); EPOXY_PUBLIC GLboolean (EPOXY_CALLSPEC *epoxy_glIsTransformFeedbackNV)(GLuint id); EPOXY_PUBLIC GLboolean (EPOXY_CALLSPEC *epoxy_glIsVariantEnabledEXT)(GLuint id, GLenum cap); EPOXY_PUBLIC GLboolean (EPOXY_CALLSPEC *epoxy_glIsVertexArray)(GLuint array); EPOXY_PUBLIC GLboolean (EPOXY_CALLSPEC *epoxy_glIsVertexArrayAPPLE)(GLuint array); EPOXY_PUBLIC GLboolean (EPOXY_CALLSPEC *epoxy_glIsVertexArrayOES)(GLuint array); EPOXY_PUBLIC GLboolean (EPOXY_CALLSPEC *epoxy_glIsVertexAttribEnabledAPPLE)(GLuint index, GLenum pname); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glLGPUCopyImageSubDataNVX)(GLuint sourceGpu, GLbitfield destinationGpuMask, GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srxY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei width, GLsizei height, GLsizei depth); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glLGPUInterlockNVX)(void); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glLGPUNamedBufferSubDataNVX)(GLbitfield gpuMask, GLuint buffer, GLintptr offset, GLsizeiptr size, const void * data); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glLabelObjectEXT)(GLenum type, GLuint object, GLsizei length, const GLchar * label); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glLightEnviSGIX)(GLenum pname, GLint param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glLightModelf)(GLenum pname, GLfloat param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glLightModelfv)(GLenum pname, const GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glLightModeli)(GLenum pname, GLint param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glLightModeliv)(GLenum pname, const GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glLightModelx)(GLenum pname, GLfixed param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glLightModelxOES)(GLenum pname, GLfixed param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glLightModelxv)(GLenum pname, const GLfixed * param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glLightModelxvOES)(GLenum pname, const GLfixed * param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glLightf)(GLenum light, GLenum pname, GLfloat param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glLightfv)(GLenum light, GLenum pname, const GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glLighti)(GLenum light, GLenum pname, GLint param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glLightiv)(GLenum light, GLenum pname, const GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glLightx)(GLenum light, GLenum pname, GLfixed param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glLightxOES)(GLenum light, GLenum pname, GLfixed param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glLightxv)(GLenum light, GLenum pname, const GLfixed * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glLightxvOES)(GLenum light, GLenum pname, const GLfixed * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glLineStipple)(GLint factor, GLushort pattern); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glLineWidth)(GLfloat width); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glLineWidthx)(GLfixed width); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glLineWidthxOES)(GLfixed width); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glLinkProgram)(GLuint program); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glLinkProgramARB)(GLhandleARB programObj); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glListBase)(GLuint base); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glListDrawCommandsStatesClientNV)(GLuint list, GLuint segment, const void ** indirects, const GLsizei * sizes, const GLuint * states, const GLuint * fbos, GLuint count); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glListParameterfSGIX)(GLuint list, GLenum pname, GLfloat param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glListParameterfvSGIX)(GLuint list, GLenum pname, const GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glListParameteriSGIX)(GLuint list, GLenum pname, GLint param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glListParameterivSGIX)(GLuint list, GLenum pname, const GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glLoadIdentity)(void); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glLoadIdentityDeformationMapSGIX)(GLbitfield mask); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glLoadMatrixd)(const GLdouble * m); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glLoadMatrixf)(const GLfloat * m); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glLoadMatrixx)(const GLfixed * m); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glLoadMatrixxOES)(const GLfixed * m); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glLoadName)(GLuint name); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glLoadPaletteFromModelViewMatrixOES)(void); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glLoadProgramNV)(GLenum target, GLuint id, GLsizei len, const GLubyte * program); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glLoadTransposeMatrixd)(const GLdouble * m); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glLoadTransposeMatrixdARB)(const GLdouble * m); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glLoadTransposeMatrixf)(const GLfloat * m); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glLoadTransposeMatrixfARB)(const GLfloat * m); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glLoadTransposeMatrixxOES)(const GLfixed * m); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glLockArraysEXT)(GLint first, GLsizei count); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glLogicOp)(GLenum opcode); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMakeBufferNonResidentNV)(GLenum target); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMakeBufferResidentNV)(GLenum target, GLenum access); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMakeImageHandleNonResidentARB)(GLuint64 handle); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMakeImageHandleNonResidentNV)(GLuint64 handle); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMakeImageHandleResidentARB)(GLuint64 handle, GLenum access); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMakeImageHandleResidentNV)(GLuint64 handle, GLenum access); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMakeNamedBufferNonResidentNV)(GLuint buffer); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMakeNamedBufferResidentNV)(GLuint buffer, GLenum access); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMakeTextureHandleNonResidentARB)(GLuint64 handle); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMakeTextureHandleNonResidentNV)(GLuint64 handle); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMakeTextureHandleResidentARB)(GLuint64 handle); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMakeTextureHandleResidentNV)(GLuint64 handle); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMap1d)(GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble * points); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMap1f)(GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat * points); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMap1xOES)(GLenum target, GLfixed u1, GLfixed u2, GLint stride, GLint order, GLfixed points); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMap2d)(GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble * points); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMap2f)(GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat * points); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMap2xOES)(GLenum target, GLfixed u1, GLfixed u2, GLint ustride, GLint uorder, GLfixed v1, GLfixed v2, GLint vstride, GLint vorder, GLfixed points); EPOXY_PUBLIC void * (EPOXY_CALLSPEC *epoxy_glMapBuffer)(GLenum target, GLenum access); EPOXY_PUBLIC void * (EPOXY_CALLSPEC *epoxy_glMapBufferARB)(GLenum target, GLenum access); EPOXY_PUBLIC void * (EPOXY_CALLSPEC *epoxy_glMapBufferOES)(GLenum target, GLenum access); EPOXY_PUBLIC void * (EPOXY_CALLSPEC *epoxy_glMapBufferRange)(GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); EPOXY_PUBLIC void * (EPOXY_CALLSPEC *epoxy_glMapBufferRangeEXT)(GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMapControlPointsNV)(GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLint uorder, GLint vorder, GLboolean packed, const void * points); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMapGrid1d)(GLint un, GLdouble u1, GLdouble u2); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMapGrid1f)(GLint un, GLfloat u1, GLfloat u2); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMapGrid1xOES)(GLint n, GLfixed u1, GLfixed u2); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMapGrid2d)(GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMapGrid2f)(GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMapGrid2xOES)(GLint n, GLfixed u1, GLfixed u2, GLfixed v1, GLfixed v2); EPOXY_PUBLIC void * (EPOXY_CALLSPEC *epoxy_glMapNamedBuffer)(GLuint buffer, GLenum access); EPOXY_PUBLIC void * (EPOXY_CALLSPEC *epoxy_glMapNamedBufferEXT)(GLuint buffer, GLenum access); EPOXY_PUBLIC void * (EPOXY_CALLSPEC *epoxy_glMapNamedBufferRange)(GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access); EPOXY_PUBLIC void * (EPOXY_CALLSPEC *epoxy_glMapNamedBufferRangeEXT)(GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access); EPOXY_PUBLIC void * (EPOXY_CALLSPEC *epoxy_glMapObjectBufferATI)(GLuint buffer); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMapParameterfvNV)(GLenum target, GLenum pname, const GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMapParameterivNV)(GLenum target, GLenum pname, const GLint * params); EPOXY_PUBLIC void * (EPOXY_CALLSPEC *epoxy_glMapTexture2DINTEL)(GLuint texture, GLint level, GLbitfield access, GLint * stride, GLenum * layout); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMapVertexAttrib1dAPPLE)(GLuint index, GLuint size, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble * points); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMapVertexAttrib1fAPPLE)(GLuint index, GLuint size, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat * points); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMapVertexAttrib2dAPPLE)(GLuint index, GLuint size, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble * points); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMapVertexAttrib2fAPPLE)(GLuint index, GLuint size, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat * points); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMaterialf)(GLenum face, GLenum pname, GLfloat param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMaterialfv)(GLenum face, GLenum pname, const GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMateriali)(GLenum face, GLenum pname, GLint param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMaterialiv)(GLenum face, GLenum pname, const GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMaterialx)(GLenum face, GLenum pname, GLfixed param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMaterialxOES)(GLenum face, GLenum pname, GLfixed param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMaterialxv)(GLenum face, GLenum pname, const GLfixed * param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMaterialxvOES)(GLenum face, GLenum pname, const GLfixed * param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMatrixFrustumEXT)(GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMatrixIndexPointerARB)(GLint size, GLenum type, GLsizei stride, const void * pointer); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMatrixIndexPointerOES)(GLint size, GLenum type, GLsizei stride, const void * pointer); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMatrixIndexubvARB)(GLint size, const GLubyte * indices); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMatrixIndexuivARB)(GLint size, const GLuint * indices); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMatrixIndexusvARB)(GLint size, const GLushort * indices); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMatrixLoad3x2fNV)(GLenum matrixMode, const GLfloat * m); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMatrixLoad3x3fNV)(GLenum matrixMode, const GLfloat * m); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMatrixLoadIdentityEXT)(GLenum mode); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMatrixLoadTranspose3x3fNV)(GLenum matrixMode, const GLfloat * m); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMatrixLoadTransposedEXT)(GLenum mode, const GLdouble * m); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMatrixLoadTransposefEXT)(GLenum mode, const GLfloat * m); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMatrixLoaddEXT)(GLenum mode, const GLdouble * m); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMatrixLoadfEXT)(GLenum mode, const GLfloat * m); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMatrixMode)(GLenum mode); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMatrixMult3x2fNV)(GLenum matrixMode, const GLfloat * m); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMatrixMult3x3fNV)(GLenum matrixMode, const GLfloat * m); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMatrixMultTranspose3x3fNV)(GLenum matrixMode, const GLfloat * m); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMatrixMultTransposedEXT)(GLenum mode, const GLdouble * m); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMatrixMultTransposefEXT)(GLenum mode, const GLfloat * m); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMatrixMultdEXT)(GLenum mode, const GLdouble * m); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMatrixMultfEXT)(GLenum mode, const GLfloat * m); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMatrixOrthoEXT)(GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMatrixPopEXT)(GLenum mode); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMatrixPushEXT)(GLenum mode); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMatrixRotatedEXT)(GLenum mode, GLdouble angle, GLdouble x, GLdouble y, GLdouble z); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMatrixRotatefEXT)(GLenum mode, GLfloat angle, GLfloat x, GLfloat y, GLfloat z); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMatrixScaledEXT)(GLenum mode, GLdouble x, GLdouble y, GLdouble z); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMatrixScalefEXT)(GLenum mode, GLfloat x, GLfloat y, GLfloat z); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMatrixTranslatedEXT)(GLenum mode, GLdouble x, GLdouble y, GLdouble z); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMatrixTranslatefEXT)(GLenum mode, GLfloat x, GLfloat y, GLfloat z); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMaxShaderCompilerThreadsARB)(GLuint count); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMaxShaderCompilerThreadsKHR)(GLuint count); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMemoryBarrier)(GLbitfield barriers); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMemoryBarrierByRegion)(GLbitfield barriers); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMemoryBarrierEXT)(GLbitfield barriers); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMemoryObjectParameterivEXT)(GLuint memoryObject, GLenum pname, const GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMinSampleShading)(GLfloat value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMinSampleShadingARB)(GLfloat value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMinSampleShadingOES)(GLfloat value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMinmax)(GLenum target, GLenum internalformat, GLboolean sink); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMinmaxEXT)(GLenum target, GLenum internalformat, GLboolean sink); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultMatrixd)(const GLdouble * m); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultMatrixf)(const GLfloat * m); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultMatrixx)(const GLfixed * m); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultMatrixxOES)(const GLfixed * m); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultTransposeMatrixd)(const GLdouble * m); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultTransposeMatrixdARB)(const GLdouble * m); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultTransposeMatrixf)(const GLfloat * m); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultTransposeMatrixfARB)(const GLfloat * m); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultTransposeMatrixxOES)(const GLfixed * m); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiDrawArrays)(GLenum mode, const GLint * first, const GLsizei * count, GLsizei drawcount); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiDrawArraysEXT)(GLenum mode, const GLint * first, const GLsizei * count, GLsizei primcount); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiDrawArraysIndirect)(GLenum mode, const void * indirect, GLsizei drawcount, GLsizei stride); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiDrawArraysIndirectAMD)(GLenum mode, const void * indirect, GLsizei primcount, GLsizei stride); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiDrawArraysIndirectBindlessCountNV)(GLenum mode, const void * indirect, GLsizei drawCount, GLsizei maxDrawCount, GLsizei stride, GLint vertexBufferCount); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiDrawArraysIndirectBindlessNV)(GLenum mode, const void * indirect, GLsizei drawCount, GLsizei stride, GLint vertexBufferCount); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiDrawArraysIndirectCount)(GLenum mode, const void * indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiDrawArraysIndirectCountARB)(GLenum mode, const void * indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiDrawArraysIndirectEXT)(GLenum mode, const void * indirect, GLsizei drawcount, GLsizei stride); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiDrawElementArrayAPPLE)(GLenum mode, const GLint * first, const GLsizei * count, GLsizei primcount); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiDrawElements)(GLenum mode, const GLsizei * count, GLenum type, const void *const* indices, GLsizei drawcount); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiDrawElementsBaseVertex)(GLenum mode, const GLsizei * count, GLenum type, const void *const* indices, GLsizei drawcount, const GLint * basevertex); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiDrawElementsBaseVertexEXT)(GLenum mode, const GLsizei * count, GLenum type, const void *const* indices, GLsizei primcount, const GLint * basevertex); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiDrawElementsEXT)(GLenum mode, const GLsizei * count, GLenum type, const void *const* indices, GLsizei primcount); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiDrawElementsIndirect)(GLenum mode, GLenum type, const void * indirect, GLsizei drawcount, GLsizei stride); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiDrawElementsIndirectAMD)(GLenum mode, GLenum type, const void * indirect, GLsizei primcount, GLsizei stride); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiDrawElementsIndirectBindlessCountNV)(GLenum mode, GLenum type, const void * indirect, GLsizei drawCount, GLsizei maxDrawCount, GLsizei stride, GLint vertexBufferCount); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiDrawElementsIndirectBindlessNV)(GLenum mode, GLenum type, const void * indirect, GLsizei drawCount, GLsizei stride, GLint vertexBufferCount); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiDrawElementsIndirectCount)(GLenum mode, GLenum type, const void * indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiDrawElementsIndirectCountARB)(GLenum mode, GLenum type, const void * indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiDrawElementsIndirectEXT)(GLenum mode, GLenum type, const void * indirect, GLsizei drawcount, GLsizei stride); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiDrawMeshTasksIndirectCountNV)(GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiDrawMeshTasksIndirectNV)(GLintptr indirect, GLsizei drawcount, GLsizei stride); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiDrawRangeElementArrayAPPLE)(GLenum mode, GLuint start, GLuint end, const GLint * first, const GLsizei * count, GLsizei primcount); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiModeDrawArraysIBM)(const GLenum * mode, const GLint * first, const GLsizei * count, GLsizei primcount, GLint modestride); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiModeDrawElementsIBM)(const GLenum * mode, const GLsizei * count, GLenum type, const void *const* indices, GLsizei primcount, GLint modestride); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexBufferEXT)(GLenum texunit, GLenum target, GLenum internalformat, GLuint buffer); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexCoord1bOES)(GLenum texture, GLbyte s); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexCoord1bvOES)(GLenum texture, const GLbyte * coords); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexCoord1d)(GLenum target, GLdouble s); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexCoord1dARB)(GLenum target, GLdouble s); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexCoord1dv)(GLenum target, const GLdouble * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexCoord1dvARB)(GLenum target, const GLdouble * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexCoord1f)(GLenum target, GLfloat s); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexCoord1fARB)(GLenum target, GLfloat s); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexCoord1fv)(GLenum target, const GLfloat * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexCoord1fvARB)(GLenum target, const GLfloat * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexCoord1hNV)(GLenum target, GLhalfNV s); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexCoord1hvNV)(GLenum target, const GLhalfNV * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexCoord1i)(GLenum target, GLint s); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexCoord1iARB)(GLenum target, GLint s); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexCoord1iv)(GLenum target, const GLint * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexCoord1ivARB)(GLenum target, const GLint * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexCoord1s)(GLenum target, GLshort s); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexCoord1sARB)(GLenum target, GLshort s); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexCoord1sv)(GLenum target, const GLshort * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexCoord1svARB)(GLenum target, const GLshort * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexCoord1xOES)(GLenum texture, GLfixed s); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexCoord1xvOES)(GLenum texture, const GLfixed * coords); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexCoord2bOES)(GLenum texture, GLbyte s, GLbyte t); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexCoord2bvOES)(GLenum texture, const GLbyte * coords); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexCoord2d)(GLenum target, GLdouble s, GLdouble t); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexCoord2dARB)(GLenum target, GLdouble s, GLdouble t); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexCoord2dv)(GLenum target, const GLdouble * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexCoord2dvARB)(GLenum target, const GLdouble * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexCoord2f)(GLenum target, GLfloat s, GLfloat t); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexCoord2fARB)(GLenum target, GLfloat s, GLfloat t); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexCoord2fv)(GLenum target, const GLfloat * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexCoord2fvARB)(GLenum target, const GLfloat * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexCoord2hNV)(GLenum target, GLhalfNV s, GLhalfNV t); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexCoord2hvNV)(GLenum target, const GLhalfNV * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexCoord2i)(GLenum target, GLint s, GLint t); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexCoord2iARB)(GLenum target, GLint s, GLint t); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexCoord2iv)(GLenum target, const GLint * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexCoord2ivARB)(GLenum target, const GLint * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexCoord2s)(GLenum target, GLshort s, GLshort t); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexCoord2sARB)(GLenum target, GLshort s, GLshort t); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexCoord2sv)(GLenum target, const GLshort * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexCoord2svARB)(GLenum target, const GLshort * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexCoord2xOES)(GLenum texture, GLfixed s, GLfixed t); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexCoord2xvOES)(GLenum texture, const GLfixed * coords); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexCoord3bOES)(GLenum texture, GLbyte s, GLbyte t, GLbyte r); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexCoord3bvOES)(GLenum texture, const GLbyte * coords); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexCoord3d)(GLenum target, GLdouble s, GLdouble t, GLdouble r); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexCoord3dARB)(GLenum target, GLdouble s, GLdouble t, GLdouble r); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexCoord3dv)(GLenum target, const GLdouble * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexCoord3dvARB)(GLenum target, const GLdouble * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexCoord3f)(GLenum target, GLfloat s, GLfloat t, GLfloat r); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexCoord3fARB)(GLenum target, GLfloat s, GLfloat t, GLfloat r); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexCoord3fv)(GLenum target, const GLfloat * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexCoord3fvARB)(GLenum target, const GLfloat * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexCoord3hNV)(GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexCoord3hvNV)(GLenum target, const GLhalfNV * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexCoord3i)(GLenum target, GLint s, GLint t, GLint r); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexCoord3iARB)(GLenum target, GLint s, GLint t, GLint r); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexCoord3iv)(GLenum target, const GLint * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexCoord3ivARB)(GLenum target, const GLint * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexCoord3s)(GLenum target, GLshort s, GLshort t, GLshort r); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexCoord3sARB)(GLenum target, GLshort s, GLshort t, GLshort r); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexCoord3sv)(GLenum target, const GLshort * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexCoord3svARB)(GLenum target, const GLshort * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexCoord3xOES)(GLenum texture, GLfixed s, GLfixed t, GLfixed r); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexCoord3xvOES)(GLenum texture, const GLfixed * coords); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexCoord4bOES)(GLenum texture, GLbyte s, GLbyte t, GLbyte r, GLbyte q); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexCoord4bvOES)(GLenum texture, const GLbyte * coords); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexCoord4d)(GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexCoord4dARB)(GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexCoord4dv)(GLenum target, const GLdouble * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexCoord4dvARB)(GLenum target, const GLdouble * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexCoord4f)(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexCoord4fARB)(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexCoord4fv)(GLenum target, const GLfloat * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexCoord4fvARB)(GLenum target, const GLfloat * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexCoord4hNV)(GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexCoord4hvNV)(GLenum target, const GLhalfNV * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexCoord4i)(GLenum target, GLint s, GLint t, GLint r, GLint q); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexCoord4iARB)(GLenum target, GLint s, GLint t, GLint r, GLint q); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexCoord4iv)(GLenum target, const GLint * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexCoord4ivARB)(GLenum target, const GLint * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexCoord4s)(GLenum target, GLshort s, GLshort t, GLshort r, GLshort q); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexCoord4sARB)(GLenum target, GLshort s, GLshort t, GLshort r, GLshort q); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexCoord4sv)(GLenum target, const GLshort * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexCoord4svARB)(GLenum target, const GLshort * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexCoord4x)(GLenum texture, GLfixed s, GLfixed t, GLfixed r, GLfixed q); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexCoord4xOES)(GLenum texture, GLfixed s, GLfixed t, GLfixed r, GLfixed q); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexCoord4xvOES)(GLenum texture, const GLfixed * coords); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexCoordP1ui)(GLenum texture, GLenum type, GLuint coords); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexCoordP1uiv)(GLenum texture, GLenum type, const GLuint * coords); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexCoordP2ui)(GLenum texture, GLenum type, GLuint coords); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexCoordP2uiv)(GLenum texture, GLenum type, const GLuint * coords); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexCoordP3ui)(GLenum texture, GLenum type, GLuint coords); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexCoordP3uiv)(GLenum texture, GLenum type, const GLuint * coords); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexCoordP4ui)(GLenum texture, GLenum type, GLuint coords); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexCoordP4uiv)(GLenum texture, GLenum type, const GLuint * coords); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexCoordPointerEXT)(GLenum texunit, GLint size, GLenum type, GLsizei stride, const void * pointer); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexEnvfEXT)(GLenum texunit, GLenum target, GLenum pname, GLfloat param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexEnvfvEXT)(GLenum texunit, GLenum target, GLenum pname, const GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexEnviEXT)(GLenum texunit, GLenum target, GLenum pname, GLint param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexEnvivEXT)(GLenum texunit, GLenum target, GLenum pname, const GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexGendEXT)(GLenum texunit, GLenum coord, GLenum pname, GLdouble param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexGendvEXT)(GLenum texunit, GLenum coord, GLenum pname, const GLdouble * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexGenfEXT)(GLenum texunit, GLenum coord, GLenum pname, GLfloat param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexGenfvEXT)(GLenum texunit, GLenum coord, GLenum pname, const GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexGeniEXT)(GLenum texunit, GLenum coord, GLenum pname, GLint param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexGenivEXT)(GLenum texunit, GLenum coord, GLenum pname, const GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexImage1DEXT)(GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void * pixels); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexImage2DEXT)(GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void * pixels); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexImage3DEXT)(GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void * pixels); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexParameterIivEXT)(GLenum texunit, GLenum target, GLenum pname, const GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexParameterIuivEXT)(GLenum texunit, GLenum target, GLenum pname, const GLuint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexParameterfEXT)(GLenum texunit, GLenum target, GLenum pname, GLfloat param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexParameterfvEXT)(GLenum texunit, GLenum target, GLenum pname, const GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexParameteriEXT)(GLenum texunit, GLenum target, GLenum pname, GLint param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexParameterivEXT)(GLenum texunit, GLenum target, GLenum pname, const GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexRenderbufferEXT)(GLenum texunit, GLenum target, GLuint renderbuffer); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexSubImage1DEXT)(GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void * pixels); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexSubImage2DEXT)(GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void * pixels); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMultiTexSubImage3DEXT)(GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void * pixels); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMulticastBarrierNV)(void); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMulticastBlitFramebufferNV)(GLuint srcGpu, GLuint dstGpu, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMulticastBufferSubDataNV)(GLbitfield gpuMask, GLuint buffer, GLintptr offset, GLsizeiptr size, const void * data); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMulticastCopyBufferSubDataNV)(GLuint readGpu, GLbitfield writeGpuMask, GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMulticastCopyImageSubDataNV)(GLuint srcGpu, GLbitfield dstGpuMask, GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMulticastFramebufferSampleLocationsfvNV)(GLuint gpu, GLuint framebuffer, GLuint start, GLsizei count, const GLfloat * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMulticastGetQueryObjecti64vNV)(GLuint gpu, GLuint id, GLenum pname, GLint64 * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMulticastGetQueryObjectivNV)(GLuint gpu, GLuint id, GLenum pname, GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMulticastGetQueryObjectui64vNV)(GLuint gpu, GLuint id, GLenum pname, GLuint64 * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMulticastGetQueryObjectuivNV)(GLuint gpu, GLuint id, GLenum pname, GLuint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMulticastScissorArrayvNVX)(GLuint gpu, GLuint first, GLsizei count, const GLint * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMulticastViewportArrayvNVX)(GLuint gpu, GLuint first, GLsizei count, const GLfloat * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMulticastViewportPositionWScaleNVX)(GLuint gpu, GLuint index, GLfloat xcoeff, GLfloat ycoeff); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glMulticastWaitSyncNV)(GLuint signalGpu, GLbitfield waitGpuMask); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glNamedBufferAttachMemoryNV)(GLuint buffer, GLuint memory, GLuint64 offset); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glNamedBufferData)(GLuint buffer, GLsizeiptr size, const void * data, GLenum usage); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glNamedBufferDataEXT)(GLuint buffer, GLsizeiptr size, const void * data, GLenum usage); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glNamedBufferPageCommitmentARB)(GLuint buffer, GLintptr offset, GLsizeiptr size, GLboolean commit); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glNamedBufferPageCommitmentEXT)(GLuint buffer, GLintptr offset, GLsizeiptr size, GLboolean commit); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glNamedBufferStorage)(GLuint buffer, GLsizeiptr size, const void * data, GLbitfield flags); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glNamedBufferStorageEXT)(GLuint buffer, GLsizeiptr size, const void * data, GLbitfield flags); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glNamedBufferStorageExternalEXT)(GLuint buffer, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glNamedBufferStorageMemEXT)(GLuint buffer, GLsizeiptr size, GLuint memory, GLuint64 offset); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glNamedBufferSubData)(GLuint buffer, GLintptr offset, GLsizeiptr size, const void * data); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glNamedBufferSubDataEXT)(GLuint buffer, GLintptr offset, GLsizeiptr size, const void * data); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glNamedCopyBufferSubDataEXT)(GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glNamedFramebufferDrawBuffer)(GLuint framebuffer, GLenum buf); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glNamedFramebufferDrawBuffers)(GLuint framebuffer, GLsizei n, const GLenum * bufs); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glNamedFramebufferParameteri)(GLuint framebuffer, GLenum pname, GLint param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glNamedFramebufferParameteriEXT)(GLuint framebuffer, GLenum pname, GLint param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glNamedFramebufferReadBuffer)(GLuint framebuffer, GLenum src); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glNamedFramebufferRenderbuffer)(GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glNamedFramebufferRenderbufferEXT)(GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glNamedFramebufferSampleLocationsfvARB)(GLuint framebuffer, GLuint start, GLsizei count, const GLfloat * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glNamedFramebufferSampleLocationsfvNV)(GLuint framebuffer, GLuint start, GLsizei count, const GLfloat * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glNamedFramebufferSamplePositionsfvAMD)(GLuint framebuffer, GLuint numsamples, GLuint pixelindex, const GLfloat * values); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glNamedFramebufferTexture)(GLuint framebuffer, GLenum attachment, GLuint texture, GLint level); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glNamedFramebufferTexture1DEXT)(GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glNamedFramebufferTexture2DEXT)(GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glNamedFramebufferTexture3DEXT)(GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glNamedFramebufferTextureEXT)(GLuint framebuffer, GLenum attachment, GLuint texture, GLint level); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glNamedFramebufferTextureFaceEXT)(GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLenum face); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glNamedFramebufferTextureLayer)(GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glNamedFramebufferTextureLayerEXT)(GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glNamedProgramLocalParameter4dEXT)(GLuint program, GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glNamedProgramLocalParameter4dvEXT)(GLuint program, GLenum target, GLuint index, const GLdouble * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glNamedProgramLocalParameter4fEXT)(GLuint program, GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glNamedProgramLocalParameter4fvEXT)(GLuint program, GLenum target, GLuint index, const GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glNamedProgramLocalParameterI4iEXT)(GLuint program, GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glNamedProgramLocalParameterI4ivEXT)(GLuint program, GLenum target, GLuint index, const GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glNamedProgramLocalParameterI4uiEXT)(GLuint program, GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glNamedProgramLocalParameterI4uivEXT)(GLuint program, GLenum target, GLuint index, const GLuint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glNamedProgramLocalParameters4fvEXT)(GLuint program, GLenum target, GLuint index, GLsizei count, const GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glNamedProgramLocalParametersI4ivEXT)(GLuint program, GLenum target, GLuint index, GLsizei count, const GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glNamedProgramLocalParametersI4uivEXT)(GLuint program, GLenum target, GLuint index, GLsizei count, const GLuint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glNamedProgramStringEXT)(GLuint program, GLenum target, GLenum format, GLsizei len, const void * string); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glNamedRenderbufferStorage)(GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glNamedRenderbufferStorageEXT)(GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glNamedRenderbufferStorageMultisample)(GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glNamedRenderbufferStorageMultisampleAdvancedAMD)(GLuint renderbuffer, GLsizei samples, GLsizei storageSamples, GLenum internalformat, GLsizei width, GLsizei height); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glNamedRenderbufferStorageMultisampleCoverageEXT)(GLuint renderbuffer, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glNamedRenderbufferStorageMultisampleEXT)(GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glNamedStringARB)(GLenum type, GLint namelen, const GLchar * name, GLint stringlen, const GLchar * string); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glNewList)(GLuint list, GLenum mode); EPOXY_PUBLIC GLuint (EPOXY_CALLSPEC *epoxy_glNewObjectBufferATI)(GLsizei size, const void * pointer, GLenum usage); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glNormal3b)(GLbyte nx, GLbyte ny, GLbyte nz); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glNormal3bv)(const GLbyte * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glNormal3d)(GLdouble nx, GLdouble ny, GLdouble nz); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glNormal3dv)(const GLdouble * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glNormal3f)(GLfloat nx, GLfloat ny, GLfloat nz); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glNormal3fVertex3fSUN)(GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glNormal3fVertex3fvSUN)(const GLfloat * n, const GLfloat * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glNormal3fv)(const GLfloat * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glNormal3hNV)(GLhalfNV nx, GLhalfNV ny, GLhalfNV nz); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glNormal3hvNV)(const GLhalfNV * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glNormal3i)(GLint nx, GLint ny, GLint nz); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glNormal3iv)(const GLint * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glNormal3s)(GLshort nx, GLshort ny, GLshort nz); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glNormal3sv)(const GLshort * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glNormal3x)(GLfixed nx, GLfixed ny, GLfixed nz); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glNormal3xOES)(GLfixed nx, GLfixed ny, GLfixed nz); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glNormal3xvOES)(const GLfixed * coords); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glNormalFormatNV)(GLenum type, GLsizei stride); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glNormalP3ui)(GLenum type, GLuint coords); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glNormalP3uiv)(GLenum type, const GLuint * coords); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glNormalPointer)(GLenum type, GLsizei stride, const void * pointer); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glNormalPointerEXT)(GLenum type, GLsizei stride, GLsizei count, const void * pointer); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glNormalPointerListIBM)(GLenum type, GLint stride, const void ** pointer, GLint ptrstride); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glNormalPointervINTEL)(GLenum type, const void ** pointer); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glNormalStream3bATI)(GLenum stream, GLbyte nx, GLbyte ny, GLbyte nz); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glNormalStream3bvATI)(GLenum stream, const GLbyte * coords); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glNormalStream3dATI)(GLenum stream, GLdouble nx, GLdouble ny, GLdouble nz); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glNormalStream3dvATI)(GLenum stream, const GLdouble * coords); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glNormalStream3fATI)(GLenum stream, GLfloat nx, GLfloat ny, GLfloat nz); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glNormalStream3fvATI)(GLenum stream, const GLfloat * coords); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glNormalStream3iATI)(GLenum stream, GLint nx, GLint ny, GLint nz); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glNormalStream3ivATI)(GLenum stream, const GLint * coords); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glNormalStream3sATI)(GLenum stream, GLshort nx, GLshort ny, GLshort nz); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glNormalStream3svATI)(GLenum stream, const GLshort * coords); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glObjectLabel)(GLenum identifier, GLuint name, GLsizei length, const GLchar * label); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glObjectLabelKHR)(GLenum identifier, GLuint name, GLsizei length, const GLchar * label); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glObjectPtrLabel)(const void * ptr, GLsizei length, const GLchar * label); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glObjectPtrLabelKHR)(const void * ptr, GLsizei length, const GLchar * label); EPOXY_PUBLIC GLenum (EPOXY_CALLSPEC *epoxy_glObjectPurgeableAPPLE)(GLenum objectType, GLuint name, GLenum option); EPOXY_PUBLIC GLenum (EPOXY_CALLSPEC *epoxy_glObjectUnpurgeableAPPLE)(GLenum objectType, GLuint name, GLenum option); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glOrtho)(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glOrthof)(GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glOrthofOES)(GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glOrthox)(GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glOrthoxOES)(GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPNTrianglesfATI)(GLenum pname, GLfloat param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPNTrianglesiATI)(GLenum pname, GLint param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPassTexCoordATI)(GLuint dst, GLuint coord, GLenum swizzle); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPassThrough)(GLfloat token); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPassThroughxOES)(GLfixed token); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPatchParameterfv)(GLenum pname, const GLfloat * values); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPatchParameteri)(GLenum pname, GLint value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPatchParameteriEXT)(GLenum pname, GLint value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPatchParameteriOES)(GLenum pname, GLint value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPathColorGenNV)(GLenum color, GLenum genMode, GLenum colorFormat, const GLfloat * coeffs); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPathCommandsNV)(GLuint path, GLsizei numCommands, const GLubyte * commands, GLsizei numCoords, GLenum coordType, const void * coords); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPathCoordsNV)(GLuint path, GLsizei numCoords, GLenum coordType, const void * coords); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPathCoverDepthFuncNV)(GLenum func); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPathDashArrayNV)(GLuint path, GLsizei dashCount, const GLfloat * dashArray); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPathFogGenNV)(GLenum genMode); EPOXY_PUBLIC GLenum (EPOXY_CALLSPEC *epoxy_glPathGlyphIndexArrayNV)(GLuint firstPathName, GLenum fontTarget, const void * fontName, GLbitfield fontStyle, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale); EPOXY_PUBLIC GLenum (EPOXY_CALLSPEC *epoxy_glPathGlyphIndexRangeNV)(GLenum fontTarget, const void * fontName, GLbitfield fontStyle, GLuint pathParameterTemplate, GLfloat emScale, GLuint baseAndCount); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPathGlyphRangeNV)(GLuint firstPathName, GLenum fontTarget, const void * fontName, GLbitfield fontStyle, GLuint firstGlyph, GLsizei numGlyphs, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPathGlyphsNV)(GLuint firstPathName, GLenum fontTarget, const void * fontName, GLbitfield fontStyle, GLsizei numGlyphs, GLenum type, const void * charcodes, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale); EPOXY_PUBLIC GLenum (EPOXY_CALLSPEC *epoxy_glPathMemoryGlyphIndexArrayNV)(GLuint firstPathName, GLenum fontTarget, GLsizeiptr fontSize, const void * fontData, GLsizei faceIndex, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPathParameterfNV)(GLuint path, GLenum pname, GLfloat value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPathParameterfvNV)(GLuint path, GLenum pname, const GLfloat * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPathParameteriNV)(GLuint path, GLenum pname, GLint value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPathParameterivNV)(GLuint path, GLenum pname, const GLint * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPathStencilDepthOffsetNV)(GLfloat factor, GLfloat units); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPathStencilFuncNV)(GLenum func, GLint ref, GLuint mask); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPathStringNV)(GLuint path, GLenum format, GLsizei length, const void * pathString); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPathSubCommandsNV)(GLuint path, GLsizei commandStart, GLsizei commandsToDelete, GLsizei numCommands, const GLubyte * commands, GLsizei numCoords, GLenum coordType, const void * coords); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPathSubCoordsNV)(GLuint path, GLsizei coordStart, GLsizei numCoords, GLenum coordType, const void * coords); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPathTexGenNV)(GLenum texCoordSet, GLenum genMode, GLint components, const GLfloat * coeffs); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPauseTransformFeedback)(void); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPauseTransformFeedbackNV)(void); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPixelDataRangeNV)(GLenum target, GLsizei length, const void * pointer); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPixelMapfv)(GLenum map, GLsizei mapsize, const GLfloat * values); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPixelMapuiv)(GLenum map, GLsizei mapsize, const GLuint * values); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPixelMapusv)(GLenum map, GLsizei mapsize, const GLushort * values); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPixelMapx)(GLenum map, GLint size, const GLfixed * values); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPixelStoref)(GLenum pname, GLfloat param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPixelStorei)(GLenum pname, GLint param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPixelStorex)(GLenum pname, GLfixed param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPixelTexGenParameterfSGIS)(GLenum pname, GLfloat param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPixelTexGenParameterfvSGIS)(GLenum pname, const GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPixelTexGenParameteriSGIS)(GLenum pname, GLint param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPixelTexGenParameterivSGIS)(GLenum pname, const GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPixelTexGenSGIX)(GLenum mode); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPixelTransferf)(GLenum pname, GLfloat param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPixelTransferi)(GLenum pname, GLint param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPixelTransferxOES)(GLenum pname, GLfixed param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPixelTransformParameterfEXT)(GLenum target, GLenum pname, GLfloat param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPixelTransformParameterfvEXT)(GLenum target, GLenum pname, const GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPixelTransformParameteriEXT)(GLenum target, GLenum pname, GLint param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPixelTransformParameterivEXT)(GLenum target, GLenum pname, const GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPixelZoom)(GLfloat xfactor, GLfloat yfactor); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPixelZoomxOES)(GLfixed xfactor, GLfixed yfactor); EPOXY_PUBLIC GLboolean (EPOXY_CALLSPEC *epoxy_glPointAlongPathNV)(GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distance, GLfloat * x, GLfloat * y, GLfloat * tangentX, GLfloat * tangentY); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPointParameterf)(GLenum pname, GLfloat param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPointParameterfARB)(GLenum pname, GLfloat param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPointParameterfEXT)(GLenum pname, GLfloat param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPointParameterfSGIS)(GLenum pname, GLfloat param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPointParameterfv)(GLenum pname, const GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPointParameterfvARB)(GLenum pname, const GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPointParameterfvEXT)(GLenum pname, const GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPointParameterfvSGIS)(GLenum pname, const GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPointParameteri)(GLenum pname, GLint param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPointParameteriNV)(GLenum pname, GLint param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPointParameteriv)(GLenum pname, const GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPointParameterivNV)(GLenum pname, const GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPointParameterx)(GLenum pname, GLfixed param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPointParameterxOES)(GLenum pname, GLfixed param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPointParameterxv)(GLenum pname, const GLfixed * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPointParameterxvOES)(GLenum pname, const GLfixed * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPointSize)(GLfloat size); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPointSizePointerOES)(GLenum type, GLsizei stride, const void * pointer); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPointSizex)(GLfixed size); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPointSizexOES)(GLfixed size); EPOXY_PUBLIC GLint (EPOXY_CALLSPEC *epoxy_glPollAsyncSGIX)(GLuint * markerp); EPOXY_PUBLIC GLint (EPOXY_CALLSPEC *epoxy_glPollInstrumentsSGIX)(GLint * marker_p); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPolygonMode)(GLenum face, GLenum mode); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPolygonModeNV)(GLenum face, GLenum mode); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPolygonOffset)(GLfloat factor, GLfloat units); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPolygonOffsetClamp)(GLfloat factor, GLfloat units, GLfloat clamp); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPolygonOffsetClampEXT)(GLfloat factor, GLfloat units, GLfloat clamp); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPolygonOffsetEXT)(GLfloat factor, GLfloat bias); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPolygonOffsetx)(GLfixed factor, GLfixed units); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPolygonOffsetxOES)(GLfixed factor, GLfixed units); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPolygonStipple)(const GLubyte * mask); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPopAttrib)(void); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPopClientAttrib)(void); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPopDebugGroup)(void); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPopDebugGroupKHR)(void); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPopGroupMarkerEXT)(void); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPopMatrix)(void); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPopName)(void); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPresentFrameDualFillNV)(GLuint video_slot, GLuint64EXT minPresentTime, GLuint beginPresentTimeId, GLuint presentDurationId, GLenum type, GLenum target0, GLuint fill0, GLenum target1, GLuint fill1, GLenum target2, GLuint fill2, GLenum target3, GLuint fill3); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPresentFrameKeyedNV)(GLuint video_slot, GLuint64EXT minPresentTime, GLuint beginPresentTimeId, GLuint presentDurationId, GLenum type, GLenum target0, GLuint fill0, GLuint key0, GLenum target1, GLuint fill1, GLuint key1); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPrimitiveBoundingBox)(GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPrimitiveBoundingBoxARB)(GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPrimitiveBoundingBoxEXT)(GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPrimitiveBoundingBoxOES)(GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPrimitiveRestartIndex)(GLuint index); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPrimitiveRestartIndexNV)(GLuint index); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPrimitiveRestartNV)(void); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPrioritizeTextures)(GLsizei n, const GLuint * textures, const GLfloat * priorities); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPrioritizeTexturesEXT)(GLsizei n, const GLuint * textures, const GLclampf * priorities); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPrioritizeTexturesxOES)(GLsizei n, const GLuint * textures, const GLfixed * priorities); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramBinary)(GLuint program, GLenum binaryFormat, const void * binary, GLsizei length); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramBinaryOES)(GLuint program, GLenum binaryFormat, const void * binary, GLint length); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramBufferParametersIivNV)(GLenum target, GLuint bindingIndex, GLuint wordIndex, GLsizei count, const GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramBufferParametersIuivNV)(GLenum target, GLuint bindingIndex, GLuint wordIndex, GLsizei count, const GLuint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramBufferParametersfvNV)(GLenum target, GLuint bindingIndex, GLuint wordIndex, GLsizei count, const GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramEnvParameter4dARB)(GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramEnvParameter4dvARB)(GLenum target, GLuint index, const GLdouble * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramEnvParameter4fARB)(GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramEnvParameter4fvARB)(GLenum target, GLuint index, const GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramEnvParameterI4iNV)(GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramEnvParameterI4ivNV)(GLenum target, GLuint index, const GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramEnvParameterI4uiNV)(GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramEnvParameterI4uivNV)(GLenum target, GLuint index, const GLuint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramEnvParameters4fvEXT)(GLenum target, GLuint index, GLsizei count, const GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramEnvParametersI4ivNV)(GLenum target, GLuint index, GLsizei count, const GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramEnvParametersI4uivNV)(GLenum target, GLuint index, GLsizei count, const GLuint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramLocalParameter4dARB)(GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramLocalParameter4dvARB)(GLenum target, GLuint index, const GLdouble * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramLocalParameter4fARB)(GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramLocalParameter4fvARB)(GLenum target, GLuint index, const GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramLocalParameterI4iNV)(GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramLocalParameterI4ivNV)(GLenum target, GLuint index, const GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramLocalParameterI4uiNV)(GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramLocalParameterI4uivNV)(GLenum target, GLuint index, const GLuint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramLocalParameters4fvEXT)(GLenum target, GLuint index, GLsizei count, const GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramLocalParametersI4ivNV)(GLenum target, GLuint index, GLsizei count, const GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramLocalParametersI4uivNV)(GLenum target, GLuint index, GLsizei count, const GLuint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramNamedParameter4dNV)(GLuint id, GLsizei len, const GLubyte * name, GLdouble x, GLdouble y, GLdouble z, GLdouble w); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramNamedParameter4dvNV)(GLuint id, GLsizei len, const GLubyte * name, const GLdouble * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramNamedParameter4fNV)(GLuint id, GLsizei len, const GLubyte * name, GLfloat x, GLfloat y, GLfloat z, GLfloat w); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramNamedParameter4fvNV)(GLuint id, GLsizei len, const GLubyte * name, const GLfloat * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramParameter4dNV)(GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramParameter4dvNV)(GLenum target, GLuint index, const GLdouble * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramParameter4fNV)(GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramParameter4fvNV)(GLenum target, GLuint index, const GLfloat * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramParameteri)(GLuint program, GLenum pname, GLint value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramParameteriARB)(GLuint program, GLenum pname, GLint value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramParameteriEXT)(GLuint program, GLenum pname, GLint value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramParameters4dvNV)(GLenum target, GLuint index, GLsizei count, const GLdouble * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramParameters4fvNV)(GLenum target, GLuint index, GLsizei count, const GLfloat * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramPathFragmentInputGenNV)(GLuint program, GLint location, GLenum genMode, GLint components, const GLfloat * coeffs); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramStringARB)(GLenum target, GLenum format, GLsizei len, const void * string); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramSubroutineParametersuivNV)(GLenum target, GLsizei count, const GLuint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniform1d)(GLuint program, GLint location, GLdouble v0); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniform1dEXT)(GLuint program, GLint location, GLdouble x); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniform1dv)(GLuint program, GLint location, GLsizei count, const GLdouble * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniform1dvEXT)(GLuint program, GLint location, GLsizei count, const GLdouble * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniform1f)(GLuint program, GLint location, GLfloat v0); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniform1fEXT)(GLuint program, GLint location, GLfloat v0); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniform1fv)(GLuint program, GLint location, GLsizei count, const GLfloat * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniform1fvEXT)(GLuint program, GLint location, GLsizei count, const GLfloat * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniform1i)(GLuint program, GLint location, GLint v0); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniform1i64ARB)(GLuint program, GLint location, GLint64 x); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniform1i64NV)(GLuint program, GLint location, GLint64EXT x); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniform1i64vARB)(GLuint program, GLint location, GLsizei count, const GLint64 * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniform1i64vNV)(GLuint program, GLint location, GLsizei count, const GLint64EXT * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniform1iEXT)(GLuint program, GLint location, GLint v0); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniform1iv)(GLuint program, GLint location, GLsizei count, const GLint * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniform1ivEXT)(GLuint program, GLint location, GLsizei count, const GLint * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniform1ui)(GLuint program, GLint location, GLuint v0); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniform1ui64ARB)(GLuint program, GLint location, GLuint64 x); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniform1ui64NV)(GLuint program, GLint location, GLuint64EXT x); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniform1ui64vARB)(GLuint program, GLint location, GLsizei count, const GLuint64 * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniform1ui64vNV)(GLuint program, GLint location, GLsizei count, const GLuint64EXT * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniform1uiEXT)(GLuint program, GLint location, GLuint v0); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniform1uiv)(GLuint program, GLint location, GLsizei count, const GLuint * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniform1uivEXT)(GLuint program, GLint location, GLsizei count, const GLuint * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniform2d)(GLuint program, GLint location, GLdouble v0, GLdouble v1); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniform2dEXT)(GLuint program, GLint location, GLdouble x, GLdouble y); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniform2dv)(GLuint program, GLint location, GLsizei count, const GLdouble * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniform2dvEXT)(GLuint program, GLint location, GLsizei count, const GLdouble * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniform2f)(GLuint program, GLint location, GLfloat v0, GLfloat v1); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniform2fEXT)(GLuint program, GLint location, GLfloat v0, GLfloat v1); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniform2fv)(GLuint program, GLint location, GLsizei count, const GLfloat * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniform2fvEXT)(GLuint program, GLint location, GLsizei count, const GLfloat * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniform2i)(GLuint program, GLint location, GLint v0, GLint v1); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniform2i64ARB)(GLuint program, GLint location, GLint64 x, GLint64 y); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniform2i64NV)(GLuint program, GLint location, GLint64EXT x, GLint64EXT y); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniform2i64vARB)(GLuint program, GLint location, GLsizei count, const GLint64 * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniform2i64vNV)(GLuint program, GLint location, GLsizei count, const GLint64EXT * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniform2iEXT)(GLuint program, GLint location, GLint v0, GLint v1); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniform2iv)(GLuint program, GLint location, GLsizei count, const GLint * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniform2ivEXT)(GLuint program, GLint location, GLsizei count, const GLint * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniform2ui)(GLuint program, GLint location, GLuint v0, GLuint v1); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniform2ui64ARB)(GLuint program, GLint location, GLuint64 x, GLuint64 y); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniform2ui64NV)(GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniform2ui64vARB)(GLuint program, GLint location, GLsizei count, const GLuint64 * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniform2ui64vNV)(GLuint program, GLint location, GLsizei count, const GLuint64EXT * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniform2uiEXT)(GLuint program, GLint location, GLuint v0, GLuint v1); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniform2uiv)(GLuint program, GLint location, GLsizei count, const GLuint * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniform2uivEXT)(GLuint program, GLint location, GLsizei count, const GLuint * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniform3d)(GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniform3dEXT)(GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniform3dv)(GLuint program, GLint location, GLsizei count, const GLdouble * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniform3dvEXT)(GLuint program, GLint location, GLsizei count, const GLdouble * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniform3f)(GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniform3fEXT)(GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniform3fv)(GLuint program, GLint location, GLsizei count, const GLfloat * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniform3fvEXT)(GLuint program, GLint location, GLsizei count, const GLfloat * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniform3i)(GLuint program, GLint location, GLint v0, GLint v1, GLint v2); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniform3i64ARB)(GLuint program, GLint location, GLint64 x, GLint64 y, GLint64 z); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniform3i64NV)(GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniform3i64vARB)(GLuint program, GLint location, GLsizei count, const GLint64 * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniform3i64vNV)(GLuint program, GLint location, GLsizei count, const GLint64EXT * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniform3iEXT)(GLuint program, GLint location, GLint v0, GLint v1, GLint v2); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniform3iv)(GLuint program, GLint location, GLsizei count, const GLint * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniform3ivEXT)(GLuint program, GLint location, GLsizei count, const GLint * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniform3ui)(GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniform3ui64ARB)(GLuint program, GLint location, GLuint64 x, GLuint64 y, GLuint64 z); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniform3ui64NV)(GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniform3ui64vARB)(GLuint program, GLint location, GLsizei count, const GLuint64 * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniform3ui64vNV)(GLuint program, GLint location, GLsizei count, const GLuint64EXT * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniform3uiEXT)(GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniform3uiv)(GLuint program, GLint location, GLsizei count, const GLuint * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniform3uivEXT)(GLuint program, GLint location, GLsizei count, const GLuint * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniform4d)(GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2, GLdouble v3); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniform4dEXT)(GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniform4dv)(GLuint program, GLint location, GLsizei count, const GLdouble * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniform4dvEXT)(GLuint program, GLint location, GLsizei count, const GLdouble * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniform4f)(GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniform4fEXT)(GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniform4fv)(GLuint program, GLint location, GLsizei count, const GLfloat * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniform4fvEXT)(GLuint program, GLint location, GLsizei count, const GLfloat * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniform4i)(GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniform4i64ARB)(GLuint program, GLint location, GLint64 x, GLint64 y, GLint64 z, GLint64 w); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniform4i64NV)(GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniform4i64vARB)(GLuint program, GLint location, GLsizei count, const GLint64 * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniform4i64vNV)(GLuint program, GLint location, GLsizei count, const GLint64EXT * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniform4iEXT)(GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniform4iv)(GLuint program, GLint location, GLsizei count, const GLint * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniform4ivEXT)(GLuint program, GLint location, GLsizei count, const GLint * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniform4ui)(GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniform4ui64ARB)(GLuint program, GLint location, GLuint64 x, GLuint64 y, GLuint64 z, GLuint64 w); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniform4ui64NV)(GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniform4ui64vARB)(GLuint program, GLint location, GLsizei count, const GLuint64 * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniform4ui64vNV)(GLuint program, GLint location, GLsizei count, const GLuint64EXT * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniform4uiEXT)(GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniform4uiv)(GLuint program, GLint location, GLsizei count, const GLuint * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniform4uivEXT)(GLuint program, GLint location, GLsizei count, const GLuint * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniformHandleui64ARB)(GLuint program, GLint location, GLuint64 value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniformHandleui64IMG)(GLuint program, GLint location, GLuint64 value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniformHandleui64NV)(GLuint program, GLint location, GLuint64 value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniformHandleui64vARB)(GLuint program, GLint location, GLsizei count, const GLuint64 * values); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniformHandleui64vIMG)(GLuint program, GLint location, GLsizei count, const GLuint64 * values); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniformHandleui64vNV)(GLuint program, GLint location, GLsizei count, const GLuint64 * values); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniformMatrix2dv)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniformMatrix2dvEXT)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniformMatrix2fv)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniformMatrix2fvEXT)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniformMatrix2x3dv)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniformMatrix2x3dvEXT)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniformMatrix2x3fv)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniformMatrix2x3fvEXT)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniformMatrix2x4dv)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniformMatrix2x4dvEXT)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniformMatrix2x4fv)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniformMatrix2x4fvEXT)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniformMatrix3dv)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniformMatrix3dvEXT)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniformMatrix3fv)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniformMatrix3fvEXT)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniformMatrix3x2dv)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniformMatrix3x2dvEXT)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniformMatrix3x2fv)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniformMatrix3x2fvEXT)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniformMatrix3x4dv)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniformMatrix3x4dvEXT)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniformMatrix3x4fv)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniformMatrix3x4fvEXT)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniformMatrix4dv)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniformMatrix4dvEXT)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniformMatrix4fv)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniformMatrix4fvEXT)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniformMatrix4x2dv)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniformMatrix4x2dvEXT)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniformMatrix4x2fv)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniformMatrix4x2fvEXT)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniformMatrix4x3dv)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniformMatrix4x3dvEXT)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniformMatrix4x3fv)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniformMatrix4x3fvEXT)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniformui64NV)(GLuint program, GLint location, GLuint64EXT value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramUniformui64vNV)(GLuint program, GLint location, GLsizei count, const GLuint64EXT * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProgramVertexLimitNV)(GLenum target, GLint limit); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProvokingVertex)(GLenum mode); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glProvokingVertexEXT)(GLenum mode); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPushAttrib)(GLbitfield mask); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPushClientAttrib)(GLbitfield mask); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPushClientAttribDefaultEXT)(GLbitfield mask); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPushDebugGroup)(GLenum source, GLuint id, GLsizei length, const GLchar * message); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPushDebugGroupKHR)(GLenum source, GLuint id, GLsizei length, const GLchar * message); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPushGroupMarkerEXT)(GLsizei length, const GLchar * marker); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPushMatrix)(void); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glPushName)(GLuint name); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glQueryCounter)(GLuint id, GLenum target); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glQueryCounterEXT)(GLuint id, GLenum target); EPOXY_PUBLIC GLbitfield (EPOXY_CALLSPEC *epoxy_glQueryMatrixxOES)(GLfixed * mantissa, GLint * exponent); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glQueryObjectParameteruiAMD)(GLenum target, GLuint id, GLenum pname, GLuint param); EPOXY_PUBLIC GLint (EPOXY_CALLSPEC *epoxy_glQueryResourceNV)(GLenum queryType, GLint tagId, GLuint bufSize, GLint * buffer); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glQueryResourceTagNV)(GLint tagId, const GLchar * tagString); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glRasterPos2d)(GLdouble x, GLdouble y); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glRasterPos2dv)(const GLdouble * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glRasterPos2f)(GLfloat x, GLfloat y); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glRasterPos2fv)(const GLfloat * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glRasterPos2i)(GLint x, GLint y); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glRasterPos2iv)(const GLint * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glRasterPos2s)(GLshort x, GLshort y); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glRasterPos2sv)(const GLshort * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glRasterPos2xOES)(GLfixed x, GLfixed y); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glRasterPos2xvOES)(const GLfixed * coords); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glRasterPos3d)(GLdouble x, GLdouble y, GLdouble z); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glRasterPos3dv)(const GLdouble * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glRasterPos3f)(GLfloat x, GLfloat y, GLfloat z); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glRasterPos3fv)(const GLfloat * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glRasterPos3i)(GLint x, GLint y, GLint z); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glRasterPos3iv)(const GLint * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glRasterPos3s)(GLshort x, GLshort y, GLshort z); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glRasterPos3sv)(const GLshort * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glRasterPos3xOES)(GLfixed x, GLfixed y, GLfixed z); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glRasterPos3xvOES)(const GLfixed * coords); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glRasterPos4d)(GLdouble x, GLdouble y, GLdouble z, GLdouble w); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glRasterPos4dv)(const GLdouble * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glRasterPos4f)(GLfloat x, GLfloat y, GLfloat z, GLfloat w); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glRasterPos4fv)(const GLfloat * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glRasterPos4i)(GLint x, GLint y, GLint z, GLint w); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glRasterPos4iv)(const GLint * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glRasterPos4s)(GLshort x, GLshort y, GLshort z, GLshort w); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glRasterPos4sv)(const GLshort * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glRasterPos4xOES)(GLfixed x, GLfixed y, GLfixed z, GLfixed w); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glRasterPos4xvOES)(const GLfixed * coords); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glRasterSamplesEXT)(GLuint samples, GLboolean fixedsamplelocations); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glReadBuffer)(GLenum src); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glReadBufferIndexedEXT)(GLenum src, GLint index); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glReadBufferNV)(GLenum mode); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glReadInstrumentsSGIX)(GLint marker); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glReadPixels)(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void * pixels); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glReadnPixels)(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void * data); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glReadnPixelsARB)(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void * data); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glReadnPixelsEXT)(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void * data); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glReadnPixelsKHR)(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void * data); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glRectd)(GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glRectdv)(const GLdouble * v1, const GLdouble * v2); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glRectf)(GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glRectfv)(const GLfloat * v1, const GLfloat * v2); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glRecti)(GLint x1, GLint y1, GLint x2, GLint y2); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glRectiv)(const GLint * v1, const GLint * v2); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glRects)(GLshort x1, GLshort y1, GLshort x2, GLshort y2); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glRectsv)(const GLshort * v1, const GLshort * v2); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glRectxOES)(GLfixed x1, GLfixed y1, GLfixed x2, GLfixed y2); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glRectxvOES)(const GLfixed * v1, const GLfixed * v2); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glReferencePlaneSGIX)(const GLdouble * equation); EPOXY_PUBLIC GLboolean (EPOXY_CALLSPEC *epoxy_glReleaseKeyedMutexWin32EXT)(GLuint memory, GLuint64 key); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glReleaseShaderCompiler)(void); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glRenderGpuMaskNV)(GLbitfield mask); EPOXY_PUBLIC GLint (EPOXY_CALLSPEC *epoxy_glRenderMode)(GLenum mode); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glRenderbufferStorage)(GLenum target, GLenum internalformat, GLsizei width, GLsizei height); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glRenderbufferStorageEXT)(GLenum target, GLenum internalformat, GLsizei width, GLsizei height); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glRenderbufferStorageMultisample)(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glRenderbufferStorageMultisampleANGLE)(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glRenderbufferStorageMultisampleAPPLE)(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glRenderbufferStorageMultisampleAdvancedAMD)(GLenum target, GLsizei samples, GLsizei storageSamples, GLenum internalformat, GLsizei width, GLsizei height); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glRenderbufferStorageMultisampleCoverageNV)(GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glRenderbufferStorageMultisampleEXT)(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glRenderbufferStorageMultisampleIMG)(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glRenderbufferStorageMultisampleNV)(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glRenderbufferStorageOES)(GLenum target, GLenum internalformat, GLsizei width, GLsizei height); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glReplacementCodePointerSUN)(GLenum type, GLsizei stride, const void ** pointer); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glReplacementCodeubSUN)(GLubyte code); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glReplacementCodeubvSUN)(const GLubyte * code); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glReplacementCodeuiColor3fVertex3fSUN)(GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glReplacementCodeuiColor3fVertex3fvSUN)(const GLuint * rc, const GLfloat * c, const GLfloat * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glReplacementCodeuiColor4fNormal3fVertex3fSUN)(GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glReplacementCodeuiColor4fNormal3fVertex3fvSUN)(const GLuint * rc, const GLfloat * c, const GLfloat * n, const GLfloat * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glReplacementCodeuiColor4ubVertex3fSUN)(GLuint rc, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glReplacementCodeuiColor4ubVertex3fvSUN)(const GLuint * rc, const GLubyte * c, const GLfloat * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glReplacementCodeuiNormal3fVertex3fSUN)(GLuint rc, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glReplacementCodeuiNormal3fVertex3fvSUN)(const GLuint * rc, const GLfloat * n, const GLfloat * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glReplacementCodeuiSUN)(GLuint code); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN)(GLuint rc, GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN)(const GLuint * rc, const GLfloat * tc, const GLfloat * c, const GLfloat * n, const GLfloat * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN)(GLuint rc, GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN)(const GLuint * rc, const GLfloat * tc, const GLfloat * n, const GLfloat * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glReplacementCodeuiTexCoord2fVertex3fSUN)(GLuint rc, GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glReplacementCodeuiTexCoord2fVertex3fvSUN)(const GLuint * rc, const GLfloat * tc, const GLfloat * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glReplacementCodeuiVertex3fSUN)(GLuint rc, GLfloat x, GLfloat y, GLfloat z); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glReplacementCodeuiVertex3fvSUN)(const GLuint * rc, const GLfloat * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glReplacementCodeuivSUN)(const GLuint * code); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glReplacementCodeusSUN)(GLushort code); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glReplacementCodeusvSUN)(const GLushort * code); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glRequestResidentProgramsNV)(GLsizei n, const GLuint * programs); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glResetHistogram)(GLenum target); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glResetHistogramEXT)(GLenum target); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glResetMemoryObjectParameterNV)(GLuint memory, GLenum pname); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glResetMinmax)(GLenum target); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glResetMinmaxEXT)(GLenum target); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glResizeBuffersMESA)(void); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glResolveDepthValuesNV)(void); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glResolveMultisampleFramebufferAPPLE)(void); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glResumeTransformFeedback)(void); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glResumeTransformFeedbackNV)(void); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glRotated)(GLdouble angle, GLdouble x, GLdouble y, GLdouble z); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glRotatef)(GLfloat angle, GLfloat x, GLfloat y, GLfloat z); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glRotatex)(GLfixed angle, GLfixed x, GLfixed y, GLfixed z); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glRotatexOES)(GLfixed angle, GLfixed x, GLfixed y, GLfixed z); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glSampleCoverage)(GLfloat value, GLboolean invert); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glSampleCoverageARB)(GLfloat value, GLboolean invert); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glSampleCoveragex)(GLclampx value, GLboolean invert); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glSampleCoveragexOES)(GLclampx value, GLboolean invert); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glSampleMapATI)(GLuint dst, GLuint interp, GLenum swizzle); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glSampleMaskEXT)(GLclampf value, GLboolean invert); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glSampleMaskIndexedNV)(GLuint index, GLbitfield mask); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glSampleMaskSGIS)(GLclampf value, GLboolean invert); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glSampleMaski)(GLuint maskNumber, GLbitfield mask); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glSamplePatternEXT)(GLenum pattern); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glSamplePatternSGIS)(GLenum pattern); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glSamplerParameterIiv)(GLuint sampler, GLenum pname, const GLint * param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glSamplerParameterIivEXT)(GLuint sampler, GLenum pname, const GLint * param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glSamplerParameterIivOES)(GLuint sampler, GLenum pname, const GLint * param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glSamplerParameterIuiv)(GLuint sampler, GLenum pname, const GLuint * param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glSamplerParameterIuivEXT)(GLuint sampler, GLenum pname, const GLuint * param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glSamplerParameterIuivOES)(GLuint sampler, GLenum pname, const GLuint * param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glSamplerParameterf)(GLuint sampler, GLenum pname, GLfloat param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glSamplerParameterfv)(GLuint sampler, GLenum pname, const GLfloat * param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glSamplerParameteri)(GLuint sampler, GLenum pname, GLint param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glSamplerParameteriv)(GLuint sampler, GLenum pname, const GLint * param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glScaled)(GLdouble x, GLdouble y, GLdouble z); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glScalef)(GLfloat x, GLfloat y, GLfloat z); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glScalex)(GLfixed x, GLfixed y, GLfixed z); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glScalexOES)(GLfixed x, GLfixed y, GLfixed z); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glScissor)(GLint x, GLint y, GLsizei width, GLsizei height); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glScissorArrayv)(GLuint first, GLsizei count, const GLint * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glScissorArrayvNV)(GLuint first, GLsizei count, const GLint * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glScissorArrayvOES)(GLuint first, GLsizei count, const GLint * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glScissorExclusiveArrayvNV)(GLuint first, GLsizei count, const GLint * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glScissorExclusiveNV)(GLint x, GLint y, GLsizei width, GLsizei height); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glScissorIndexed)(GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glScissorIndexedNV)(GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glScissorIndexedOES)(GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glScissorIndexedv)(GLuint index, const GLint * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glScissorIndexedvNV)(GLuint index, const GLint * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glScissorIndexedvOES)(GLuint index, const GLint * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glSecondaryColor3b)(GLbyte red, GLbyte green, GLbyte blue); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glSecondaryColor3bEXT)(GLbyte red, GLbyte green, GLbyte blue); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glSecondaryColor3bv)(const GLbyte * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glSecondaryColor3bvEXT)(const GLbyte * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glSecondaryColor3d)(GLdouble red, GLdouble green, GLdouble blue); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glSecondaryColor3dEXT)(GLdouble red, GLdouble green, GLdouble blue); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glSecondaryColor3dv)(const GLdouble * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glSecondaryColor3dvEXT)(const GLdouble * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glSecondaryColor3f)(GLfloat red, GLfloat green, GLfloat blue); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glSecondaryColor3fEXT)(GLfloat red, GLfloat green, GLfloat blue); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glSecondaryColor3fv)(const GLfloat * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glSecondaryColor3fvEXT)(const GLfloat * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glSecondaryColor3hNV)(GLhalfNV red, GLhalfNV green, GLhalfNV blue); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glSecondaryColor3hvNV)(const GLhalfNV * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glSecondaryColor3i)(GLint red, GLint green, GLint blue); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glSecondaryColor3iEXT)(GLint red, GLint green, GLint blue); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glSecondaryColor3iv)(const GLint * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glSecondaryColor3ivEXT)(const GLint * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glSecondaryColor3s)(GLshort red, GLshort green, GLshort blue); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glSecondaryColor3sEXT)(GLshort red, GLshort green, GLshort blue); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glSecondaryColor3sv)(const GLshort * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glSecondaryColor3svEXT)(const GLshort * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glSecondaryColor3ub)(GLubyte red, GLubyte green, GLubyte blue); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glSecondaryColor3ubEXT)(GLubyte red, GLubyte green, GLubyte blue); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glSecondaryColor3ubv)(const GLubyte * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glSecondaryColor3ubvEXT)(const GLubyte * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glSecondaryColor3ui)(GLuint red, GLuint green, GLuint blue); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glSecondaryColor3uiEXT)(GLuint red, GLuint green, GLuint blue); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glSecondaryColor3uiv)(const GLuint * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glSecondaryColor3uivEXT)(const GLuint * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glSecondaryColor3us)(GLushort red, GLushort green, GLushort blue); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glSecondaryColor3usEXT)(GLushort red, GLushort green, GLushort blue); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glSecondaryColor3usv)(const GLushort * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glSecondaryColor3usvEXT)(const GLushort * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glSecondaryColorFormatNV)(GLint size, GLenum type, GLsizei stride); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glSecondaryColorP3ui)(GLenum type, GLuint color); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glSecondaryColorP3uiv)(GLenum type, const GLuint * color); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glSecondaryColorPointer)(GLint size, GLenum type, GLsizei stride, const void * pointer); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glSecondaryColorPointerEXT)(GLint size, GLenum type, GLsizei stride, const void * pointer); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glSecondaryColorPointerListIBM)(GLint size, GLenum type, GLint stride, const void ** pointer, GLint ptrstride); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glSelectBuffer)(GLsizei size, GLuint * buffer); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glSelectPerfMonitorCountersAMD)(GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint * counterList); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glSemaphoreParameterui64vEXT)(GLuint semaphore, GLenum pname, const GLuint64 * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glSeparableFilter2D)(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void * row, const void * column); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glSeparableFilter2DEXT)(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void * row, const void * column); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glSetFenceAPPLE)(GLuint fence); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glSetFenceNV)(GLuint fence, GLenum condition); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glSetFragmentShaderConstantATI)(GLuint dst, const GLfloat * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glSetInvariantEXT)(GLuint id, GLenum type, const void * addr); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glSetLocalConstantEXT)(GLuint id, GLenum type, const void * addr); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glSetMultisamplefvAMD)(GLenum pname, GLuint index, const GLfloat * val); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glShadeModel)(GLenum mode); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glShaderBinary)(GLsizei count, const GLuint * shaders, GLenum binaryformat, const void * binary, GLsizei length); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glShaderOp1EXT)(GLenum op, GLuint res, GLuint arg1); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glShaderOp2EXT)(GLenum op, GLuint res, GLuint arg1, GLuint arg2); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glShaderOp3EXT)(GLenum op, GLuint res, GLuint arg1, GLuint arg2, GLuint arg3); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glShaderSource)(GLuint shader, GLsizei count, const GLchar *const* string, const GLint * length); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glShaderSourceARB)(GLhandleARB shaderObj, GLsizei count, const GLcharARB ** string, const GLint * length); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glShaderStorageBlockBinding)(GLuint program, GLuint storageBlockIndex, GLuint storageBlockBinding); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glShadingRateImageBarrierNV)(GLboolean synchronize); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glShadingRateImagePaletteNV)(GLuint viewport, GLuint first, GLsizei count, const GLenum * rates); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glShadingRateSampleOrderCustomNV)(GLenum rate, GLuint samples, const GLint * locations); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glShadingRateSampleOrderNV)(GLenum order); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glSharpenTexFuncSGIS)(GLenum target, GLsizei n, const GLfloat * points); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glSignalSemaphoreEXT)(GLuint semaphore, GLuint numBufferBarriers, const GLuint * buffers, GLuint numTextureBarriers, const GLuint * textures, const GLenum * dstLayouts); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glSignalSemaphoreui64NVX)(GLuint signalGpu, GLsizei fenceObjectCount, const GLuint * semaphoreArray, const GLuint64 * fenceValueArray); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glSignalVkFenceNV)(GLuint64 vkFence); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glSignalVkSemaphoreNV)(GLuint64 vkSemaphore); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glSpecializeShader)(GLuint shader, const GLchar * pEntryPoint, GLuint numSpecializationConstants, const GLuint * pConstantIndex, const GLuint * pConstantValue); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glSpecializeShaderARB)(GLuint shader, const GLchar * pEntryPoint, GLuint numSpecializationConstants, const GLuint * pConstantIndex, const GLuint * pConstantValue); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glSpriteParameterfSGIX)(GLenum pname, GLfloat param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glSpriteParameterfvSGIX)(GLenum pname, const GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glSpriteParameteriSGIX)(GLenum pname, GLint param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glSpriteParameterivSGIX)(GLenum pname, const GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glStartInstrumentsSGIX)(void); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glStartTilingQCOM)(GLuint x, GLuint y, GLuint width, GLuint height, GLbitfield preserveMask); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glStateCaptureNV)(GLuint state, GLenum mode); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glStencilClearTagEXT)(GLsizei stencilTagBits, GLuint stencilClearTag); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glStencilFillPathInstancedNV)(GLsizei numPaths, GLenum pathNameType, const void * paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum transformType, const GLfloat * transformValues); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glStencilFillPathNV)(GLuint path, GLenum fillMode, GLuint mask); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glStencilFunc)(GLenum func, GLint ref, GLuint mask); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glStencilFuncSeparate)(GLenum face, GLenum func, GLint ref, GLuint mask); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glStencilFuncSeparateATI)(GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glStencilMask)(GLuint mask); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glStencilMaskSeparate)(GLenum face, GLuint mask); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glStencilOp)(GLenum fail, GLenum zfail, GLenum zpass); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glStencilOpSeparate)(GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glStencilOpSeparateATI)(GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glStencilOpValueAMD)(GLenum face, GLuint value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glStencilStrokePathInstancedNV)(GLsizei numPaths, GLenum pathNameType, const void * paths, GLuint pathBase, GLint reference, GLuint mask, GLenum transformType, const GLfloat * transformValues); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glStencilStrokePathNV)(GLuint path, GLint reference, GLuint mask); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glStencilThenCoverFillPathInstancedNV)(GLsizei numPaths, GLenum pathNameType, const void * paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat * transformValues); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glStencilThenCoverFillPathNV)(GLuint path, GLenum fillMode, GLuint mask, GLenum coverMode); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glStencilThenCoverStrokePathInstancedNV)(GLsizei numPaths, GLenum pathNameType, const void * paths, GLuint pathBase, GLint reference, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat * transformValues); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glStencilThenCoverStrokePathNV)(GLuint path, GLint reference, GLuint mask, GLenum coverMode); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glStopInstrumentsSGIX)(GLint marker); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glStringMarkerGREMEDY)(GLsizei len, const void * string); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glSubpixelPrecisionBiasNV)(GLuint xbits, GLuint ybits); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glSwizzleEXT)(GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glSyncTextureINTEL)(GLuint texture); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTagSampleBufferSGIX)(void); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTangent3bEXT)(GLbyte tx, GLbyte ty, GLbyte tz); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTangent3bvEXT)(const GLbyte * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTangent3dEXT)(GLdouble tx, GLdouble ty, GLdouble tz); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTangent3dvEXT)(const GLdouble * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTangent3fEXT)(GLfloat tx, GLfloat ty, GLfloat tz); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTangent3fvEXT)(const GLfloat * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTangent3iEXT)(GLint tx, GLint ty, GLint tz); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTangent3ivEXT)(const GLint * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTangent3sEXT)(GLshort tx, GLshort ty, GLshort tz); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTangent3svEXT)(const GLshort * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTangentPointerEXT)(GLenum type, GLsizei stride, const void * pointer); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTbufferMask3DFX)(GLuint mask); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTessellationFactorAMD)(GLfloat factor); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTessellationModeAMD)(GLenum mode); EPOXY_PUBLIC GLboolean (EPOXY_CALLSPEC *epoxy_glTestFenceAPPLE)(GLuint fence); EPOXY_PUBLIC GLboolean (EPOXY_CALLSPEC *epoxy_glTestFenceNV)(GLuint fence); EPOXY_PUBLIC GLboolean (EPOXY_CALLSPEC *epoxy_glTestObjectAPPLE)(GLenum object, GLuint name); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexAttachMemoryNV)(GLenum target, GLuint memory, GLuint64 offset); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexBuffer)(GLenum target, GLenum internalformat, GLuint buffer); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexBufferARB)(GLenum target, GLenum internalformat, GLuint buffer); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexBufferEXT)(GLenum target, GLenum internalformat, GLuint buffer); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexBufferOES)(GLenum target, GLenum internalformat, GLuint buffer); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexBufferRange)(GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexBufferRangeEXT)(GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexBufferRangeOES)(GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexBumpParameterfvATI)(GLenum pname, const GLfloat * param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexBumpParameterivATI)(GLenum pname, const GLint * param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexCoord1bOES)(GLbyte s); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexCoord1bvOES)(const GLbyte * coords); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexCoord1d)(GLdouble s); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexCoord1dv)(const GLdouble * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexCoord1f)(GLfloat s); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexCoord1fv)(const GLfloat * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexCoord1hNV)(GLhalfNV s); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexCoord1hvNV)(const GLhalfNV * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexCoord1i)(GLint s); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexCoord1iv)(const GLint * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexCoord1s)(GLshort s); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexCoord1sv)(const GLshort * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexCoord1xOES)(GLfixed s); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexCoord1xvOES)(const GLfixed * coords); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexCoord2bOES)(GLbyte s, GLbyte t); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexCoord2bvOES)(const GLbyte * coords); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexCoord2d)(GLdouble s, GLdouble t); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexCoord2dv)(const GLdouble * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexCoord2f)(GLfloat s, GLfloat t); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexCoord2fColor3fVertex3fSUN)(GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexCoord2fColor3fVertex3fvSUN)(const GLfloat * tc, const GLfloat * c, const GLfloat * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexCoord2fColor4fNormal3fVertex3fSUN)(GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexCoord2fColor4fNormal3fVertex3fvSUN)(const GLfloat * tc, const GLfloat * c, const GLfloat * n, const GLfloat * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexCoord2fColor4ubVertex3fSUN)(GLfloat s, GLfloat t, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexCoord2fColor4ubVertex3fvSUN)(const GLfloat * tc, const GLubyte * c, const GLfloat * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexCoord2fNormal3fVertex3fSUN)(GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexCoord2fNormal3fVertex3fvSUN)(const GLfloat * tc, const GLfloat * n, const GLfloat * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexCoord2fVertex3fSUN)(GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexCoord2fVertex3fvSUN)(const GLfloat * tc, const GLfloat * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexCoord2fv)(const GLfloat * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexCoord2hNV)(GLhalfNV s, GLhalfNV t); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexCoord2hvNV)(const GLhalfNV * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexCoord2i)(GLint s, GLint t); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexCoord2iv)(const GLint * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexCoord2s)(GLshort s, GLshort t); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexCoord2sv)(const GLshort * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexCoord2xOES)(GLfixed s, GLfixed t); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexCoord2xvOES)(const GLfixed * coords); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexCoord3bOES)(GLbyte s, GLbyte t, GLbyte r); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexCoord3bvOES)(const GLbyte * coords); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexCoord3d)(GLdouble s, GLdouble t, GLdouble r); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexCoord3dv)(const GLdouble * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexCoord3f)(GLfloat s, GLfloat t, GLfloat r); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexCoord3fv)(const GLfloat * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexCoord3hNV)(GLhalfNV s, GLhalfNV t, GLhalfNV r); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexCoord3hvNV)(const GLhalfNV * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexCoord3i)(GLint s, GLint t, GLint r); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexCoord3iv)(const GLint * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexCoord3s)(GLshort s, GLshort t, GLshort r); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexCoord3sv)(const GLshort * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexCoord3xOES)(GLfixed s, GLfixed t, GLfixed r); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexCoord3xvOES)(const GLfixed * coords); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexCoord4bOES)(GLbyte s, GLbyte t, GLbyte r, GLbyte q); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexCoord4bvOES)(const GLbyte * coords); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexCoord4d)(GLdouble s, GLdouble t, GLdouble r, GLdouble q); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexCoord4dv)(const GLdouble * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexCoord4f)(GLfloat s, GLfloat t, GLfloat r, GLfloat q); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexCoord4fColor4fNormal3fVertex4fSUN)(GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z, GLfloat w); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexCoord4fColor4fNormal3fVertex4fvSUN)(const GLfloat * tc, const GLfloat * c, const GLfloat * n, const GLfloat * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexCoord4fVertex4fSUN)(GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat x, GLfloat y, GLfloat z, GLfloat w); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexCoord4fVertex4fvSUN)(const GLfloat * tc, const GLfloat * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexCoord4fv)(const GLfloat * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexCoord4hNV)(GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexCoord4hvNV)(const GLhalfNV * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexCoord4i)(GLint s, GLint t, GLint r, GLint q); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexCoord4iv)(const GLint * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexCoord4s)(GLshort s, GLshort t, GLshort r, GLshort q); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexCoord4sv)(const GLshort * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexCoord4xOES)(GLfixed s, GLfixed t, GLfixed r, GLfixed q); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexCoord4xvOES)(const GLfixed * coords); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexCoordFormatNV)(GLint size, GLenum type, GLsizei stride); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexCoordP1ui)(GLenum type, GLuint coords); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexCoordP1uiv)(GLenum type, const GLuint * coords); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexCoordP2ui)(GLenum type, GLuint coords); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexCoordP2uiv)(GLenum type, const GLuint * coords); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexCoordP3ui)(GLenum type, GLuint coords); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexCoordP3uiv)(GLenum type, const GLuint * coords); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexCoordP4ui)(GLenum type, GLuint coords); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexCoordP4uiv)(GLenum type, const GLuint * coords); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexCoordPointer)(GLint size, GLenum type, GLsizei stride, const void * pointer); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexCoordPointerEXT)(GLint size, GLenum type, GLsizei stride, GLsizei count, const void * pointer); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexCoordPointerListIBM)(GLint size, GLenum type, GLint stride, const void ** pointer, GLint ptrstride); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexCoordPointervINTEL)(GLint size, GLenum type, const void ** pointer); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexEnvf)(GLenum target, GLenum pname, GLfloat param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexEnvfv)(GLenum target, GLenum pname, const GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexEnvi)(GLenum target, GLenum pname, GLint param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexEnviv)(GLenum target, GLenum pname, const GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexEnvx)(GLenum target, GLenum pname, GLfixed param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexEnvxOES)(GLenum target, GLenum pname, GLfixed param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexEnvxv)(GLenum target, GLenum pname, const GLfixed * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexEnvxvOES)(GLenum target, GLenum pname, const GLfixed * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexFilterFuncSGIS)(GLenum target, GLenum filter, GLsizei n, const GLfloat * weights); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexGend)(GLenum coord, GLenum pname, GLdouble param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexGendv)(GLenum coord, GLenum pname, const GLdouble * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexGenf)(GLenum coord, GLenum pname, GLfloat param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexGenfOES)(GLenum coord, GLenum pname, GLfloat param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexGenfv)(GLenum coord, GLenum pname, const GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexGenfvOES)(GLenum coord, GLenum pname, const GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexGeni)(GLenum coord, GLenum pname, GLint param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexGeniOES)(GLenum coord, GLenum pname, GLint param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexGeniv)(GLenum coord, GLenum pname, const GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexGenivOES)(GLenum coord, GLenum pname, const GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexGenxOES)(GLenum coord, GLenum pname, GLfixed param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexGenxvOES)(GLenum coord, GLenum pname, const GLfixed * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexImage1D)(GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void * pixels); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexImage2D)(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void * pixels); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexImage2DMultisample)(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexImage2DMultisampleCoverageNV)(GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexImage3D)(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void * pixels); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexImage3DEXT)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void * pixels); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexImage3DMultisample)(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexImage3DMultisampleCoverageNV)(GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexImage3DOES)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void * pixels); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexImage4DSGIS)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLsizei size4d, GLint border, GLenum format, GLenum type, const void * pixels); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexPageCommitmentARB)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean commit); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexPageCommitmentEXT)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean commit); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexParameterIiv)(GLenum target, GLenum pname, const GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexParameterIivEXT)(GLenum target, GLenum pname, const GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexParameterIivOES)(GLenum target, GLenum pname, const GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexParameterIuiv)(GLenum target, GLenum pname, const GLuint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexParameterIuivEXT)(GLenum target, GLenum pname, const GLuint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexParameterIuivOES)(GLenum target, GLenum pname, const GLuint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexParameterf)(GLenum target, GLenum pname, GLfloat param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexParameterfv)(GLenum target, GLenum pname, const GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexParameteri)(GLenum target, GLenum pname, GLint param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexParameteriv)(GLenum target, GLenum pname, const GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexParameterx)(GLenum target, GLenum pname, GLfixed param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexParameterxOES)(GLenum target, GLenum pname, GLfixed param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexParameterxv)(GLenum target, GLenum pname, const GLfixed * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexParameterxvOES)(GLenum target, GLenum pname, const GLfixed * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexRenderbufferNV)(GLenum target, GLuint renderbuffer); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexStorage1D)(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexStorage1DEXT)(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexStorage2D)(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexStorage2DEXT)(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexStorage2DMultisample)(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexStorage3D)(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexStorage3DEXT)(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexStorage3DMultisample)(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexStorage3DMultisampleOES)(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexStorageMem1DEXT)(GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLuint memory, GLuint64 offset); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexStorageMem2DEXT)(GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLuint memory, GLuint64 offset); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexStorageMem2DMultisampleEXT)(GLenum target, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexStorageMem3DEXT)(GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexStorageMem3DMultisampleEXT)(GLenum target, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexStorageSparseAMD)(GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLsizei layers, GLbitfield flags); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexSubImage1D)(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void * pixels); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexSubImage1DEXT)(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void * pixels); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexSubImage2D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void * pixels); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexSubImage2DEXT)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void * pixels); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexSubImage3D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void * pixels); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexSubImage3DEXT)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void * pixels); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexSubImage3DOES)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void * pixels); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexSubImage4DSGIS)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint woffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei size4d, GLenum format, GLenum type, const void * pixels); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTextureAttachMemoryNV)(GLuint texture, GLuint memory, GLuint64 offset); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTextureBarrier)(void); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTextureBarrierNV)(void); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTextureBuffer)(GLuint texture, GLenum internalformat, GLuint buffer); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTextureBufferEXT)(GLuint texture, GLenum target, GLenum internalformat, GLuint buffer); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTextureBufferRange)(GLuint texture, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTextureBufferRangeEXT)(GLuint texture, GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTextureColorMaskSGIS)(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTextureFoveationParametersQCOM)(GLuint texture, GLuint layer, GLuint focalPoint, GLfloat focalX, GLfloat focalY, GLfloat gainX, GLfloat gainY, GLfloat foveaArea); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTextureImage1DEXT)(GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void * pixels); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTextureImage2DEXT)(GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void * pixels); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTextureImage2DMultisampleCoverageNV)(GLuint texture, GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTextureImage2DMultisampleNV)(GLuint texture, GLenum target, GLsizei samples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTextureImage3DEXT)(GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void * pixels); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTextureImage3DMultisampleCoverageNV)(GLuint texture, GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTextureImage3DMultisampleNV)(GLuint texture, GLenum target, GLsizei samples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTextureLightEXT)(GLenum pname); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTextureMaterialEXT)(GLenum face, GLenum mode); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTextureNormalEXT)(GLenum mode); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTexturePageCommitmentEXT)(GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean commit); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTextureParameterIiv)(GLuint texture, GLenum pname, const GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTextureParameterIivEXT)(GLuint texture, GLenum target, GLenum pname, const GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTextureParameterIuiv)(GLuint texture, GLenum pname, const GLuint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTextureParameterIuivEXT)(GLuint texture, GLenum target, GLenum pname, const GLuint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTextureParameterf)(GLuint texture, GLenum pname, GLfloat param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTextureParameterfEXT)(GLuint texture, GLenum target, GLenum pname, GLfloat param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTextureParameterfv)(GLuint texture, GLenum pname, const GLfloat * param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTextureParameterfvEXT)(GLuint texture, GLenum target, GLenum pname, const GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTextureParameteri)(GLuint texture, GLenum pname, GLint param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTextureParameteriEXT)(GLuint texture, GLenum target, GLenum pname, GLint param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTextureParameteriv)(GLuint texture, GLenum pname, const GLint * param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTextureParameterivEXT)(GLuint texture, GLenum target, GLenum pname, const GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTextureRangeAPPLE)(GLenum target, GLsizei length, const void * pointer); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTextureRenderbufferEXT)(GLuint texture, GLenum target, GLuint renderbuffer); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTextureStorage1D)(GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTextureStorage1DEXT)(GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTextureStorage2D)(GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTextureStorage2DEXT)(GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTextureStorage2DMultisample)(GLuint texture, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTextureStorage2DMultisampleEXT)(GLuint texture, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTextureStorage3D)(GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTextureStorage3DEXT)(GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTextureStorage3DMultisample)(GLuint texture, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTextureStorage3DMultisampleEXT)(GLuint texture, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTextureStorageMem1DEXT)(GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLuint memory, GLuint64 offset); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTextureStorageMem2DEXT)(GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLuint memory, GLuint64 offset); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTextureStorageMem2DMultisampleEXT)(GLuint texture, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTextureStorageMem3DEXT)(GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTextureStorageMem3DMultisampleEXT)(GLuint texture, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTextureStorageSparseAMD)(GLuint texture, GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLsizei layers, GLbitfield flags); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTextureSubImage1D)(GLuint texture, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void * pixels); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTextureSubImage1DEXT)(GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void * pixels); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTextureSubImage2D)(GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void * pixels); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTextureSubImage2DEXT)(GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void * pixels); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTextureSubImage3D)(GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void * pixels); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTextureSubImage3DEXT)(GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void * pixels); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTextureView)(GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTextureViewEXT)(GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTextureViewOES)(GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTrackMatrixNV)(GLenum target, GLuint address, GLenum matrix, GLenum transform); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTransformFeedbackAttribsNV)(GLsizei count, const GLint * attribs, GLenum bufferMode); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTransformFeedbackBufferBase)(GLuint xfb, GLuint index, GLuint buffer); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTransformFeedbackBufferRange)(GLuint xfb, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTransformFeedbackStreamAttribsNV)(GLsizei count, const GLint * attribs, GLsizei nbuffers, const GLint * bufstreams, GLenum bufferMode); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTransformFeedbackVaryings)(GLuint program, GLsizei count, const GLchar *const* varyings, GLenum bufferMode); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTransformFeedbackVaryingsEXT)(GLuint program, GLsizei count, const GLchar *const* varyings, GLenum bufferMode); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTransformFeedbackVaryingsNV)(GLuint program, GLsizei count, const GLint * locations, GLenum bufferMode); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTransformPathNV)(GLuint resultPath, GLuint srcPath, GLenum transformType, const GLfloat * transformValues); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTranslated)(GLdouble x, GLdouble y, GLdouble z); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTranslatef)(GLfloat x, GLfloat y, GLfloat z); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTranslatex)(GLfixed x, GLfixed y, GLfixed z); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glTranslatexOES)(GLfixed x, GLfixed y, GLfixed z); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniform1d)(GLint location, GLdouble x); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniform1dv)(GLint location, GLsizei count, const GLdouble * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniform1f)(GLint location, GLfloat v0); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniform1fARB)(GLint location, GLfloat v0); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniform1fv)(GLint location, GLsizei count, const GLfloat * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniform1fvARB)(GLint location, GLsizei count, const GLfloat * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniform1i)(GLint location, GLint v0); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniform1i64ARB)(GLint location, GLint64 x); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniform1i64NV)(GLint location, GLint64EXT x); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniform1i64vARB)(GLint location, GLsizei count, const GLint64 * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniform1i64vNV)(GLint location, GLsizei count, const GLint64EXT * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniform1iARB)(GLint location, GLint v0); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniform1iv)(GLint location, GLsizei count, const GLint * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniform1ivARB)(GLint location, GLsizei count, const GLint * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniform1ui)(GLint location, GLuint v0); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniform1ui64ARB)(GLint location, GLuint64 x); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniform1ui64NV)(GLint location, GLuint64EXT x); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniform1ui64vARB)(GLint location, GLsizei count, const GLuint64 * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniform1ui64vNV)(GLint location, GLsizei count, const GLuint64EXT * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniform1uiEXT)(GLint location, GLuint v0); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniform1uiv)(GLint location, GLsizei count, const GLuint * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniform1uivEXT)(GLint location, GLsizei count, const GLuint * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniform2d)(GLint location, GLdouble x, GLdouble y); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniform2dv)(GLint location, GLsizei count, const GLdouble * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniform2f)(GLint location, GLfloat v0, GLfloat v1); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniform2fARB)(GLint location, GLfloat v0, GLfloat v1); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniform2fv)(GLint location, GLsizei count, const GLfloat * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniform2fvARB)(GLint location, GLsizei count, const GLfloat * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniform2i)(GLint location, GLint v0, GLint v1); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniform2i64ARB)(GLint location, GLint64 x, GLint64 y); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniform2i64NV)(GLint location, GLint64EXT x, GLint64EXT y); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniform2i64vARB)(GLint location, GLsizei count, const GLint64 * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniform2i64vNV)(GLint location, GLsizei count, const GLint64EXT * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniform2iARB)(GLint location, GLint v0, GLint v1); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniform2iv)(GLint location, GLsizei count, const GLint * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniform2ivARB)(GLint location, GLsizei count, const GLint * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniform2ui)(GLint location, GLuint v0, GLuint v1); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniform2ui64ARB)(GLint location, GLuint64 x, GLuint64 y); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniform2ui64NV)(GLint location, GLuint64EXT x, GLuint64EXT y); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniform2ui64vARB)(GLint location, GLsizei count, const GLuint64 * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniform2ui64vNV)(GLint location, GLsizei count, const GLuint64EXT * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniform2uiEXT)(GLint location, GLuint v0, GLuint v1); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniform2uiv)(GLint location, GLsizei count, const GLuint * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniform2uivEXT)(GLint location, GLsizei count, const GLuint * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniform3d)(GLint location, GLdouble x, GLdouble y, GLdouble z); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniform3dv)(GLint location, GLsizei count, const GLdouble * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniform3f)(GLint location, GLfloat v0, GLfloat v1, GLfloat v2); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniform3fARB)(GLint location, GLfloat v0, GLfloat v1, GLfloat v2); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniform3fv)(GLint location, GLsizei count, const GLfloat * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniform3fvARB)(GLint location, GLsizei count, const GLfloat * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniform3i)(GLint location, GLint v0, GLint v1, GLint v2); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniform3i64ARB)(GLint location, GLint64 x, GLint64 y, GLint64 z); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniform3i64NV)(GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniform3i64vARB)(GLint location, GLsizei count, const GLint64 * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniform3i64vNV)(GLint location, GLsizei count, const GLint64EXT * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniform3iARB)(GLint location, GLint v0, GLint v1, GLint v2); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniform3iv)(GLint location, GLsizei count, const GLint * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniform3ivARB)(GLint location, GLsizei count, const GLint * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniform3ui)(GLint location, GLuint v0, GLuint v1, GLuint v2); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniform3ui64ARB)(GLint location, GLuint64 x, GLuint64 y, GLuint64 z); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniform3ui64NV)(GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniform3ui64vARB)(GLint location, GLsizei count, const GLuint64 * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniform3ui64vNV)(GLint location, GLsizei count, const GLuint64EXT * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniform3uiEXT)(GLint location, GLuint v0, GLuint v1, GLuint v2); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniform3uiv)(GLint location, GLsizei count, const GLuint * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniform3uivEXT)(GLint location, GLsizei count, const GLuint * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniform4d)(GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniform4dv)(GLint location, GLsizei count, const GLdouble * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniform4f)(GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniform4fARB)(GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniform4fv)(GLint location, GLsizei count, const GLfloat * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniform4fvARB)(GLint location, GLsizei count, const GLfloat * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniform4i)(GLint location, GLint v0, GLint v1, GLint v2, GLint v3); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniform4i64ARB)(GLint location, GLint64 x, GLint64 y, GLint64 z, GLint64 w); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniform4i64NV)(GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniform4i64vARB)(GLint location, GLsizei count, const GLint64 * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniform4i64vNV)(GLint location, GLsizei count, const GLint64EXT * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniform4iARB)(GLint location, GLint v0, GLint v1, GLint v2, GLint v3); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniform4iv)(GLint location, GLsizei count, const GLint * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniform4ivARB)(GLint location, GLsizei count, const GLint * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniform4ui)(GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniform4ui64ARB)(GLint location, GLuint64 x, GLuint64 y, GLuint64 z, GLuint64 w); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniform4ui64NV)(GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniform4ui64vARB)(GLint location, GLsizei count, const GLuint64 * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniform4ui64vNV)(GLint location, GLsizei count, const GLuint64EXT * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniform4uiEXT)(GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniform4uiv)(GLint location, GLsizei count, const GLuint * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniform4uivEXT)(GLint location, GLsizei count, const GLuint * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniformBlockBinding)(GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniformBufferEXT)(GLuint program, GLint location, GLuint buffer); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniformHandleui64ARB)(GLint location, GLuint64 value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniformHandleui64IMG)(GLint location, GLuint64 value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniformHandleui64NV)(GLint location, GLuint64 value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniformHandleui64vARB)(GLint location, GLsizei count, const GLuint64 * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniformHandleui64vIMG)(GLint location, GLsizei count, const GLuint64 * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniformHandleui64vNV)(GLint location, GLsizei count, const GLuint64 * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniformMatrix2dv)(GLint location, GLsizei count, GLboolean transpose, const GLdouble * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniformMatrix2fv)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniformMatrix2fvARB)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniformMatrix2x3dv)(GLint location, GLsizei count, GLboolean transpose, const GLdouble * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniformMatrix2x3fv)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniformMatrix2x3fvNV)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniformMatrix2x4dv)(GLint location, GLsizei count, GLboolean transpose, const GLdouble * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniformMatrix2x4fv)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniformMatrix2x4fvNV)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniformMatrix3dv)(GLint location, GLsizei count, GLboolean transpose, const GLdouble * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniformMatrix3fv)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniformMatrix3fvARB)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniformMatrix3x2dv)(GLint location, GLsizei count, GLboolean transpose, const GLdouble * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniformMatrix3x2fv)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniformMatrix3x2fvNV)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniformMatrix3x4dv)(GLint location, GLsizei count, GLboolean transpose, const GLdouble * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniformMatrix3x4fv)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniformMatrix3x4fvNV)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniformMatrix4dv)(GLint location, GLsizei count, GLboolean transpose, const GLdouble * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniformMatrix4fv)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniformMatrix4fvARB)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniformMatrix4x2dv)(GLint location, GLsizei count, GLboolean transpose, const GLdouble * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniformMatrix4x2fv)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniformMatrix4x2fvNV)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniformMatrix4x3dv)(GLint location, GLsizei count, GLboolean transpose, const GLdouble * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniformMatrix4x3fv)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniformMatrix4x3fvNV)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniformSubroutinesuiv)(GLenum shadertype, GLsizei count, const GLuint * indices); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniformui64NV)(GLint location, GLuint64EXT value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUniformui64vNV)(GLint location, GLsizei count, const GLuint64EXT * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUnlockArraysEXT)(void); EPOXY_PUBLIC GLboolean (EPOXY_CALLSPEC *epoxy_glUnmapBuffer)(GLenum target); EPOXY_PUBLIC GLboolean (EPOXY_CALLSPEC *epoxy_glUnmapBufferARB)(GLenum target); EPOXY_PUBLIC GLboolean (EPOXY_CALLSPEC *epoxy_glUnmapBufferOES)(GLenum target); EPOXY_PUBLIC GLboolean (EPOXY_CALLSPEC *epoxy_glUnmapNamedBuffer)(GLuint buffer); EPOXY_PUBLIC GLboolean (EPOXY_CALLSPEC *epoxy_glUnmapNamedBufferEXT)(GLuint buffer); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUnmapObjectBufferATI)(GLuint buffer); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUnmapTexture2DINTEL)(GLuint texture, GLint level); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUpdateObjectBufferATI)(GLuint buffer, GLuint offset, GLsizei size, const void * pointer, GLenum preserve); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUploadGpuMaskNVX)(GLbitfield mask); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUseProgram)(GLuint program); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUseProgramObjectARB)(GLhandleARB programObj); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUseProgramStages)(GLuint pipeline, GLbitfield stages, GLuint program); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUseProgramStagesEXT)(GLuint pipeline, GLbitfield stages, GLuint program); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glUseShaderProgramEXT)(GLenum type, GLuint program); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVDPAUFiniNV)(void); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVDPAUGetSurfaceivNV)(GLvdpauSurfaceNV surface, GLenum pname, GLsizei bufSize, GLsizei * length, GLint * values); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVDPAUInitNV)(const void * vdpDevice, const void * getProcAddress); EPOXY_PUBLIC GLboolean (EPOXY_CALLSPEC *epoxy_glVDPAUIsSurfaceNV)(GLvdpauSurfaceNV surface); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVDPAUMapSurfacesNV)(GLsizei numSurfaces, const GLvdpauSurfaceNV * surfaces); EPOXY_PUBLIC GLvdpauSurfaceNV (EPOXY_CALLSPEC *epoxy_glVDPAURegisterOutputSurfaceNV)(const void * vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint * textureNames); EPOXY_PUBLIC GLvdpauSurfaceNV (EPOXY_CALLSPEC *epoxy_glVDPAURegisterVideoSurfaceNV)(const void * vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint * textureNames); EPOXY_PUBLIC GLvdpauSurfaceNV (EPOXY_CALLSPEC *epoxy_glVDPAURegisterVideoSurfaceWithPictureStructureNV)(const void * vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint * textureNames, GLboolean isFrameStructure); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVDPAUSurfaceAccessNV)(GLvdpauSurfaceNV surface, GLenum access); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVDPAUUnmapSurfacesNV)(GLsizei numSurface, const GLvdpauSurfaceNV * surfaces); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVDPAUUnregisterSurfaceNV)(GLvdpauSurfaceNV surface); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glValidateProgram)(GLuint program); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glValidateProgramARB)(GLhandleARB programObj); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glValidateProgramPipeline)(GLuint pipeline); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glValidateProgramPipelineEXT)(GLuint pipeline); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVariantArrayObjectATI)(GLuint id, GLenum type, GLsizei stride, GLuint buffer, GLuint offset); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVariantPointerEXT)(GLuint id, GLenum type, GLuint stride, const void * addr); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVariantbvEXT)(GLuint id, const GLbyte * addr); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVariantdvEXT)(GLuint id, const GLdouble * addr); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVariantfvEXT)(GLuint id, const GLfloat * addr); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVariantivEXT)(GLuint id, const GLint * addr); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVariantsvEXT)(GLuint id, const GLshort * addr); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVariantubvEXT)(GLuint id, const GLubyte * addr); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVariantuivEXT)(GLuint id, const GLuint * addr); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVariantusvEXT)(GLuint id, const GLushort * addr); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertex2bOES)(GLbyte x, GLbyte y); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertex2bvOES)(const GLbyte * coords); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertex2d)(GLdouble x, GLdouble y); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertex2dv)(const GLdouble * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertex2f)(GLfloat x, GLfloat y); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertex2fv)(const GLfloat * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertex2hNV)(GLhalfNV x, GLhalfNV y); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertex2hvNV)(const GLhalfNV * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertex2i)(GLint x, GLint y); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertex2iv)(const GLint * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertex2s)(GLshort x, GLshort y); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertex2sv)(const GLshort * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertex2xOES)(GLfixed x); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertex2xvOES)(const GLfixed * coords); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertex3bOES)(GLbyte x, GLbyte y, GLbyte z); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertex3bvOES)(const GLbyte * coords); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertex3d)(GLdouble x, GLdouble y, GLdouble z); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertex3dv)(const GLdouble * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertex3f)(GLfloat x, GLfloat y, GLfloat z); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertex3fv)(const GLfloat * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertex3hNV)(GLhalfNV x, GLhalfNV y, GLhalfNV z); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertex3hvNV)(const GLhalfNV * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertex3i)(GLint x, GLint y, GLint z); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertex3iv)(const GLint * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertex3s)(GLshort x, GLshort y, GLshort z); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertex3sv)(const GLshort * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertex3xOES)(GLfixed x, GLfixed y); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertex3xvOES)(const GLfixed * coords); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertex4bOES)(GLbyte x, GLbyte y, GLbyte z, GLbyte w); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertex4bvOES)(const GLbyte * coords); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertex4d)(GLdouble x, GLdouble y, GLdouble z, GLdouble w); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertex4dv)(const GLdouble * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertex4f)(GLfloat x, GLfloat y, GLfloat z, GLfloat w); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertex4fv)(const GLfloat * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertex4hNV)(GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertex4hvNV)(const GLhalfNV * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertex4i)(GLint x, GLint y, GLint z, GLint w); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertex4iv)(const GLint * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertex4s)(GLshort x, GLshort y, GLshort z, GLshort w); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertex4sv)(const GLshort * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertex4xOES)(GLfixed x, GLfixed y, GLfixed z); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertex4xvOES)(const GLfixed * coords); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexArrayAttribBinding)(GLuint vaobj, GLuint attribindex, GLuint bindingindex); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexArrayAttribFormat)(GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexArrayAttribIFormat)(GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexArrayAttribLFormat)(GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexArrayBindVertexBufferEXT)(GLuint vaobj, GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexArrayBindingDivisor)(GLuint vaobj, GLuint bindingindex, GLuint divisor); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexArrayColorOffsetEXT)(GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexArrayEdgeFlagOffsetEXT)(GLuint vaobj, GLuint buffer, GLsizei stride, GLintptr offset); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexArrayElementBuffer)(GLuint vaobj, GLuint buffer); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexArrayFogCoordOffsetEXT)(GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexArrayIndexOffsetEXT)(GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexArrayMultiTexCoordOffsetEXT)(GLuint vaobj, GLuint buffer, GLenum texunit, GLint size, GLenum type, GLsizei stride, GLintptr offset); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexArrayNormalOffsetEXT)(GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexArrayParameteriAPPLE)(GLenum pname, GLint param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexArrayRangeAPPLE)(GLsizei length, void * pointer); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexArrayRangeNV)(GLsizei length, const void * pointer); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexArraySecondaryColorOffsetEXT)(GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexArrayTexCoordOffsetEXT)(GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexArrayVertexAttribBindingEXT)(GLuint vaobj, GLuint attribindex, GLuint bindingindex); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexArrayVertexAttribDivisorEXT)(GLuint vaobj, GLuint index, GLuint divisor); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexArrayVertexAttribFormatEXT)(GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexArrayVertexAttribIFormatEXT)(GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexArrayVertexAttribIOffsetEXT)(GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexArrayVertexAttribLFormatEXT)(GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexArrayVertexAttribLOffsetEXT)(GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexArrayVertexAttribOffsetEXT)(GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLintptr offset); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexArrayVertexBindingDivisorEXT)(GLuint vaobj, GLuint bindingindex, GLuint divisor); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexArrayVertexBuffer)(GLuint vaobj, GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexArrayVertexBuffers)(GLuint vaobj, GLuint first, GLsizei count, const GLuint * buffers, const GLintptr * offsets, const GLsizei * strides); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexArrayVertexOffsetEXT)(GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib1d)(GLuint index, GLdouble x); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib1dARB)(GLuint index, GLdouble x); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib1dNV)(GLuint index, GLdouble x); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib1dv)(GLuint index, const GLdouble * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib1dvARB)(GLuint index, const GLdouble * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib1dvNV)(GLuint index, const GLdouble * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib1f)(GLuint index, GLfloat x); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib1fARB)(GLuint index, GLfloat x); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib1fNV)(GLuint index, GLfloat x); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib1fv)(GLuint index, const GLfloat * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib1fvARB)(GLuint index, const GLfloat * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib1fvNV)(GLuint index, const GLfloat * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib1hNV)(GLuint index, GLhalfNV x); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib1hvNV)(GLuint index, const GLhalfNV * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib1s)(GLuint index, GLshort x); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib1sARB)(GLuint index, GLshort x); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib1sNV)(GLuint index, GLshort x); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib1sv)(GLuint index, const GLshort * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib1svARB)(GLuint index, const GLshort * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib1svNV)(GLuint index, const GLshort * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib2d)(GLuint index, GLdouble x, GLdouble y); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib2dARB)(GLuint index, GLdouble x, GLdouble y); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib2dNV)(GLuint index, GLdouble x, GLdouble y); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib2dv)(GLuint index, const GLdouble * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib2dvARB)(GLuint index, const GLdouble * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib2dvNV)(GLuint index, const GLdouble * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib2f)(GLuint index, GLfloat x, GLfloat y); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib2fARB)(GLuint index, GLfloat x, GLfloat y); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib2fNV)(GLuint index, GLfloat x, GLfloat y); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib2fv)(GLuint index, const GLfloat * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib2fvARB)(GLuint index, const GLfloat * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib2fvNV)(GLuint index, const GLfloat * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib2hNV)(GLuint index, GLhalfNV x, GLhalfNV y); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib2hvNV)(GLuint index, const GLhalfNV * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib2s)(GLuint index, GLshort x, GLshort y); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib2sARB)(GLuint index, GLshort x, GLshort y); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib2sNV)(GLuint index, GLshort x, GLshort y); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib2sv)(GLuint index, const GLshort * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib2svARB)(GLuint index, const GLshort * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib2svNV)(GLuint index, const GLshort * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib3d)(GLuint index, GLdouble x, GLdouble y, GLdouble z); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib3dARB)(GLuint index, GLdouble x, GLdouble y, GLdouble z); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib3dNV)(GLuint index, GLdouble x, GLdouble y, GLdouble z); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib3dv)(GLuint index, const GLdouble * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib3dvARB)(GLuint index, const GLdouble * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib3dvNV)(GLuint index, const GLdouble * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib3f)(GLuint index, GLfloat x, GLfloat y, GLfloat z); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib3fARB)(GLuint index, GLfloat x, GLfloat y, GLfloat z); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib3fNV)(GLuint index, GLfloat x, GLfloat y, GLfloat z); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib3fv)(GLuint index, const GLfloat * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib3fvARB)(GLuint index, const GLfloat * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib3fvNV)(GLuint index, const GLfloat * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib3hNV)(GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib3hvNV)(GLuint index, const GLhalfNV * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib3s)(GLuint index, GLshort x, GLshort y, GLshort z); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib3sARB)(GLuint index, GLshort x, GLshort y, GLshort z); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib3sNV)(GLuint index, GLshort x, GLshort y, GLshort z); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib3sv)(GLuint index, const GLshort * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib3svARB)(GLuint index, const GLshort * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib3svNV)(GLuint index, const GLshort * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib4Nbv)(GLuint index, const GLbyte * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib4NbvARB)(GLuint index, const GLbyte * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib4Niv)(GLuint index, const GLint * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib4NivARB)(GLuint index, const GLint * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib4Nsv)(GLuint index, const GLshort * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib4NsvARB)(GLuint index, const GLshort * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib4Nub)(GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib4NubARB)(GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib4Nubv)(GLuint index, const GLubyte * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib4NubvARB)(GLuint index, const GLubyte * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib4Nuiv)(GLuint index, const GLuint * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib4NuivARB)(GLuint index, const GLuint * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib4Nusv)(GLuint index, const GLushort * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib4NusvARB)(GLuint index, const GLushort * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib4bv)(GLuint index, const GLbyte * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib4bvARB)(GLuint index, const GLbyte * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib4d)(GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib4dARB)(GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib4dNV)(GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib4dv)(GLuint index, const GLdouble * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib4dvARB)(GLuint index, const GLdouble * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib4dvNV)(GLuint index, const GLdouble * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib4f)(GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib4fARB)(GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib4fNV)(GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib4fv)(GLuint index, const GLfloat * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib4fvARB)(GLuint index, const GLfloat * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib4fvNV)(GLuint index, const GLfloat * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib4hNV)(GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib4hvNV)(GLuint index, const GLhalfNV * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib4iv)(GLuint index, const GLint * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib4ivARB)(GLuint index, const GLint * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib4s)(GLuint index, GLshort x, GLshort y, GLshort z, GLshort w); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib4sARB)(GLuint index, GLshort x, GLshort y, GLshort z, GLshort w); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib4sNV)(GLuint index, GLshort x, GLshort y, GLshort z, GLshort w); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib4sv)(GLuint index, const GLshort * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib4svARB)(GLuint index, const GLshort * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib4svNV)(GLuint index, const GLshort * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib4ubNV)(GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib4ubv)(GLuint index, const GLubyte * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib4ubvARB)(GLuint index, const GLubyte * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib4ubvNV)(GLuint index, const GLubyte * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib4uiv)(GLuint index, const GLuint * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib4uivARB)(GLuint index, const GLuint * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib4usv)(GLuint index, const GLushort * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttrib4usvARB)(GLuint index, const GLushort * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribArrayObjectATI)(GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLuint buffer, GLuint offset); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribBinding)(GLuint attribindex, GLuint bindingindex); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribDivisor)(GLuint index, GLuint divisor); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribDivisorANGLE)(GLuint index, GLuint divisor); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribDivisorARB)(GLuint index, GLuint divisor); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribDivisorEXT)(GLuint index, GLuint divisor); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribDivisorNV)(GLuint index, GLuint divisor); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribFormat)(GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribFormatNV)(GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribI1i)(GLuint index, GLint x); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribI1iEXT)(GLuint index, GLint x); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribI1iv)(GLuint index, const GLint * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribI1ivEXT)(GLuint index, const GLint * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribI1ui)(GLuint index, GLuint x); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribI1uiEXT)(GLuint index, GLuint x); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribI1uiv)(GLuint index, const GLuint * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribI1uivEXT)(GLuint index, const GLuint * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribI2i)(GLuint index, GLint x, GLint y); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribI2iEXT)(GLuint index, GLint x, GLint y); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribI2iv)(GLuint index, const GLint * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribI2ivEXT)(GLuint index, const GLint * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribI2ui)(GLuint index, GLuint x, GLuint y); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribI2uiEXT)(GLuint index, GLuint x, GLuint y); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribI2uiv)(GLuint index, const GLuint * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribI2uivEXT)(GLuint index, const GLuint * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribI3i)(GLuint index, GLint x, GLint y, GLint z); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribI3iEXT)(GLuint index, GLint x, GLint y, GLint z); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribI3iv)(GLuint index, const GLint * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribI3ivEXT)(GLuint index, const GLint * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribI3ui)(GLuint index, GLuint x, GLuint y, GLuint z); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribI3uiEXT)(GLuint index, GLuint x, GLuint y, GLuint z); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribI3uiv)(GLuint index, const GLuint * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribI3uivEXT)(GLuint index, const GLuint * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribI4bv)(GLuint index, const GLbyte * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribI4bvEXT)(GLuint index, const GLbyte * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribI4i)(GLuint index, GLint x, GLint y, GLint z, GLint w); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribI4iEXT)(GLuint index, GLint x, GLint y, GLint z, GLint w); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribI4iv)(GLuint index, const GLint * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribI4ivEXT)(GLuint index, const GLint * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribI4sv)(GLuint index, const GLshort * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribI4svEXT)(GLuint index, const GLshort * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribI4ubv)(GLuint index, const GLubyte * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribI4ubvEXT)(GLuint index, const GLubyte * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribI4ui)(GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribI4uiEXT)(GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribI4uiv)(GLuint index, const GLuint * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribI4uivEXT)(GLuint index, const GLuint * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribI4usv)(GLuint index, const GLushort * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribI4usvEXT)(GLuint index, const GLushort * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribIFormat)(GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribIFormatNV)(GLuint index, GLint size, GLenum type, GLsizei stride); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribIPointer)(GLuint index, GLint size, GLenum type, GLsizei stride, const void * pointer); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribIPointerEXT)(GLuint index, GLint size, GLenum type, GLsizei stride, const void * pointer); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribL1d)(GLuint index, GLdouble x); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribL1dEXT)(GLuint index, GLdouble x); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribL1dv)(GLuint index, const GLdouble * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribL1dvEXT)(GLuint index, const GLdouble * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribL1i64NV)(GLuint index, GLint64EXT x); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribL1i64vNV)(GLuint index, const GLint64EXT * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribL1ui64ARB)(GLuint index, GLuint64EXT x); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribL1ui64NV)(GLuint index, GLuint64EXT x); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribL1ui64vARB)(GLuint index, const GLuint64EXT * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribL1ui64vNV)(GLuint index, const GLuint64EXT * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribL2d)(GLuint index, GLdouble x, GLdouble y); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribL2dEXT)(GLuint index, GLdouble x, GLdouble y); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribL2dv)(GLuint index, const GLdouble * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribL2dvEXT)(GLuint index, const GLdouble * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribL2i64NV)(GLuint index, GLint64EXT x, GLint64EXT y); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribL2i64vNV)(GLuint index, const GLint64EXT * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribL2ui64NV)(GLuint index, GLuint64EXT x, GLuint64EXT y); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribL2ui64vNV)(GLuint index, const GLuint64EXT * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribL3d)(GLuint index, GLdouble x, GLdouble y, GLdouble z); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribL3dEXT)(GLuint index, GLdouble x, GLdouble y, GLdouble z); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribL3dv)(GLuint index, const GLdouble * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribL3dvEXT)(GLuint index, const GLdouble * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribL3i64NV)(GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribL3i64vNV)(GLuint index, const GLint64EXT * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribL3ui64NV)(GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribL3ui64vNV)(GLuint index, const GLuint64EXT * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribL4d)(GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribL4dEXT)(GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribL4dv)(GLuint index, const GLdouble * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribL4dvEXT)(GLuint index, const GLdouble * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribL4i64NV)(GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribL4i64vNV)(GLuint index, const GLint64EXT * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribL4ui64NV)(GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribL4ui64vNV)(GLuint index, const GLuint64EXT * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribLFormat)(GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribLFormatNV)(GLuint index, GLint size, GLenum type, GLsizei stride); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribLPointer)(GLuint index, GLint size, GLenum type, GLsizei stride, const void * pointer); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribLPointerEXT)(GLuint index, GLint size, GLenum type, GLsizei stride, const void * pointer); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribP1ui)(GLuint index, GLenum type, GLboolean normalized, GLuint value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribP1uiv)(GLuint index, GLenum type, GLboolean normalized, const GLuint * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribP2ui)(GLuint index, GLenum type, GLboolean normalized, GLuint value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribP2uiv)(GLuint index, GLenum type, GLboolean normalized, const GLuint * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribP3ui)(GLuint index, GLenum type, GLboolean normalized, GLuint value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribP3uiv)(GLuint index, GLenum type, GLboolean normalized, const GLuint * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribP4ui)(GLuint index, GLenum type, GLboolean normalized, GLuint value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribP4uiv)(GLuint index, GLenum type, GLboolean normalized, const GLuint * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribParameteriAMD)(GLuint index, GLenum pname, GLint param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribPointer)(GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void * pointer); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribPointerARB)(GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void * pointer); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribPointerNV)(GLuint index, GLint fsize, GLenum type, GLsizei stride, const void * pointer); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribs1dvNV)(GLuint index, GLsizei count, const GLdouble * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribs1fvNV)(GLuint index, GLsizei count, const GLfloat * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribs1hvNV)(GLuint index, GLsizei n, const GLhalfNV * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribs1svNV)(GLuint index, GLsizei count, const GLshort * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribs2dvNV)(GLuint index, GLsizei count, const GLdouble * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribs2fvNV)(GLuint index, GLsizei count, const GLfloat * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribs2hvNV)(GLuint index, GLsizei n, const GLhalfNV * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribs2svNV)(GLuint index, GLsizei count, const GLshort * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribs3dvNV)(GLuint index, GLsizei count, const GLdouble * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribs3fvNV)(GLuint index, GLsizei count, const GLfloat * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribs3hvNV)(GLuint index, GLsizei n, const GLhalfNV * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribs3svNV)(GLuint index, GLsizei count, const GLshort * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribs4dvNV)(GLuint index, GLsizei count, const GLdouble * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribs4fvNV)(GLuint index, GLsizei count, const GLfloat * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribs4hvNV)(GLuint index, GLsizei n, const GLhalfNV * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribs4svNV)(GLuint index, GLsizei count, const GLshort * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexAttribs4ubvNV)(GLuint index, GLsizei count, const GLubyte * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexBindingDivisor)(GLuint bindingindex, GLuint divisor); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexBlendARB)(GLint count); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexBlendEnvfATI)(GLenum pname, GLfloat param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexBlendEnviATI)(GLenum pname, GLint param); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexFormatNV)(GLint size, GLenum type, GLsizei stride); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexP2ui)(GLenum type, GLuint value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexP2uiv)(GLenum type, const GLuint * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexP3ui)(GLenum type, GLuint value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexP3uiv)(GLenum type, const GLuint * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexP4ui)(GLenum type, GLuint value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexP4uiv)(GLenum type, const GLuint * value); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexPointer)(GLint size, GLenum type, GLsizei stride, const void * pointer); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexPointerEXT)(GLint size, GLenum type, GLsizei stride, GLsizei count, const void * pointer); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexPointerListIBM)(GLint size, GLenum type, GLint stride, const void ** pointer, GLint ptrstride); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexPointervINTEL)(GLint size, GLenum type, const void ** pointer); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexStream1dATI)(GLenum stream, GLdouble x); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexStream1dvATI)(GLenum stream, const GLdouble * coords); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexStream1fATI)(GLenum stream, GLfloat x); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexStream1fvATI)(GLenum stream, const GLfloat * coords); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexStream1iATI)(GLenum stream, GLint x); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexStream1ivATI)(GLenum stream, const GLint * coords); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexStream1sATI)(GLenum stream, GLshort x); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexStream1svATI)(GLenum stream, const GLshort * coords); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexStream2dATI)(GLenum stream, GLdouble x, GLdouble y); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexStream2dvATI)(GLenum stream, const GLdouble * coords); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexStream2fATI)(GLenum stream, GLfloat x, GLfloat y); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexStream2fvATI)(GLenum stream, const GLfloat * coords); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexStream2iATI)(GLenum stream, GLint x, GLint y); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexStream2ivATI)(GLenum stream, const GLint * coords); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexStream2sATI)(GLenum stream, GLshort x, GLshort y); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexStream2svATI)(GLenum stream, const GLshort * coords); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexStream3dATI)(GLenum stream, GLdouble x, GLdouble y, GLdouble z); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexStream3dvATI)(GLenum stream, const GLdouble * coords); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexStream3fATI)(GLenum stream, GLfloat x, GLfloat y, GLfloat z); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexStream3fvATI)(GLenum stream, const GLfloat * coords); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexStream3iATI)(GLenum stream, GLint x, GLint y, GLint z); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexStream3ivATI)(GLenum stream, const GLint * coords); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexStream3sATI)(GLenum stream, GLshort x, GLshort y, GLshort z); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexStream3svATI)(GLenum stream, const GLshort * coords); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexStream4dATI)(GLenum stream, GLdouble x, GLdouble y, GLdouble z, GLdouble w); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexStream4dvATI)(GLenum stream, const GLdouble * coords); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexStream4fATI)(GLenum stream, GLfloat x, GLfloat y, GLfloat z, GLfloat w); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexStream4fvATI)(GLenum stream, const GLfloat * coords); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexStream4iATI)(GLenum stream, GLint x, GLint y, GLint z, GLint w); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexStream4ivATI)(GLenum stream, const GLint * coords); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexStream4sATI)(GLenum stream, GLshort x, GLshort y, GLshort z, GLshort w); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexStream4svATI)(GLenum stream, const GLshort * coords); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexWeightPointerEXT)(GLint size, GLenum type, GLsizei stride, const void * pointer); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexWeightfEXT)(GLfloat weight); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexWeightfvEXT)(const GLfloat * weight); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexWeighthNV)(GLhalfNV weight); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVertexWeighthvNV)(const GLhalfNV * weight); EPOXY_PUBLIC GLenum (EPOXY_CALLSPEC *epoxy_glVideoCaptureNV)(GLuint video_capture_slot, GLuint * sequence_num, GLuint64EXT * capture_time); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVideoCaptureStreamParameterdvNV)(GLuint video_capture_slot, GLuint stream, GLenum pname, const GLdouble * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVideoCaptureStreamParameterfvNV)(GLuint video_capture_slot, GLuint stream, GLenum pname, const GLfloat * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glVideoCaptureStreamParameterivNV)(GLuint video_capture_slot, GLuint stream, GLenum pname, const GLint * params); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glViewport)(GLint x, GLint y, GLsizei width, GLsizei height); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glViewportArrayv)(GLuint first, GLsizei count, const GLfloat * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glViewportArrayvNV)(GLuint first, GLsizei count, const GLfloat * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glViewportArrayvOES)(GLuint first, GLsizei count, const GLfloat * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glViewportIndexedf)(GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glViewportIndexedfNV)(GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glViewportIndexedfOES)(GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glViewportIndexedfv)(GLuint index, const GLfloat * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glViewportIndexedfvNV)(GLuint index, const GLfloat * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glViewportIndexedfvOES)(GLuint index, const GLfloat * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glViewportPositionWScaleNV)(GLuint index, GLfloat xcoeff, GLfloat ycoeff); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glViewportSwizzleNV)(GLuint index, GLenum swizzlex, GLenum swizzley, GLenum swizzlez, GLenum swizzlew); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glWaitSemaphoreEXT)(GLuint semaphore, GLuint numBufferBarriers, const GLuint * buffers, GLuint numTextureBarriers, const GLuint * textures, const GLenum * srcLayouts); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glWaitSemaphoreui64NVX)(GLuint waitGpu, GLsizei fenceObjectCount, const GLuint * semaphoreArray, const GLuint64 * fenceValueArray); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glWaitSync)(GLsync sync, GLbitfield flags, GLuint64 timeout); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glWaitSyncAPPLE)(GLsync sync, GLbitfield flags, GLuint64 timeout); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glWaitVkSemaphoreNV)(GLuint64 vkSemaphore); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glWeightPathsNV)(GLuint resultPath, GLsizei numPaths, const GLuint * paths, const GLfloat * weights); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glWeightPointerARB)(GLint size, GLenum type, GLsizei stride, const void * pointer); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glWeightPointerOES)(GLint size, GLenum type, GLsizei stride, const void * pointer); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glWeightbvARB)(GLint size, const GLbyte * weights); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glWeightdvARB)(GLint size, const GLdouble * weights); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glWeightfvARB)(GLint size, const GLfloat * weights); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glWeightivARB)(GLint size, const GLint * weights); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glWeightsvARB)(GLint size, const GLshort * weights); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glWeightubvARB)(GLint size, const GLubyte * weights); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glWeightuivARB)(GLint size, const GLuint * weights); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glWeightusvARB)(GLint size, const GLushort * weights); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glWindowPos2d)(GLdouble x, GLdouble y); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glWindowPos2dARB)(GLdouble x, GLdouble y); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glWindowPos2dMESA)(GLdouble x, GLdouble y); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glWindowPos2dv)(const GLdouble * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glWindowPos2dvARB)(const GLdouble * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glWindowPos2dvMESA)(const GLdouble * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glWindowPos2f)(GLfloat x, GLfloat y); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glWindowPos2fARB)(GLfloat x, GLfloat y); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glWindowPos2fMESA)(GLfloat x, GLfloat y); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glWindowPos2fv)(const GLfloat * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glWindowPos2fvARB)(const GLfloat * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glWindowPos2fvMESA)(const GLfloat * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glWindowPos2i)(GLint x, GLint y); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glWindowPos2iARB)(GLint x, GLint y); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glWindowPos2iMESA)(GLint x, GLint y); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glWindowPos2iv)(const GLint * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glWindowPos2ivARB)(const GLint * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glWindowPos2ivMESA)(const GLint * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glWindowPos2s)(GLshort x, GLshort y); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glWindowPos2sARB)(GLshort x, GLshort y); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glWindowPos2sMESA)(GLshort x, GLshort y); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glWindowPos2sv)(const GLshort * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glWindowPos2svARB)(const GLshort * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glWindowPos2svMESA)(const GLshort * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glWindowPos3d)(GLdouble x, GLdouble y, GLdouble z); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glWindowPos3dARB)(GLdouble x, GLdouble y, GLdouble z); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glWindowPos3dMESA)(GLdouble x, GLdouble y, GLdouble z); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glWindowPos3dv)(const GLdouble * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glWindowPos3dvARB)(const GLdouble * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glWindowPos3dvMESA)(const GLdouble * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glWindowPos3f)(GLfloat x, GLfloat y, GLfloat z); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glWindowPos3fARB)(GLfloat x, GLfloat y, GLfloat z); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glWindowPos3fMESA)(GLfloat x, GLfloat y, GLfloat z); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glWindowPos3fv)(const GLfloat * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glWindowPos3fvARB)(const GLfloat * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glWindowPos3fvMESA)(const GLfloat * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glWindowPos3i)(GLint x, GLint y, GLint z); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glWindowPos3iARB)(GLint x, GLint y, GLint z); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glWindowPos3iMESA)(GLint x, GLint y, GLint z); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glWindowPos3iv)(const GLint * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glWindowPos3ivARB)(const GLint * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glWindowPos3ivMESA)(const GLint * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glWindowPos3s)(GLshort x, GLshort y, GLshort z); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glWindowPos3sARB)(GLshort x, GLshort y, GLshort z); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glWindowPos3sMESA)(GLshort x, GLshort y, GLshort z); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glWindowPos3sv)(const GLshort * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glWindowPos3svARB)(const GLshort * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glWindowPos3svMESA)(const GLshort * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glWindowPos4dMESA)(GLdouble x, GLdouble y, GLdouble z, GLdouble w); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glWindowPos4dvMESA)(const GLdouble * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glWindowPos4fMESA)(GLfloat x, GLfloat y, GLfloat z, GLfloat w); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glWindowPos4fvMESA)(const GLfloat * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glWindowPos4iMESA)(GLint x, GLint y, GLint z, GLint w); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glWindowPos4ivMESA)(const GLint * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glWindowPos4sMESA)(GLshort x, GLshort y, GLshort z, GLshort w); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glWindowPos4svMESA)(const GLshort * v); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glWindowRectanglesEXT)(GLenum mode, GLsizei count, const GLint * box); EPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glWriteMaskEXT)(GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW); #define glAccum epoxy_glAccum #define glAccumxOES epoxy_glAccumxOES #define glAcquireKeyedMutexWin32EXT epoxy_glAcquireKeyedMutexWin32EXT #define glActiveProgramEXT epoxy_glActiveProgramEXT #define glActiveShaderProgram epoxy_glActiveShaderProgram #define glActiveShaderProgramEXT epoxy_glActiveShaderProgramEXT #define glActiveStencilFaceEXT epoxy_glActiveStencilFaceEXT #define glActiveTexture epoxy_glActiveTexture #define glActiveTextureARB epoxy_glActiveTextureARB #define glActiveVaryingNV epoxy_glActiveVaryingNV #define glAlphaFragmentOp1ATI epoxy_glAlphaFragmentOp1ATI #define glAlphaFragmentOp2ATI epoxy_glAlphaFragmentOp2ATI #define glAlphaFragmentOp3ATI epoxy_glAlphaFragmentOp3ATI #define glAlphaFunc epoxy_glAlphaFunc #define glAlphaFuncQCOM epoxy_glAlphaFuncQCOM #define glAlphaFuncx epoxy_glAlphaFuncx #define glAlphaFuncxOES epoxy_glAlphaFuncxOES #define glAlphaToCoverageDitherControlNV epoxy_glAlphaToCoverageDitherControlNV #define glApplyFramebufferAttachmentCMAAINTEL epoxy_glApplyFramebufferAttachmentCMAAINTEL #define glApplyTextureEXT epoxy_glApplyTextureEXT #define glAreProgramsResidentNV epoxy_glAreProgramsResidentNV #define glAreTexturesResident epoxy_glAreTexturesResident #define glAreTexturesResidentEXT epoxy_glAreTexturesResidentEXT #define glArrayElement epoxy_glArrayElement #define glArrayElementEXT epoxy_glArrayElementEXT #define glArrayObjectATI epoxy_glArrayObjectATI #define glAsyncCopyBufferSubDataNVX epoxy_glAsyncCopyBufferSubDataNVX #define glAsyncCopyImageSubDataNVX epoxy_glAsyncCopyImageSubDataNVX #define glAsyncMarkerSGIX epoxy_glAsyncMarkerSGIX #define glAttachObjectARB epoxy_glAttachObjectARB #define glAttachShader epoxy_glAttachShader #define glBegin epoxy_glBegin #define glBeginConditionalRender epoxy_glBeginConditionalRender #define glBeginConditionalRenderNV epoxy_glBeginConditionalRenderNV #define glBeginConditionalRenderNVX epoxy_glBeginConditionalRenderNVX #define glBeginFragmentShaderATI epoxy_glBeginFragmentShaderATI #define glBeginOcclusionQueryNV epoxy_glBeginOcclusionQueryNV #define glBeginPerfMonitorAMD epoxy_glBeginPerfMonitorAMD #define glBeginPerfQueryINTEL epoxy_glBeginPerfQueryINTEL #define glBeginQuery epoxy_glBeginQuery #define glBeginQueryARB epoxy_glBeginQueryARB #define glBeginQueryEXT epoxy_glBeginQueryEXT #define glBeginQueryIndexed epoxy_glBeginQueryIndexed #define glBeginTransformFeedback epoxy_glBeginTransformFeedback #define glBeginTransformFeedbackEXT epoxy_glBeginTransformFeedbackEXT #define glBeginTransformFeedbackNV epoxy_glBeginTransformFeedbackNV #define glBeginVertexShaderEXT epoxy_glBeginVertexShaderEXT #define glBeginVideoCaptureNV epoxy_glBeginVideoCaptureNV #define glBindAttribLocation epoxy_glBindAttribLocation #define glBindAttribLocationARB epoxy_glBindAttribLocationARB #define glBindBuffer epoxy_glBindBuffer #define glBindBufferARB epoxy_glBindBufferARB #define glBindBufferBase epoxy_glBindBufferBase #define glBindBufferBaseEXT epoxy_glBindBufferBaseEXT #define glBindBufferBaseNV epoxy_glBindBufferBaseNV #define glBindBufferOffsetEXT epoxy_glBindBufferOffsetEXT #define glBindBufferOffsetNV epoxy_glBindBufferOffsetNV #define glBindBufferRange epoxy_glBindBufferRange #define glBindBufferRangeEXT epoxy_glBindBufferRangeEXT #define glBindBufferRangeNV epoxy_glBindBufferRangeNV #define glBindBuffersBase epoxy_glBindBuffersBase #define glBindBuffersRange epoxy_glBindBuffersRange #define glBindFragDataLocation epoxy_glBindFragDataLocation #define glBindFragDataLocationEXT epoxy_glBindFragDataLocationEXT #define glBindFragDataLocationIndexed epoxy_glBindFragDataLocationIndexed #define glBindFragDataLocationIndexedEXT epoxy_glBindFragDataLocationIndexedEXT #define glBindFragmentShaderATI epoxy_glBindFragmentShaderATI #define glBindFramebuffer epoxy_glBindFramebuffer #define glBindFramebufferEXT epoxy_glBindFramebufferEXT #define glBindFramebufferOES epoxy_glBindFramebufferOES #define glBindImageTexture epoxy_glBindImageTexture #define glBindImageTextureEXT epoxy_glBindImageTextureEXT #define glBindImageTextures epoxy_glBindImageTextures #define glBindLightParameterEXT epoxy_glBindLightParameterEXT #define glBindMaterialParameterEXT epoxy_glBindMaterialParameterEXT #define glBindMultiTextureEXT epoxy_glBindMultiTextureEXT #define glBindParameterEXT epoxy_glBindParameterEXT #define glBindProgramARB epoxy_glBindProgramARB #define glBindProgramNV epoxy_glBindProgramNV #define glBindProgramPipeline epoxy_glBindProgramPipeline #define glBindProgramPipelineEXT epoxy_glBindProgramPipelineEXT #define glBindRenderbuffer epoxy_glBindRenderbuffer #define glBindRenderbufferEXT epoxy_glBindRenderbufferEXT #define glBindRenderbufferOES epoxy_glBindRenderbufferOES #define glBindSampler epoxy_glBindSampler #define glBindSamplers epoxy_glBindSamplers #define glBindShadingRateImageNV epoxy_glBindShadingRateImageNV #define glBindTexGenParameterEXT epoxy_glBindTexGenParameterEXT #define glBindTexture epoxy_glBindTexture #define glBindTextureEXT epoxy_glBindTextureEXT #define glBindTextureUnit epoxy_glBindTextureUnit #define glBindTextureUnitParameterEXT epoxy_glBindTextureUnitParameterEXT #define glBindTextures epoxy_glBindTextures #define glBindTransformFeedback epoxy_glBindTransformFeedback #define glBindTransformFeedbackNV epoxy_glBindTransformFeedbackNV #define glBindVertexArray epoxy_glBindVertexArray #define glBindVertexArrayAPPLE epoxy_glBindVertexArrayAPPLE #define glBindVertexArrayOES epoxy_glBindVertexArrayOES #define glBindVertexBuffer epoxy_glBindVertexBuffer #define glBindVertexBuffers epoxy_glBindVertexBuffers #define glBindVertexShaderEXT epoxy_glBindVertexShaderEXT #define glBindVideoCaptureStreamBufferNV epoxy_glBindVideoCaptureStreamBufferNV #define glBindVideoCaptureStreamTextureNV epoxy_glBindVideoCaptureStreamTextureNV #define glBinormal3bEXT epoxy_glBinormal3bEXT #define glBinormal3bvEXT epoxy_glBinormal3bvEXT #define glBinormal3dEXT epoxy_glBinormal3dEXT #define glBinormal3dvEXT epoxy_glBinormal3dvEXT #define glBinormal3fEXT epoxy_glBinormal3fEXT #define glBinormal3fvEXT epoxy_glBinormal3fvEXT #define glBinormal3iEXT epoxy_glBinormal3iEXT #define glBinormal3ivEXT epoxy_glBinormal3ivEXT #define glBinormal3sEXT epoxy_glBinormal3sEXT #define glBinormal3svEXT epoxy_glBinormal3svEXT #define glBinormalPointerEXT epoxy_glBinormalPointerEXT #define glBitmap epoxy_glBitmap #define glBitmapxOES epoxy_glBitmapxOES #define glBlendBarrier epoxy_glBlendBarrier #define glBlendBarrierKHR epoxy_glBlendBarrierKHR #define glBlendBarrierNV epoxy_glBlendBarrierNV #define glBlendColor epoxy_glBlendColor #define glBlendColorEXT epoxy_glBlendColorEXT #define glBlendColorxOES epoxy_glBlendColorxOES #define glBlendEquation epoxy_glBlendEquation #define glBlendEquationEXT epoxy_glBlendEquationEXT #define glBlendEquationIndexedAMD epoxy_glBlendEquationIndexedAMD #define glBlendEquationOES epoxy_glBlendEquationOES #define glBlendEquationSeparate epoxy_glBlendEquationSeparate #define glBlendEquationSeparateEXT epoxy_glBlendEquationSeparateEXT #define glBlendEquationSeparateIndexedAMD epoxy_glBlendEquationSeparateIndexedAMD #define glBlendEquationSeparateOES epoxy_glBlendEquationSeparateOES #define glBlendEquationSeparatei epoxy_glBlendEquationSeparatei #define glBlendEquationSeparateiARB epoxy_glBlendEquationSeparateiARB #define glBlendEquationSeparateiEXT epoxy_glBlendEquationSeparateiEXT #define glBlendEquationSeparateiOES epoxy_glBlendEquationSeparateiOES #define glBlendEquationi epoxy_glBlendEquationi #define glBlendEquationiARB epoxy_glBlendEquationiARB #define glBlendEquationiEXT epoxy_glBlendEquationiEXT #define glBlendEquationiOES epoxy_glBlendEquationiOES #define glBlendFunc epoxy_glBlendFunc #define glBlendFuncIndexedAMD epoxy_glBlendFuncIndexedAMD #define glBlendFuncSeparate epoxy_glBlendFuncSeparate #define glBlendFuncSeparateEXT epoxy_glBlendFuncSeparateEXT #define glBlendFuncSeparateINGR epoxy_glBlendFuncSeparateINGR #define glBlendFuncSeparateIndexedAMD epoxy_glBlendFuncSeparateIndexedAMD #define glBlendFuncSeparateOES epoxy_glBlendFuncSeparateOES #define glBlendFuncSeparatei epoxy_glBlendFuncSeparatei #define glBlendFuncSeparateiARB epoxy_glBlendFuncSeparateiARB #define glBlendFuncSeparateiEXT epoxy_glBlendFuncSeparateiEXT #define glBlendFuncSeparateiOES epoxy_glBlendFuncSeparateiOES #define glBlendFunci epoxy_glBlendFunci #define glBlendFunciARB epoxy_glBlendFunciARB #define glBlendFunciEXT epoxy_glBlendFunciEXT #define glBlendFunciOES epoxy_glBlendFunciOES #define glBlendParameteriNV epoxy_glBlendParameteriNV #define glBlitFramebuffer epoxy_glBlitFramebuffer #define glBlitFramebufferANGLE epoxy_glBlitFramebufferANGLE #define glBlitFramebufferEXT epoxy_glBlitFramebufferEXT #define glBlitFramebufferNV epoxy_glBlitFramebufferNV #define glBlitNamedFramebuffer epoxy_glBlitNamedFramebuffer #define glBufferAddressRangeNV epoxy_glBufferAddressRangeNV #define glBufferAttachMemoryNV epoxy_glBufferAttachMemoryNV #define glBufferData epoxy_glBufferData #define glBufferDataARB epoxy_glBufferDataARB #define glBufferPageCommitmentARB epoxy_glBufferPageCommitmentARB #define glBufferParameteriAPPLE epoxy_glBufferParameteriAPPLE #define glBufferStorage epoxy_glBufferStorage #define glBufferStorageEXT epoxy_glBufferStorageEXT #define glBufferStorageExternalEXT epoxy_glBufferStorageExternalEXT #define glBufferStorageMemEXT epoxy_glBufferStorageMemEXT #define glBufferSubData epoxy_glBufferSubData #define glBufferSubDataARB epoxy_glBufferSubDataARB #define glCallCommandListNV epoxy_glCallCommandListNV #define glCallList epoxy_glCallList #define glCallLists epoxy_glCallLists #define glCheckFramebufferStatus epoxy_glCheckFramebufferStatus #define glCheckFramebufferStatusEXT epoxy_glCheckFramebufferStatusEXT #define glCheckFramebufferStatusOES epoxy_glCheckFramebufferStatusOES #define glCheckNamedFramebufferStatus epoxy_glCheckNamedFramebufferStatus #define glCheckNamedFramebufferStatusEXT epoxy_glCheckNamedFramebufferStatusEXT #define glClampColor epoxy_glClampColor #define glClampColorARB epoxy_glClampColorARB #define glClear epoxy_glClear #define glClearAccum epoxy_glClearAccum #define glClearAccumxOES epoxy_glClearAccumxOES #define glClearBufferData epoxy_glClearBufferData #define glClearBufferSubData epoxy_glClearBufferSubData #define glClearBufferfi epoxy_glClearBufferfi #define glClearBufferfv epoxy_glClearBufferfv #define glClearBufferiv epoxy_glClearBufferiv #define glClearBufferuiv epoxy_glClearBufferuiv #define glClearColor epoxy_glClearColor #define glClearColorIiEXT epoxy_glClearColorIiEXT #define glClearColorIuiEXT epoxy_glClearColorIuiEXT #define glClearColorx epoxy_glClearColorx #define glClearColorxOES epoxy_glClearColorxOES #define glClearDepth epoxy_glClearDepth #define glClearDepthdNV epoxy_glClearDepthdNV #define glClearDepthf epoxy_glClearDepthf #define glClearDepthfOES epoxy_glClearDepthfOES #define glClearDepthx epoxy_glClearDepthx #define glClearDepthxOES epoxy_glClearDepthxOES #define glClearIndex epoxy_glClearIndex #define glClearNamedBufferData epoxy_glClearNamedBufferData #define glClearNamedBufferDataEXT epoxy_glClearNamedBufferDataEXT #define glClearNamedBufferSubData epoxy_glClearNamedBufferSubData #define glClearNamedBufferSubDataEXT epoxy_glClearNamedBufferSubDataEXT #define glClearNamedFramebufferfi epoxy_glClearNamedFramebufferfi #define glClearNamedFramebufferfv epoxy_glClearNamedFramebufferfv #define glClearNamedFramebufferiv epoxy_glClearNamedFramebufferiv #define glClearNamedFramebufferuiv epoxy_glClearNamedFramebufferuiv #define glClearPixelLocalStorageuiEXT epoxy_glClearPixelLocalStorageuiEXT #define glClearStencil epoxy_glClearStencil #define glClearTexImage epoxy_glClearTexImage #define glClearTexImageEXT epoxy_glClearTexImageEXT #define glClearTexSubImage epoxy_glClearTexSubImage #define glClearTexSubImageEXT epoxy_glClearTexSubImageEXT #define glClientActiveTexture epoxy_glClientActiveTexture #define glClientActiveTextureARB epoxy_glClientActiveTextureARB #define glClientActiveVertexStreamATI epoxy_glClientActiveVertexStreamATI #define glClientAttribDefaultEXT epoxy_glClientAttribDefaultEXT #define glClientWaitSemaphoreui64NVX epoxy_glClientWaitSemaphoreui64NVX #define glClientWaitSync epoxy_glClientWaitSync #define glClientWaitSyncAPPLE epoxy_glClientWaitSyncAPPLE #define glClipControl epoxy_glClipControl #define glClipControlEXT epoxy_glClipControlEXT #define glClipPlane epoxy_glClipPlane #define glClipPlanef epoxy_glClipPlanef #define glClipPlanefIMG epoxy_glClipPlanefIMG #define glClipPlanefOES epoxy_glClipPlanefOES #define glClipPlanex epoxy_glClipPlanex #define glClipPlanexIMG epoxy_glClipPlanexIMG #define glClipPlanexOES epoxy_glClipPlanexOES #define glColor3b epoxy_glColor3b #define glColor3bv epoxy_glColor3bv #define glColor3d epoxy_glColor3d #define glColor3dv epoxy_glColor3dv #define glColor3f epoxy_glColor3f #define glColor3fVertex3fSUN epoxy_glColor3fVertex3fSUN #define glColor3fVertex3fvSUN epoxy_glColor3fVertex3fvSUN #define glColor3fv epoxy_glColor3fv #define glColor3hNV epoxy_glColor3hNV #define glColor3hvNV epoxy_glColor3hvNV #define glColor3i epoxy_glColor3i #define glColor3iv epoxy_glColor3iv #define glColor3s epoxy_glColor3s #define glColor3sv epoxy_glColor3sv #define glColor3ub epoxy_glColor3ub #define glColor3ubv epoxy_glColor3ubv #define glColor3ui epoxy_glColor3ui #define glColor3uiv epoxy_glColor3uiv #define glColor3us epoxy_glColor3us #define glColor3usv epoxy_glColor3usv #define glColor3xOES epoxy_glColor3xOES #define glColor3xvOES epoxy_glColor3xvOES #define glColor4b epoxy_glColor4b #define glColor4bv epoxy_glColor4bv #define glColor4d epoxy_glColor4d #define glColor4dv epoxy_glColor4dv #define glColor4f epoxy_glColor4f #define glColor4fNormal3fVertex3fSUN epoxy_glColor4fNormal3fVertex3fSUN #define glColor4fNormal3fVertex3fvSUN epoxy_glColor4fNormal3fVertex3fvSUN #define glColor4fv epoxy_glColor4fv #define glColor4hNV epoxy_glColor4hNV #define glColor4hvNV epoxy_glColor4hvNV #define glColor4i epoxy_glColor4i #define glColor4iv epoxy_glColor4iv #define glColor4s epoxy_glColor4s #define glColor4sv epoxy_glColor4sv #define glColor4ub epoxy_glColor4ub #define glColor4ubVertex2fSUN epoxy_glColor4ubVertex2fSUN #define glColor4ubVertex2fvSUN epoxy_glColor4ubVertex2fvSUN #define glColor4ubVertex3fSUN epoxy_glColor4ubVertex3fSUN #define glColor4ubVertex3fvSUN epoxy_glColor4ubVertex3fvSUN #define glColor4ubv epoxy_glColor4ubv #define glColor4ui epoxy_glColor4ui #define glColor4uiv epoxy_glColor4uiv #define glColor4us epoxy_glColor4us #define glColor4usv epoxy_glColor4usv #define glColor4x epoxy_glColor4x #define glColor4xOES epoxy_glColor4xOES #define glColor4xvOES epoxy_glColor4xvOES #define glColorFormatNV epoxy_glColorFormatNV #define glColorFragmentOp1ATI epoxy_glColorFragmentOp1ATI #define glColorFragmentOp2ATI epoxy_glColorFragmentOp2ATI #define glColorFragmentOp3ATI epoxy_glColorFragmentOp3ATI #define glColorMask epoxy_glColorMask #define glColorMaskIndexedEXT epoxy_glColorMaskIndexedEXT #define glColorMaski epoxy_glColorMaski #define glColorMaskiEXT epoxy_glColorMaskiEXT #define glColorMaskiOES epoxy_glColorMaskiOES #define glColorMaterial epoxy_glColorMaterial #define glColorP3ui epoxy_glColorP3ui #define glColorP3uiv epoxy_glColorP3uiv #define glColorP4ui epoxy_glColorP4ui #define glColorP4uiv epoxy_glColorP4uiv #define glColorPointer epoxy_glColorPointer #define glColorPointerEXT epoxy_glColorPointerEXT #define glColorPointerListIBM epoxy_glColorPointerListIBM #define glColorPointervINTEL epoxy_glColorPointervINTEL #define glColorSubTable epoxy_glColorSubTable #define glColorSubTableEXT epoxy_glColorSubTableEXT #define glColorTable epoxy_glColorTable #define glColorTableEXT epoxy_glColorTableEXT #define glColorTableParameterfv epoxy_glColorTableParameterfv #define glColorTableParameterfvSGI epoxy_glColorTableParameterfvSGI #define glColorTableParameteriv epoxy_glColorTableParameteriv #define glColorTableParameterivSGI epoxy_glColorTableParameterivSGI #define glColorTableSGI epoxy_glColorTableSGI #define glCombinerInputNV epoxy_glCombinerInputNV #define glCombinerOutputNV epoxy_glCombinerOutputNV #define glCombinerParameterfNV epoxy_glCombinerParameterfNV #define glCombinerParameterfvNV epoxy_glCombinerParameterfvNV #define glCombinerParameteriNV epoxy_glCombinerParameteriNV #define glCombinerParameterivNV epoxy_glCombinerParameterivNV #define glCombinerStageParameterfvNV epoxy_glCombinerStageParameterfvNV #define glCommandListSegmentsNV epoxy_glCommandListSegmentsNV #define glCompileCommandListNV epoxy_glCompileCommandListNV #define glCompileShader epoxy_glCompileShader #define glCompileShaderARB epoxy_glCompileShaderARB #define glCompileShaderIncludeARB epoxy_glCompileShaderIncludeARB #define glCompressedMultiTexImage1DEXT epoxy_glCompressedMultiTexImage1DEXT #define glCompressedMultiTexImage2DEXT epoxy_glCompressedMultiTexImage2DEXT #define glCompressedMultiTexImage3DEXT epoxy_glCompressedMultiTexImage3DEXT #define glCompressedMultiTexSubImage1DEXT epoxy_glCompressedMultiTexSubImage1DEXT #define glCompressedMultiTexSubImage2DEXT epoxy_glCompressedMultiTexSubImage2DEXT #define glCompressedMultiTexSubImage3DEXT epoxy_glCompressedMultiTexSubImage3DEXT #define glCompressedTexImage1D epoxy_glCompressedTexImage1D #define glCompressedTexImage1DARB epoxy_glCompressedTexImage1DARB #define glCompressedTexImage2D epoxy_glCompressedTexImage2D #define glCompressedTexImage2DARB epoxy_glCompressedTexImage2DARB #define glCompressedTexImage3D epoxy_glCompressedTexImage3D #define glCompressedTexImage3DARB epoxy_glCompressedTexImage3DARB #define glCompressedTexImage3DOES epoxy_glCompressedTexImage3DOES #define glCompressedTexSubImage1D epoxy_glCompressedTexSubImage1D #define glCompressedTexSubImage1DARB epoxy_glCompressedTexSubImage1DARB #define glCompressedTexSubImage2D epoxy_glCompressedTexSubImage2D #define glCompressedTexSubImage2DARB epoxy_glCompressedTexSubImage2DARB #define glCompressedTexSubImage3D epoxy_glCompressedTexSubImage3D #define glCompressedTexSubImage3DARB epoxy_glCompressedTexSubImage3DARB #define glCompressedTexSubImage3DOES epoxy_glCompressedTexSubImage3DOES #define glCompressedTextureImage1DEXT epoxy_glCompressedTextureImage1DEXT #define glCompressedTextureImage2DEXT epoxy_glCompressedTextureImage2DEXT #define glCompressedTextureImage3DEXT epoxy_glCompressedTextureImage3DEXT #define glCompressedTextureSubImage1D epoxy_glCompressedTextureSubImage1D #define glCompressedTextureSubImage1DEXT epoxy_glCompressedTextureSubImage1DEXT #define glCompressedTextureSubImage2D epoxy_glCompressedTextureSubImage2D #define glCompressedTextureSubImage2DEXT epoxy_glCompressedTextureSubImage2DEXT #define glCompressedTextureSubImage3D epoxy_glCompressedTextureSubImage3D #define glCompressedTextureSubImage3DEXT epoxy_glCompressedTextureSubImage3DEXT #define glConservativeRasterParameterfNV epoxy_glConservativeRasterParameterfNV #define glConservativeRasterParameteriNV epoxy_glConservativeRasterParameteriNV #define glConvolutionFilter1D epoxy_glConvolutionFilter1D #define glConvolutionFilter1DEXT epoxy_glConvolutionFilter1DEXT #define glConvolutionFilter2D epoxy_glConvolutionFilter2D #define glConvolutionFilter2DEXT epoxy_glConvolutionFilter2DEXT #define glConvolutionParameterf epoxy_glConvolutionParameterf #define glConvolutionParameterfEXT epoxy_glConvolutionParameterfEXT #define glConvolutionParameterfv epoxy_glConvolutionParameterfv #define glConvolutionParameterfvEXT epoxy_glConvolutionParameterfvEXT #define glConvolutionParameteri epoxy_glConvolutionParameteri #define glConvolutionParameteriEXT epoxy_glConvolutionParameteriEXT #define glConvolutionParameteriv epoxy_glConvolutionParameteriv #define glConvolutionParameterivEXT epoxy_glConvolutionParameterivEXT #define glConvolutionParameterxOES epoxy_glConvolutionParameterxOES #define glConvolutionParameterxvOES epoxy_glConvolutionParameterxvOES #define glCopyBufferSubData epoxy_glCopyBufferSubData #define glCopyBufferSubDataNV epoxy_glCopyBufferSubDataNV #define glCopyColorSubTable epoxy_glCopyColorSubTable #define glCopyColorSubTableEXT epoxy_glCopyColorSubTableEXT #define glCopyColorTable epoxy_glCopyColorTable #define glCopyColorTableSGI epoxy_glCopyColorTableSGI #define glCopyConvolutionFilter1D epoxy_glCopyConvolutionFilter1D #define glCopyConvolutionFilter1DEXT epoxy_glCopyConvolutionFilter1DEXT #define glCopyConvolutionFilter2D epoxy_glCopyConvolutionFilter2D #define glCopyConvolutionFilter2DEXT epoxy_glCopyConvolutionFilter2DEXT #define glCopyImageSubData epoxy_glCopyImageSubData #define glCopyImageSubDataEXT epoxy_glCopyImageSubDataEXT #define glCopyImageSubDataNV epoxy_glCopyImageSubDataNV #define glCopyImageSubDataOES epoxy_glCopyImageSubDataOES #define glCopyMultiTexImage1DEXT epoxy_glCopyMultiTexImage1DEXT #define glCopyMultiTexImage2DEXT epoxy_glCopyMultiTexImage2DEXT #define glCopyMultiTexSubImage1DEXT epoxy_glCopyMultiTexSubImage1DEXT #define glCopyMultiTexSubImage2DEXT epoxy_glCopyMultiTexSubImage2DEXT #define glCopyMultiTexSubImage3DEXT epoxy_glCopyMultiTexSubImage3DEXT #define glCopyNamedBufferSubData epoxy_glCopyNamedBufferSubData #define glCopyPathNV epoxy_glCopyPathNV #define glCopyPixels epoxy_glCopyPixels #define glCopyTexImage1D epoxy_glCopyTexImage1D #define glCopyTexImage1DEXT epoxy_glCopyTexImage1DEXT #define glCopyTexImage2D epoxy_glCopyTexImage2D #define glCopyTexImage2DEXT epoxy_glCopyTexImage2DEXT #define glCopyTexSubImage1D epoxy_glCopyTexSubImage1D #define glCopyTexSubImage1DEXT epoxy_glCopyTexSubImage1DEXT #define glCopyTexSubImage2D epoxy_glCopyTexSubImage2D #define glCopyTexSubImage2DEXT epoxy_glCopyTexSubImage2DEXT #define glCopyTexSubImage3D epoxy_glCopyTexSubImage3D #define glCopyTexSubImage3DEXT epoxy_glCopyTexSubImage3DEXT #define glCopyTexSubImage3DOES epoxy_glCopyTexSubImage3DOES #define glCopyTextureImage1DEXT epoxy_glCopyTextureImage1DEXT #define glCopyTextureImage2DEXT epoxy_glCopyTextureImage2DEXT #define glCopyTextureLevelsAPPLE epoxy_glCopyTextureLevelsAPPLE #define glCopyTextureSubImage1D epoxy_glCopyTextureSubImage1D #define glCopyTextureSubImage1DEXT epoxy_glCopyTextureSubImage1DEXT #define glCopyTextureSubImage2D epoxy_glCopyTextureSubImage2D #define glCopyTextureSubImage2DEXT epoxy_glCopyTextureSubImage2DEXT #define glCopyTextureSubImage3D epoxy_glCopyTextureSubImage3D #define glCopyTextureSubImage3DEXT epoxy_glCopyTextureSubImage3DEXT #define glCoverFillPathInstancedNV epoxy_glCoverFillPathInstancedNV #define glCoverFillPathNV epoxy_glCoverFillPathNV #define glCoverStrokePathInstancedNV epoxy_glCoverStrokePathInstancedNV #define glCoverStrokePathNV epoxy_glCoverStrokePathNV #define glCoverageMaskNV epoxy_glCoverageMaskNV #define glCoverageModulationNV epoxy_glCoverageModulationNV #define glCoverageModulationTableNV epoxy_glCoverageModulationTableNV #define glCoverageOperationNV epoxy_glCoverageOperationNV #define glCreateBuffers epoxy_glCreateBuffers #define glCreateCommandListsNV epoxy_glCreateCommandListsNV #define glCreateFramebuffers epoxy_glCreateFramebuffers #define glCreateMemoryObjectsEXT epoxy_glCreateMemoryObjectsEXT #define glCreatePerfQueryINTEL epoxy_glCreatePerfQueryINTEL #define glCreateProgram epoxy_glCreateProgram #define glCreateProgramObjectARB epoxy_glCreateProgramObjectARB #define glCreateProgramPipelines epoxy_glCreateProgramPipelines #define glCreateProgressFenceNVX epoxy_glCreateProgressFenceNVX #define glCreateQueries epoxy_glCreateQueries #define glCreateRenderbuffers epoxy_glCreateRenderbuffers #define glCreateSamplers epoxy_glCreateSamplers #define glCreateShader epoxy_glCreateShader #define glCreateShaderObjectARB epoxy_glCreateShaderObjectARB #define glCreateShaderProgramEXT epoxy_glCreateShaderProgramEXT #define glCreateShaderProgramv epoxy_glCreateShaderProgramv #define glCreateShaderProgramvEXT epoxy_glCreateShaderProgramvEXT #define glCreateStatesNV epoxy_glCreateStatesNV #define glCreateSyncFromCLeventARB epoxy_glCreateSyncFromCLeventARB #define glCreateTextures epoxy_glCreateTextures #define glCreateTransformFeedbacks epoxy_glCreateTransformFeedbacks #define glCreateVertexArrays epoxy_glCreateVertexArrays #define glCullFace epoxy_glCullFace #define glCullParameterdvEXT epoxy_glCullParameterdvEXT #define glCullParameterfvEXT epoxy_glCullParameterfvEXT #define glCurrentPaletteMatrixARB epoxy_glCurrentPaletteMatrixARB #define glCurrentPaletteMatrixOES epoxy_glCurrentPaletteMatrixOES #define glDebugMessageCallback epoxy_glDebugMessageCallback #define glDebugMessageCallbackAMD epoxy_glDebugMessageCallbackAMD #define glDebugMessageCallbackARB epoxy_glDebugMessageCallbackARB #define glDebugMessageCallbackKHR epoxy_glDebugMessageCallbackKHR #define glDebugMessageControl epoxy_glDebugMessageControl #define glDebugMessageControlARB epoxy_glDebugMessageControlARB #define glDebugMessageControlKHR epoxy_glDebugMessageControlKHR #define glDebugMessageEnableAMD epoxy_glDebugMessageEnableAMD #define glDebugMessageInsert epoxy_glDebugMessageInsert #define glDebugMessageInsertAMD epoxy_glDebugMessageInsertAMD #define glDebugMessageInsertARB epoxy_glDebugMessageInsertARB #define glDebugMessageInsertKHR epoxy_glDebugMessageInsertKHR #define glDeformSGIX epoxy_glDeformSGIX #define glDeformationMap3dSGIX epoxy_glDeformationMap3dSGIX #define glDeformationMap3fSGIX epoxy_glDeformationMap3fSGIX #define glDeleteAsyncMarkersSGIX epoxy_glDeleteAsyncMarkersSGIX #define glDeleteBuffers epoxy_glDeleteBuffers #define glDeleteBuffersARB epoxy_glDeleteBuffersARB #define glDeleteCommandListsNV epoxy_glDeleteCommandListsNV #define glDeleteFencesAPPLE epoxy_glDeleteFencesAPPLE #define glDeleteFencesNV epoxy_glDeleteFencesNV #define glDeleteFragmentShaderATI epoxy_glDeleteFragmentShaderATI #define glDeleteFramebuffers epoxy_glDeleteFramebuffers #define glDeleteFramebuffersEXT epoxy_glDeleteFramebuffersEXT #define glDeleteFramebuffersOES epoxy_glDeleteFramebuffersOES #define glDeleteLists epoxy_glDeleteLists #define glDeleteMemoryObjectsEXT epoxy_glDeleteMemoryObjectsEXT #define glDeleteNamedStringARB epoxy_glDeleteNamedStringARB #define glDeleteNamesAMD epoxy_glDeleteNamesAMD #define glDeleteObjectARB epoxy_glDeleteObjectARB #define glDeleteOcclusionQueriesNV epoxy_glDeleteOcclusionQueriesNV #define glDeletePathsNV epoxy_glDeletePathsNV #define glDeletePerfMonitorsAMD epoxy_glDeletePerfMonitorsAMD #define glDeletePerfQueryINTEL epoxy_glDeletePerfQueryINTEL #define glDeleteProgram epoxy_glDeleteProgram #define glDeleteProgramPipelines epoxy_glDeleteProgramPipelines #define glDeleteProgramPipelinesEXT epoxy_glDeleteProgramPipelinesEXT #define glDeleteProgramsARB epoxy_glDeleteProgramsARB #define glDeleteProgramsNV epoxy_glDeleteProgramsNV #define glDeleteQueries epoxy_glDeleteQueries #define glDeleteQueriesARB epoxy_glDeleteQueriesARB #define glDeleteQueriesEXT epoxy_glDeleteQueriesEXT #define glDeleteQueryResourceTagNV epoxy_glDeleteQueryResourceTagNV #define glDeleteRenderbuffers epoxy_glDeleteRenderbuffers #define glDeleteRenderbuffersEXT epoxy_glDeleteRenderbuffersEXT #define glDeleteRenderbuffersOES epoxy_glDeleteRenderbuffersOES #define glDeleteSamplers epoxy_glDeleteSamplers #define glDeleteSemaphoresEXT epoxy_glDeleteSemaphoresEXT #define glDeleteShader epoxy_glDeleteShader #define glDeleteStatesNV epoxy_glDeleteStatesNV #define glDeleteSync epoxy_glDeleteSync #define glDeleteSyncAPPLE epoxy_glDeleteSyncAPPLE #define glDeleteTextures epoxy_glDeleteTextures #define glDeleteTexturesEXT epoxy_glDeleteTexturesEXT #define glDeleteTransformFeedbacks epoxy_glDeleteTransformFeedbacks #define glDeleteTransformFeedbacksNV epoxy_glDeleteTransformFeedbacksNV #define glDeleteVertexArrays epoxy_glDeleteVertexArrays #define glDeleteVertexArraysAPPLE epoxy_glDeleteVertexArraysAPPLE #define glDeleteVertexArraysOES epoxy_glDeleteVertexArraysOES #define glDeleteVertexShaderEXT epoxy_glDeleteVertexShaderEXT #define glDepthBoundsEXT epoxy_glDepthBoundsEXT #define glDepthBoundsdNV epoxy_glDepthBoundsdNV #define glDepthFunc epoxy_glDepthFunc #define glDepthMask epoxy_glDepthMask #define glDepthRange epoxy_glDepthRange #define glDepthRangeArrayfvNV epoxy_glDepthRangeArrayfvNV #define glDepthRangeArrayfvOES epoxy_glDepthRangeArrayfvOES #define glDepthRangeArrayv epoxy_glDepthRangeArrayv #define glDepthRangeIndexed epoxy_glDepthRangeIndexed #define glDepthRangeIndexedfNV epoxy_glDepthRangeIndexedfNV #define glDepthRangeIndexedfOES epoxy_glDepthRangeIndexedfOES #define glDepthRangedNV epoxy_glDepthRangedNV #define glDepthRangef epoxy_glDepthRangef #define glDepthRangefOES epoxy_glDepthRangefOES #define glDepthRangex epoxy_glDepthRangex #define glDepthRangexOES epoxy_glDepthRangexOES #define glDetachObjectARB epoxy_glDetachObjectARB #define glDetachShader epoxy_glDetachShader #define glDetailTexFuncSGIS epoxy_glDetailTexFuncSGIS #define glDisable epoxy_glDisable #define glDisableClientState epoxy_glDisableClientState #define glDisableClientStateIndexedEXT epoxy_glDisableClientStateIndexedEXT #define glDisableClientStateiEXT epoxy_glDisableClientStateiEXT #define glDisableDriverControlQCOM epoxy_glDisableDriverControlQCOM #define glDisableIndexedEXT epoxy_glDisableIndexedEXT #define glDisableVariantClientStateEXT epoxy_glDisableVariantClientStateEXT #define glDisableVertexArrayAttrib epoxy_glDisableVertexArrayAttrib #define glDisableVertexArrayAttribEXT epoxy_glDisableVertexArrayAttribEXT #define glDisableVertexArrayEXT epoxy_glDisableVertexArrayEXT #define glDisableVertexAttribAPPLE epoxy_glDisableVertexAttribAPPLE #define glDisableVertexAttribArray epoxy_glDisableVertexAttribArray #define glDisableVertexAttribArrayARB epoxy_glDisableVertexAttribArrayARB #define glDisablei epoxy_glDisablei #define glDisableiEXT epoxy_glDisableiEXT #define glDisableiNV epoxy_glDisableiNV #define glDisableiOES epoxy_glDisableiOES #define glDiscardFramebufferEXT epoxy_glDiscardFramebufferEXT #define glDispatchCompute epoxy_glDispatchCompute #define glDispatchComputeGroupSizeARB epoxy_glDispatchComputeGroupSizeARB #define glDispatchComputeIndirect epoxy_glDispatchComputeIndirect #define glDrawArrays epoxy_glDrawArrays #define glDrawArraysEXT epoxy_glDrawArraysEXT #define glDrawArraysIndirect epoxy_glDrawArraysIndirect #define glDrawArraysInstanced epoxy_glDrawArraysInstanced #define glDrawArraysInstancedANGLE epoxy_glDrawArraysInstancedANGLE #define glDrawArraysInstancedARB epoxy_glDrawArraysInstancedARB #define glDrawArraysInstancedBaseInstance epoxy_glDrawArraysInstancedBaseInstance #define glDrawArraysInstancedBaseInstanceEXT epoxy_glDrawArraysInstancedBaseInstanceEXT #define glDrawArraysInstancedEXT epoxy_glDrawArraysInstancedEXT #define glDrawArraysInstancedNV epoxy_glDrawArraysInstancedNV #define glDrawBuffer epoxy_glDrawBuffer #define glDrawBuffers epoxy_glDrawBuffers #define glDrawBuffersARB epoxy_glDrawBuffersARB #define glDrawBuffersATI epoxy_glDrawBuffersATI #define glDrawBuffersEXT epoxy_glDrawBuffersEXT #define glDrawBuffersIndexedEXT epoxy_glDrawBuffersIndexedEXT #define glDrawBuffersNV epoxy_glDrawBuffersNV #define glDrawCommandsAddressNV epoxy_glDrawCommandsAddressNV #define glDrawCommandsNV epoxy_glDrawCommandsNV #define glDrawCommandsStatesAddressNV epoxy_glDrawCommandsStatesAddressNV #define glDrawCommandsStatesNV epoxy_glDrawCommandsStatesNV #define glDrawElementArrayAPPLE epoxy_glDrawElementArrayAPPLE #define glDrawElementArrayATI epoxy_glDrawElementArrayATI #define glDrawElements epoxy_glDrawElements #define glDrawElementsBaseVertex epoxy_glDrawElementsBaseVertex #define glDrawElementsBaseVertexEXT epoxy_glDrawElementsBaseVertexEXT #define glDrawElementsBaseVertexOES epoxy_glDrawElementsBaseVertexOES #define glDrawElementsIndirect epoxy_glDrawElementsIndirect #define glDrawElementsInstanced epoxy_glDrawElementsInstanced #define glDrawElementsInstancedANGLE epoxy_glDrawElementsInstancedANGLE #define glDrawElementsInstancedARB epoxy_glDrawElementsInstancedARB #define glDrawElementsInstancedBaseInstance epoxy_glDrawElementsInstancedBaseInstance #define glDrawElementsInstancedBaseInstanceEXT epoxy_glDrawElementsInstancedBaseInstanceEXT #define glDrawElementsInstancedBaseVertex epoxy_glDrawElementsInstancedBaseVertex #define glDrawElementsInstancedBaseVertexBaseInstance epoxy_glDrawElementsInstancedBaseVertexBaseInstance #define glDrawElementsInstancedBaseVertexBaseInstanceEXT epoxy_glDrawElementsInstancedBaseVertexBaseInstanceEXT #define glDrawElementsInstancedBaseVertexEXT epoxy_glDrawElementsInstancedBaseVertexEXT #define glDrawElementsInstancedBaseVertexOES epoxy_glDrawElementsInstancedBaseVertexOES #define glDrawElementsInstancedEXT epoxy_glDrawElementsInstancedEXT #define glDrawElementsInstancedNV epoxy_glDrawElementsInstancedNV #define glDrawMeshArraysSUN epoxy_glDrawMeshArraysSUN #define glDrawMeshTasksIndirectNV epoxy_glDrawMeshTasksIndirectNV #define glDrawMeshTasksNV epoxy_glDrawMeshTasksNV #define glDrawPixels epoxy_glDrawPixels #define glDrawRangeElementArrayAPPLE epoxy_glDrawRangeElementArrayAPPLE #define glDrawRangeElementArrayATI epoxy_glDrawRangeElementArrayATI #define glDrawRangeElements epoxy_glDrawRangeElements #define glDrawRangeElementsBaseVertex epoxy_glDrawRangeElementsBaseVertex #define glDrawRangeElementsBaseVertexEXT epoxy_glDrawRangeElementsBaseVertexEXT #define glDrawRangeElementsBaseVertexOES epoxy_glDrawRangeElementsBaseVertexOES #define glDrawRangeElementsEXT epoxy_glDrawRangeElementsEXT #define glDrawTexfOES epoxy_glDrawTexfOES #define glDrawTexfvOES epoxy_glDrawTexfvOES #define glDrawTexiOES epoxy_glDrawTexiOES #define glDrawTexivOES epoxy_glDrawTexivOES #define glDrawTexsOES epoxy_glDrawTexsOES #define glDrawTexsvOES epoxy_glDrawTexsvOES #define glDrawTextureNV epoxy_glDrawTextureNV #define glDrawTexxOES epoxy_glDrawTexxOES #define glDrawTexxvOES epoxy_glDrawTexxvOES #define glDrawTransformFeedback epoxy_glDrawTransformFeedback #define glDrawTransformFeedbackEXT epoxy_glDrawTransformFeedbackEXT #define glDrawTransformFeedbackInstanced epoxy_glDrawTransformFeedbackInstanced #define glDrawTransformFeedbackInstancedEXT epoxy_glDrawTransformFeedbackInstancedEXT #define glDrawTransformFeedbackNV epoxy_glDrawTransformFeedbackNV #define glDrawTransformFeedbackStream epoxy_glDrawTransformFeedbackStream #define glDrawTransformFeedbackStreamInstanced epoxy_glDrawTransformFeedbackStreamInstanced #define glDrawVkImageNV epoxy_glDrawVkImageNV #define glEGLImageTargetRenderbufferStorageOES epoxy_glEGLImageTargetRenderbufferStorageOES #define glEGLImageTargetTexStorageEXT epoxy_glEGLImageTargetTexStorageEXT #define glEGLImageTargetTexture2DOES epoxy_glEGLImageTargetTexture2DOES #define glEGLImageTargetTextureStorageEXT epoxy_glEGLImageTargetTextureStorageEXT #define glEdgeFlag epoxy_glEdgeFlag #define glEdgeFlagFormatNV epoxy_glEdgeFlagFormatNV #define glEdgeFlagPointer epoxy_glEdgeFlagPointer #define glEdgeFlagPointerEXT epoxy_glEdgeFlagPointerEXT #define glEdgeFlagPointerListIBM epoxy_glEdgeFlagPointerListIBM #define glEdgeFlagv epoxy_glEdgeFlagv #define glElementPointerAPPLE epoxy_glElementPointerAPPLE #define glElementPointerATI epoxy_glElementPointerATI #define glEnable epoxy_glEnable #define glEnableClientState epoxy_glEnableClientState #define glEnableClientStateIndexedEXT epoxy_glEnableClientStateIndexedEXT #define glEnableClientStateiEXT epoxy_glEnableClientStateiEXT #define glEnableDriverControlQCOM epoxy_glEnableDriverControlQCOM #define glEnableIndexedEXT epoxy_glEnableIndexedEXT #define glEnableVariantClientStateEXT epoxy_glEnableVariantClientStateEXT #define glEnableVertexArrayAttrib epoxy_glEnableVertexArrayAttrib #define glEnableVertexArrayAttribEXT epoxy_glEnableVertexArrayAttribEXT #define glEnableVertexArrayEXT epoxy_glEnableVertexArrayEXT #define glEnableVertexAttribAPPLE epoxy_glEnableVertexAttribAPPLE #define glEnableVertexAttribArray epoxy_glEnableVertexAttribArray #define glEnableVertexAttribArrayARB epoxy_glEnableVertexAttribArrayARB #define glEnablei epoxy_glEnablei #define glEnableiEXT epoxy_glEnableiEXT #define glEnableiNV epoxy_glEnableiNV #define glEnableiOES epoxy_glEnableiOES #define glEnd epoxy_glEnd #define glEndConditionalRender epoxy_glEndConditionalRender #define glEndConditionalRenderNV epoxy_glEndConditionalRenderNV #define glEndConditionalRenderNVX epoxy_glEndConditionalRenderNVX #define glEndFragmentShaderATI epoxy_glEndFragmentShaderATI #define glEndList epoxy_glEndList #define glEndOcclusionQueryNV epoxy_glEndOcclusionQueryNV #define glEndPerfMonitorAMD epoxy_glEndPerfMonitorAMD #define glEndPerfQueryINTEL epoxy_glEndPerfQueryINTEL #define glEndQuery epoxy_glEndQuery #define glEndQueryARB epoxy_glEndQueryARB #define glEndQueryEXT epoxy_glEndQueryEXT #define glEndQueryIndexed epoxy_glEndQueryIndexed #define glEndTilingQCOM epoxy_glEndTilingQCOM #define glEndTransformFeedback epoxy_glEndTransformFeedback #define glEndTransformFeedbackEXT epoxy_glEndTransformFeedbackEXT #define glEndTransformFeedbackNV epoxy_glEndTransformFeedbackNV #define glEndVertexShaderEXT epoxy_glEndVertexShaderEXT #define glEndVideoCaptureNV epoxy_glEndVideoCaptureNV #define glEvalCoord1d epoxy_glEvalCoord1d #define glEvalCoord1dv epoxy_glEvalCoord1dv #define glEvalCoord1f epoxy_glEvalCoord1f #define glEvalCoord1fv epoxy_glEvalCoord1fv #define glEvalCoord1xOES epoxy_glEvalCoord1xOES #define glEvalCoord1xvOES epoxy_glEvalCoord1xvOES #define glEvalCoord2d epoxy_glEvalCoord2d #define glEvalCoord2dv epoxy_glEvalCoord2dv #define glEvalCoord2f epoxy_glEvalCoord2f #define glEvalCoord2fv epoxy_glEvalCoord2fv #define glEvalCoord2xOES epoxy_glEvalCoord2xOES #define glEvalCoord2xvOES epoxy_glEvalCoord2xvOES #define glEvalMapsNV epoxy_glEvalMapsNV #define glEvalMesh1 epoxy_glEvalMesh1 #define glEvalMesh2 epoxy_glEvalMesh2 #define glEvalPoint1 epoxy_glEvalPoint1 #define glEvalPoint2 epoxy_glEvalPoint2 #define glEvaluateDepthValuesARB epoxy_glEvaluateDepthValuesARB #define glExecuteProgramNV epoxy_glExecuteProgramNV #define glExtGetBufferPointervQCOM epoxy_glExtGetBufferPointervQCOM #define glExtGetBuffersQCOM epoxy_glExtGetBuffersQCOM #define glExtGetFramebuffersQCOM epoxy_glExtGetFramebuffersQCOM #define glExtGetProgramBinarySourceQCOM epoxy_glExtGetProgramBinarySourceQCOM #define glExtGetProgramsQCOM epoxy_glExtGetProgramsQCOM #define glExtGetRenderbuffersQCOM epoxy_glExtGetRenderbuffersQCOM #define glExtGetShadersQCOM epoxy_glExtGetShadersQCOM #define glExtGetTexLevelParameterivQCOM epoxy_glExtGetTexLevelParameterivQCOM #define glExtGetTexSubImageQCOM epoxy_glExtGetTexSubImageQCOM #define glExtGetTexturesQCOM epoxy_glExtGetTexturesQCOM #define glExtIsProgramBinaryQCOM epoxy_glExtIsProgramBinaryQCOM #define glExtTexObjectStateOverrideiQCOM epoxy_glExtTexObjectStateOverrideiQCOM #define glExtractComponentEXT epoxy_glExtractComponentEXT #define glFeedbackBuffer epoxy_glFeedbackBuffer #define glFeedbackBufferxOES epoxy_glFeedbackBufferxOES #define glFenceSync epoxy_glFenceSync #define glFenceSyncAPPLE epoxy_glFenceSyncAPPLE #define glFinalCombinerInputNV epoxy_glFinalCombinerInputNV #define glFinish epoxy_glFinish #define glFinishAsyncSGIX epoxy_glFinishAsyncSGIX #define glFinishFenceAPPLE epoxy_glFinishFenceAPPLE #define glFinishFenceNV epoxy_glFinishFenceNV #define glFinishObjectAPPLE epoxy_glFinishObjectAPPLE #define glFinishTextureSUNX epoxy_glFinishTextureSUNX #define glFlush epoxy_glFlush #define glFlushMappedBufferRange epoxy_glFlushMappedBufferRange #define glFlushMappedBufferRangeAPPLE epoxy_glFlushMappedBufferRangeAPPLE #define glFlushMappedBufferRangeEXT epoxy_glFlushMappedBufferRangeEXT #define glFlushMappedNamedBufferRange epoxy_glFlushMappedNamedBufferRange #define glFlushMappedNamedBufferRangeEXT epoxy_glFlushMappedNamedBufferRangeEXT #define glFlushPixelDataRangeNV epoxy_glFlushPixelDataRangeNV #define glFlushRasterSGIX epoxy_glFlushRasterSGIX #define glFlushStaticDataIBM epoxy_glFlushStaticDataIBM #define glFlushVertexArrayRangeAPPLE epoxy_glFlushVertexArrayRangeAPPLE #define glFlushVertexArrayRangeNV epoxy_glFlushVertexArrayRangeNV #define glFogCoordFormatNV epoxy_glFogCoordFormatNV #define glFogCoordPointer epoxy_glFogCoordPointer #define glFogCoordPointerEXT epoxy_glFogCoordPointerEXT #define glFogCoordPointerListIBM epoxy_glFogCoordPointerListIBM #define glFogCoordd epoxy_glFogCoordd #define glFogCoorddEXT epoxy_glFogCoorddEXT #define glFogCoorddv epoxy_glFogCoorddv #define glFogCoorddvEXT epoxy_glFogCoorddvEXT #define glFogCoordf epoxy_glFogCoordf #define glFogCoordfEXT epoxy_glFogCoordfEXT #define glFogCoordfv epoxy_glFogCoordfv #define glFogCoordfvEXT epoxy_glFogCoordfvEXT #define glFogCoordhNV epoxy_glFogCoordhNV #define glFogCoordhvNV epoxy_glFogCoordhvNV #define glFogFuncSGIS epoxy_glFogFuncSGIS #define glFogf epoxy_glFogf #define glFogfv epoxy_glFogfv #define glFogi epoxy_glFogi #define glFogiv epoxy_glFogiv #define glFogx epoxy_glFogx #define glFogxOES epoxy_glFogxOES #define glFogxv epoxy_glFogxv #define glFogxvOES epoxy_glFogxvOES #define glFragmentColorMaterialSGIX epoxy_glFragmentColorMaterialSGIX #define glFragmentCoverageColorNV epoxy_glFragmentCoverageColorNV #define glFragmentLightModelfSGIX epoxy_glFragmentLightModelfSGIX #define glFragmentLightModelfvSGIX epoxy_glFragmentLightModelfvSGIX #define glFragmentLightModeliSGIX epoxy_glFragmentLightModeliSGIX #define glFragmentLightModelivSGIX epoxy_glFragmentLightModelivSGIX #define glFragmentLightfSGIX epoxy_glFragmentLightfSGIX #define glFragmentLightfvSGIX epoxy_glFragmentLightfvSGIX #define glFragmentLightiSGIX epoxy_glFragmentLightiSGIX #define glFragmentLightivSGIX epoxy_glFragmentLightivSGIX #define glFragmentMaterialfSGIX epoxy_glFragmentMaterialfSGIX #define glFragmentMaterialfvSGIX epoxy_glFragmentMaterialfvSGIX #define glFragmentMaterialiSGIX epoxy_glFragmentMaterialiSGIX #define glFragmentMaterialivSGIX epoxy_glFragmentMaterialivSGIX #define glFrameTerminatorGREMEDY epoxy_glFrameTerminatorGREMEDY #define glFrameZoomSGIX epoxy_glFrameZoomSGIX #define glFramebufferDrawBufferEXT epoxy_glFramebufferDrawBufferEXT #define glFramebufferDrawBuffersEXT epoxy_glFramebufferDrawBuffersEXT #define glFramebufferFetchBarrierEXT epoxy_glFramebufferFetchBarrierEXT #define glFramebufferFetchBarrierQCOM epoxy_glFramebufferFetchBarrierQCOM #define glFramebufferFoveationConfigQCOM epoxy_glFramebufferFoveationConfigQCOM #define glFramebufferFoveationParametersQCOM epoxy_glFramebufferFoveationParametersQCOM #define glFramebufferParameteri epoxy_glFramebufferParameteri #define glFramebufferParameteriMESA epoxy_glFramebufferParameteriMESA #define glFramebufferPixelLocalStorageSizeEXT epoxy_glFramebufferPixelLocalStorageSizeEXT #define glFramebufferReadBufferEXT epoxy_glFramebufferReadBufferEXT #define glFramebufferRenderbuffer epoxy_glFramebufferRenderbuffer #define glFramebufferRenderbufferEXT epoxy_glFramebufferRenderbufferEXT #define glFramebufferRenderbufferOES epoxy_glFramebufferRenderbufferOES #define glFramebufferSampleLocationsfvARB epoxy_glFramebufferSampleLocationsfvARB #define glFramebufferSampleLocationsfvNV epoxy_glFramebufferSampleLocationsfvNV #define glFramebufferSamplePositionsfvAMD epoxy_glFramebufferSamplePositionsfvAMD #define glFramebufferTexture epoxy_glFramebufferTexture #define glFramebufferTexture1D epoxy_glFramebufferTexture1D #define glFramebufferTexture1DEXT epoxy_glFramebufferTexture1DEXT #define glFramebufferTexture2D epoxy_glFramebufferTexture2D #define glFramebufferTexture2DDownsampleIMG epoxy_glFramebufferTexture2DDownsampleIMG #define glFramebufferTexture2DEXT epoxy_glFramebufferTexture2DEXT #define glFramebufferTexture2DMultisampleEXT epoxy_glFramebufferTexture2DMultisampleEXT #define glFramebufferTexture2DMultisampleIMG epoxy_glFramebufferTexture2DMultisampleIMG #define glFramebufferTexture2DOES epoxy_glFramebufferTexture2DOES #define glFramebufferTexture3D epoxy_glFramebufferTexture3D #define glFramebufferTexture3DEXT epoxy_glFramebufferTexture3DEXT #define glFramebufferTexture3DOES epoxy_glFramebufferTexture3DOES #define glFramebufferTextureARB epoxy_glFramebufferTextureARB #define glFramebufferTextureEXT epoxy_glFramebufferTextureEXT #define glFramebufferTextureFaceARB epoxy_glFramebufferTextureFaceARB #define glFramebufferTextureFaceEXT epoxy_glFramebufferTextureFaceEXT #define glFramebufferTextureLayer epoxy_glFramebufferTextureLayer #define glFramebufferTextureLayerARB epoxy_glFramebufferTextureLayerARB #define glFramebufferTextureLayerDownsampleIMG epoxy_glFramebufferTextureLayerDownsampleIMG #define glFramebufferTextureLayerEXT epoxy_glFramebufferTextureLayerEXT #define glFramebufferTextureMultisampleMultiviewOVR epoxy_glFramebufferTextureMultisampleMultiviewOVR #define glFramebufferTextureMultiviewOVR epoxy_glFramebufferTextureMultiviewOVR #define glFramebufferTextureOES epoxy_glFramebufferTextureOES #define glFreeObjectBufferATI epoxy_glFreeObjectBufferATI #define glFrontFace epoxy_glFrontFace #define glFrustum epoxy_glFrustum #define glFrustumf epoxy_glFrustumf #define glFrustumfOES epoxy_glFrustumfOES #define glFrustumx epoxy_glFrustumx #define glFrustumxOES epoxy_glFrustumxOES #define glGenAsyncMarkersSGIX epoxy_glGenAsyncMarkersSGIX #define glGenBuffers epoxy_glGenBuffers #define glGenBuffersARB epoxy_glGenBuffersARB #define glGenFencesAPPLE epoxy_glGenFencesAPPLE #define glGenFencesNV epoxy_glGenFencesNV #define glGenFragmentShadersATI epoxy_glGenFragmentShadersATI #define glGenFramebuffers epoxy_glGenFramebuffers #define glGenFramebuffersEXT epoxy_glGenFramebuffersEXT #define glGenFramebuffersOES epoxy_glGenFramebuffersOES #define glGenLists epoxy_glGenLists #define glGenNamesAMD epoxy_glGenNamesAMD #define glGenOcclusionQueriesNV epoxy_glGenOcclusionQueriesNV #define glGenPathsNV epoxy_glGenPathsNV #define glGenPerfMonitorsAMD epoxy_glGenPerfMonitorsAMD #define glGenProgramPipelines epoxy_glGenProgramPipelines #define glGenProgramPipelinesEXT epoxy_glGenProgramPipelinesEXT #define glGenProgramsARB epoxy_glGenProgramsARB #define glGenProgramsNV epoxy_glGenProgramsNV #define glGenQueries epoxy_glGenQueries #define glGenQueriesARB epoxy_glGenQueriesARB #define glGenQueriesEXT epoxy_glGenQueriesEXT #define glGenQueryResourceTagNV epoxy_glGenQueryResourceTagNV #define glGenRenderbuffers epoxy_glGenRenderbuffers #define glGenRenderbuffersEXT epoxy_glGenRenderbuffersEXT #define glGenRenderbuffersOES epoxy_glGenRenderbuffersOES #define glGenSamplers epoxy_glGenSamplers #define glGenSemaphoresEXT epoxy_glGenSemaphoresEXT #define glGenSymbolsEXT epoxy_glGenSymbolsEXT #define glGenTextures epoxy_glGenTextures #define glGenTexturesEXT epoxy_glGenTexturesEXT #define glGenTransformFeedbacks epoxy_glGenTransformFeedbacks #define glGenTransformFeedbacksNV epoxy_glGenTransformFeedbacksNV #define glGenVertexArrays epoxy_glGenVertexArrays #define glGenVertexArraysAPPLE epoxy_glGenVertexArraysAPPLE #define glGenVertexArraysOES epoxy_glGenVertexArraysOES #define glGenVertexShadersEXT epoxy_glGenVertexShadersEXT #define glGenerateMipmap epoxy_glGenerateMipmap #define glGenerateMipmapEXT epoxy_glGenerateMipmapEXT #define glGenerateMipmapOES epoxy_glGenerateMipmapOES #define glGenerateMultiTexMipmapEXT epoxy_glGenerateMultiTexMipmapEXT #define glGenerateTextureMipmap epoxy_glGenerateTextureMipmap #define glGenerateTextureMipmapEXT epoxy_glGenerateTextureMipmapEXT #define glGetActiveAtomicCounterBufferiv epoxy_glGetActiveAtomicCounterBufferiv #define glGetActiveAttrib epoxy_glGetActiveAttrib #define glGetActiveAttribARB epoxy_glGetActiveAttribARB #define glGetActiveSubroutineName epoxy_glGetActiveSubroutineName #define glGetActiveSubroutineUniformName epoxy_glGetActiveSubroutineUniformName #define glGetActiveSubroutineUniformiv epoxy_glGetActiveSubroutineUniformiv #define glGetActiveUniform epoxy_glGetActiveUniform #define glGetActiveUniformARB epoxy_glGetActiveUniformARB #define glGetActiveUniformBlockName epoxy_glGetActiveUniformBlockName #define glGetActiveUniformBlockiv epoxy_glGetActiveUniformBlockiv #define glGetActiveUniformName epoxy_glGetActiveUniformName #define glGetActiveUniformsiv epoxy_glGetActiveUniformsiv #define glGetActiveVaryingNV epoxy_glGetActiveVaryingNV #define glGetArrayObjectfvATI epoxy_glGetArrayObjectfvATI #define glGetArrayObjectivATI epoxy_glGetArrayObjectivATI #define glGetAttachedObjectsARB epoxy_glGetAttachedObjectsARB #define glGetAttachedShaders epoxy_glGetAttachedShaders #define glGetAttribLocation epoxy_glGetAttribLocation #define glGetAttribLocationARB epoxy_glGetAttribLocationARB #define glGetBooleanIndexedvEXT epoxy_glGetBooleanIndexedvEXT #define glGetBooleani_v epoxy_glGetBooleani_v #define glGetBooleanv epoxy_glGetBooleanv #define glGetBufferParameteri64v epoxy_glGetBufferParameteri64v #define glGetBufferParameteriv epoxy_glGetBufferParameteriv #define glGetBufferParameterivARB epoxy_glGetBufferParameterivARB #define glGetBufferParameterui64vNV epoxy_glGetBufferParameterui64vNV #define glGetBufferPointerv epoxy_glGetBufferPointerv #define glGetBufferPointervARB epoxy_glGetBufferPointervARB #define glGetBufferPointervOES epoxy_glGetBufferPointervOES #define glGetBufferSubData epoxy_glGetBufferSubData #define glGetBufferSubDataARB epoxy_glGetBufferSubDataARB #define glGetClipPlane epoxy_glGetClipPlane #define glGetClipPlanef epoxy_glGetClipPlanef #define glGetClipPlanefOES epoxy_glGetClipPlanefOES #define glGetClipPlanex epoxy_glGetClipPlanex #define glGetClipPlanexOES epoxy_glGetClipPlanexOES #define glGetColorTable epoxy_glGetColorTable #define glGetColorTableEXT epoxy_glGetColorTableEXT #define glGetColorTableParameterfv epoxy_glGetColorTableParameterfv #define glGetColorTableParameterfvEXT epoxy_glGetColorTableParameterfvEXT #define glGetColorTableParameterfvSGI epoxy_glGetColorTableParameterfvSGI #define glGetColorTableParameteriv epoxy_glGetColorTableParameteriv #define glGetColorTableParameterivEXT epoxy_glGetColorTableParameterivEXT #define glGetColorTableParameterivSGI epoxy_glGetColorTableParameterivSGI #define glGetColorTableSGI epoxy_glGetColorTableSGI #define glGetCombinerInputParameterfvNV epoxy_glGetCombinerInputParameterfvNV #define glGetCombinerInputParameterivNV epoxy_glGetCombinerInputParameterivNV #define glGetCombinerOutputParameterfvNV epoxy_glGetCombinerOutputParameterfvNV #define glGetCombinerOutputParameterivNV epoxy_glGetCombinerOutputParameterivNV #define glGetCombinerStageParameterfvNV epoxy_glGetCombinerStageParameterfvNV #define glGetCommandHeaderNV epoxy_glGetCommandHeaderNV #define glGetCompressedMultiTexImageEXT epoxy_glGetCompressedMultiTexImageEXT #define glGetCompressedTexImage epoxy_glGetCompressedTexImage #define glGetCompressedTexImageARB epoxy_glGetCompressedTexImageARB #define glGetCompressedTextureImage epoxy_glGetCompressedTextureImage #define glGetCompressedTextureImageEXT epoxy_glGetCompressedTextureImageEXT #define glGetCompressedTextureSubImage epoxy_glGetCompressedTextureSubImage #define glGetConvolutionFilter epoxy_glGetConvolutionFilter #define glGetConvolutionFilterEXT epoxy_glGetConvolutionFilterEXT #define glGetConvolutionParameterfv epoxy_glGetConvolutionParameterfv #define glGetConvolutionParameterfvEXT epoxy_glGetConvolutionParameterfvEXT #define glGetConvolutionParameteriv epoxy_glGetConvolutionParameteriv #define glGetConvolutionParameterivEXT epoxy_glGetConvolutionParameterivEXT #define glGetConvolutionParameterxvOES epoxy_glGetConvolutionParameterxvOES #define glGetCoverageModulationTableNV epoxy_glGetCoverageModulationTableNV #define glGetDebugMessageLog epoxy_glGetDebugMessageLog #define glGetDebugMessageLogAMD epoxy_glGetDebugMessageLogAMD #define glGetDebugMessageLogARB epoxy_glGetDebugMessageLogARB #define glGetDebugMessageLogKHR epoxy_glGetDebugMessageLogKHR #define glGetDetailTexFuncSGIS epoxy_glGetDetailTexFuncSGIS #define glGetDoubleIndexedvEXT epoxy_glGetDoubleIndexedvEXT #define glGetDoublei_v epoxy_glGetDoublei_v #define glGetDoublei_vEXT epoxy_glGetDoublei_vEXT #define glGetDoublev epoxy_glGetDoublev #define glGetDriverControlStringQCOM epoxy_glGetDriverControlStringQCOM #define glGetDriverControlsQCOM epoxy_glGetDriverControlsQCOM #define glGetError epoxy_glGetError #define glGetFenceivNV epoxy_glGetFenceivNV #define glGetFinalCombinerInputParameterfvNV epoxy_glGetFinalCombinerInputParameterfvNV #define glGetFinalCombinerInputParameterivNV epoxy_glGetFinalCombinerInputParameterivNV #define glGetFirstPerfQueryIdINTEL epoxy_glGetFirstPerfQueryIdINTEL #define glGetFixedv epoxy_glGetFixedv #define glGetFixedvOES epoxy_glGetFixedvOES #define glGetFloatIndexedvEXT epoxy_glGetFloatIndexedvEXT #define glGetFloati_v epoxy_glGetFloati_v #define glGetFloati_vEXT epoxy_glGetFloati_vEXT #define glGetFloati_vNV epoxy_glGetFloati_vNV #define glGetFloati_vOES epoxy_glGetFloati_vOES #define glGetFloatv epoxy_glGetFloatv #define glGetFogFuncSGIS epoxy_glGetFogFuncSGIS #define glGetFragDataIndex epoxy_glGetFragDataIndex #define glGetFragDataIndexEXT epoxy_glGetFragDataIndexEXT #define glGetFragDataLocation epoxy_glGetFragDataLocation #define glGetFragDataLocationEXT epoxy_glGetFragDataLocationEXT #define glGetFragmentLightfvSGIX epoxy_glGetFragmentLightfvSGIX #define glGetFragmentLightivSGIX epoxy_glGetFragmentLightivSGIX #define glGetFragmentMaterialfvSGIX epoxy_glGetFragmentMaterialfvSGIX #define glGetFragmentMaterialivSGIX epoxy_glGetFragmentMaterialivSGIX #define glGetFramebufferAttachmentParameteriv epoxy_glGetFramebufferAttachmentParameteriv #define glGetFramebufferAttachmentParameterivEXT epoxy_glGetFramebufferAttachmentParameterivEXT #define glGetFramebufferAttachmentParameterivOES epoxy_glGetFramebufferAttachmentParameterivOES #define glGetFramebufferParameterfvAMD epoxy_glGetFramebufferParameterfvAMD #define glGetFramebufferParameteriv epoxy_glGetFramebufferParameteriv #define glGetFramebufferParameterivEXT epoxy_glGetFramebufferParameterivEXT #define glGetFramebufferParameterivMESA epoxy_glGetFramebufferParameterivMESA #define glGetFramebufferPixelLocalStorageSizeEXT epoxy_glGetFramebufferPixelLocalStorageSizeEXT #define glGetGraphicsResetStatus epoxy_glGetGraphicsResetStatus #define glGetGraphicsResetStatusARB epoxy_glGetGraphicsResetStatusARB #define glGetGraphicsResetStatusEXT epoxy_glGetGraphicsResetStatusEXT #define glGetGraphicsResetStatusKHR epoxy_glGetGraphicsResetStatusKHR #define glGetHandleARB epoxy_glGetHandleARB #define glGetHistogram epoxy_glGetHistogram #define glGetHistogramEXT epoxy_glGetHistogramEXT #define glGetHistogramParameterfv epoxy_glGetHistogramParameterfv #define glGetHistogramParameterfvEXT epoxy_glGetHistogramParameterfvEXT #define glGetHistogramParameteriv epoxy_glGetHistogramParameteriv #define glGetHistogramParameterivEXT epoxy_glGetHistogramParameterivEXT #define glGetHistogramParameterxvOES epoxy_glGetHistogramParameterxvOES #define glGetImageHandleARB epoxy_glGetImageHandleARB #define glGetImageHandleNV epoxy_glGetImageHandleNV #define glGetImageTransformParameterfvHP epoxy_glGetImageTransformParameterfvHP #define glGetImageTransformParameterivHP epoxy_glGetImageTransformParameterivHP #define glGetInfoLogARB epoxy_glGetInfoLogARB #define glGetInstrumentsSGIX epoxy_glGetInstrumentsSGIX #define glGetInteger64i_v epoxy_glGetInteger64i_v #define glGetInteger64v epoxy_glGetInteger64v #define glGetInteger64vAPPLE epoxy_glGetInteger64vAPPLE #define glGetIntegerIndexedvEXT epoxy_glGetIntegerIndexedvEXT #define glGetIntegeri_v epoxy_glGetIntegeri_v #define glGetIntegeri_vEXT epoxy_glGetIntegeri_vEXT #define glGetIntegerui64i_vNV epoxy_glGetIntegerui64i_vNV #define glGetIntegerui64vNV epoxy_glGetIntegerui64vNV #define glGetIntegerv epoxy_glGetIntegerv #define glGetInternalformatSampleivNV epoxy_glGetInternalformatSampleivNV #define glGetInternalformati64v epoxy_glGetInternalformati64v #define glGetInternalformativ epoxy_glGetInternalformativ #define glGetInvariantBooleanvEXT epoxy_glGetInvariantBooleanvEXT #define glGetInvariantFloatvEXT epoxy_glGetInvariantFloatvEXT #define glGetInvariantIntegervEXT epoxy_glGetInvariantIntegervEXT #define glGetLightfv epoxy_glGetLightfv #define glGetLightiv epoxy_glGetLightiv #define glGetLightxOES epoxy_glGetLightxOES #define glGetLightxv epoxy_glGetLightxv #define glGetLightxvOES epoxy_glGetLightxvOES #define glGetListParameterfvSGIX epoxy_glGetListParameterfvSGIX #define glGetListParameterivSGIX epoxy_glGetListParameterivSGIX #define glGetLocalConstantBooleanvEXT epoxy_glGetLocalConstantBooleanvEXT #define glGetLocalConstantFloatvEXT epoxy_glGetLocalConstantFloatvEXT #define glGetLocalConstantIntegervEXT epoxy_glGetLocalConstantIntegervEXT #define glGetMapAttribParameterfvNV epoxy_glGetMapAttribParameterfvNV #define glGetMapAttribParameterivNV epoxy_glGetMapAttribParameterivNV #define glGetMapControlPointsNV epoxy_glGetMapControlPointsNV #define glGetMapParameterfvNV epoxy_glGetMapParameterfvNV #define glGetMapParameterivNV epoxy_glGetMapParameterivNV #define glGetMapdv epoxy_glGetMapdv #define glGetMapfv epoxy_glGetMapfv #define glGetMapiv epoxy_glGetMapiv #define glGetMapxvOES epoxy_glGetMapxvOES #define glGetMaterialfv epoxy_glGetMaterialfv #define glGetMaterialiv epoxy_glGetMaterialiv #define glGetMaterialxOES epoxy_glGetMaterialxOES #define glGetMaterialxv epoxy_glGetMaterialxv #define glGetMaterialxvOES epoxy_glGetMaterialxvOES #define glGetMemoryObjectDetachedResourcesuivNV epoxy_glGetMemoryObjectDetachedResourcesuivNV #define glGetMemoryObjectParameterivEXT epoxy_glGetMemoryObjectParameterivEXT #define glGetMinmax epoxy_glGetMinmax #define glGetMinmaxEXT epoxy_glGetMinmaxEXT #define glGetMinmaxParameterfv epoxy_glGetMinmaxParameterfv #define glGetMinmaxParameterfvEXT epoxy_glGetMinmaxParameterfvEXT #define glGetMinmaxParameteriv epoxy_glGetMinmaxParameteriv #define glGetMinmaxParameterivEXT epoxy_glGetMinmaxParameterivEXT #define glGetMultiTexEnvfvEXT epoxy_glGetMultiTexEnvfvEXT #define glGetMultiTexEnvivEXT epoxy_glGetMultiTexEnvivEXT #define glGetMultiTexGendvEXT epoxy_glGetMultiTexGendvEXT #define glGetMultiTexGenfvEXT epoxy_glGetMultiTexGenfvEXT #define glGetMultiTexGenivEXT epoxy_glGetMultiTexGenivEXT #define glGetMultiTexImageEXT epoxy_glGetMultiTexImageEXT #define glGetMultiTexLevelParameterfvEXT epoxy_glGetMultiTexLevelParameterfvEXT #define glGetMultiTexLevelParameterivEXT epoxy_glGetMultiTexLevelParameterivEXT #define glGetMultiTexParameterIivEXT epoxy_glGetMultiTexParameterIivEXT #define glGetMultiTexParameterIuivEXT epoxy_glGetMultiTexParameterIuivEXT #define glGetMultiTexParameterfvEXT epoxy_glGetMultiTexParameterfvEXT #define glGetMultiTexParameterivEXT epoxy_glGetMultiTexParameterivEXT #define glGetMultisamplefv epoxy_glGetMultisamplefv #define glGetMultisamplefvNV epoxy_glGetMultisamplefvNV #define glGetNamedBufferParameteri64v epoxy_glGetNamedBufferParameteri64v #define glGetNamedBufferParameteriv epoxy_glGetNamedBufferParameteriv #define glGetNamedBufferParameterivEXT epoxy_glGetNamedBufferParameterivEXT #define glGetNamedBufferParameterui64vNV epoxy_glGetNamedBufferParameterui64vNV #define glGetNamedBufferPointerv epoxy_glGetNamedBufferPointerv #define glGetNamedBufferPointervEXT epoxy_glGetNamedBufferPointervEXT #define glGetNamedBufferSubData epoxy_glGetNamedBufferSubData #define glGetNamedBufferSubDataEXT epoxy_glGetNamedBufferSubDataEXT #define glGetNamedFramebufferAttachmentParameteriv epoxy_glGetNamedFramebufferAttachmentParameteriv #define glGetNamedFramebufferAttachmentParameterivEXT epoxy_glGetNamedFramebufferAttachmentParameterivEXT #define glGetNamedFramebufferParameterfvAMD epoxy_glGetNamedFramebufferParameterfvAMD #define glGetNamedFramebufferParameteriv epoxy_glGetNamedFramebufferParameteriv #define glGetNamedFramebufferParameterivEXT epoxy_glGetNamedFramebufferParameterivEXT #define glGetNamedProgramLocalParameterIivEXT epoxy_glGetNamedProgramLocalParameterIivEXT #define glGetNamedProgramLocalParameterIuivEXT epoxy_glGetNamedProgramLocalParameterIuivEXT #define glGetNamedProgramLocalParameterdvEXT epoxy_glGetNamedProgramLocalParameterdvEXT #define glGetNamedProgramLocalParameterfvEXT epoxy_glGetNamedProgramLocalParameterfvEXT #define glGetNamedProgramStringEXT epoxy_glGetNamedProgramStringEXT #define glGetNamedProgramivEXT epoxy_glGetNamedProgramivEXT #define glGetNamedRenderbufferParameteriv epoxy_glGetNamedRenderbufferParameteriv #define glGetNamedRenderbufferParameterivEXT epoxy_glGetNamedRenderbufferParameterivEXT #define glGetNamedStringARB epoxy_glGetNamedStringARB #define glGetNamedStringivARB epoxy_glGetNamedStringivARB #define glGetNextPerfQueryIdINTEL epoxy_glGetNextPerfQueryIdINTEL #define glGetObjectBufferfvATI epoxy_glGetObjectBufferfvATI #define glGetObjectBufferivATI epoxy_glGetObjectBufferivATI #define glGetObjectLabel epoxy_glGetObjectLabel #define glGetObjectLabelEXT epoxy_glGetObjectLabelEXT #define glGetObjectLabelKHR epoxy_glGetObjectLabelKHR #define glGetObjectParameterfvARB epoxy_glGetObjectParameterfvARB #define glGetObjectParameterivAPPLE epoxy_glGetObjectParameterivAPPLE #define glGetObjectParameterivARB epoxy_glGetObjectParameterivARB #define glGetObjectPtrLabel epoxy_glGetObjectPtrLabel #define glGetObjectPtrLabelKHR epoxy_glGetObjectPtrLabelKHR #define glGetOcclusionQueryivNV epoxy_glGetOcclusionQueryivNV #define glGetOcclusionQueryuivNV epoxy_glGetOcclusionQueryuivNV #define glGetPathColorGenfvNV epoxy_glGetPathColorGenfvNV #define glGetPathColorGenivNV epoxy_glGetPathColorGenivNV #define glGetPathCommandsNV epoxy_glGetPathCommandsNV #define glGetPathCoordsNV epoxy_glGetPathCoordsNV #define glGetPathDashArrayNV epoxy_glGetPathDashArrayNV #define glGetPathLengthNV epoxy_glGetPathLengthNV #define glGetPathMetricRangeNV epoxy_glGetPathMetricRangeNV #define glGetPathMetricsNV epoxy_glGetPathMetricsNV #define glGetPathParameterfvNV epoxy_glGetPathParameterfvNV #define glGetPathParameterivNV epoxy_glGetPathParameterivNV #define glGetPathSpacingNV epoxy_glGetPathSpacingNV #define glGetPathTexGenfvNV epoxy_glGetPathTexGenfvNV #define glGetPathTexGenivNV epoxy_glGetPathTexGenivNV #define glGetPerfCounterInfoINTEL epoxy_glGetPerfCounterInfoINTEL #define glGetPerfMonitorCounterDataAMD epoxy_glGetPerfMonitorCounterDataAMD #define glGetPerfMonitorCounterInfoAMD epoxy_glGetPerfMonitorCounterInfoAMD #define glGetPerfMonitorCounterStringAMD epoxy_glGetPerfMonitorCounterStringAMD #define glGetPerfMonitorCountersAMD epoxy_glGetPerfMonitorCountersAMD #define glGetPerfMonitorGroupStringAMD epoxy_glGetPerfMonitorGroupStringAMD #define glGetPerfMonitorGroupsAMD epoxy_glGetPerfMonitorGroupsAMD #define glGetPerfQueryDataINTEL epoxy_glGetPerfQueryDataINTEL #define glGetPerfQueryIdByNameINTEL epoxy_glGetPerfQueryIdByNameINTEL #define glGetPerfQueryInfoINTEL epoxy_glGetPerfQueryInfoINTEL #define glGetPixelMapfv epoxy_glGetPixelMapfv #define glGetPixelMapuiv epoxy_glGetPixelMapuiv #define glGetPixelMapusv epoxy_glGetPixelMapusv #define glGetPixelMapxv epoxy_glGetPixelMapxv #define glGetPixelTexGenParameterfvSGIS epoxy_glGetPixelTexGenParameterfvSGIS #define glGetPixelTexGenParameterivSGIS epoxy_glGetPixelTexGenParameterivSGIS #define glGetPixelTransformParameterfvEXT epoxy_glGetPixelTransformParameterfvEXT #define glGetPixelTransformParameterivEXT epoxy_glGetPixelTransformParameterivEXT #define glGetPointerIndexedvEXT epoxy_glGetPointerIndexedvEXT #define glGetPointeri_vEXT epoxy_glGetPointeri_vEXT #define glGetPointerv epoxy_glGetPointerv #define glGetPointervEXT epoxy_glGetPointervEXT #define glGetPointervKHR epoxy_glGetPointervKHR #define glGetPolygonStipple epoxy_glGetPolygonStipple #define glGetProgramBinary epoxy_glGetProgramBinary #define glGetProgramBinaryOES epoxy_glGetProgramBinaryOES #define glGetProgramEnvParameterIivNV epoxy_glGetProgramEnvParameterIivNV #define glGetProgramEnvParameterIuivNV epoxy_glGetProgramEnvParameterIuivNV #define glGetProgramEnvParameterdvARB epoxy_glGetProgramEnvParameterdvARB #define glGetProgramEnvParameterfvARB epoxy_glGetProgramEnvParameterfvARB #define glGetProgramInfoLog epoxy_glGetProgramInfoLog #define glGetProgramInterfaceiv epoxy_glGetProgramInterfaceiv #define glGetProgramLocalParameterIivNV epoxy_glGetProgramLocalParameterIivNV #define glGetProgramLocalParameterIuivNV epoxy_glGetProgramLocalParameterIuivNV #define glGetProgramLocalParameterdvARB epoxy_glGetProgramLocalParameterdvARB #define glGetProgramLocalParameterfvARB epoxy_glGetProgramLocalParameterfvARB #define glGetProgramNamedParameterdvNV epoxy_glGetProgramNamedParameterdvNV #define glGetProgramNamedParameterfvNV epoxy_glGetProgramNamedParameterfvNV #define glGetProgramParameterdvNV epoxy_glGetProgramParameterdvNV #define glGetProgramParameterfvNV epoxy_glGetProgramParameterfvNV #define glGetProgramPipelineInfoLog epoxy_glGetProgramPipelineInfoLog #define glGetProgramPipelineInfoLogEXT epoxy_glGetProgramPipelineInfoLogEXT #define glGetProgramPipelineiv epoxy_glGetProgramPipelineiv #define glGetProgramPipelineivEXT epoxy_glGetProgramPipelineivEXT #define glGetProgramResourceIndex epoxy_glGetProgramResourceIndex #define glGetProgramResourceLocation epoxy_glGetProgramResourceLocation #define glGetProgramResourceLocationIndex epoxy_glGetProgramResourceLocationIndex #define glGetProgramResourceLocationIndexEXT epoxy_glGetProgramResourceLocationIndexEXT #define glGetProgramResourceName epoxy_glGetProgramResourceName #define glGetProgramResourcefvNV epoxy_glGetProgramResourcefvNV #define glGetProgramResourceiv epoxy_glGetProgramResourceiv #define glGetProgramStageiv epoxy_glGetProgramStageiv #define glGetProgramStringARB epoxy_glGetProgramStringARB #define glGetProgramStringNV epoxy_glGetProgramStringNV #define glGetProgramSubroutineParameteruivNV epoxy_glGetProgramSubroutineParameteruivNV #define glGetProgramiv epoxy_glGetProgramiv #define glGetProgramivARB epoxy_glGetProgramivARB #define glGetProgramivNV epoxy_glGetProgramivNV #define glGetQueryBufferObjecti64v epoxy_glGetQueryBufferObjecti64v #define glGetQueryBufferObjectiv epoxy_glGetQueryBufferObjectiv #define glGetQueryBufferObjectui64v epoxy_glGetQueryBufferObjectui64v #define glGetQueryBufferObjectuiv epoxy_glGetQueryBufferObjectuiv #define glGetQueryIndexediv epoxy_glGetQueryIndexediv #define glGetQueryObjecti64v epoxy_glGetQueryObjecti64v #define glGetQueryObjecti64vEXT epoxy_glGetQueryObjecti64vEXT #define glGetQueryObjectiv epoxy_glGetQueryObjectiv #define glGetQueryObjectivARB epoxy_glGetQueryObjectivARB #define glGetQueryObjectivEXT epoxy_glGetQueryObjectivEXT #define glGetQueryObjectui64v epoxy_glGetQueryObjectui64v #define glGetQueryObjectui64vEXT epoxy_glGetQueryObjectui64vEXT #define glGetQueryObjectuiv epoxy_glGetQueryObjectuiv #define glGetQueryObjectuivARB epoxy_glGetQueryObjectuivARB #define glGetQueryObjectuivEXT epoxy_glGetQueryObjectuivEXT #define glGetQueryiv epoxy_glGetQueryiv #define glGetQueryivARB epoxy_glGetQueryivARB #define glGetQueryivEXT epoxy_glGetQueryivEXT #define glGetRenderbufferParameteriv epoxy_glGetRenderbufferParameteriv #define glGetRenderbufferParameterivEXT epoxy_glGetRenderbufferParameterivEXT #define glGetRenderbufferParameterivOES epoxy_glGetRenderbufferParameterivOES #define glGetSamplerParameterIiv epoxy_glGetSamplerParameterIiv #define glGetSamplerParameterIivEXT epoxy_glGetSamplerParameterIivEXT #define glGetSamplerParameterIivOES epoxy_glGetSamplerParameterIivOES #define glGetSamplerParameterIuiv epoxy_glGetSamplerParameterIuiv #define glGetSamplerParameterIuivEXT epoxy_glGetSamplerParameterIuivEXT #define glGetSamplerParameterIuivOES epoxy_glGetSamplerParameterIuivOES #define glGetSamplerParameterfv epoxy_glGetSamplerParameterfv #define glGetSamplerParameteriv epoxy_glGetSamplerParameteriv #define glGetSemaphoreParameterui64vEXT epoxy_glGetSemaphoreParameterui64vEXT #define glGetSeparableFilter epoxy_glGetSeparableFilter #define glGetSeparableFilterEXT epoxy_glGetSeparableFilterEXT #define glGetShaderInfoLog epoxy_glGetShaderInfoLog #define glGetShaderPrecisionFormat epoxy_glGetShaderPrecisionFormat #define glGetShaderSource epoxy_glGetShaderSource #define glGetShaderSourceARB epoxy_glGetShaderSourceARB #define glGetShaderiv epoxy_glGetShaderiv #define glGetShadingRateImagePaletteNV epoxy_glGetShadingRateImagePaletteNV #define glGetShadingRateSampleLocationivNV epoxy_glGetShadingRateSampleLocationivNV #define glGetSharpenTexFuncSGIS epoxy_glGetSharpenTexFuncSGIS #define glGetStageIndexNV epoxy_glGetStageIndexNV #define glGetString epoxy_glGetString #define glGetStringi epoxy_glGetStringi #define glGetSubroutineIndex epoxy_glGetSubroutineIndex #define glGetSubroutineUniformLocation epoxy_glGetSubroutineUniformLocation #define glGetSynciv epoxy_glGetSynciv #define glGetSyncivAPPLE epoxy_glGetSyncivAPPLE #define glGetTexBumpParameterfvATI epoxy_glGetTexBumpParameterfvATI #define glGetTexBumpParameterivATI epoxy_glGetTexBumpParameterivATI #define glGetTexEnvfv epoxy_glGetTexEnvfv #define glGetTexEnviv epoxy_glGetTexEnviv #define glGetTexEnvxv epoxy_glGetTexEnvxv #define glGetTexEnvxvOES epoxy_glGetTexEnvxvOES #define glGetTexFilterFuncSGIS epoxy_glGetTexFilterFuncSGIS #define glGetTexGendv epoxy_glGetTexGendv #define glGetTexGenfv epoxy_glGetTexGenfv #define glGetTexGenfvOES epoxy_glGetTexGenfvOES #define glGetTexGeniv epoxy_glGetTexGeniv #define glGetTexGenivOES epoxy_glGetTexGenivOES #define glGetTexGenxvOES epoxy_glGetTexGenxvOES #define glGetTexImage epoxy_glGetTexImage #define glGetTexLevelParameterfv epoxy_glGetTexLevelParameterfv #define glGetTexLevelParameteriv epoxy_glGetTexLevelParameteriv #define glGetTexLevelParameterxvOES epoxy_glGetTexLevelParameterxvOES #define glGetTexParameterIiv epoxy_glGetTexParameterIiv #define glGetTexParameterIivEXT epoxy_glGetTexParameterIivEXT #define glGetTexParameterIivOES epoxy_glGetTexParameterIivOES #define glGetTexParameterIuiv epoxy_glGetTexParameterIuiv #define glGetTexParameterIuivEXT epoxy_glGetTexParameterIuivEXT #define glGetTexParameterIuivOES epoxy_glGetTexParameterIuivOES #define glGetTexParameterPointervAPPLE epoxy_glGetTexParameterPointervAPPLE #define glGetTexParameterfv epoxy_glGetTexParameterfv #define glGetTexParameteriv epoxy_glGetTexParameteriv #define glGetTexParameterxv epoxy_glGetTexParameterxv #define glGetTexParameterxvOES epoxy_glGetTexParameterxvOES #define glGetTextureHandleARB epoxy_glGetTextureHandleARB #define glGetTextureHandleIMG epoxy_glGetTextureHandleIMG #define glGetTextureHandleNV epoxy_glGetTextureHandleNV #define glGetTextureImage epoxy_glGetTextureImage #define glGetTextureImageEXT epoxy_glGetTextureImageEXT #define glGetTextureLevelParameterfv epoxy_glGetTextureLevelParameterfv #define glGetTextureLevelParameterfvEXT epoxy_glGetTextureLevelParameterfvEXT #define glGetTextureLevelParameteriv epoxy_glGetTextureLevelParameteriv #define glGetTextureLevelParameterivEXT epoxy_glGetTextureLevelParameterivEXT #define glGetTextureParameterIiv epoxy_glGetTextureParameterIiv #define glGetTextureParameterIivEXT epoxy_glGetTextureParameterIivEXT #define glGetTextureParameterIuiv epoxy_glGetTextureParameterIuiv #define glGetTextureParameterIuivEXT epoxy_glGetTextureParameterIuivEXT #define glGetTextureParameterfv epoxy_glGetTextureParameterfv #define glGetTextureParameterfvEXT epoxy_glGetTextureParameterfvEXT #define glGetTextureParameteriv epoxy_glGetTextureParameteriv #define glGetTextureParameterivEXT epoxy_glGetTextureParameterivEXT #define glGetTextureSamplerHandleARB epoxy_glGetTextureSamplerHandleARB #define glGetTextureSamplerHandleIMG epoxy_glGetTextureSamplerHandleIMG #define glGetTextureSamplerHandleNV epoxy_glGetTextureSamplerHandleNV #define glGetTextureSubImage epoxy_glGetTextureSubImage #define glGetTrackMatrixivNV epoxy_glGetTrackMatrixivNV #define glGetTransformFeedbackVarying epoxy_glGetTransformFeedbackVarying #define glGetTransformFeedbackVaryingEXT epoxy_glGetTransformFeedbackVaryingEXT #define glGetTransformFeedbackVaryingNV epoxy_glGetTransformFeedbackVaryingNV #define glGetTransformFeedbacki64_v epoxy_glGetTransformFeedbacki64_v #define glGetTransformFeedbacki_v epoxy_glGetTransformFeedbacki_v #define glGetTransformFeedbackiv epoxy_glGetTransformFeedbackiv #define glGetTranslatedShaderSourceANGLE epoxy_glGetTranslatedShaderSourceANGLE #define glGetUniformBlockIndex epoxy_glGetUniformBlockIndex #define glGetUniformBufferSizeEXT epoxy_glGetUniformBufferSizeEXT #define glGetUniformIndices epoxy_glGetUniformIndices #define glGetUniformLocation epoxy_glGetUniformLocation #define glGetUniformLocationARB epoxy_glGetUniformLocationARB #define glGetUniformOffsetEXT epoxy_glGetUniformOffsetEXT #define glGetUniformSubroutineuiv epoxy_glGetUniformSubroutineuiv #define glGetUniformdv epoxy_glGetUniformdv #define glGetUniformfv epoxy_glGetUniformfv #define glGetUniformfvARB epoxy_glGetUniformfvARB #define glGetUniformi64vARB epoxy_glGetUniformi64vARB #define glGetUniformi64vNV epoxy_glGetUniformi64vNV #define glGetUniformiv epoxy_glGetUniformiv #define glGetUniformivARB epoxy_glGetUniformivARB #define glGetUniformui64vARB epoxy_glGetUniformui64vARB #define glGetUniformui64vNV epoxy_glGetUniformui64vNV #define glGetUniformuiv epoxy_glGetUniformuiv #define glGetUniformuivEXT epoxy_glGetUniformuivEXT #define glGetUnsignedBytei_vEXT epoxy_glGetUnsignedBytei_vEXT #define glGetUnsignedBytevEXT epoxy_glGetUnsignedBytevEXT #define glGetVariantArrayObjectfvATI epoxy_glGetVariantArrayObjectfvATI #define glGetVariantArrayObjectivATI epoxy_glGetVariantArrayObjectivATI #define glGetVariantBooleanvEXT epoxy_glGetVariantBooleanvEXT #define glGetVariantFloatvEXT epoxy_glGetVariantFloatvEXT #define glGetVariantIntegervEXT epoxy_glGetVariantIntegervEXT #define glGetVariantPointervEXT epoxy_glGetVariantPointervEXT #define glGetVaryingLocationNV epoxy_glGetVaryingLocationNV #define glGetVertexArrayIndexed64iv epoxy_glGetVertexArrayIndexed64iv #define glGetVertexArrayIndexediv epoxy_glGetVertexArrayIndexediv #define glGetVertexArrayIntegeri_vEXT epoxy_glGetVertexArrayIntegeri_vEXT #define glGetVertexArrayIntegervEXT epoxy_glGetVertexArrayIntegervEXT #define glGetVertexArrayPointeri_vEXT epoxy_glGetVertexArrayPointeri_vEXT #define glGetVertexArrayPointervEXT epoxy_glGetVertexArrayPointervEXT #define glGetVertexArrayiv epoxy_glGetVertexArrayiv #define glGetVertexAttribArrayObjectfvATI epoxy_glGetVertexAttribArrayObjectfvATI #define glGetVertexAttribArrayObjectivATI epoxy_glGetVertexAttribArrayObjectivATI #define glGetVertexAttribIiv epoxy_glGetVertexAttribIiv #define glGetVertexAttribIivEXT epoxy_glGetVertexAttribIivEXT #define glGetVertexAttribIuiv epoxy_glGetVertexAttribIuiv #define glGetVertexAttribIuivEXT epoxy_glGetVertexAttribIuivEXT #define glGetVertexAttribLdv epoxy_glGetVertexAttribLdv #define glGetVertexAttribLdvEXT epoxy_glGetVertexAttribLdvEXT #define glGetVertexAttribLi64vNV epoxy_glGetVertexAttribLi64vNV #define glGetVertexAttribLui64vARB epoxy_glGetVertexAttribLui64vARB #define glGetVertexAttribLui64vNV epoxy_glGetVertexAttribLui64vNV #define glGetVertexAttribPointerv epoxy_glGetVertexAttribPointerv #define glGetVertexAttribPointervARB epoxy_glGetVertexAttribPointervARB #define glGetVertexAttribPointervNV epoxy_glGetVertexAttribPointervNV #define glGetVertexAttribdv epoxy_glGetVertexAttribdv #define glGetVertexAttribdvARB epoxy_glGetVertexAttribdvARB #define glGetVertexAttribdvNV epoxy_glGetVertexAttribdvNV #define glGetVertexAttribfv epoxy_glGetVertexAttribfv #define glGetVertexAttribfvARB epoxy_glGetVertexAttribfvARB #define glGetVertexAttribfvNV epoxy_glGetVertexAttribfvNV #define glGetVertexAttribiv epoxy_glGetVertexAttribiv #define glGetVertexAttribivARB epoxy_glGetVertexAttribivARB #define glGetVertexAttribivNV epoxy_glGetVertexAttribivNV #define glGetVideoCaptureStreamdvNV epoxy_glGetVideoCaptureStreamdvNV #define glGetVideoCaptureStreamfvNV epoxy_glGetVideoCaptureStreamfvNV #define glGetVideoCaptureStreamivNV epoxy_glGetVideoCaptureStreamivNV #define glGetVideoCaptureivNV epoxy_glGetVideoCaptureivNV #define glGetVideoi64vNV epoxy_glGetVideoi64vNV #define glGetVideoivNV epoxy_glGetVideoivNV #define glGetVideoui64vNV epoxy_glGetVideoui64vNV #define glGetVideouivNV epoxy_glGetVideouivNV #define glGetVkProcAddrNV epoxy_glGetVkProcAddrNV #define glGetnColorTable epoxy_glGetnColorTable #define glGetnColorTableARB epoxy_glGetnColorTableARB #define glGetnCompressedTexImage epoxy_glGetnCompressedTexImage #define glGetnCompressedTexImageARB epoxy_glGetnCompressedTexImageARB #define glGetnConvolutionFilter epoxy_glGetnConvolutionFilter #define glGetnConvolutionFilterARB epoxy_glGetnConvolutionFilterARB #define glGetnHistogram epoxy_glGetnHistogram #define glGetnHistogramARB epoxy_glGetnHistogramARB #define glGetnMapdv epoxy_glGetnMapdv #define glGetnMapdvARB epoxy_glGetnMapdvARB #define glGetnMapfv epoxy_glGetnMapfv #define glGetnMapfvARB epoxy_glGetnMapfvARB #define glGetnMapiv epoxy_glGetnMapiv #define glGetnMapivARB epoxy_glGetnMapivARB #define glGetnMinmax epoxy_glGetnMinmax #define glGetnMinmaxARB epoxy_glGetnMinmaxARB #define glGetnPixelMapfv epoxy_glGetnPixelMapfv #define glGetnPixelMapfvARB epoxy_glGetnPixelMapfvARB #define glGetnPixelMapuiv epoxy_glGetnPixelMapuiv #define glGetnPixelMapuivARB epoxy_glGetnPixelMapuivARB #define glGetnPixelMapusv epoxy_glGetnPixelMapusv #define glGetnPixelMapusvARB epoxy_glGetnPixelMapusvARB #define glGetnPolygonStipple epoxy_glGetnPolygonStipple #define glGetnPolygonStippleARB epoxy_glGetnPolygonStippleARB #define glGetnSeparableFilter epoxy_glGetnSeparableFilter #define glGetnSeparableFilterARB epoxy_glGetnSeparableFilterARB #define glGetnTexImage epoxy_glGetnTexImage #define glGetnTexImageARB epoxy_glGetnTexImageARB #define glGetnUniformdv epoxy_glGetnUniformdv #define glGetnUniformdvARB epoxy_glGetnUniformdvARB #define glGetnUniformfv epoxy_glGetnUniformfv #define glGetnUniformfvARB epoxy_glGetnUniformfvARB #define glGetnUniformfvEXT epoxy_glGetnUniformfvEXT #define glGetnUniformfvKHR epoxy_glGetnUniformfvKHR #define glGetnUniformi64vARB epoxy_glGetnUniformi64vARB #define glGetnUniformiv epoxy_glGetnUniformiv #define glGetnUniformivARB epoxy_glGetnUniformivARB #define glGetnUniformivEXT epoxy_glGetnUniformivEXT #define glGetnUniformivKHR epoxy_glGetnUniformivKHR #define glGetnUniformui64vARB epoxy_glGetnUniformui64vARB #define glGetnUniformuiv epoxy_glGetnUniformuiv #define glGetnUniformuivARB epoxy_glGetnUniformuivARB #define glGetnUniformuivKHR epoxy_glGetnUniformuivKHR #define glGlobalAlphaFactorbSUN epoxy_glGlobalAlphaFactorbSUN #define glGlobalAlphaFactordSUN epoxy_glGlobalAlphaFactordSUN #define glGlobalAlphaFactorfSUN epoxy_glGlobalAlphaFactorfSUN #define glGlobalAlphaFactoriSUN epoxy_glGlobalAlphaFactoriSUN #define glGlobalAlphaFactorsSUN epoxy_glGlobalAlphaFactorsSUN #define glGlobalAlphaFactorubSUN epoxy_glGlobalAlphaFactorubSUN #define glGlobalAlphaFactoruiSUN epoxy_glGlobalAlphaFactoruiSUN #define glGlobalAlphaFactorusSUN epoxy_glGlobalAlphaFactorusSUN #define glHint epoxy_glHint #define glHintPGI epoxy_glHintPGI #define glHistogram epoxy_glHistogram #define glHistogramEXT epoxy_glHistogramEXT #define glIglooInterfaceSGIX epoxy_glIglooInterfaceSGIX #define glImageTransformParameterfHP epoxy_glImageTransformParameterfHP #define glImageTransformParameterfvHP epoxy_glImageTransformParameterfvHP #define glImageTransformParameteriHP epoxy_glImageTransformParameteriHP #define glImageTransformParameterivHP epoxy_glImageTransformParameterivHP #define glImportMemoryFdEXT epoxy_glImportMemoryFdEXT #define glImportMemoryWin32HandleEXT epoxy_glImportMemoryWin32HandleEXT #define glImportMemoryWin32NameEXT epoxy_glImportMemoryWin32NameEXT #define glImportSemaphoreFdEXT epoxy_glImportSemaphoreFdEXT #define glImportSemaphoreWin32HandleEXT epoxy_glImportSemaphoreWin32HandleEXT #define glImportSemaphoreWin32NameEXT epoxy_glImportSemaphoreWin32NameEXT #define glImportSyncEXT epoxy_glImportSyncEXT #define glIndexFormatNV epoxy_glIndexFormatNV #define glIndexFuncEXT epoxy_glIndexFuncEXT #define glIndexMask epoxy_glIndexMask #define glIndexMaterialEXT epoxy_glIndexMaterialEXT #define glIndexPointer epoxy_glIndexPointer #define glIndexPointerEXT epoxy_glIndexPointerEXT #define glIndexPointerListIBM epoxy_glIndexPointerListIBM #define glIndexd epoxy_glIndexd #define glIndexdv epoxy_glIndexdv #define glIndexf epoxy_glIndexf #define glIndexfv epoxy_glIndexfv #define glIndexi epoxy_glIndexi #define glIndexiv epoxy_glIndexiv #define glIndexs epoxy_glIndexs #define glIndexsv epoxy_glIndexsv #define glIndexub epoxy_glIndexub #define glIndexubv epoxy_glIndexubv #define glIndexxOES epoxy_glIndexxOES #define glIndexxvOES epoxy_glIndexxvOES #define glInitNames epoxy_glInitNames #define glInsertComponentEXT epoxy_glInsertComponentEXT #define glInsertEventMarkerEXT epoxy_glInsertEventMarkerEXT #define glInstrumentsBufferSGIX epoxy_glInstrumentsBufferSGIX #define glInterleavedArrays epoxy_glInterleavedArrays #define glInterpolatePathsNV epoxy_glInterpolatePathsNV #define glInvalidateBufferData epoxy_glInvalidateBufferData #define glInvalidateBufferSubData epoxy_glInvalidateBufferSubData #define glInvalidateFramebuffer epoxy_glInvalidateFramebuffer #define glInvalidateNamedFramebufferData epoxy_glInvalidateNamedFramebufferData #define glInvalidateNamedFramebufferSubData epoxy_glInvalidateNamedFramebufferSubData #define glInvalidateSubFramebuffer epoxy_glInvalidateSubFramebuffer #define glInvalidateTexImage epoxy_glInvalidateTexImage #define glInvalidateTexSubImage epoxy_glInvalidateTexSubImage #define glIsAsyncMarkerSGIX epoxy_glIsAsyncMarkerSGIX #define glIsBuffer epoxy_glIsBuffer #define glIsBufferARB epoxy_glIsBufferARB #define glIsBufferResidentNV epoxy_glIsBufferResidentNV #define glIsCommandListNV epoxy_glIsCommandListNV #define glIsEnabled epoxy_glIsEnabled #define glIsEnabledIndexedEXT epoxy_glIsEnabledIndexedEXT #define glIsEnabledi epoxy_glIsEnabledi #define glIsEnablediEXT epoxy_glIsEnablediEXT #define glIsEnablediNV epoxy_glIsEnablediNV #define glIsEnablediOES epoxy_glIsEnablediOES #define glIsFenceAPPLE epoxy_glIsFenceAPPLE #define glIsFenceNV epoxy_glIsFenceNV #define glIsFramebuffer epoxy_glIsFramebuffer #define glIsFramebufferEXT epoxy_glIsFramebufferEXT #define glIsFramebufferOES epoxy_glIsFramebufferOES #define glIsImageHandleResidentARB epoxy_glIsImageHandleResidentARB #define glIsImageHandleResidentNV epoxy_glIsImageHandleResidentNV #define glIsList epoxy_glIsList #define glIsMemoryObjectEXT epoxy_glIsMemoryObjectEXT #define glIsNameAMD epoxy_glIsNameAMD #define glIsNamedBufferResidentNV epoxy_glIsNamedBufferResidentNV #define glIsNamedStringARB epoxy_glIsNamedStringARB #define glIsObjectBufferATI epoxy_glIsObjectBufferATI #define glIsOcclusionQueryNV epoxy_glIsOcclusionQueryNV #define glIsPathNV epoxy_glIsPathNV #define glIsPointInFillPathNV epoxy_glIsPointInFillPathNV #define glIsPointInStrokePathNV epoxy_glIsPointInStrokePathNV #define glIsProgram epoxy_glIsProgram #define glIsProgramARB epoxy_glIsProgramARB #define glIsProgramNV epoxy_glIsProgramNV #define glIsProgramPipeline epoxy_glIsProgramPipeline #define glIsProgramPipelineEXT epoxy_glIsProgramPipelineEXT #define glIsQuery epoxy_glIsQuery #define glIsQueryARB epoxy_glIsQueryARB #define glIsQueryEXT epoxy_glIsQueryEXT #define glIsRenderbuffer epoxy_glIsRenderbuffer #define glIsRenderbufferEXT epoxy_glIsRenderbufferEXT #define glIsRenderbufferOES epoxy_glIsRenderbufferOES #define glIsSampler epoxy_glIsSampler #define glIsSemaphoreEXT epoxy_glIsSemaphoreEXT #define glIsShader epoxy_glIsShader #define glIsStateNV epoxy_glIsStateNV #define glIsSync epoxy_glIsSync #define glIsSyncAPPLE epoxy_glIsSyncAPPLE #define glIsTexture epoxy_glIsTexture #define glIsTextureEXT epoxy_glIsTextureEXT #define glIsTextureHandleResidentARB epoxy_glIsTextureHandleResidentARB #define glIsTextureHandleResidentNV epoxy_glIsTextureHandleResidentNV #define glIsTransformFeedback epoxy_glIsTransformFeedback #define glIsTransformFeedbackNV epoxy_glIsTransformFeedbackNV #define glIsVariantEnabledEXT epoxy_glIsVariantEnabledEXT #define glIsVertexArray epoxy_glIsVertexArray #define glIsVertexArrayAPPLE epoxy_glIsVertexArrayAPPLE #define glIsVertexArrayOES epoxy_glIsVertexArrayOES #define glIsVertexAttribEnabledAPPLE epoxy_glIsVertexAttribEnabledAPPLE #define glLGPUCopyImageSubDataNVX epoxy_glLGPUCopyImageSubDataNVX #define glLGPUInterlockNVX epoxy_glLGPUInterlockNVX #define glLGPUNamedBufferSubDataNVX epoxy_glLGPUNamedBufferSubDataNVX #define glLabelObjectEXT epoxy_glLabelObjectEXT #define glLightEnviSGIX epoxy_glLightEnviSGIX #define glLightModelf epoxy_glLightModelf #define glLightModelfv epoxy_glLightModelfv #define glLightModeli epoxy_glLightModeli #define glLightModeliv epoxy_glLightModeliv #define glLightModelx epoxy_glLightModelx #define glLightModelxOES epoxy_glLightModelxOES #define glLightModelxv epoxy_glLightModelxv #define glLightModelxvOES epoxy_glLightModelxvOES #define glLightf epoxy_glLightf #define glLightfv epoxy_glLightfv #define glLighti epoxy_glLighti #define glLightiv epoxy_glLightiv #define glLightx epoxy_glLightx #define glLightxOES epoxy_glLightxOES #define glLightxv epoxy_glLightxv #define glLightxvOES epoxy_glLightxvOES #define glLineStipple epoxy_glLineStipple #define glLineWidth epoxy_glLineWidth #define glLineWidthx epoxy_glLineWidthx #define glLineWidthxOES epoxy_glLineWidthxOES #define glLinkProgram epoxy_glLinkProgram #define glLinkProgramARB epoxy_glLinkProgramARB #define glListBase epoxy_glListBase #define glListDrawCommandsStatesClientNV epoxy_glListDrawCommandsStatesClientNV #define glListParameterfSGIX epoxy_glListParameterfSGIX #define glListParameterfvSGIX epoxy_glListParameterfvSGIX #define glListParameteriSGIX epoxy_glListParameteriSGIX #define glListParameterivSGIX epoxy_glListParameterivSGIX #define glLoadIdentity epoxy_glLoadIdentity #define glLoadIdentityDeformationMapSGIX epoxy_glLoadIdentityDeformationMapSGIX #define glLoadMatrixd epoxy_glLoadMatrixd #define glLoadMatrixf epoxy_glLoadMatrixf #define glLoadMatrixx epoxy_glLoadMatrixx #define glLoadMatrixxOES epoxy_glLoadMatrixxOES #define glLoadName epoxy_glLoadName #define glLoadPaletteFromModelViewMatrixOES epoxy_glLoadPaletteFromModelViewMatrixOES #define glLoadProgramNV epoxy_glLoadProgramNV #define glLoadTransposeMatrixd epoxy_glLoadTransposeMatrixd #define glLoadTransposeMatrixdARB epoxy_glLoadTransposeMatrixdARB #define glLoadTransposeMatrixf epoxy_glLoadTransposeMatrixf #define glLoadTransposeMatrixfARB epoxy_glLoadTransposeMatrixfARB #define glLoadTransposeMatrixxOES epoxy_glLoadTransposeMatrixxOES #define glLockArraysEXT epoxy_glLockArraysEXT #define glLogicOp epoxy_glLogicOp #define glMakeBufferNonResidentNV epoxy_glMakeBufferNonResidentNV #define glMakeBufferResidentNV epoxy_glMakeBufferResidentNV #define glMakeImageHandleNonResidentARB epoxy_glMakeImageHandleNonResidentARB #define glMakeImageHandleNonResidentNV epoxy_glMakeImageHandleNonResidentNV #define glMakeImageHandleResidentARB epoxy_glMakeImageHandleResidentARB #define glMakeImageHandleResidentNV epoxy_glMakeImageHandleResidentNV #define glMakeNamedBufferNonResidentNV epoxy_glMakeNamedBufferNonResidentNV #define glMakeNamedBufferResidentNV epoxy_glMakeNamedBufferResidentNV #define glMakeTextureHandleNonResidentARB epoxy_glMakeTextureHandleNonResidentARB #define glMakeTextureHandleNonResidentNV epoxy_glMakeTextureHandleNonResidentNV #define glMakeTextureHandleResidentARB epoxy_glMakeTextureHandleResidentARB #define glMakeTextureHandleResidentNV epoxy_glMakeTextureHandleResidentNV #define glMap1d epoxy_glMap1d #define glMap1f epoxy_glMap1f #define glMap1xOES epoxy_glMap1xOES #define glMap2d epoxy_glMap2d #define glMap2f epoxy_glMap2f #define glMap2xOES epoxy_glMap2xOES #define glMapBuffer epoxy_glMapBuffer #define glMapBufferARB epoxy_glMapBufferARB #define glMapBufferOES epoxy_glMapBufferOES #define glMapBufferRange epoxy_glMapBufferRange #define glMapBufferRangeEXT epoxy_glMapBufferRangeEXT #define glMapControlPointsNV epoxy_glMapControlPointsNV #define glMapGrid1d epoxy_glMapGrid1d #define glMapGrid1f epoxy_glMapGrid1f #define glMapGrid1xOES epoxy_glMapGrid1xOES #define glMapGrid2d epoxy_glMapGrid2d #define glMapGrid2f epoxy_glMapGrid2f #define glMapGrid2xOES epoxy_glMapGrid2xOES #define glMapNamedBuffer epoxy_glMapNamedBuffer #define glMapNamedBufferEXT epoxy_glMapNamedBufferEXT #define glMapNamedBufferRange epoxy_glMapNamedBufferRange #define glMapNamedBufferRangeEXT epoxy_glMapNamedBufferRangeEXT #define glMapObjectBufferATI epoxy_glMapObjectBufferATI #define glMapParameterfvNV epoxy_glMapParameterfvNV #define glMapParameterivNV epoxy_glMapParameterivNV #define glMapTexture2DINTEL epoxy_glMapTexture2DINTEL #define glMapVertexAttrib1dAPPLE epoxy_glMapVertexAttrib1dAPPLE #define glMapVertexAttrib1fAPPLE epoxy_glMapVertexAttrib1fAPPLE #define glMapVertexAttrib2dAPPLE epoxy_glMapVertexAttrib2dAPPLE #define glMapVertexAttrib2fAPPLE epoxy_glMapVertexAttrib2fAPPLE #define glMaterialf epoxy_glMaterialf #define glMaterialfv epoxy_glMaterialfv #define glMateriali epoxy_glMateriali #define glMaterialiv epoxy_glMaterialiv #define glMaterialx epoxy_glMaterialx #define glMaterialxOES epoxy_glMaterialxOES #define glMaterialxv epoxy_glMaterialxv #define glMaterialxvOES epoxy_glMaterialxvOES #define glMatrixFrustumEXT epoxy_glMatrixFrustumEXT #define glMatrixIndexPointerARB epoxy_glMatrixIndexPointerARB #define glMatrixIndexPointerOES epoxy_glMatrixIndexPointerOES #define glMatrixIndexubvARB epoxy_glMatrixIndexubvARB #define glMatrixIndexuivARB epoxy_glMatrixIndexuivARB #define glMatrixIndexusvARB epoxy_glMatrixIndexusvARB #define glMatrixLoad3x2fNV epoxy_glMatrixLoad3x2fNV #define glMatrixLoad3x3fNV epoxy_glMatrixLoad3x3fNV #define glMatrixLoadIdentityEXT epoxy_glMatrixLoadIdentityEXT #define glMatrixLoadTranspose3x3fNV epoxy_glMatrixLoadTranspose3x3fNV #define glMatrixLoadTransposedEXT epoxy_glMatrixLoadTransposedEXT #define glMatrixLoadTransposefEXT epoxy_glMatrixLoadTransposefEXT #define glMatrixLoaddEXT epoxy_glMatrixLoaddEXT #define glMatrixLoadfEXT epoxy_glMatrixLoadfEXT #define glMatrixMode epoxy_glMatrixMode #define glMatrixMult3x2fNV epoxy_glMatrixMult3x2fNV #define glMatrixMult3x3fNV epoxy_glMatrixMult3x3fNV #define glMatrixMultTranspose3x3fNV epoxy_glMatrixMultTranspose3x3fNV #define glMatrixMultTransposedEXT epoxy_glMatrixMultTransposedEXT #define glMatrixMultTransposefEXT epoxy_glMatrixMultTransposefEXT #define glMatrixMultdEXT epoxy_glMatrixMultdEXT #define glMatrixMultfEXT epoxy_glMatrixMultfEXT #define glMatrixOrthoEXT epoxy_glMatrixOrthoEXT #define glMatrixPopEXT epoxy_glMatrixPopEXT #define glMatrixPushEXT epoxy_glMatrixPushEXT #define glMatrixRotatedEXT epoxy_glMatrixRotatedEXT #define glMatrixRotatefEXT epoxy_glMatrixRotatefEXT #define glMatrixScaledEXT epoxy_glMatrixScaledEXT #define glMatrixScalefEXT epoxy_glMatrixScalefEXT #define glMatrixTranslatedEXT epoxy_glMatrixTranslatedEXT #define glMatrixTranslatefEXT epoxy_glMatrixTranslatefEXT #define glMaxShaderCompilerThreadsARB epoxy_glMaxShaderCompilerThreadsARB #define glMaxShaderCompilerThreadsKHR epoxy_glMaxShaderCompilerThreadsKHR #define glMemoryBarrier epoxy_glMemoryBarrier #define glMemoryBarrierByRegion epoxy_glMemoryBarrierByRegion #define glMemoryBarrierEXT epoxy_glMemoryBarrierEXT #define glMemoryObjectParameterivEXT epoxy_glMemoryObjectParameterivEXT #define glMinSampleShading epoxy_glMinSampleShading #define glMinSampleShadingARB epoxy_glMinSampleShadingARB #define glMinSampleShadingOES epoxy_glMinSampleShadingOES #define glMinmax epoxy_glMinmax #define glMinmaxEXT epoxy_glMinmaxEXT #define glMultMatrixd epoxy_glMultMatrixd #define glMultMatrixf epoxy_glMultMatrixf #define glMultMatrixx epoxy_glMultMatrixx #define glMultMatrixxOES epoxy_glMultMatrixxOES #define glMultTransposeMatrixd epoxy_glMultTransposeMatrixd #define glMultTransposeMatrixdARB epoxy_glMultTransposeMatrixdARB #define glMultTransposeMatrixf epoxy_glMultTransposeMatrixf #define glMultTransposeMatrixfARB epoxy_glMultTransposeMatrixfARB #define glMultTransposeMatrixxOES epoxy_glMultTransposeMatrixxOES #define glMultiDrawArrays epoxy_glMultiDrawArrays #define glMultiDrawArraysEXT epoxy_glMultiDrawArraysEXT #define glMultiDrawArraysIndirect epoxy_glMultiDrawArraysIndirect #define glMultiDrawArraysIndirectAMD epoxy_glMultiDrawArraysIndirectAMD #define glMultiDrawArraysIndirectBindlessCountNV epoxy_glMultiDrawArraysIndirectBindlessCountNV #define glMultiDrawArraysIndirectBindlessNV epoxy_glMultiDrawArraysIndirectBindlessNV #define glMultiDrawArraysIndirectCount epoxy_glMultiDrawArraysIndirectCount #define glMultiDrawArraysIndirectCountARB epoxy_glMultiDrawArraysIndirectCountARB #define glMultiDrawArraysIndirectEXT epoxy_glMultiDrawArraysIndirectEXT #define glMultiDrawElementArrayAPPLE epoxy_glMultiDrawElementArrayAPPLE #define glMultiDrawElements epoxy_glMultiDrawElements #define glMultiDrawElementsBaseVertex epoxy_glMultiDrawElementsBaseVertex #define glMultiDrawElementsBaseVertexEXT epoxy_glMultiDrawElementsBaseVertexEXT #define glMultiDrawElementsEXT epoxy_glMultiDrawElementsEXT #define glMultiDrawElementsIndirect epoxy_glMultiDrawElementsIndirect #define glMultiDrawElementsIndirectAMD epoxy_glMultiDrawElementsIndirectAMD #define glMultiDrawElementsIndirectBindlessCountNV epoxy_glMultiDrawElementsIndirectBindlessCountNV #define glMultiDrawElementsIndirectBindlessNV epoxy_glMultiDrawElementsIndirectBindlessNV #define glMultiDrawElementsIndirectCount epoxy_glMultiDrawElementsIndirectCount #define glMultiDrawElementsIndirectCountARB epoxy_glMultiDrawElementsIndirectCountARB #define glMultiDrawElementsIndirectEXT epoxy_glMultiDrawElementsIndirectEXT #define glMultiDrawMeshTasksIndirectCountNV epoxy_glMultiDrawMeshTasksIndirectCountNV #define glMultiDrawMeshTasksIndirectNV epoxy_glMultiDrawMeshTasksIndirectNV #define glMultiDrawRangeElementArrayAPPLE epoxy_glMultiDrawRangeElementArrayAPPLE #define glMultiModeDrawArraysIBM epoxy_glMultiModeDrawArraysIBM #define glMultiModeDrawElementsIBM epoxy_glMultiModeDrawElementsIBM #define glMultiTexBufferEXT epoxy_glMultiTexBufferEXT #define glMultiTexCoord1bOES epoxy_glMultiTexCoord1bOES #define glMultiTexCoord1bvOES epoxy_glMultiTexCoord1bvOES #define glMultiTexCoord1d epoxy_glMultiTexCoord1d #define glMultiTexCoord1dARB epoxy_glMultiTexCoord1dARB #define glMultiTexCoord1dv epoxy_glMultiTexCoord1dv #define glMultiTexCoord1dvARB epoxy_glMultiTexCoord1dvARB #define glMultiTexCoord1f epoxy_glMultiTexCoord1f #define glMultiTexCoord1fARB epoxy_glMultiTexCoord1fARB #define glMultiTexCoord1fv epoxy_glMultiTexCoord1fv #define glMultiTexCoord1fvARB epoxy_glMultiTexCoord1fvARB #define glMultiTexCoord1hNV epoxy_glMultiTexCoord1hNV #define glMultiTexCoord1hvNV epoxy_glMultiTexCoord1hvNV #define glMultiTexCoord1i epoxy_glMultiTexCoord1i #define glMultiTexCoord1iARB epoxy_glMultiTexCoord1iARB #define glMultiTexCoord1iv epoxy_glMultiTexCoord1iv #define glMultiTexCoord1ivARB epoxy_glMultiTexCoord1ivARB #define glMultiTexCoord1s epoxy_glMultiTexCoord1s #define glMultiTexCoord1sARB epoxy_glMultiTexCoord1sARB #define glMultiTexCoord1sv epoxy_glMultiTexCoord1sv #define glMultiTexCoord1svARB epoxy_glMultiTexCoord1svARB #define glMultiTexCoord1xOES epoxy_glMultiTexCoord1xOES #define glMultiTexCoord1xvOES epoxy_glMultiTexCoord1xvOES #define glMultiTexCoord2bOES epoxy_glMultiTexCoord2bOES #define glMultiTexCoord2bvOES epoxy_glMultiTexCoord2bvOES #define glMultiTexCoord2d epoxy_glMultiTexCoord2d #define glMultiTexCoord2dARB epoxy_glMultiTexCoord2dARB #define glMultiTexCoord2dv epoxy_glMultiTexCoord2dv #define glMultiTexCoord2dvARB epoxy_glMultiTexCoord2dvARB #define glMultiTexCoord2f epoxy_glMultiTexCoord2f #define glMultiTexCoord2fARB epoxy_glMultiTexCoord2fARB #define glMultiTexCoord2fv epoxy_glMultiTexCoord2fv #define glMultiTexCoord2fvARB epoxy_glMultiTexCoord2fvARB #define glMultiTexCoord2hNV epoxy_glMultiTexCoord2hNV #define glMultiTexCoord2hvNV epoxy_glMultiTexCoord2hvNV #define glMultiTexCoord2i epoxy_glMultiTexCoord2i #define glMultiTexCoord2iARB epoxy_glMultiTexCoord2iARB #define glMultiTexCoord2iv epoxy_glMultiTexCoord2iv #define glMultiTexCoord2ivARB epoxy_glMultiTexCoord2ivARB #define glMultiTexCoord2s epoxy_glMultiTexCoord2s #define glMultiTexCoord2sARB epoxy_glMultiTexCoord2sARB #define glMultiTexCoord2sv epoxy_glMultiTexCoord2sv #define glMultiTexCoord2svARB epoxy_glMultiTexCoord2svARB #define glMultiTexCoord2xOES epoxy_glMultiTexCoord2xOES #define glMultiTexCoord2xvOES epoxy_glMultiTexCoord2xvOES #define glMultiTexCoord3bOES epoxy_glMultiTexCoord3bOES #define glMultiTexCoord3bvOES epoxy_glMultiTexCoord3bvOES #define glMultiTexCoord3d epoxy_glMultiTexCoord3d #define glMultiTexCoord3dARB epoxy_glMultiTexCoord3dARB #define glMultiTexCoord3dv epoxy_glMultiTexCoord3dv #define glMultiTexCoord3dvARB epoxy_glMultiTexCoord3dvARB #define glMultiTexCoord3f epoxy_glMultiTexCoord3f #define glMultiTexCoord3fARB epoxy_glMultiTexCoord3fARB #define glMultiTexCoord3fv epoxy_glMultiTexCoord3fv #define glMultiTexCoord3fvARB epoxy_glMultiTexCoord3fvARB #define glMultiTexCoord3hNV epoxy_glMultiTexCoord3hNV #define glMultiTexCoord3hvNV epoxy_glMultiTexCoord3hvNV #define glMultiTexCoord3i epoxy_glMultiTexCoord3i #define glMultiTexCoord3iARB epoxy_glMultiTexCoord3iARB #define glMultiTexCoord3iv epoxy_glMultiTexCoord3iv #define glMultiTexCoord3ivARB epoxy_glMultiTexCoord3ivARB #define glMultiTexCoord3s epoxy_glMultiTexCoord3s #define glMultiTexCoord3sARB epoxy_glMultiTexCoord3sARB #define glMultiTexCoord3sv epoxy_glMultiTexCoord3sv #define glMultiTexCoord3svARB epoxy_glMultiTexCoord3svARB #define glMultiTexCoord3xOES epoxy_glMultiTexCoord3xOES #define glMultiTexCoord3xvOES epoxy_glMultiTexCoord3xvOES #define glMultiTexCoord4bOES epoxy_glMultiTexCoord4bOES #define glMultiTexCoord4bvOES epoxy_glMultiTexCoord4bvOES #define glMultiTexCoord4d epoxy_glMultiTexCoord4d #define glMultiTexCoord4dARB epoxy_glMultiTexCoord4dARB #define glMultiTexCoord4dv epoxy_glMultiTexCoord4dv #define glMultiTexCoord4dvARB epoxy_glMultiTexCoord4dvARB #define glMultiTexCoord4f epoxy_glMultiTexCoord4f #define glMultiTexCoord4fARB epoxy_glMultiTexCoord4fARB #define glMultiTexCoord4fv epoxy_glMultiTexCoord4fv #define glMultiTexCoord4fvARB epoxy_glMultiTexCoord4fvARB #define glMultiTexCoord4hNV epoxy_glMultiTexCoord4hNV #define glMultiTexCoord4hvNV epoxy_glMultiTexCoord4hvNV #define glMultiTexCoord4i epoxy_glMultiTexCoord4i #define glMultiTexCoord4iARB epoxy_glMultiTexCoord4iARB #define glMultiTexCoord4iv epoxy_glMultiTexCoord4iv #define glMultiTexCoord4ivARB epoxy_glMultiTexCoord4ivARB #define glMultiTexCoord4s epoxy_glMultiTexCoord4s #define glMultiTexCoord4sARB epoxy_glMultiTexCoord4sARB #define glMultiTexCoord4sv epoxy_glMultiTexCoord4sv #define glMultiTexCoord4svARB epoxy_glMultiTexCoord4svARB #define glMultiTexCoord4x epoxy_glMultiTexCoord4x #define glMultiTexCoord4xOES epoxy_glMultiTexCoord4xOES #define glMultiTexCoord4xvOES epoxy_glMultiTexCoord4xvOES #define glMultiTexCoordP1ui epoxy_glMultiTexCoordP1ui #define glMultiTexCoordP1uiv epoxy_glMultiTexCoordP1uiv #define glMultiTexCoordP2ui epoxy_glMultiTexCoordP2ui #define glMultiTexCoordP2uiv epoxy_glMultiTexCoordP2uiv #define glMultiTexCoordP3ui epoxy_glMultiTexCoordP3ui #define glMultiTexCoordP3uiv epoxy_glMultiTexCoordP3uiv #define glMultiTexCoordP4ui epoxy_glMultiTexCoordP4ui #define glMultiTexCoordP4uiv epoxy_glMultiTexCoordP4uiv #define glMultiTexCoordPointerEXT epoxy_glMultiTexCoordPointerEXT #define glMultiTexEnvfEXT epoxy_glMultiTexEnvfEXT #define glMultiTexEnvfvEXT epoxy_glMultiTexEnvfvEXT #define glMultiTexEnviEXT epoxy_glMultiTexEnviEXT #define glMultiTexEnvivEXT epoxy_glMultiTexEnvivEXT #define glMultiTexGendEXT epoxy_glMultiTexGendEXT #define glMultiTexGendvEXT epoxy_glMultiTexGendvEXT #define glMultiTexGenfEXT epoxy_glMultiTexGenfEXT #define glMultiTexGenfvEXT epoxy_glMultiTexGenfvEXT #define glMultiTexGeniEXT epoxy_glMultiTexGeniEXT #define glMultiTexGenivEXT epoxy_glMultiTexGenivEXT #define glMultiTexImage1DEXT epoxy_glMultiTexImage1DEXT #define glMultiTexImage2DEXT epoxy_glMultiTexImage2DEXT #define glMultiTexImage3DEXT epoxy_glMultiTexImage3DEXT #define glMultiTexParameterIivEXT epoxy_glMultiTexParameterIivEXT #define glMultiTexParameterIuivEXT epoxy_glMultiTexParameterIuivEXT #define glMultiTexParameterfEXT epoxy_glMultiTexParameterfEXT #define glMultiTexParameterfvEXT epoxy_glMultiTexParameterfvEXT #define glMultiTexParameteriEXT epoxy_glMultiTexParameteriEXT #define glMultiTexParameterivEXT epoxy_glMultiTexParameterivEXT #define glMultiTexRenderbufferEXT epoxy_glMultiTexRenderbufferEXT #define glMultiTexSubImage1DEXT epoxy_glMultiTexSubImage1DEXT #define glMultiTexSubImage2DEXT epoxy_glMultiTexSubImage2DEXT #define glMultiTexSubImage3DEXT epoxy_glMultiTexSubImage3DEXT #define glMulticastBarrierNV epoxy_glMulticastBarrierNV #define glMulticastBlitFramebufferNV epoxy_glMulticastBlitFramebufferNV #define glMulticastBufferSubDataNV epoxy_glMulticastBufferSubDataNV #define glMulticastCopyBufferSubDataNV epoxy_glMulticastCopyBufferSubDataNV #define glMulticastCopyImageSubDataNV epoxy_glMulticastCopyImageSubDataNV #define glMulticastFramebufferSampleLocationsfvNV epoxy_glMulticastFramebufferSampleLocationsfvNV #define glMulticastGetQueryObjecti64vNV epoxy_glMulticastGetQueryObjecti64vNV #define glMulticastGetQueryObjectivNV epoxy_glMulticastGetQueryObjectivNV #define glMulticastGetQueryObjectui64vNV epoxy_glMulticastGetQueryObjectui64vNV #define glMulticastGetQueryObjectuivNV epoxy_glMulticastGetQueryObjectuivNV #define glMulticastScissorArrayvNVX epoxy_glMulticastScissorArrayvNVX #define glMulticastViewportArrayvNVX epoxy_glMulticastViewportArrayvNVX #define glMulticastViewportPositionWScaleNVX epoxy_glMulticastViewportPositionWScaleNVX #define glMulticastWaitSyncNV epoxy_glMulticastWaitSyncNV #define glNamedBufferAttachMemoryNV epoxy_glNamedBufferAttachMemoryNV #define glNamedBufferData epoxy_glNamedBufferData #define glNamedBufferDataEXT epoxy_glNamedBufferDataEXT #define glNamedBufferPageCommitmentARB epoxy_glNamedBufferPageCommitmentARB #define glNamedBufferPageCommitmentEXT epoxy_glNamedBufferPageCommitmentEXT #define glNamedBufferStorage epoxy_glNamedBufferStorage #define glNamedBufferStorageEXT epoxy_glNamedBufferStorageEXT #define glNamedBufferStorageExternalEXT epoxy_glNamedBufferStorageExternalEXT #define glNamedBufferStorageMemEXT epoxy_glNamedBufferStorageMemEXT #define glNamedBufferSubData epoxy_glNamedBufferSubData #define glNamedBufferSubDataEXT epoxy_glNamedBufferSubDataEXT #define glNamedCopyBufferSubDataEXT epoxy_glNamedCopyBufferSubDataEXT #define glNamedFramebufferDrawBuffer epoxy_glNamedFramebufferDrawBuffer #define glNamedFramebufferDrawBuffers epoxy_glNamedFramebufferDrawBuffers #define glNamedFramebufferParameteri epoxy_glNamedFramebufferParameteri #define glNamedFramebufferParameteriEXT epoxy_glNamedFramebufferParameteriEXT #define glNamedFramebufferReadBuffer epoxy_glNamedFramebufferReadBuffer #define glNamedFramebufferRenderbuffer epoxy_glNamedFramebufferRenderbuffer #define glNamedFramebufferRenderbufferEXT epoxy_glNamedFramebufferRenderbufferEXT #define glNamedFramebufferSampleLocationsfvARB epoxy_glNamedFramebufferSampleLocationsfvARB #define glNamedFramebufferSampleLocationsfvNV epoxy_glNamedFramebufferSampleLocationsfvNV #define glNamedFramebufferSamplePositionsfvAMD epoxy_glNamedFramebufferSamplePositionsfvAMD #define glNamedFramebufferTexture epoxy_glNamedFramebufferTexture #define glNamedFramebufferTexture1DEXT epoxy_glNamedFramebufferTexture1DEXT #define glNamedFramebufferTexture2DEXT epoxy_glNamedFramebufferTexture2DEXT #define glNamedFramebufferTexture3DEXT epoxy_glNamedFramebufferTexture3DEXT #define glNamedFramebufferTextureEXT epoxy_glNamedFramebufferTextureEXT #define glNamedFramebufferTextureFaceEXT epoxy_glNamedFramebufferTextureFaceEXT #define glNamedFramebufferTextureLayer epoxy_glNamedFramebufferTextureLayer #define glNamedFramebufferTextureLayerEXT epoxy_glNamedFramebufferTextureLayerEXT #define glNamedProgramLocalParameter4dEXT epoxy_glNamedProgramLocalParameter4dEXT #define glNamedProgramLocalParameter4dvEXT epoxy_glNamedProgramLocalParameter4dvEXT #define glNamedProgramLocalParameter4fEXT epoxy_glNamedProgramLocalParameter4fEXT #define glNamedProgramLocalParameter4fvEXT epoxy_glNamedProgramLocalParameter4fvEXT #define glNamedProgramLocalParameterI4iEXT epoxy_glNamedProgramLocalParameterI4iEXT #define glNamedProgramLocalParameterI4ivEXT epoxy_glNamedProgramLocalParameterI4ivEXT #define glNamedProgramLocalParameterI4uiEXT epoxy_glNamedProgramLocalParameterI4uiEXT #define glNamedProgramLocalParameterI4uivEXT epoxy_glNamedProgramLocalParameterI4uivEXT #define glNamedProgramLocalParameters4fvEXT epoxy_glNamedProgramLocalParameters4fvEXT #define glNamedProgramLocalParametersI4ivEXT epoxy_glNamedProgramLocalParametersI4ivEXT #define glNamedProgramLocalParametersI4uivEXT epoxy_glNamedProgramLocalParametersI4uivEXT #define glNamedProgramStringEXT epoxy_glNamedProgramStringEXT #define glNamedRenderbufferStorage epoxy_glNamedRenderbufferStorage #define glNamedRenderbufferStorageEXT epoxy_glNamedRenderbufferStorageEXT #define glNamedRenderbufferStorageMultisample epoxy_glNamedRenderbufferStorageMultisample #define glNamedRenderbufferStorageMultisampleAdvancedAMD epoxy_glNamedRenderbufferStorageMultisampleAdvancedAMD #define glNamedRenderbufferStorageMultisampleCoverageEXT epoxy_glNamedRenderbufferStorageMultisampleCoverageEXT #define glNamedRenderbufferStorageMultisampleEXT epoxy_glNamedRenderbufferStorageMultisampleEXT #define glNamedStringARB epoxy_glNamedStringARB #define glNewList epoxy_glNewList #define glNewObjectBufferATI epoxy_glNewObjectBufferATI #define glNormal3b epoxy_glNormal3b #define glNormal3bv epoxy_glNormal3bv #define glNormal3d epoxy_glNormal3d #define glNormal3dv epoxy_glNormal3dv #define glNormal3f epoxy_glNormal3f #define glNormal3fVertex3fSUN epoxy_glNormal3fVertex3fSUN #define glNormal3fVertex3fvSUN epoxy_glNormal3fVertex3fvSUN #define glNormal3fv epoxy_glNormal3fv #define glNormal3hNV epoxy_glNormal3hNV #define glNormal3hvNV epoxy_glNormal3hvNV #define glNormal3i epoxy_glNormal3i #define glNormal3iv epoxy_glNormal3iv #define glNormal3s epoxy_glNormal3s #define glNormal3sv epoxy_glNormal3sv #define glNormal3x epoxy_glNormal3x #define glNormal3xOES epoxy_glNormal3xOES #define glNormal3xvOES epoxy_glNormal3xvOES #define glNormalFormatNV epoxy_glNormalFormatNV #define glNormalP3ui epoxy_glNormalP3ui #define glNormalP3uiv epoxy_glNormalP3uiv #define glNormalPointer epoxy_glNormalPointer #define glNormalPointerEXT epoxy_glNormalPointerEXT #define glNormalPointerListIBM epoxy_glNormalPointerListIBM #define glNormalPointervINTEL epoxy_glNormalPointervINTEL #define glNormalStream3bATI epoxy_glNormalStream3bATI #define glNormalStream3bvATI epoxy_glNormalStream3bvATI #define glNormalStream3dATI epoxy_glNormalStream3dATI #define glNormalStream3dvATI epoxy_glNormalStream3dvATI #define glNormalStream3fATI epoxy_glNormalStream3fATI #define glNormalStream3fvATI epoxy_glNormalStream3fvATI #define glNormalStream3iATI epoxy_glNormalStream3iATI #define glNormalStream3ivATI epoxy_glNormalStream3ivATI #define glNormalStream3sATI epoxy_glNormalStream3sATI #define glNormalStream3svATI epoxy_glNormalStream3svATI #define glObjectLabel epoxy_glObjectLabel #define glObjectLabelKHR epoxy_glObjectLabelKHR #define glObjectPtrLabel epoxy_glObjectPtrLabel #define glObjectPtrLabelKHR epoxy_glObjectPtrLabelKHR #define glObjectPurgeableAPPLE epoxy_glObjectPurgeableAPPLE #define glObjectUnpurgeableAPPLE epoxy_glObjectUnpurgeableAPPLE #define glOrtho epoxy_glOrtho #define glOrthof epoxy_glOrthof #define glOrthofOES epoxy_glOrthofOES #define glOrthox epoxy_glOrthox #define glOrthoxOES epoxy_glOrthoxOES #define glPNTrianglesfATI epoxy_glPNTrianglesfATI #define glPNTrianglesiATI epoxy_glPNTrianglesiATI #define glPassTexCoordATI epoxy_glPassTexCoordATI #define glPassThrough epoxy_glPassThrough #define glPassThroughxOES epoxy_glPassThroughxOES #define glPatchParameterfv epoxy_glPatchParameterfv #define glPatchParameteri epoxy_glPatchParameteri #define glPatchParameteriEXT epoxy_glPatchParameteriEXT #define glPatchParameteriOES epoxy_glPatchParameteriOES #define glPathColorGenNV epoxy_glPathColorGenNV #define glPathCommandsNV epoxy_glPathCommandsNV #define glPathCoordsNV epoxy_glPathCoordsNV #define glPathCoverDepthFuncNV epoxy_glPathCoverDepthFuncNV #define glPathDashArrayNV epoxy_glPathDashArrayNV #define glPathFogGenNV epoxy_glPathFogGenNV #define glPathGlyphIndexArrayNV epoxy_glPathGlyphIndexArrayNV #define glPathGlyphIndexRangeNV epoxy_glPathGlyphIndexRangeNV #define glPathGlyphRangeNV epoxy_glPathGlyphRangeNV #define glPathGlyphsNV epoxy_glPathGlyphsNV #define glPathMemoryGlyphIndexArrayNV epoxy_glPathMemoryGlyphIndexArrayNV #define glPathParameterfNV epoxy_glPathParameterfNV #define glPathParameterfvNV epoxy_glPathParameterfvNV #define glPathParameteriNV epoxy_glPathParameteriNV #define glPathParameterivNV epoxy_glPathParameterivNV #define glPathStencilDepthOffsetNV epoxy_glPathStencilDepthOffsetNV #define glPathStencilFuncNV epoxy_glPathStencilFuncNV #define glPathStringNV epoxy_glPathStringNV #define glPathSubCommandsNV epoxy_glPathSubCommandsNV #define glPathSubCoordsNV epoxy_glPathSubCoordsNV #define glPathTexGenNV epoxy_glPathTexGenNV #define glPauseTransformFeedback epoxy_glPauseTransformFeedback #define glPauseTransformFeedbackNV epoxy_glPauseTransformFeedbackNV #define glPixelDataRangeNV epoxy_glPixelDataRangeNV #define glPixelMapfv epoxy_glPixelMapfv #define glPixelMapuiv epoxy_glPixelMapuiv #define glPixelMapusv epoxy_glPixelMapusv #define glPixelMapx epoxy_glPixelMapx #define glPixelStoref epoxy_glPixelStoref #define glPixelStorei epoxy_glPixelStorei #define glPixelStorex epoxy_glPixelStorex #define glPixelTexGenParameterfSGIS epoxy_glPixelTexGenParameterfSGIS #define glPixelTexGenParameterfvSGIS epoxy_glPixelTexGenParameterfvSGIS #define glPixelTexGenParameteriSGIS epoxy_glPixelTexGenParameteriSGIS #define glPixelTexGenParameterivSGIS epoxy_glPixelTexGenParameterivSGIS #define glPixelTexGenSGIX epoxy_glPixelTexGenSGIX #define glPixelTransferf epoxy_glPixelTransferf #define glPixelTransferi epoxy_glPixelTransferi #define glPixelTransferxOES epoxy_glPixelTransferxOES #define glPixelTransformParameterfEXT epoxy_glPixelTransformParameterfEXT #define glPixelTransformParameterfvEXT epoxy_glPixelTransformParameterfvEXT #define glPixelTransformParameteriEXT epoxy_glPixelTransformParameteriEXT #define glPixelTransformParameterivEXT epoxy_glPixelTransformParameterivEXT #define glPixelZoom epoxy_glPixelZoom #define glPixelZoomxOES epoxy_glPixelZoomxOES #define glPointAlongPathNV epoxy_glPointAlongPathNV #define glPointParameterf epoxy_glPointParameterf #define glPointParameterfARB epoxy_glPointParameterfARB #define glPointParameterfEXT epoxy_glPointParameterfEXT #define glPointParameterfSGIS epoxy_glPointParameterfSGIS #define glPointParameterfv epoxy_glPointParameterfv #define glPointParameterfvARB epoxy_glPointParameterfvARB #define glPointParameterfvEXT epoxy_glPointParameterfvEXT #define glPointParameterfvSGIS epoxy_glPointParameterfvSGIS #define glPointParameteri epoxy_glPointParameteri #define glPointParameteriNV epoxy_glPointParameteriNV #define glPointParameteriv epoxy_glPointParameteriv #define glPointParameterivNV epoxy_glPointParameterivNV #define glPointParameterx epoxy_glPointParameterx #define glPointParameterxOES epoxy_glPointParameterxOES #define glPointParameterxv epoxy_glPointParameterxv #define glPointParameterxvOES epoxy_glPointParameterxvOES #define glPointSize epoxy_glPointSize #define glPointSizePointerOES epoxy_glPointSizePointerOES #define glPointSizex epoxy_glPointSizex #define glPointSizexOES epoxy_glPointSizexOES #define glPollAsyncSGIX epoxy_glPollAsyncSGIX #define glPollInstrumentsSGIX epoxy_glPollInstrumentsSGIX #define glPolygonMode epoxy_glPolygonMode #define glPolygonModeNV epoxy_glPolygonModeNV #define glPolygonOffset epoxy_glPolygonOffset #define glPolygonOffsetClamp epoxy_glPolygonOffsetClamp #define glPolygonOffsetClampEXT epoxy_glPolygonOffsetClampEXT #define glPolygonOffsetEXT epoxy_glPolygonOffsetEXT #define glPolygonOffsetx epoxy_glPolygonOffsetx #define glPolygonOffsetxOES epoxy_glPolygonOffsetxOES #define glPolygonStipple epoxy_glPolygonStipple #define glPopAttrib epoxy_glPopAttrib #define glPopClientAttrib epoxy_glPopClientAttrib #define glPopDebugGroup epoxy_glPopDebugGroup #define glPopDebugGroupKHR epoxy_glPopDebugGroupKHR #define glPopGroupMarkerEXT epoxy_glPopGroupMarkerEXT #define glPopMatrix epoxy_glPopMatrix #define glPopName epoxy_glPopName #define glPresentFrameDualFillNV epoxy_glPresentFrameDualFillNV #define glPresentFrameKeyedNV epoxy_glPresentFrameKeyedNV #define glPrimitiveBoundingBox epoxy_glPrimitiveBoundingBox #define glPrimitiveBoundingBoxARB epoxy_glPrimitiveBoundingBoxARB #define glPrimitiveBoundingBoxEXT epoxy_glPrimitiveBoundingBoxEXT #define glPrimitiveBoundingBoxOES epoxy_glPrimitiveBoundingBoxOES #define glPrimitiveRestartIndex epoxy_glPrimitiveRestartIndex #define glPrimitiveRestartIndexNV epoxy_glPrimitiveRestartIndexNV #define glPrimitiveRestartNV epoxy_glPrimitiveRestartNV #define glPrioritizeTextures epoxy_glPrioritizeTextures #define glPrioritizeTexturesEXT epoxy_glPrioritizeTexturesEXT #define glPrioritizeTexturesxOES epoxy_glPrioritizeTexturesxOES #define glProgramBinary epoxy_glProgramBinary #define glProgramBinaryOES epoxy_glProgramBinaryOES #define glProgramBufferParametersIivNV epoxy_glProgramBufferParametersIivNV #define glProgramBufferParametersIuivNV epoxy_glProgramBufferParametersIuivNV #define glProgramBufferParametersfvNV epoxy_glProgramBufferParametersfvNV #define glProgramEnvParameter4dARB epoxy_glProgramEnvParameter4dARB #define glProgramEnvParameter4dvARB epoxy_glProgramEnvParameter4dvARB #define glProgramEnvParameter4fARB epoxy_glProgramEnvParameter4fARB #define glProgramEnvParameter4fvARB epoxy_glProgramEnvParameter4fvARB #define glProgramEnvParameterI4iNV epoxy_glProgramEnvParameterI4iNV #define glProgramEnvParameterI4ivNV epoxy_glProgramEnvParameterI4ivNV #define glProgramEnvParameterI4uiNV epoxy_glProgramEnvParameterI4uiNV #define glProgramEnvParameterI4uivNV epoxy_glProgramEnvParameterI4uivNV #define glProgramEnvParameters4fvEXT epoxy_glProgramEnvParameters4fvEXT #define glProgramEnvParametersI4ivNV epoxy_glProgramEnvParametersI4ivNV #define glProgramEnvParametersI4uivNV epoxy_glProgramEnvParametersI4uivNV #define glProgramLocalParameter4dARB epoxy_glProgramLocalParameter4dARB #define glProgramLocalParameter4dvARB epoxy_glProgramLocalParameter4dvARB #define glProgramLocalParameter4fARB epoxy_glProgramLocalParameter4fARB #define glProgramLocalParameter4fvARB epoxy_glProgramLocalParameter4fvARB #define glProgramLocalParameterI4iNV epoxy_glProgramLocalParameterI4iNV #define glProgramLocalParameterI4ivNV epoxy_glProgramLocalParameterI4ivNV #define glProgramLocalParameterI4uiNV epoxy_glProgramLocalParameterI4uiNV #define glProgramLocalParameterI4uivNV epoxy_glProgramLocalParameterI4uivNV #define glProgramLocalParameters4fvEXT epoxy_glProgramLocalParameters4fvEXT #define glProgramLocalParametersI4ivNV epoxy_glProgramLocalParametersI4ivNV #define glProgramLocalParametersI4uivNV epoxy_glProgramLocalParametersI4uivNV #define glProgramNamedParameter4dNV epoxy_glProgramNamedParameter4dNV #define glProgramNamedParameter4dvNV epoxy_glProgramNamedParameter4dvNV #define glProgramNamedParameter4fNV epoxy_glProgramNamedParameter4fNV #define glProgramNamedParameter4fvNV epoxy_glProgramNamedParameter4fvNV #define glProgramParameter4dNV epoxy_glProgramParameter4dNV #define glProgramParameter4dvNV epoxy_glProgramParameter4dvNV #define glProgramParameter4fNV epoxy_glProgramParameter4fNV #define glProgramParameter4fvNV epoxy_glProgramParameter4fvNV #define glProgramParameteri epoxy_glProgramParameteri #define glProgramParameteriARB epoxy_glProgramParameteriARB #define glProgramParameteriEXT epoxy_glProgramParameteriEXT #define glProgramParameters4dvNV epoxy_glProgramParameters4dvNV #define glProgramParameters4fvNV epoxy_glProgramParameters4fvNV #define glProgramPathFragmentInputGenNV epoxy_glProgramPathFragmentInputGenNV #define glProgramStringARB epoxy_glProgramStringARB #define glProgramSubroutineParametersuivNV epoxy_glProgramSubroutineParametersuivNV #define glProgramUniform1d epoxy_glProgramUniform1d #define glProgramUniform1dEXT epoxy_glProgramUniform1dEXT #define glProgramUniform1dv epoxy_glProgramUniform1dv #define glProgramUniform1dvEXT epoxy_glProgramUniform1dvEXT #define glProgramUniform1f epoxy_glProgramUniform1f #define glProgramUniform1fEXT epoxy_glProgramUniform1fEXT #define glProgramUniform1fv epoxy_glProgramUniform1fv #define glProgramUniform1fvEXT epoxy_glProgramUniform1fvEXT #define glProgramUniform1i epoxy_glProgramUniform1i #define glProgramUniform1i64ARB epoxy_glProgramUniform1i64ARB #define glProgramUniform1i64NV epoxy_glProgramUniform1i64NV #define glProgramUniform1i64vARB epoxy_glProgramUniform1i64vARB #define glProgramUniform1i64vNV epoxy_glProgramUniform1i64vNV #define glProgramUniform1iEXT epoxy_glProgramUniform1iEXT #define glProgramUniform1iv epoxy_glProgramUniform1iv #define glProgramUniform1ivEXT epoxy_glProgramUniform1ivEXT #define glProgramUniform1ui epoxy_glProgramUniform1ui #define glProgramUniform1ui64ARB epoxy_glProgramUniform1ui64ARB #define glProgramUniform1ui64NV epoxy_glProgramUniform1ui64NV #define glProgramUniform1ui64vARB epoxy_glProgramUniform1ui64vARB #define glProgramUniform1ui64vNV epoxy_glProgramUniform1ui64vNV #define glProgramUniform1uiEXT epoxy_glProgramUniform1uiEXT #define glProgramUniform1uiv epoxy_glProgramUniform1uiv #define glProgramUniform1uivEXT epoxy_glProgramUniform1uivEXT #define glProgramUniform2d epoxy_glProgramUniform2d #define glProgramUniform2dEXT epoxy_glProgramUniform2dEXT #define glProgramUniform2dv epoxy_glProgramUniform2dv #define glProgramUniform2dvEXT epoxy_glProgramUniform2dvEXT #define glProgramUniform2f epoxy_glProgramUniform2f #define glProgramUniform2fEXT epoxy_glProgramUniform2fEXT #define glProgramUniform2fv epoxy_glProgramUniform2fv #define glProgramUniform2fvEXT epoxy_glProgramUniform2fvEXT #define glProgramUniform2i epoxy_glProgramUniform2i #define glProgramUniform2i64ARB epoxy_glProgramUniform2i64ARB #define glProgramUniform2i64NV epoxy_glProgramUniform2i64NV #define glProgramUniform2i64vARB epoxy_glProgramUniform2i64vARB #define glProgramUniform2i64vNV epoxy_glProgramUniform2i64vNV #define glProgramUniform2iEXT epoxy_glProgramUniform2iEXT #define glProgramUniform2iv epoxy_glProgramUniform2iv #define glProgramUniform2ivEXT epoxy_glProgramUniform2ivEXT #define glProgramUniform2ui epoxy_glProgramUniform2ui #define glProgramUniform2ui64ARB epoxy_glProgramUniform2ui64ARB #define glProgramUniform2ui64NV epoxy_glProgramUniform2ui64NV #define glProgramUniform2ui64vARB epoxy_glProgramUniform2ui64vARB #define glProgramUniform2ui64vNV epoxy_glProgramUniform2ui64vNV #define glProgramUniform2uiEXT epoxy_glProgramUniform2uiEXT #define glProgramUniform2uiv epoxy_glProgramUniform2uiv #define glProgramUniform2uivEXT epoxy_glProgramUniform2uivEXT #define glProgramUniform3d epoxy_glProgramUniform3d #define glProgramUniform3dEXT epoxy_glProgramUniform3dEXT #define glProgramUniform3dv epoxy_glProgramUniform3dv #define glProgramUniform3dvEXT epoxy_glProgramUniform3dvEXT #define glProgramUniform3f epoxy_glProgramUniform3f #define glProgramUniform3fEXT epoxy_glProgramUniform3fEXT #define glProgramUniform3fv epoxy_glProgramUniform3fv #define glProgramUniform3fvEXT epoxy_glProgramUniform3fvEXT #define glProgramUniform3i epoxy_glProgramUniform3i #define glProgramUniform3i64ARB epoxy_glProgramUniform3i64ARB #define glProgramUniform3i64NV epoxy_glProgramUniform3i64NV #define glProgramUniform3i64vARB epoxy_glProgramUniform3i64vARB #define glProgramUniform3i64vNV epoxy_glProgramUniform3i64vNV #define glProgramUniform3iEXT epoxy_glProgramUniform3iEXT #define glProgramUniform3iv epoxy_glProgramUniform3iv #define glProgramUniform3ivEXT epoxy_glProgramUniform3ivEXT #define glProgramUniform3ui epoxy_glProgramUniform3ui #define glProgramUniform3ui64ARB epoxy_glProgramUniform3ui64ARB #define glProgramUniform3ui64NV epoxy_glProgramUniform3ui64NV #define glProgramUniform3ui64vARB epoxy_glProgramUniform3ui64vARB #define glProgramUniform3ui64vNV epoxy_glProgramUniform3ui64vNV #define glProgramUniform3uiEXT epoxy_glProgramUniform3uiEXT #define glProgramUniform3uiv epoxy_glProgramUniform3uiv #define glProgramUniform3uivEXT epoxy_glProgramUniform3uivEXT #define glProgramUniform4d epoxy_glProgramUniform4d #define glProgramUniform4dEXT epoxy_glProgramUniform4dEXT #define glProgramUniform4dv epoxy_glProgramUniform4dv #define glProgramUniform4dvEXT epoxy_glProgramUniform4dvEXT #define glProgramUniform4f epoxy_glProgramUniform4f #define glProgramUniform4fEXT epoxy_glProgramUniform4fEXT #define glProgramUniform4fv epoxy_glProgramUniform4fv #define glProgramUniform4fvEXT epoxy_glProgramUniform4fvEXT #define glProgramUniform4i epoxy_glProgramUniform4i #define glProgramUniform4i64ARB epoxy_glProgramUniform4i64ARB #define glProgramUniform4i64NV epoxy_glProgramUniform4i64NV #define glProgramUniform4i64vARB epoxy_glProgramUniform4i64vARB #define glProgramUniform4i64vNV epoxy_glProgramUniform4i64vNV #define glProgramUniform4iEXT epoxy_glProgramUniform4iEXT #define glProgramUniform4iv epoxy_glProgramUniform4iv #define glProgramUniform4ivEXT epoxy_glProgramUniform4ivEXT #define glProgramUniform4ui epoxy_glProgramUniform4ui #define glProgramUniform4ui64ARB epoxy_glProgramUniform4ui64ARB #define glProgramUniform4ui64NV epoxy_glProgramUniform4ui64NV #define glProgramUniform4ui64vARB epoxy_glProgramUniform4ui64vARB #define glProgramUniform4ui64vNV epoxy_glProgramUniform4ui64vNV #define glProgramUniform4uiEXT epoxy_glProgramUniform4uiEXT #define glProgramUniform4uiv epoxy_glProgramUniform4uiv #define glProgramUniform4uivEXT epoxy_glProgramUniform4uivEXT #define glProgramUniformHandleui64ARB epoxy_glProgramUniformHandleui64ARB #define glProgramUniformHandleui64IMG epoxy_glProgramUniformHandleui64IMG #define glProgramUniformHandleui64NV epoxy_glProgramUniformHandleui64NV #define glProgramUniformHandleui64vARB epoxy_glProgramUniformHandleui64vARB #define glProgramUniformHandleui64vIMG epoxy_glProgramUniformHandleui64vIMG #define glProgramUniformHandleui64vNV epoxy_glProgramUniformHandleui64vNV #define glProgramUniformMatrix2dv epoxy_glProgramUniformMatrix2dv #define glProgramUniformMatrix2dvEXT epoxy_glProgramUniformMatrix2dvEXT #define glProgramUniformMatrix2fv epoxy_glProgramUniformMatrix2fv #define glProgramUniformMatrix2fvEXT epoxy_glProgramUniformMatrix2fvEXT #define glProgramUniformMatrix2x3dv epoxy_glProgramUniformMatrix2x3dv #define glProgramUniformMatrix2x3dvEXT epoxy_glProgramUniformMatrix2x3dvEXT #define glProgramUniformMatrix2x3fv epoxy_glProgramUniformMatrix2x3fv #define glProgramUniformMatrix2x3fvEXT epoxy_glProgramUniformMatrix2x3fvEXT #define glProgramUniformMatrix2x4dv epoxy_glProgramUniformMatrix2x4dv #define glProgramUniformMatrix2x4dvEXT epoxy_glProgramUniformMatrix2x4dvEXT #define glProgramUniformMatrix2x4fv epoxy_glProgramUniformMatrix2x4fv #define glProgramUniformMatrix2x4fvEXT epoxy_glProgramUniformMatrix2x4fvEXT #define glProgramUniformMatrix3dv epoxy_glProgramUniformMatrix3dv #define glProgramUniformMatrix3dvEXT epoxy_glProgramUniformMatrix3dvEXT #define glProgramUniformMatrix3fv epoxy_glProgramUniformMatrix3fv #define glProgramUniformMatrix3fvEXT epoxy_glProgramUniformMatrix3fvEXT #define glProgramUniformMatrix3x2dv epoxy_glProgramUniformMatrix3x2dv #define glProgramUniformMatrix3x2dvEXT epoxy_glProgramUniformMatrix3x2dvEXT #define glProgramUniformMatrix3x2fv epoxy_glProgramUniformMatrix3x2fv #define glProgramUniformMatrix3x2fvEXT epoxy_glProgramUniformMatrix3x2fvEXT #define glProgramUniformMatrix3x4dv epoxy_glProgramUniformMatrix3x4dv #define glProgramUniformMatrix3x4dvEXT epoxy_glProgramUniformMatrix3x4dvEXT #define glProgramUniformMatrix3x4fv epoxy_glProgramUniformMatrix3x4fv #define glProgramUniformMatrix3x4fvEXT epoxy_glProgramUniformMatrix3x4fvEXT #define glProgramUniformMatrix4dv epoxy_glProgramUniformMatrix4dv #define glProgramUniformMatrix4dvEXT epoxy_glProgramUniformMatrix4dvEXT #define glProgramUniformMatrix4fv epoxy_glProgramUniformMatrix4fv #define glProgramUniformMatrix4fvEXT epoxy_glProgramUniformMatrix4fvEXT #define glProgramUniformMatrix4x2dv epoxy_glProgramUniformMatrix4x2dv #define glProgramUniformMatrix4x2dvEXT epoxy_glProgramUniformMatrix4x2dvEXT #define glProgramUniformMatrix4x2fv epoxy_glProgramUniformMatrix4x2fv #define glProgramUniformMatrix4x2fvEXT epoxy_glProgramUniformMatrix4x2fvEXT #define glProgramUniformMatrix4x3dv epoxy_glProgramUniformMatrix4x3dv #define glProgramUniformMatrix4x3dvEXT epoxy_glProgramUniformMatrix4x3dvEXT #define glProgramUniformMatrix4x3fv epoxy_glProgramUniformMatrix4x3fv #define glProgramUniformMatrix4x3fvEXT epoxy_glProgramUniformMatrix4x3fvEXT #define glProgramUniformui64NV epoxy_glProgramUniformui64NV #define glProgramUniformui64vNV epoxy_glProgramUniformui64vNV #define glProgramVertexLimitNV epoxy_glProgramVertexLimitNV #define glProvokingVertex epoxy_glProvokingVertex #define glProvokingVertexEXT epoxy_glProvokingVertexEXT #define glPushAttrib epoxy_glPushAttrib #define glPushClientAttrib epoxy_glPushClientAttrib #define glPushClientAttribDefaultEXT epoxy_glPushClientAttribDefaultEXT #define glPushDebugGroup epoxy_glPushDebugGroup #define glPushDebugGroupKHR epoxy_glPushDebugGroupKHR #define glPushGroupMarkerEXT epoxy_glPushGroupMarkerEXT #define glPushMatrix epoxy_glPushMatrix #define glPushName epoxy_glPushName #define glQueryCounter epoxy_glQueryCounter #define glQueryCounterEXT epoxy_glQueryCounterEXT #define glQueryMatrixxOES epoxy_glQueryMatrixxOES #define glQueryObjectParameteruiAMD epoxy_glQueryObjectParameteruiAMD #define glQueryResourceNV epoxy_glQueryResourceNV #define glQueryResourceTagNV epoxy_glQueryResourceTagNV #define glRasterPos2d epoxy_glRasterPos2d #define glRasterPos2dv epoxy_glRasterPos2dv #define glRasterPos2f epoxy_glRasterPos2f #define glRasterPos2fv epoxy_glRasterPos2fv #define glRasterPos2i epoxy_glRasterPos2i #define glRasterPos2iv epoxy_glRasterPos2iv #define glRasterPos2s epoxy_glRasterPos2s #define glRasterPos2sv epoxy_glRasterPos2sv #define glRasterPos2xOES epoxy_glRasterPos2xOES #define glRasterPos2xvOES epoxy_glRasterPos2xvOES #define glRasterPos3d epoxy_glRasterPos3d #define glRasterPos3dv epoxy_glRasterPos3dv #define glRasterPos3f epoxy_glRasterPos3f #define glRasterPos3fv epoxy_glRasterPos3fv #define glRasterPos3i epoxy_glRasterPos3i #define glRasterPos3iv epoxy_glRasterPos3iv #define glRasterPos3s epoxy_glRasterPos3s #define glRasterPos3sv epoxy_glRasterPos3sv #define glRasterPos3xOES epoxy_glRasterPos3xOES #define glRasterPos3xvOES epoxy_glRasterPos3xvOES #define glRasterPos4d epoxy_glRasterPos4d #define glRasterPos4dv epoxy_glRasterPos4dv #define glRasterPos4f epoxy_glRasterPos4f #define glRasterPos4fv epoxy_glRasterPos4fv #define glRasterPos4i epoxy_glRasterPos4i #define glRasterPos4iv epoxy_glRasterPos4iv #define glRasterPos4s epoxy_glRasterPos4s #define glRasterPos4sv epoxy_glRasterPos4sv #define glRasterPos4xOES epoxy_glRasterPos4xOES #define glRasterPos4xvOES epoxy_glRasterPos4xvOES #define glRasterSamplesEXT epoxy_glRasterSamplesEXT #define glReadBuffer epoxy_glReadBuffer #define glReadBufferIndexedEXT epoxy_glReadBufferIndexedEXT #define glReadBufferNV epoxy_glReadBufferNV #define glReadInstrumentsSGIX epoxy_glReadInstrumentsSGIX #define glReadPixels epoxy_glReadPixels #define glReadnPixels epoxy_glReadnPixels #define glReadnPixelsARB epoxy_glReadnPixelsARB #define glReadnPixelsEXT epoxy_glReadnPixelsEXT #define glReadnPixelsKHR epoxy_glReadnPixelsKHR #define glRectd epoxy_glRectd #define glRectdv epoxy_glRectdv #define glRectf epoxy_glRectf #define glRectfv epoxy_glRectfv #define glRecti epoxy_glRecti #define glRectiv epoxy_glRectiv #define glRects epoxy_glRects #define glRectsv epoxy_glRectsv #define glRectxOES epoxy_glRectxOES #define glRectxvOES epoxy_glRectxvOES #define glReferencePlaneSGIX epoxy_glReferencePlaneSGIX #define glReleaseKeyedMutexWin32EXT epoxy_glReleaseKeyedMutexWin32EXT #define glReleaseShaderCompiler epoxy_glReleaseShaderCompiler #define glRenderGpuMaskNV epoxy_glRenderGpuMaskNV #define glRenderMode epoxy_glRenderMode #define glRenderbufferStorage epoxy_glRenderbufferStorage #define glRenderbufferStorageEXT epoxy_glRenderbufferStorageEXT #define glRenderbufferStorageMultisample epoxy_glRenderbufferStorageMultisample #define glRenderbufferStorageMultisampleANGLE epoxy_glRenderbufferStorageMultisampleANGLE #define glRenderbufferStorageMultisampleAPPLE epoxy_glRenderbufferStorageMultisampleAPPLE #define glRenderbufferStorageMultisampleAdvancedAMD epoxy_glRenderbufferStorageMultisampleAdvancedAMD #define glRenderbufferStorageMultisampleCoverageNV epoxy_glRenderbufferStorageMultisampleCoverageNV #define glRenderbufferStorageMultisampleEXT epoxy_glRenderbufferStorageMultisampleEXT #define glRenderbufferStorageMultisampleIMG epoxy_glRenderbufferStorageMultisampleIMG #define glRenderbufferStorageMultisampleNV epoxy_glRenderbufferStorageMultisampleNV #define glRenderbufferStorageOES epoxy_glRenderbufferStorageOES #define glReplacementCodePointerSUN epoxy_glReplacementCodePointerSUN #define glReplacementCodeubSUN epoxy_glReplacementCodeubSUN #define glReplacementCodeubvSUN epoxy_glReplacementCodeubvSUN #define glReplacementCodeuiColor3fVertex3fSUN epoxy_glReplacementCodeuiColor3fVertex3fSUN #define glReplacementCodeuiColor3fVertex3fvSUN epoxy_glReplacementCodeuiColor3fVertex3fvSUN #define glReplacementCodeuiColor4fNormal3fVertex3fSUN epoxy_glReplacementCodeuiColor4fNormal3fVertex3fSUN #define glReplacementCodeuiColor4fNormal3fVertex3fvSUN epoxy_glReplacementCodeuiColor4fNormal3fVertex3fvSUN #define glReplacementCodeuiColor4ubVertex3fSUN epoxy_glReplacementCodeuiColor4ubVertex3fSUN #define glReplacementCodeuiColor4ubVertex3fvSUN epoxy_glReplacementCodeuiColor4ubVertex3fvSUN #define glReplacementCodeuiNormal3fVertex3fSUN epoxy_glReplacementCodeuiNormal3fVertex3fSUN #define glReplacementCodeuiNormal3fVertex3fvSUN epoxy_glReplacementCodeuiNormal3fVertex3fvSUN #define glReplacementCodeuiSUN epoxy_glReplacementCodeuiSUN #define glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN epoxy_glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN #define glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN epoxy_glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN #define glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN epoxy_glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN #define glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN epoxy_glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN #define glReplacementCodeuiTexCoord2fVertex3fSUN epoxy_glReplacementCodeuiTexCoord2fVertex3fSUN #define glReplacementCodeuiTexCoord2fVertex3fvSUN epoxy_glReplacementCodeuiTexCoord2fVertex3fvSUN #define glReplacementCodeuiVertex3fSUN epoxy_glReplacementCodeuiVertex3fSUN #define glReplacementCodeuiVertex3fvSUN epoxy_glReplacementCodeuiVertex3fvSUN #define glReplacementCodeuivSUN epoxy_glReplacementCodeuivSUN #define glReplacementCodeusSUN epoxy_glReplacementCodeusSUN #define glReplacementCodeusvSUN epoxy_glReplacementCodeusvSUN #define glRequestResidentProgramsNV epoxy_glRequestResidentProgramsNV #define glResetHistogram epoxy_glResetHistogram #define glResetHistogramEXT epoxy_glResetHistogramEXT #define glResetMemoryObjectParameterNV epoxy_glResetMemoryObjectParameterNV #define glResetMinmax epoxy_glResetMinmax #define glResetMinmaxEXT epoxy_glResetMinmaxEXT #define glResizeBuffersMESA epoxy_glResizeBuffersMESA #define glResolveDepthValuesNV epoxy_glResolveDepthValuesNV #define glResolveMultisampleFramebufferAPPLE epoxy_glResolveMultisampleFramebufferAPPLE #define glResumeTransformFeedback epoxy_glResumeTransformFeedback #define glResumeTransformFeedbackNV epoxy_glResumeTransformFeedbackNV #define glRotated epoxy_glRotated #define glRotatef epoxy_glRotatef #define glRotatex epoxy_glRotatex #define glRotatexOES epoxy_glRotatexOES #define glSampleCoverage epoxy_glSampleCoverage #define glSampleCoverageARB epoxy_glSampleCoverageARB #define glSampleCoveragex epoxy_glSampleCoveragex #define glSampleCoveragexOES epoxy_glSampleCoveragexOES #define glSampleMapATI epoxy_glSampleMapATI #define glSampleMaskEXT epoxy_glSampleMaskEXT #define glSampleMaskIndexedNV epoxy_glSampleMaskIndexedNV #define glSampleMaskSGIS epoxy_glSampleMaskSGIS #define glSampleMaski epoxy_glSampleMaski #define glSamplePatternEXT epoxy_glSamplePatternEXT #define glSamplePatternSGIS epoxy_glSamplePatternSGIS #define glSamplerParameterIiv epoxy_glSamplerParameterIiv #define glSamplerParameterIivEXT epoxy_glSamplerParameterIivEXT #define glSamplerParameterIivOES epoxy_glSamplerParameterIivOES #define glSamplerParameterIuiv epoxy_glSamplerParameterIuiv #define glSamplerParameterIuivEXT epoxy_glSamplerParameterIuivEXT #define glSamplerParameterIuivOES epoxy_glSamplerParameterIuivOES #define glSamplerParameterf epoxy_glSamplerParameterf #define glSamplerParameterfv epoxy_glSamplerParameterfv #define glSamplerParameteri epoxy_glSamplerParameteri #define glSamplerParameteriv epoxy_glSamplerParameteriv #define glScaled epoxy_glScaled #define glScalef epoxy_glScalef #define glScalex epoxy_glScalex #define glScalexOES epoxy_glScalexOES #define glScissor epoxy_glScissor #define glScissorArrayv epoxy_glScissorArrayv #define glScissorArrayvNV epoxy_glScissorArrayvNV #define glScissorArrayvOES epoxy_glScissorArrayvOES #define glScissorExclusiveArrayvNV epoxy_glScissorExclusiveArrayvNV #define glScissorExclusiveNV epoxy_glScissorExclusiveNV #define glScissorIndexed epoxy_glScissorIndexed #define glScissorIndexedNV epoxy_glScissorIndexedNV #define glScissorIndexedOES epoxy_glScissorIndexedOES #define glScissorIndexedv epoxy_glScissorIndexedv #define glScissorIndexedvNV epoxy_glScissorIndexedvNV #define glScissorIndexedvOES epoxy_glScissorIndexedvOES #define glSecondaryColor3b epoxy_glSecondaryColor3b #define glSecondaryColor3bEXT epoxy_glSecondaryColor3bEXT #define glSecondaryColor3bv epoxy_glSecondaryColor3bv #define glSecondaryColor3bvEXT epoxy_glSecondaryColor3bvEXT #define glSecondaryColor3d epoxy_glSecondaryColor3d #define glSecondaryColor3dEXT epoxy_glSecondaryColor3dEXT #define glSecondaryColor3dv epoxy_glSecondaryColor3dv #define glSecondaryColor3dvEXT epoxy_glSecondaryColor3dvEXT #define glSecondaryColor3f epoxy_glSecondaryColor3f #define glSecondaryColor3fEXT epoxy_glSecondaryColor3fEXT #define glSecondaryColor3fv epoxy_glSecondaryColor3fv #define glSecondaryColor3fvEXT epoxy_glSecondaryColor3fvEXT #define glSecondaryColor3hNV epoxy_glSecondaryColor3hNV #define glSecondaryColor3hvNV epoxy_glSecondaryColor3hvNV #define glSecondaryColor3i epoxy_glSecondaryColor3i #define glSecondaryColor3iEXT epoxy_glSecondaryColor3iEXT #define glSecondaryColor3iv epoxy_glSecondaryColor3iv #define glSecondaryColor3ivEXT epoxy_glSecondaryColor3ivEXT #define glSecondaryColor3s epoxy_glSecondaryColor3s #define glSecondaryColor3sEXT epoxy_glSecondaryColor3sEXT #define glSecondaryColor3sv epoxy_glSecondaryColor3sv #define glSecondaryColor3svEXT epoxy_glSecondaryColor3svEXT #define glSecondaryColor3ub epoxy_glSecondaryColor3ub #define glSecondaryColor3ubEXT epoxy_glSecondaryColor3ubEXT #define glSecondaryColor3ubv epoxy_glSecondaryColor3ubv #define glSecondaryColor3ubvEXT epoxy_glSecondaryColor3ubvEXT #define glSecondaryColor3ui epoxy_glSecondaryColor3ui #define glSecondaryColor3uiEXT epoxy_glSecondaryColor3uiEXT #define glSecondaryColor3uiv epoxy_glSecondaryColor3uiv #define glSecondaryColor3uivEXT epoxy_glSecondaryColor3uivEXT #define glSecondaryColor3us epoxy_glSecondaryColor3us #define glSecondaryColor3usEXT epoxy_glSecondaryColor3usEXT #define glSecondaryColor3usv epoxy_glSecondaryColor3usv #define glSecondaryColor3usvEXT epoxy_glSecondaryColor3usvEXT #define glSecondaryColorFormatNV epoxy_glSecondaryColorFormatNV #define glSecondaryColorP3ui epoxy_glSecondaryColorP3ui #define glSecondaryColorP3uiv epoxy_glSecondaryColorP3uiv #define glSecondaryColorPointer epoxy_glSecondaryColorPointer #define glSecondaryColorPointerEXT epoxy_glSecondaryColorPointerEXT #define glSecondaryColorPointerListIBM epoxy_glSecondaryColorPointerListIBM #define glSelectBuffer epoxy_glSelectBuffer #define glSelectPerfMonitorCountersAMD epoxy_glSelectPerfMonitorCountersAMD #define glSemaphoreParameterui64vEXT epoxy_glSemaphoreParameterui64vEXT #define glSeparableFilter2D epoxy_glSeparableFilter2D #define glSeparableFilter2DEXT epoxy_glSeparableFilter2DEXT #define glSetFenceAPPLE epoxy_glSetFenceAPPLE #define glSetFenceNV epoxy_glSetFenceNV #define glSetFragmentShaderConstantATI epoxy_glSetFragmentShaderConstantATI #define glSetInvariantEXT epoxy_glSetInvariantEXT #define glSetLocalConstantEXT epoxy_glSetLocalConstantEXT #define glSetMultisamplefvAMD epoxy_glSetMultisamplefvAMD #define glShadeModel epoxy_glShadeModel #define glShaderBinary epoxy_glShaderBinary #define glShaderOp1EXT epoxy_glShaderOp1EXT #define glShaderOp2EXT epoxy_glShaderOp2EXT #define glShaderOp3EXT epoxy_glShaderOp3EXT #define glShaderSource epoxy_glShaderSource #define glShaderSourceARB epoxy_glShaderSourceARB #define glShaderStorageBlockBinding epoxy_glShaderStorageBlockBinding #define glShadingRateImageBarrierNV epoxy_glShadingRateImageBarrierNV #define glShadingRateImagePaletteNV epoxy_glShadingRateImagePaletteNV #define glShadingRateSampleOrderCustomNV epoxy_glShadingRateSampleOrderCustomNV #define glShadingRateSampleOrderNV epoxy_glShadingRateSampleOrderNV #define glSharpenTexFuncSGIS epoxy_glSharpenTexFuncSGIS #define glSignalSemaphoreEXT epoxy_glSignalSemaphoreEXT #define glSignalSemaphoreui64NVX epoxy_glSignalSemaphoreui64NVX #define glSignalVkFenceNV epoxy_glSignalVkFenceNV #define glSignalVkSemaphoreNV epoxy_glSignalVkSemaphoreNV #define glSpecializeShader epoxy_glSpecializeShader #define glSpecializeShaderARB epoxy_glSpecializeShaderARB #define glSpriteParameterfSGIX epoxy_glSpriteParameterfSGIX #define glSpriteParameterfvSGIX epoxy_glSpriteParameterfvSGIX #define glSpriteParameteriSGIX epoxy_glSpriteParameteriSGIX #define glSpriteParameterivSGIX epoxy_glSpriteParameterivSGIX #define glStartInstrumentsSGIX epoxy_glStartInstrumentsSGIX #define glStartTilingQCOM epoxy_glStartTilingQCOM #define glStateCaptureNV epoxy_glStateCaptureNV #define glStencilClearTagEXT epoxy_glStencilClearTagEXT #define glStencilFillPathInstancedNV epoxy_glStencilFillPathInstancedNV #define glStencilFillPathNV epoxy_glStencilFillPathNV #define glStencilFunc epoxy_glStencilFunc #define glStencilFuncSeparate epoxy_glStencilFuncSeparate #define glStencilFuncSeparateATI epoxy_glStencilFuncSeparateATI #define glStencilMask epoxy_glStencilMask #define glStencilMaskSeparate epoxy_glStencilMaskSeparate #define glStencilOp epoxy_glStencilOp #define glStencilOpSeparate epoxy_glStencilOpSeparate #define glStencilOpSeparateATI epoxy_glStencilOpSeparateATI #define glStencilOpValueAMD epoxy_glStencilOpValueAMD #define glStencilStrokePathInstancedNV epoxy_glStencilStrokePathInstancedNV #define glStencilStrokePathNV epoxy_glStencilStrokePathNV #define glStencilThenCoverFillPathInstancedNV epoxy_glStencilThenCoverFillPathInstancedNV #define glStencilThenCoverFillPathNV epoxy_glStencilThenCoverFillPathNV #define glStencilThenCoverStrokePathInstancedNV epoxy_glStencilThenCoverStrokePathInstancedNV #define glStencilThenCoverStrokePathNV epoxy_glStencilThenCoverStrokePathNV #define glStopInstrumentsSGIX epoxy_glStopInstrumentsSGIX #define glStringMarkerGREMEDY epoxy_glStringMarkerGREMEDY #define glSubpixelPrecisionBiasNV epoxy_glSubpixelPrecisionBiasNV #define glSwizzleEXT epoxy_glSwizzleEXT #define glSyncTextureINTEL epoxy_glSyncTextureINTEL #define glTagSampleBufferSGIX epoxy_glTagSampleBufferSGIX #define glTangent3bEXT epoxy_glTangent3bEXT #define glTangent3bvEXT epoxy_glTangent3bvEXT #define glTangent3dEXT epoxy_glTangent3dEXT #define glTangent3dvEXT epoxy_glTangent3dvEXT #define glTangent3fEXT epoxy_glTangent3fEXT #define glTangent3fvEXT epoxy_glTangent3fvEXT #define glTangent3iEXT epoxy_glTangent3iEXT #define glTangent3ivEXT epoxy_glTangent3ivEXT #define glTangent3sEXT epoxy_glTangent3sEXT #define glTangent3svEXT epoxy_glTangent3svEXT #define glTangentPointerEXT epoxy_glTangentPointerEXT #define glTbufferMask3DFX epoxy_glTbufferMask3DFX #define glTessellationFactorAMD epoxy_glTessellationFactorAMD #define glTessellationModeAMD epoxy_glTessellationModeAMD #define glTestFenceAPPLE epoxy_glTestFenceAPPLE #define glTestFenceNV epoxy_glTestFenceNV #define glTestObjectAPPLE epoxy_glTestObjectAPPLE #define glTexAttachMemoryNV epoxy_glTexAttachMemoryNV #define glTexBuffer epoxy_glTexBuffer #define glTexBufferARB epoxy_glTexBufferARB #define glTexBufferEXT epoxy_glTexBufferEXT #define glTexBufferOES epoxy_glTexBufferOES #define glTexBufferRange epoxy_glTexBufferRange #define glTexBufferRangeEXT epoxy_glTexBufferRangeEXT #define glTexBufferRangeOES epoxy_glTexBufferRangeOES #define glTexBumpParameterfvATI epoxy_glTexBumpParameterfvATI #define glTexBumpParameterivATI epoxy_glTexBumpParameterivATI #define glTexCoord1bOES epoxy_glTexCoord1bOES #define glTexCoord1bvOES epoxy_glTexCoord1bvOES #define glTexCoord1d epoxy_glTexCoord1d #define glTexCoord1dv epoxy_glTexCoord1dv #define glTexCoord1f epoxy_glTexCoord1f #define glTexCoord1fv epoxy_glTexCoord1fv #define glTexCoord1hNV epoxy_glTexCoord1hNV #define glTexCoord1hvNV epoxy_glTexCoord1hvNV #define glTexCoord1i epoxy_glTexCoord1i #define glTexCoord1iv epoxy_glTexCoord1iv #define glTexCoord1s epoxy_glTexCoord1s #define glTexCoord1sv epoxy_glTexCoord1sv #define glTexCoord1xOES epoxy_glTexCoord1xOES #define glTexCoord1xvOES epoxy_glTexCoord1xvOES #define glTexCoord2bOES epoxy_glTexCoord2bOES #define glTexCoord2bvOES epoxy_glTexCoord2bvOES #define glTexCoord2d epoxy_glTexCoord2d #define glTexCoord2dv epoxy_glTexCoord2dv #define glTexCoord2f epoxy_glTexCoord2f #define glTexCoord2fColor3fVertex3fSUN epoxy_glTexCoord2fColor3fVertex3fSUN #define glTexCoord2fColor3fVertex3fvSUN epoxy_glTexCoord2fColor3fVertex3fvSUN #define glTexCoord2fColor4fNormal3fVertex3fSUN epoxy_glTexCoord2fColor4fNormal3fVertex3fSUN #define glTexCoord2fColor4fNormal3fVertex3fvSUN epoxy_glTexCoord2fColor4fNormal3fVertex3fvSUN #define glTexCoord2fColor4ubVertex3fSUN epoxy_glTexCoord2fColor4ubVertex3fSUN #define glTexCoord2fColor4ubVertex3fvSUN epoxy_glTexCoord2fColor4ubVertex3fvSUN #define glTexCoord2fNormal3fVertex3fSUN epoxy_glTexCoord2fNormal3fVertex3fSUN #define glTexCoord2fNormal3fVertex3fvSUN epoxy_glTexCoord2fNormal3fVertex3fvSUN #define glTexCoord2fVertex3fSUN epoxy_glTexCoord2fVertex3fSUN #define glTexCoord2fVertex3fvSUN epoxy_glTexCoord2fVertex3fvSUN #define glTexCoord2fv epoxy_glTexCoord2fv #define glTexCoord2hNV epoxy_glTexCoord2hNV #define glTexCoord2hvNV epoxy_glTexCoord2hvNV #define glTexCoord2i epoxy_glTexCoord2i #define glTexCoord2iv epoxy_glTexCoord2iv #define glTexCoord2s epoxy_glTexCoord2s #define glTexCoord2sv epoxy_glTexCoord2sv #define glTexCoord2xOES epoxy_glTexCoord2xOES #define glTexCoord2xvOES epoxy_glTexCoord2xvOES #define glTexCoord3bOES epoxy_glTexCoord3bOES #define glTexCoord3bvOES epoxy_glTexCoord3bvOES #define glTexCoord3d epoxy_glTexCoord3d #define glTexCoord3dv epoxy_glTexCoord3dv #define glTexCoord3f epoxy_glTexCoord3f #define glTexCoord3fv epoxy_glTexCoord3fv #define glTexCoord3hNV epoxy_glTexCoord3hNV #define glTexCoord3hvNV epoxy_glTexCoord3hvNV #define glTexCoord3i epoxy_glTexCoord3i #define glTexCoord3iv epoxy_glTexCoord3iv #define glTexCoord3s epoxy_glTexCoord3s #define glTexCoord3sv epoxy_glTexCoord3sv #define glTexCoord3xOES epoxy_glTexCoord3xOES #define glTexCoord3xvOES epoxy_glTexCoord3xvOES #define glTexCoord4bOES epoxy_glTexCoord4bOES #define glTexCoord4bvOES epoxy_glTexCoord4bvOES #define glTexCoord4d epoxy_glTexCoord4d #define glTexCoord4dv epoxy_glTexCoord4dv #define glTexCoord4f epoxy_glTexCoord4f #define glTexCoord4fColor4fNormal3fVertex4fSUN epoxy_glTexCoord4fColor4fNormal3fVertex4fSUN #define glTexCoord4fColor4fNormal3fVertex4fvSUN epoxy_glTexCoord4fColor4fNormal3fVertex4fvSUN #define glTexCoord4fVertex4fSUN epoxy_glTexCoord4fVertex4fSUN #define glTexCoord4fVertex4fvSUN epoxy_glTexCoord4fVertex4fvSUN #define glTexCoord4fv epoxy_glTexCoord4fv #define glTexCoord4hNV epoxy_glTexCoord4hNV #define glTexCoord4hvNV epoxy_glTexCoord4hvNV #define glTexCoord4i epoxy_glTexCoord4i #define glTexCoord4iv epoxy_glTexCoord4iv #define glTexCoord4s epoxy_glTexCoord4s #define glTexCoord4sv epoxy_glTexCoord4sv #define glTexCoord4xOES epoxy_glTexCoord4xOES #define glTexCoord4xvOES epoxy_glTexCoord4xvOES #define glTexCoordFormatNV epoxy_glTexCoordFormatNV #define glTexCoordP1ui epoxy_glTexCoordP1ui #define glTexCoordP1uiv epoxy_glTexCoordP1uiv #define glTexCoordP2ui epoxy_glTexCoordP2ui #define glTexCoordP2uiv epoxy_glTexCoordP2uiv #define glTexCoordP3ui epoxy_glTexCoordP3ui #define glTexCoordP3uiv epoxy_glTexCoordP3uiv #define glTexCoordP4ui epoxy_glTexCoordP4ui #define glTexCoordP4uiv epoxy_glTexCoordP4uiv #define glTexCoordPointer epoxy_glTexCoordPointer #define glTexCoordPointerEXT epoxy_glTexCoordPointerEXT #define glTexCoordPointerListIBM epoxy_glTexCoordPointerListIBM #define glTexCoordPointervINTEL epoxy_glTexCoordPointervINTEL #define glTexEnvf epoxy_glTexEnvf #define glTexEnvfv epoxy_glTexEnvfv #define glTexEnvi epoxy_glTexEnvi #define glTexEnviv epoxy_glTexEnviv #define glTexEnvx epoxy_glTexEnvx #define glTexEnvxOES epoxy_glTexEnvxOES #define glTexEnvxv epoxy_glTexEnvxv #define glTexEnvxvOES epoxy_glTexEnvxvOES #define glTexFilterFuncSGIS epoxy_glTexFilterFuncSGIS #define glTexGend epoxy_glTexGend #define glTexGendv epoxy_glTexGendv #define glTexGenf epoxy_glTexGenf #define glTexGenfOES epoxy_glTexGenfOES #define glTexGenfv epoxy_glTexGenfv #define glTexGenfvOES epoxy_glTexGenfvOES #define glTexGeni epoxy_glTexGeni #define glTexGeniOES epoxy_glTexGeniOES #define glTexGeniv epoxy_glTexGeniv #define glTexGenivOES epoxy_glTexGenivOES #define glTexGenxOES epoxy_glTexGenxOES #define glTexGenxvOES epoxy_glTexGenxvOES #define glTexImage1D epoxy_glTexImage1D #define glTexImage2D epoxy_glTexImage2D #define glTexImage2DMultisample epoxy_glTexImage2DMultisample #define glTexImage2DMultisampleCoverageNV epoxy_glTexImage2DMultisampleCoverageNV #define glTexImage3D epoxy_glTexImage3D #define glTexImage3DEXT epoxy_glTexImage3DEXT #define glTexImage3DMultisample epoxy_glTexImage3DMultisample #define glTexImage3DMultisampleCoverageNV epoxy_glTexImage3DMultisampleCoverageNV #define glTexImage3DOES epoxy_glTexImage3DOES #define glTexImage4DSGIS epoxy_glTexImage4DSGIS #define glTexPageCommitmentARB epoxy_glTexPageCommitmentARB #define glTexPageCommitmentEXT epoxy_glTexPageCommitmentEXT #define glTexParameterIiv epoxy_glTexParameterIiv #define glTexParameterIivEXT epoxy_glTexParameterIivEXT #define glTexParameterIivOES epoxy_glTexParameterIivOES #define glTexParameterIuiv epoxy_glTexParameterIuiv #define glTexParameterIuivEXT epoxy_glTexParameterIuivEXT #define glTexParameterIuivOES epoxy_glTexParameterIuivOES #define glTexParameterf epoxy_glTexParameterf #define glTexParameterfv epoxy_glTexParameterfv #define glTexParameteri epoxy_glTexParameteri #define glTexParameteriv epoxy_glTexParameteriv #define glTexParameterx epoxy_glTexParameterx #define glTexParameterxOES epoxy_glTexParameterxOES #define glTexParameterxv epoxy_glTexParameterxv #define glTexParameterxvOES epoxy_glTexParameterxvOES #define glTexRenderbufferNV epoxy_glTexRenderbufferNV #define glTexStorage1D epoxy_glTexStorage1D #define glTexStorage1DEXT epoxy_glTexStorage1DEXT #define glTexStorage2D epoxy_glTexStorage2D #define glTexStorage2DEXT epoxy_glTexStorage2DEXT #define glTexStorage2DMultisample epoxy_glTexStorage2DMultisample #define glTexStorage3D epoxy_glTexStorage3D #define glTexStorage3DEXT epoxy_glTexStorage3DEXT #define glTexStorage3DMultisample epoxy_glTexStorage3DMultisample #define glTexStorage3DMultisampleOES epoxy_glTexStorage3DMultisampleOES #define glTexStorageMem1DEXT epoxy_glTexStorageMem1DEXT #define glTexStorageMem2DEXT epoxy_glTexStorageMem2DEXT #define glTexStorageMem2DMultisampleEXT epoxy_glTexStorageMem2DMultisampleEXT #define glTexStorageMem3DEXT epoxy_glTexStorageMem3DEXT #define glTexStorageMem3DMultisampleEXT epoxy_glTexStorageMem3DMultisampleEXT #define glTexStorageSparseAMD epoxy_glTexStorageSparseAMD #define glTexSubImage1D epoxy_glTexSubImage1D #define glTexSubImage1DEXT epoxy_glTexSubImage1DEXT #define glTexSubImage2D epoxy_glTexSubImage2D #define glTexSubImage2DEXT epoxy_glTexSubImage2DEXT #define glTexSubImage3D epoxy_glTexSubImage3D #define glTexSubImage3DEXT epoxy_glTexSubImage3DEXT #define glTexSubImage3DOES epoxy_glTexSubImage3DOES #define glTexSubImage4DSGIS epoxy_glTexSubImage4DSGIS #define glTextureAttachMemoryNV epoxy_glTextureAttachMemoryNV #define glTextureBarrier epoxy_glTextureBarrier #define glTextureBarrierNV epoxy_glTextureBarrierNV #define glTextureBuffer epoxy_glTextureBuffer #define glTextureBufferEXT epoxy_glTextureBufferEXT #define glTextureBufferRange epoxy_glTextureBufferRange #define glTextureBufferRangeEXT epoxy_glTextureBufferRangeEXT #define glTextureColorMaskSGIS epoxy_glTextureColorMaskSGIS #define glTextureFoveationParametersQCOM epoxy_glTextureFoveationParametersQCOM #define glTextureImage1DEXT epoxy_glTextureImage1DEXT #define glTextureImage2DEXT epoxy_glTextureImage2DEXT #define glTextureImage2DMultisampleCoverageNV epoxy_glTextureImage2DMultisampleCoverageNV #define glTextureImage2DMultisampleNV epoxy_glTextureImage2DMultisampleNV #define glTextureImage3DEXT epoxy_glTextureImage3DEXT #define glTextureImage3DMultisampleCoverageNV epoxy_glTextureImage3DMultisampleCoverageNV #define glTextureImage3DMultisampleNV epoxy_glTextureImage3DMultisampleNV #define glTextureLightEXT epoxy_glTextureLightEXT #define glTextureMaterialEXT epoxy_glTextureMaterialEXT #define glTextureNormalEXT epoxy_glTextureNormalEXT #define glTexturePageCommitmentEXT epoxy_glTexturePageCommitmentEXT #define glTextureParameterIiv epoxy_glTextureParameterIiv #define glTextureParameterIivEXT epoxy_glTextureParameterIivEXT #define glTextureParameterIuiv epoxy_glTextureParameterIuiv #define glTextureParameterIuivEXT epoxy_glTextureParameterIuivEXT #define glTextureParameterf epoxy_glTextureParameterf #define glTextureParameterfEXT epoxy_glTextureParameterfEXT #define glTextureParameterfv epoxy_glTextureParameterfv #define glTextureParameterfvEXT epoxy_glTextureParameterfvEXT #define glTextureParameteri epoxy_glTextureParameteri #define glTextureParameteriEXT epoxy_glTextureParameteriEXT #define glTextureParameteriv epoxy_glTextureParameteriv #define glTextureParameterivEXT epoxy_glTextureParameterivEXT #define glTextureRangeAPPLE epoxy_glTextureRangeAPPLE #define glTextureRenderbufferEXT epoxy_glTextureRenderbufferEXT #define glTextureStorage1D epoxy_glTextureStorage1D #define glTextureStorage1DEXT epoxy_glTextureStorage1DEXT #define glTextureStorage2D epoxy_glTextureStorage2D #define glTextureStorage2DEXT epoxy_glTextureStorage2DEXT #define glTextureStorage2DMultisample epoxy_glTextureStorage2DMultisample #define glTextureStorage2DMultisampleEXT epoxy_glTextureStorage2DMultisampleEXT #define glTextureStorage3D epoxy_glTextureStorage3D #define glTextureStorage3DEXT epoxy_glTextureStorage3DEXT #define glTextureStorage3DMultisample epoxy_glTextureStorage3DMultisample #define glTextureStorage3DMultisampleEXT epoxy_glTextureStorage3DMultisampleEXT #define glTextureStorageMem1DEXT epoxy_glTextureStorageMem1DEXT #define glTextureStorageMem2DEXT epoxy_glTextureStorageMem2DEXT #define glTextureStorageMem2DMultisampleEXT epoxy_glTextureStorageMem2DMultisampleEXT #define glTextureStorageMem3DEXT epoxy_glTextureStorageMem3DEXT #define glTextureStorageMem3DMultisampleEXT epoxy_glTextureStorageMem3DMultisampleEXT #define glTextureStorageSparseAMD epoxy_glTextureStorageSparseAMD #define glTextureSubImage1D epoxy_glTextureSubImage1D #define glTextureSubImage1DEXT epoxy_glTextureSubImage1DEXT #define glTextureSubImage2D epoxy_glTextureSubImage2D #define glTextureSubImage2DEXT epoxy_glTextureSubImage2DEXT #define glTextureSubImage3D epoxy_glTextureSubImage3D #define glTextureSubImage3DEXT epoxy_glTextureSubImage3DEXT #define glTextureView epoxy_glTextureView #define glTextureViewEXT epoxy_glTextureViewEXT #define glTextureViewOES epoxy_glTextureViewOES #define glTrackMatrixNV epoxy_glTrackMatrixNV #define glTransformFeedbackAttribsNV epoxy_glTransformFeedbackAttribsNV #define glTransformFeedbackBufferBase epoxy_glTransformFeedbackBufferBase #define glTransformFeedbackBufferRange epoxy_glTransformFeedbackBufferRange #define glTransformFeedbackStreamAttribsNV epoxy_glTransformFeedbackStreamAttribsNV #define glTransformFeedbackVaryings epoxy_glTransformFeedbackVaryings #define glTransformFeedbackVaryingsEXT epoxy_glTransformFeedbackVaryingsEXT #define glTransformFeedbackVaryingsNV epoxy_glTransformFeedbackVaryingsNV #define glTransformPathNV epoxy_glTransformPathNV #define glTranslated epoxy_glTranslated #define glTranslatef epoxy_glTranslatef #define glTranslatex epoxy_glTranslatex #define glTranslatexOES epoxy_glTranslatexOES #define glUniform1d epoxy_glUniform1d #define glUniform1dv epoxy_glUniform1dv #define glUniform1f epoxy_glUniform1f #define glUniform1fARB epoxy_glUniform1fARB #define glUniform1fv epoxy_glUniform1fv #define glUniform1fvARB epoxy_glUniform1fvARB #define glUniform1i epoxy_glUniform1i #define glUniform1i64ARB epoxy_glUniform1i64ARB #define glUniform1i64NV epoxy_glUniform1i64NV #define glUniform1i64vARB epoxy_glUniform1i64vARB #define glUniform1i64vNV epoxy_glUniform1i64vNV #define glUniform1iARB epoxy_glUniform1iARB #define glUniform1iv epoxy_glUniform1iv #define glUniform1ivARB epoxy_glUniform1ivARB #define glUniform1ui epoxy_glUniform1ui #define glUniform1ui64ARB epoxy_glUniform1ui64ARB #define glUniform1ui64NV epoxy_glUniform1ui64NV #define glUniform1ui64vARB epoxy_glUniform1ui64vARB #define glUniform1ui64vNV epoxy_glUniform1ui64vNV #define glUniform1uiEXT epoxy_glUniform1uiEXT #define glUniform1uiv epoxy_glUniform1uiv #define glUniform1uivEXT epoxy_glUniform1uivEXT #define glUniform2d epoxy_glUniform2d #define glUniform2dv epoxy_glUniform2dv #define glUniform2f epoxy_glUniform2f #define glUniform2fARB epoxy_glUniform2fARB #define glUniform2fv epoxy_glUniform2fv #define glUniform2fvARB epoxy_glUniform2fvARB #define glUniform2i epoxy_glUniform2i #define glUniform2i64ARB epoxy_glUniform2i64ARB #define glUniform2i64NV epoxy_glUniform2i64NV #define glUniform2i64vARB epoxy_glUniform2i64vARB #define glUniform2i64vNV epoxy_glUniform2i64vNV #define glUniform2iARB epoxy_glUniform2iARB #define glUniform2iv epoxy_glUniform2iv #define glUniform2ivARB epoxy_glUniform2ivARB #define glUniform2ui epoxy_glUniform2ui #define glUniform2ui64ARB epoxy_glUniform2ui64ARB #define glUniform2ui64NV epoxy_glUniform2ui64NV #define glUniform2ui64vARB epoxy_glUniform2ui64vARB #define glUniform2ui64vNV epoxy_glUniform2ui64vNV #define glUniform2uiEXT epoxy_glUniform2uiEXT #define glUniform2uiv epoxy_glUniform2uiv #define glUniform2uivEXT epoxy_glUniform2uivEXT #define glUniform3d epoxy_glUniform3d #define glUniform3dv epoxy_glUniform3dv #define glUniform3f epoxy_glUniform3f #define glUniform3fARB epoxy_glUniform3fARB #define glUniform3fv epoxy_glUniform3fv #define glUniform3fvARB epoxy_glUniform3fvARB #define glUniform3i epoxy_glUniform3i #define glUniform3i64ARB epoxy_glUniform3i64ARB #define glUniform3i64NV epoxy_glUniform3i64NV #define glUniform3i64vARB epoxy_glUniform3i64vARB #define glUniform3i64vNV epoxy_glUniform3i64vNV #define glUniform3iARB epoxy_glUniform3iARB #define glUniform3iv epoxy_glUniform3iv #define glUniform3ivARB epoxy_glUniform3ivARB #define glUniform3ui epoxy_glUniform3ui #define glUniform3ui64ARB epoxy_glUniform3ui64ARB #define glUniform3ui64NV epoxy_glUniform3ui64NV #define glUniform3ui64vARB epoxy_glUniform3ui64vARB #define glUniform3ui64vNV epoxy_glUniform3ui64vNV #define glUniform3uiEXT epoxy_glUniform3uiEXT #define glUniform3uiv epoxy_glUniform3uiv #define glUniform3uivEXT epoxy_glUniform3uivEXT #define glUniform4d epoxy_glUniform4d #define glUniform4dv epoxy_glUniform4dv #define glUniform4f epoxy_glUniform4f #define glUniform4fARB epoxy_glUniform4fARB #define glUniform4fv epoxy_glUniform4fv #define glUniform4fvARB epoxy_glUniform4fvARB #define glUniform4i epoxy_glUniform4i #define glUniform4i64ARB epoxy_glUniform4i64ARB #define glUniform4i64NV epoxy_glUniform4i64NV #define glUniform4i64vARB epoxy_glUniform4i64vARB #define glUniform4i64vNV epoxy_glUniform4i64vNV #define glUniform4iARB epoxy_glUniform4iARB #define glUniform4iv epoxy_glUniform4iv #define glUniform4ivARB epoxy_glUniform4ivARB #define glUniform4ui epoxy_glUniform4ui #define glUniform4ui64ARB epoxy_glUniform4ui64ARB #define glUniform4ui64NV epoxy_glUniform4ui64NV #define glUniform4ui64vARB epoxy_glUniform4ui64vARB #define glUniform4ui64vNV epoxy_glUniform4ui64vNV #define glUniform4uiEXT epoxy_glUniform4uiEXT #define glUniform4uiv epoxy_glUniform4uiv #define glUniform4uivEXT epoxy_glUniform4uivEXT #define glUniformBlockBinding epoxy_glUniformBlockBinding #define glUniformBufferEXT epoxy_glUniformBufferEXT #define glUniformHandleui64ARB epoxy_glUniformHandleui64ARB #define glUniformHandleui64IMG epoxy_glUniformHandleui64IMG #define glUniformHandleui64NV epoxy_glUniformHandleui64NV #define glUniformHandleui64vARB epoxy_glUniformHandleui64vARB #define glUniformHandleui64vIMG epoxy_glUniformHandleui64vIMG #define glUniformHandleui64vNV epoxy_glUniformHandleui64vNV #define glUniformMatrix2dv epoxy_glUniformMatrix2dv #define glUniformMatrix2fv epoxy_glUniformMatrix2fv #define glUniformMatrix2fvARB epoxy_glUniformMatrix2fvARB #define glUniformMatrix2x3dv epoxy_glUniformMatrix2x3dv #define glUniformMatrix2x3fv epoxy_glUniformMatrix2x3fv #define glUniformMatrix2x3fvNV epoxy_glUniformMatrix2x3fvNV #define glUniformMatrix2x4dv epoxy_glUniformMatrix2x4dv #define glUniformMatrix2x4fv epoxy_glUniformMatrix2x4fv #define glUniformMatrix2x4fvNV epoxy_glUniformMatrix2x4fvNV #define glUniformMatrix3dv epoxy_glUniformMatrix3dv #define glUniformMatrix3fv epoxy_glUniformMatrix3fv #define glUniformMatrix3fvARB epoxy_glUniformMatrix3fvARB #define glUniformMatrix3x2dv epoxy_glUniformMatrix3x2dv #define glUniformMatrix3x2fv epoxy_glUniformMatrix3x2fv #define glUniformMatrix3x2fvNV epoxy_glUniformMatrix3x2fvNV #define glUniformMatrix3x4dv epoxy_glUniformMatrix3x4dv #define glUniformMatrix3x4fv epoxy_glUniformMatrix3x4fv #define glUniformMatrix3x4fvNV epoxy_glUniformMatrix3x4fvNV #define glUniformMatrix4dv epoxy_glUniformMatrix4dv #define glUniformMatrix4fv epoxy_glUniformMatrix4fv #define glUniformMatrix4fvARB epoxy_glUniformMatrix4fvARB #define glUniformMatrix4x2dv epoxy_glUniformMatrix4x2dv #define glUniformMatrix4x2fv epoxy_glUniformMatrix4x2fv #define glUniformMatrix4x2fvNV epoxy_glUniformMatrix4x2fvNV #define glUniformMatrix4x3dv epoxy_glUniformMatrix4x3dv #define glUniformMatrix4x3fv epoxy_glUniformMatrix4x3fv #define glUniformMatrix4x3fvNV epoxy_glUniformMatrix4x3fvNV #define glUniformSubroutinesuiv epoxy_glUniformSubroutinesuiv #define glUniformui64NV epoxy_glUniformui64NV #define glUniformui64vNV epoxy_glUniformui64vNV #define glUnlockArraysEXT epoxy_glUnlockArraysEXT #define glUnmapBuffer epoxy_glUnmapBuffer #define glUnmapBufferARB epoxy_glUnmapBufferARB #define glUnmapBufferOES epoxy_glUnmapBufferOES #define glUnmapNamedBuffer epoxy_glUnmapNamedBuffer #define glUnmapNamedBufferEXT epoxy_glUnmapNamedBufferEXT #define glUnmapObjectBufferATI epoxy_glUnmapObjectBufferATI #define glUnmapTexture2DINTEL epoxy_glUnmapTexture2DINTEL #define glUpdateObjectBufferATI epoxy_glUpdateObjectBufferATI #define glUploadGpuMaskNVX epoxy_glUploadGpuMaskNVX #define glUseProgram epoxy_glUseProgram #define glUseProgramObjectARB epoxy_glUseProgramObjectARB #define glUseProgramStages epoxy_glUseProgramStages #define glUseProgramStagesEXT epoxy_glUseProgramStagesEXT #define glUseShaderProgramEXT epoxy_glUseShaderProgramEXT #define glVDPAUFiniNV epoxy_glVDPAUFiniNV #define glVDPAUGetSurfaceivNV epoxy_glVDPAUGetSurfaceivNV #define glVDPAUInitNV epoxy_glVDPAUInitNV #define glVDPAUIsSurfaceNV epoxy_glVDPAUIsSurfaceNV #define glVDPAUMapSurfacesNV epoxy_glVDPAUMapSurfacesNV #define glVDPAURegisterOutputSurfaceNV epoxy_glVDPAURegisterOutputSurfaceNV #define glVDPAURegisterVideoSurfaceNV epoxy_glVDPAURegisterVideoSurfaceNV #define glVDPAURegisterVideoSurfaceWithPictureStructureNV epoxy_glVDPAURegisterVideoSurfaceWithPictureStructureNV #define glVDPAUSurfaceAccessNV epoxy_glVDPAUSurfaceAccessNV #define glVDPAUUnmapSurfacesNV epoxy_glVDPAUUnmapSurfacesNV #define glVDPAUUnregisterSurfaceNV epoxy_glVDPAUUnregisterSurfaceNV #define glValidateProgram epoxy_glValidateProgram #define glValidateProgramARB epoxy_glValidateProgramARB #define glValidateProgramPipeline epoxy_glValidateProgramPipeline #define glValidateProgramPipelineEXT epoxy_glValidateProgramPipelineEXT #define glVariantArrayObjectATI epoxy_glVariantArrayObjectATI #define glVariantPointerEXT epoxy_glVariantPointerEXT #define glVariantbvEXT epoxy_glVariantbvEXT #define glVariantdvEXT epoxy_glVariantdvEXT #define glVariantfvEXT epoxy_glVariantfvEXT #define glVariantivEXT epoxy_glVariantivEXT #define glVariantsvEXT epoxy_glVariantsvEXT #define glVariantubvEXT epoxy_glVariantubvEXT #define glVariantuivEXT epoxy_glVariantuivEXT #define glVariantusvEXT epoxy_glVariantusvEXT #define glVertex2bOES epoxy_glVertex2bOES #define glVertex2bvOES epoxy_glVertex2bvOES #define glVertex2d epoxy_glVertex2d #define glVertex2dv epoxy_glVertex2dv #define glVertex2f epoxy_glVertex2f #define glVertex2fv epoxy_glVertex2fv #define glVertex2hNV epoxy_glVertex2hNV #define glVertex2hvNV epoxy_glVertex2hvNV #define glVertex2i epoxy_glVertex2i #define glVertex2iv epoxy_glVertex2iv #define glVertex2s epoxy_glVertex2s #define glVertex2sv epoxy_glVertex2sv #define glVertex2xOES epoxy_glVertex2xOES #define glVertex2xvOES epoxy_glVertex2xvOES #define glVertex3bOES epoxy_glVertex3bOES #define glVertex3bvOES epoxy_glVertex3bvOES #define glVertex3d epoxy_glVertex3d #define glVertex3dv epoxy_glVertex3dv #define glVertex3f epoxy_glVertex3f #define glVertex3fv epoxy_glVertex3fv #define glVertex3hNV epoxy_glVertex3hNV #define glVertex3hvNV epoxy_glVertex3hvNV #define glVertex3i epoxy_glVertex3i #define glVertex3iv epoxy_glVertex3iv #define glVertex3s epoxy_glVertex3s #define glVertex3sv epoxy_glVertex3sv #define glVertex3xOES epoxy_glVertex3xOES #define glVertex3xvOES epoxy_glVertex3xvOES #define glVertex4bOES epoxy_glVertex4bOES #define glVertex4bvOES epoxy_glVertex4bvOES #define glVertex4d epoxy_glVertex4d #define glVertex4dv epoxy_glVertex4dv #define glVertex4f epoxy_glVertex4f #define glVertex4fv epoxy_glVertex4fv #define glVertex4hNV epoxy_glVertex4hNV #define glVertex4hvNV epoxy_glVertex4hvNV #define glVertex4i epoxy_glVertex4i #define glVertex4iv epoxy_glVertex4iv #define glVertex4s epoxy_glVertex4s #define glVertex4sv epoxy_glVertex4sv #define glVertex4xOES epoxy_glVertex4xOES #define glVertex4xvOES epoxy_glVertex4xvOES #define glVertexArrayAttribBinding epoxy_glVertexArrayAttribBinding #define glVertexArrayAttribFormat epoxy_glVertexArrayAttribFormat #define glVertexArrayAttribIFormat epoxy_glVertexArrayAttribIFormat #define glVertexArrayAttribLFormat epoxy_glVertexArrayAttribLFormat #define glVertexArrayBindVertexBufferEXT epoxy_glVertexArrayBindVertexBufferEXT #define glVertexArrayBindingDivisor epoxy_glVertexArrayBindingDivisor #define glVertexArrayColorOffsetEXT epoxy_glVertexArrayColorOffsetEXT #define glVertexArrayEdgeFlagOffsetEXT epoxy_glVertexArrayEdgeFlagOffsetEXT #define glVertexArrayElementBuffer epoxy_glVertexArrayElementBuffer #define glVertexArrayFogCoordOffsetEXT epoxy_glVertexArrayFogCoordOffsetEXT #define glVertexArrayIndexOffsetEXT epoxy_glVertexArrayIndexOffsetEXT #define glVertexArrayMultiTexCoordOffsetEXT epoxy_glVertexArrayMultiTexCoordOffsetEXT #define glVertexArrayNormalOffsetEXT epoxy_glVertexArrayNormalOffsetEXT #define glVertexArrayParameteriAPPLE epoxy_glVertexArrayParameteriAPPLE #define glVertexArrayRangeAPPLE epoxy_glVertexArrayRangeAPPLE #define glVertexArrayRangeNV epoxy_glVertexArrayRangeNV #define glVertexArraySecondaryColorOffsetEXT epoxy_glVertexArraySecondaryColorOffsetEXT #define glVertexArrayTexCoordOffsetEXT epoxy_glVertexArrayTexCoordOffsetEXT #define glVertexArrayVertexAttribBindingEXT epoxy_glVertexArrayVertexAttribBindingEXT #define glVertexArrayVertexAttribDivisorEXT epoxy_glVertexArrayVertexAttribDivisorEXT #define glVertexArrayVertexAttribFormatEXT epoxy_glVertexArrayVertexAttribFormatEXT #define glVertexArrayVertexAttribIFormatEXT epoxy_glVertexArrayVertexAttribIFormatEXT #define glVertexArrayVertexAttribIOffsetEXT epoxy_glVertexArrayVertexAttribIOffsetEXT #define glVertexArrayVertexAttribLFormatEXT epoxy_glVertexArrayVertexAttribLFormatEXT #define glVertexArrayVertexAttribLOffsetEXT epoxy_glVertexArrayVertexAttribLOffsetEXT #define glVertexArrayVertexAttribOffsetEXT epoxy_glVertexArrayVertexAttribOffsetEXT #define glVertexArrayVertexBindingDivisorEXT epoxy_glVertexArrayVertexBindingDivisorEXT #define glVertexArrayVertexBuffer epoxy_glVertexArrayVertexBuffer #define glVertexArrayVertexBuffers epoxy_glVertexArrayVertexBuffers #define glVertexArrayVertexOffsetEXT epoxy_glVertexArrayVertexOffsetEXT #define glVertexAttrib1d epoxy_glVertexAttrib1d #define glVertexAttrib1dARB epoxy_glVertexAttrib1dARB #define glVertexAttrib1dNV epoxy_glVertexAttrib1dNV #define glVertexAttrib1dv epoxy_glVertexAttrib1dv #define glVertexAttrib1dvARB epoxy_glVertexAttrib1dvARB #define glVertexAttrib1dvNV epoxy_glVertexAttrib1dvNV #define glVertexAttrib1f epoxy_glVertexAttrib1f #define glVertexAttrib1fARB epoxy_glVertexAttrib1fARB #define glVertexAttrib1fNV epoxy_glVertexAttrib1fNV #define glVertexAttrib1fv epoxy_glVertexAttrib1fv #define glVertexAttrib1fvARB epoxy_glVertexAttrib1fvARB #define glVertexAttrib1fvNV epoxy_glVertexAttrib1fvNV #define glVertexAttrib1hNV epoxy_glVertexAttrib1hNV #define glVertexAttrib1hvNV epoxy_glVertexAttrib1hvNV #define glVertexAttrib1s epoxy_glVertexAttrib1s #define glVertexAttrib1sARB epoxy_glVertexAttrib1sARB #define glVertexAttrib1sNV epoxy_glVertexAttrib1sNV #define glVertexAttrib1sv epoxy_glVertexAttrib1sv #define glVertexAttrib1svARB epoxy_glVertexAttrib1svARB #define glVertexAttrib1svNV epoxy_glVertexAttrib1svNV #define glVertexAttrib2d epoxy_glVertexAttrib2d #define glVertexAttrib2dARB epoxy_glVertexAttrib2dARB #define glVertexAttrib2dNV epoxy_glVertexAttrib2dNV #define glVertexAttrib2dv epoxy_glVertexAttrib2dv #define glVertexAttrib2dvARB epoxy_glVertexAttrib2dvARB #define glVertexAttrib2dvNV epoxy_glVertexAttrib2dvNV #define glVertexAttrib2f epoxy_glVertexAttrib2f #define glVertexAttrib2fARB epoxy_glVertexAttrib2fARB #define glVertexAttrib2fNV epoxy_glVertexAttrib2fNV #define glVertexAttrib2fv epoxy_glVertexAttrib2fv #define glVertexAttrib2fvARB epoxy_glVertexAttrib2fvARB #define glVertexAttrib2fvNV epoxy_glVertexAttrib2fvNV #define glVertexAttrib2hNV epoxy_glVertexAttrib2hNV #define glVertexAttrib2hvNV epoxy_glVertexAttrib2hvNV #define glVertexAttrib2s epoxy_glVertexAttrib2s #define glVertexAttrib2sARB epoxy_glVertexAttrib2sARB #define glVertexAttrib2sNV epoxy_glVertexAttrib2sNV #define glVertexAttrib2sv epoxy_glVertexAttrib2sv #define glVertexAttrib2svARB epoxy_glVertexAttrib2svARB #define glVertexAttrib2svNV epoxy_glVertexAttrib2svNV #define glVertexAttrib3d epoxy_glVertexAttrib3d #define glVertexAttrib3dARB epoxy_glVertexAttrib3dARB #define glVertexAttrib3dNV epoxy_glVertexAttrib3dNV #define glVertexAttrib3dv epoxy_glVertexAttrib3dv #define glVertexAttrib3dvARB epoxy_glVertexAttrib3dvARB #define glVertexAttrib3dvNV epoxy_glVertexAttrib3dvNV #define glVertexAttrib3f epoxy_glVertexAttrib3f #define glVertexAttrib3fARB epoxy_glVertexAttrib3fARB #define glVertexAttrib3fNV epoxy_glVertexAttrib3fNV #define glVertexAttrib3fv epoxy_glVertexAttrib3fv #define glVertexAttrib3fvARB epoxy_glVertexAttrib3fvARB #define glVertexAttrib3fvNV epoxy_glVertexAttrib3fvNV #define glVertexAttrib3hNV epoxy_glVertexAttrib3hNV #define glVertexAttrib3hvNV epoxy_glVertexAttrib3hvNV #define glVertexAttrib3s epoxy_glVertexAttrib3s #define glVertexAttrib3sARB epoxy_glVertexAttrib3sARB #define glVertexAttrib3sNV epoxy_glVertexAttrib3sNV #define glVertexAttrib3sv epoxy_glVertexAttrib3sv #define glVertexAttrib3svARB epoxy_glVertexAttrib3svARB #define glVertexAttrib3svNV epoxy_glVertexAttrib3svNV #define glVertexAttrib4Nbv epoxy_glVertexAttrib4Nbv #define glVertexAttrib4NbvARB epoxy_glVertexAttrib4NbvARB #define glVertexAttrib4Niv epoxy_glVertexAttrib4Niv #define glVertexAttrib4NivARB epoxy_glVertexAttrib4NivARB #define glVertexAttrib4Nsv epoxy_glVertexAttrib4Nsv #define glVertexAttrib4NsvARB epoxy_glVertexAttrib4NsvARB #define glVertexAttrib4Nub epoxy_glVertexAttrib4Nub #define glVertexAttrib4NubARB epoxy_glVertexAttrib4NubARB #define glVertexAttrib4Nubv epoxy_glVertexAttrib4Nubv #define glVertexAttrib4NubvARB epoxy_glVertexAttrib4NubvARB #define glVertexAttrib4Nuiv epoxy_glVertexAttrib4Nuiv #define glVertexAttrib4NuivARB epoxy_glVertexAttrib4NuivARB #define glVertexAttrib4Nusv epoxy_glVertexAttrib4Nusv #define glVertexAttrib4NusvARB epoxy_glVertexAttrib4NusvARB #define glVertexAttrib4bv epoxy_glVertexAttrib4bv #define glVertexAttrib4bvARB epoxy_glVertexAttrib4bvARB #define glVertexAttrib4d epoxy_glVertexAttrib4d #define glVertexAttrib4dARB epoxy_glVertexAttrib4dARB #define glVertexAttrib4dNV epoxy_glVertexAttrib4dNV #define glVertexAttrib4dv epoxy_glVertexAttrib4dv #define glVertexAttrib4dvARB epoxy_glVertexAttrib4dvARB #define glVertexAttrib4dvNV epoxy_glVertexAttrib4dvNV #define glVertexAttrib4f epoxy_glVertexAttrib4f #define glVertexAttrib4fARB epoxy_glVertexAttrib4fARB #define glVertexAttrib4fNV epoxy_glVertexAttrib4fNV #define glVertexAttrib4fv epoxy_glVertexAttrib4fv #define glVertexAttrib4fvARB epoxy_glVertexAttrib4fvARB #define glVertexAttrib4fvNV epoxy_glVertexAttrib4fvNV #define glVertexAttrib4hNV epoxy_glVertexAttrib4hNV #define glVertexAttrib4hvNV epoxy_glVertexAttrib4hvNV #define glVertexAttrib4iv epoxy_glVertexAttrib4iv #define glVertexAttrib4ivARB epoxy_glVertexAttrib4ivARB #define glVertexAttrib4s epoxy_glVertexAttrib4s #define glVertexAttrib4sARB epoxy_glVertexAttrib4sARB #define glVertexAttrib4sNV epoxy_glVertexAttrib4sNV #define glVertexAttrib4sv epoxy_glVertexAttrib4sv #define glVertexAttrib4svARB epoxy_glVertexAttrib4svARB #define glVertexAttrib4svNV epoxy_glVertexAttrib4svNV #define glVertexAttrib4ubNV epoxy_glVertexAttrib4ubNV #define glVertexAttrib4ubv epoxy_glVertexAttrib4ubv #define glVertexAttrib4ubvARB epoxy_glVertexAttrib4ubvARB #define glVertexAttrib4ubvNV epoxy_glVertexAttrib4ubvNV #define glVertexAttrib4uiv epoxy_glVertexAttrib4uiv #define glVertexAttrib4uivARB epoxy_glVertexAttrib4uivARB #define glVertexAttrib4usv epoxy_glVertexAttrib4usv #define glVertexAttrib4usvARB epoxy_glVertexAttrib4usvARB #define glVertexAttribArrayObjectATI epoxy_glVertexAttribArrayObjectATI #define glVertexAttribBinding epoxy_glVertexAttribBinding #define glVertexAttribDivisor epoxy_glVertexAttribDivisor #define glVertexAttribDivisorANGLE epoxy_glVertexAttribDivisorANGLE #define glVertexAttribDivisorARB epoxy_glVertexAttribDivisorARB #define glVertexAttribDivisorEXT epoxy_glVertexAttribDivisorEXT #define glVertexAttribDivisorNV epoxy_glVertexAttribDivisorNV #define glVertexAttribFormat epoxy_glVertexAttribFormat #define glVertexAttribFormatNV epoxy_glVertexAttribFormatNV #define glVertexAttribI1i epoxy_glVertexAttribI1i #define glVertexAttribI1iEXT epoxy_glVertexAttribI1iEXT #define glVertexAttribI1iv epoxy_glVertexAttribI1iv #define glVertexAttribI1ivEXT epoxy_glVertexAttribI1ivEXT #define glVertexAttribI1ui epoxy_glVertexAttribI1ui #define glVertexAttribI1uiEXT epoxy_glVertexAttribI1uiEXT #define glVertexAttribI1uiv epoxy_glVertexAttribI1uiv #define glVertexAttribI1uivEXT epoxy_glVertexAttribI1uivEXT #define glVertexAttribI2i epoxy_glVertexAttribI2i #define glVertexAttribI2iEXT epoxy_glVertexAttribI2iEXT #define glVertexAttribI2iv epoxy_glVertexAttribI2iv #define glVertexAttribI2ivEXT epoxy_glVertexAttribI2ivEXT #define glVertexAttribI2ui epoxy_glVertexAttribI2ui #define glVertexAttribI2uiEXT epoxy_glVertexAttribI2uiEXT #define glVertexAttribI2uiv epoxy_glVertexAttribI2uiv #define glVertexAttribI2uivEXT epoxy_glVertexAttribI2uivEXT #define glVertexAttribI3i epoxy_glVertexAttribI3i #define glVertexAttribI3iEXT epoxy_glVertexAttribI3iEXT #define glVertexAttribI3iv epoxy_glVertexAttribI3iv #define glVertexAttribI3ivEXT epoxy_glVertexAttribI3ivEXT #define glVertexAttribI3ui epoxy_glVertexAttribI3ui #define glVertexAttribI3uiEXT epoxy_glVertexAttribI3uiEXT #define glVertexAttribI3uiv epoxy_glVertexAttribI3uiv #define glVertexAttribI3uivEXT epoxy_glVertexAttribI3uivEXT #define glVertexAttribI4bv epoxy_glVertexAttribI4bv #define glVertexAttribI4bvEXT epoxy_glVertexAttribI4bvEXT #define glVertexAttribI4i epoxy_glVertexAttribI4i #define glVertexAttribI4iEXT epoxy_glVertexAttribI4iEXT #define glVertexAttribI4iv epoxy_glVertexAttribI4iv #define glVertexAttribI4ivEXT epoxy_glVertexAttribI4ivEXT #define glVertexAttribI4sv epoxy_glVertexAttribI4sv #define glVertexAttribI4svEXT epoxy_glVertexAttribI4svEXT #define glVertexAttribI4ubv epoxy_glVertexAttribI4ubv #define glVertexAttribI4ubvEXT epoxy_glVertexAttribI4ubvEXT #define glVertexAttribI4ui epoxy_glVertexAttribI4ui #define glVertexAttribI4uiEXT epoxy_glVertexAttribI4uiEXT #define glVertexAttribI4uiv epoxy_glVertexAttribI4uiv #define glVertexAttribI4uivEXT epoxy_glVertexAttribI4uivEXT #define glVertexAttribI4usv epoxy_glVertexAttribI4usv #define glVertexAttribI4usvEXT epoxy_glVertexAttribI4usvEXT #define glVertexAttribIFormat epoxy_glVertexAttribIFormat #define glVertexAttribIFormatNV epoxy_glVertexAttribIFormatNV #define glVertexAttribIPointer epoxy_glVertexAttribIPointer #define glVertexAttribIPointerEXT epoxy_glVertexAttribIPointerEXT #define glVertexAttribL1d epoxy_glVertexAttribL1d #define glVertexAttribL1dEXT epoxy_glVertexAttribL1dEXT #define glVertexAttribL1dv epoxy_glVertexAttribL1dv #define glVertexAttribL1dvEXT epoxy_glVertexAttribL1dvEXT #define glVertexAttribL1i64NV epoxy_glVertexAttribL1i64NV #define glVertexAttribL1i64vNV epoxy_glVertexAttribL1i64vNV #define glVertexAttribL1ui64ARB epoxy_glVertexAttribL1ui64ARB #define glVertexAttribL1ui64NV epoxy_glVertexAttribL1ui64NV #define glVertexAttribL1ui64vARB epoxy_glVertexAttribL1ui64vARB #define glVertexAttribL1ui64vNV epoxy_glVertexAttribL1ui64vNV #define glVertexAttribL2d epoxy_glVertexAttribL2d #define glVertexAttribL2dEXT epoxy_glVertexAttribL2dEXT #define glVertexAttribL2dv epoxy_glVertexAttribL2dv #define glVertexAttribL2dvEXT epoxy_glVertexAttribL2dvEXT #define glVertexAttribL2i64NV epoxy_glVertexAttribL2i64NV #define glVertexAttribL2i64vNV epoxy_glVertexAttribL2i64vNV #define glVertexAttribL2ui64NV epoxy_glVertexAttribL2ui64NV #define glVertexAttribL2ui64vNV epoxy_glVertexAttribL2ui64vNV #define glVertexAttribL3d epoxy_glVertexAttribL3d #define glVertexAttribL3dEXT epoxy_glVertexAttribL3dEXT #define glVertexAttribL3dv epoxy_glVertexAttribL3dv #define glVertexAttribL3dvEXT epoxy_glVertexAttribL3dvEXT #define glVertexAttribL3i64NV epoxy_glVertexAttribL3i64NV #define glVertexAttribL3i64vNV epoxy_glVertexAttribL3i64vNV #define glVertexAttribL3ui64NV epoxy_glVertexAttribL3ui64NV #define glVertexAttribL3ui64vNV epoxy_glVertexAttribL3ui64vNV #define glVertexAttribL4d epoxy_glVertexAttribL4d #define glVertexAttribL4dEXT epoxy_glVertexAttribL4dEXT #define glVertexAttribL4dv epoxy_glVertexAttribL4dv #define glVertexAttribL4dvEXT epoxy_glVertexAttribL4dvEXT #define glVertexAttribL4i64NV epoxy_glVertexAttribL4i64NV #define glVertexAttribL4i64vNV epoxy_glVertexAttribL4i64vNV #define glVertexAttribL4ui64NV epoxy_glVertexAttribL4ui64NV #define glVertexAttribL4ui64vNV epoxy_glVertexAttribL4ui64vNV #define glVertexAttribLFormat epoxy_glVertexAttribLFormat #define glVertexAttribLFormatNV epoxy_glVertexAttribLFormatNV #define glVertexAttribLPointer epoxy_glVertexAttribLPointer #define glVertexAttribLPointerEXT epoxy_glVertexAttribLPointerEXT #define glVertexAttribP1ui epoxy_glVertexAttribP1ui #define glVertexAttribP1uiv epoxy_glVertexAttribP1uiv #define glVertexAttribP2ui epoxy_glVertexAttribP2ui #define glVertexAttribP2uiv epoxy_glVertexAttribP2uiv #define glVertexAttribP3ui epoxy_glVertexAttribP3ui #define glVertexAttribP3uiv epoxy_glVertexAttribP3uiv #define glVertexAttribP4ui epoxy_glVertexAttribP4ui #define glVertexAttribP4uiv epoxy_glVertexAttribP4uiv #define glVertexAttribParameteriAMD epoxy_glVertexAttribParameteriAMD #define glVertexAttribPointer epoxy_glVertexAttribPointer #define glVertexAttribPointerARB epoxy_glVertexAttribPointerARB #define glVertexAttribPointerNV epoxy_glVertexAttribPointerNV #define glVertexAttribs1dvNV epoxy_glVertexAttribs1dvNV #define glVertexAttribs1fvNV epoxy_glVertexAttribs1fvNV #define glVertexAttribs1hvNV epoxy_glVertexAttribs1hvNV #define glVertexAttribs1svNV epoxy_glVertexAttribs1svNV #define glVertexAttribs2dvNV epoxy_glVertexAttribs2dvNV #define glVertexAttribs2fvNV epoxy_glVertexAttribs2fvNV #define glVertexAttribs2hvNV epoxy_glVertexAttribs2hvNV #define glVertexAttribs2svNV epoxy_glVertexAttribs2svNV #define glVertexAttribs3dvNV epoxy_glVertexAttribs3dvNV #define glVertexAttribs3fvNV epoxy_glVertexAttribs3fvNV #define glVertexAttribs3hvNV epoxy_glVertexAttribs3hvNV #define glVertexAttribs3svNV epoxy_glVertexAttribs3svNV #define glVertexAttribs4dvNV epoxy_glVertexAttribs4dvNV #define glVertexAttribs4fvNV epoxy_glVertexAttribs4fvNV #define glVertexAttribs4hvNV epoxy_glVertexAttribs4hvNV #define glVertexAttribs4svNV epoxy_glVertexAttribs4svNV #define glVertexAttribs4ubvNV epoxy_glVertexAttribs4ubvNV #define glVertexBindingDivisor epoxy_glVertexBindingDivisor #define glVertexBlendARB epoxy_glVertexBlendARB #define glVertexBlendEnvfATI epoxy_glVertexBlendEnvfATI #define glVertexBlendEnviATI epoxy_glVertexBlendEnviATI #define glVertexFormatNV epoxy_glVertexFormatNV #define glVertexP2ui epoxy_glVertexP2ui #define glVertexP2uiv epoxy_glVertexP2uiv #define glVertexP3ui epoxy_glVertexP3ui #define glVertexP3uiv epoxy_glVertexP3uiv #define glVertexP4ui epoxy_glVertexP4ui #define glVertexP4uiv epoxy_glVertexP4uiv #define glVertexPointer epoxy_glVertexPointer #define glVertexPointerEXT epoxy_glVertexPointerEXT #define glVertexPointerListIBM epoxy_glVertexPointerListIBM #define glVertexPointervINTEL epoxy_glVertexPointervINTEL #define glVertexStream1dATI epoxy_glVertexStream1dATI #define glVertexStream1dvATI epoxy_glVertexStream1dvATI #define glVertexStream1fATI epoxy_glVertexStream1fATI #define glVertexStream1fvATI epoxy_glVertexStream1fvATI #define glVertexStream1iATI epoxy_glVertexStream1iATI #define glVertexStream1ivATI epoxy_glVertexStream1ivATI #define glVertexStream1sATI epoxy_glVertexStream1sATI #define glVertexStream1svATI epoxy_glVertexStream1svATI #define glVertexStream2dATI epoxy_glVertexStream2dATI #define glVertexStream2dvATI epoxy_glVertexStream2dvATI #define glVertexStream2fATI epoxy_glVertexStream2fATI #define glVertexStream2fvATI epoxy_glVertexStream2fvATI #define glVertexStream2iATI epoxy_glVertexStream2iATI #define glVertexStream2ivATI epoxy_glVertexStream2ivATI #define glVertexStream2sATI epoxy_glVertexStream2sATI #define glVertexStream2svATI epoxy_glVertexStream2svATI #define glVertexStream3dATI epoxy_glVertexStream3dATI #define glVertexStream3dvATI epoxy_glVertexStream3dvATI #define glVertexStream3fATI epoxy_glVertexStream3fATI #define glVertexStream3fvATI epoxy_glVertexStream3fvATI #define glVertexStream3iATI epoxy_glVertexStream3iATI #define glVertexStream3ivATI epoxy_glVertexStream3ivATI #define glVertexStream3sATI epoxy_glVertexStream3sATI #define glVertexStream3svATI epoxy_glVertexStream3svATI #define glVertexStream4dATI epoxy_glVertexStream4dATI #define glVertexStream4dvATI epoxy_glVertexStream4dvATI #define glVertexStream4fATI epoxy_glVertexStream4fATI #define glVertexStream4fvATI epoxy_glVertexStream4fvATI #define glVertexStream4iATI epoxy_glVertexStream4iATI #define glVertexStream4ivATI epoxy_glVertexStream4ivATI #define glVertexStream4sATI epoxy_glVertexStream4sATI #define glVertexStream4svATI epoxy_glVertexStream4svATI #define glVertexWeightPointerEXT epoxy_glVertexWeightPointerEXT #define glVertexWeightfEXT epoxy_glVertexWeightfEXT #define glVertexWeightfvEXT epoxy_glVertexWeightfvEXT #define glVertexWeighthNV epoxy_glVertexWeighthNV #define glVertexWeighthvNV epoxy_glVertexWeighthvNV #define glVideoCaptureNV epoxy_glVideoCaptureNV #define glVideoCaptureStreamParameterdvNV epoxy_glVideoCaptureStreamParameterdvNV #define glVideoCaptureStreamParameterfvNV epoxy_glVideoCaptureStreamParameterfvNV #define glVideoCaptureStreamParameterivNV epoxy_glVideoCaptureStreamParameterivNV #define glViewport epoxy_glViewport #define glViewportArrayv epoxy_glViewportArrayv #define glViewportArrayvNV epoxy_glViewportArrayvNV #define glViewportArrayvOES epoxy_glViewportArrayvOES #define glViewportIndexedf epoxy_glViewportIndexedf #define glViewportIndexedfNV epoxy_glViewportIndexedfNV #define glViewportIndexedfOES epoxy_glViewportIndexedfOES #define glViewportIndexedfv epoxy_glViewportIndexedfv #define glViewportIndexedfvNV epoxy_glViewportIndexedfvNV #define glViewportIndexedfvOES epoxy_glViewportIndexedfvOES #define glViewportPositionWScaleNV epoxy_glViewportPositionWScaleNV #define glViewportSwizzleNV epoxy_glViewportSwizzleNV #define glWaitSemaphoreEXT epoxy_glWaitSemaphoreEXT #define glWaitSemaphoreui64NVX epoxy_glWaitSemaphoreui64NVX #define glWaitSync epoxy_glWaitSync #define glWaitSyncAPPLE epoxy_glWaitSyncAPPLE #define glWaitVkSemaphoreNV epoxy_glWaitVkSemaphoreNV #define glWeightPathsNV epoxy_glWeightPathsNV #define glWeightPointerARB epoxy_glWeightPointerARB #define glWeightPointerOES epoxy_glWeightPointerOES #define glWeightbvARB epoxy_glWeightbvARB #define glWeightdvARB epoxy_glWeightdvARB #define glWeightfvARB epoxy_glWeightfvARB #define glWeightivARB epoxy_glWeightivARB #define glWeightsvARB epoxy_glWeightsvARB #define glWeightubvARB epoxy_glWeightubvARB #define glWeightuivARB epoxy_glWeightuivARB #define glWeightusvARB epoxy_glWeightusvARB #define glWindowPos2d epoxy_glWindowPos2d #define glWindowPos2dARB epoxy_glWindowPos2dARB #define glWindowPos2dMESA epoxy_glWindowPos2dMESA #define glWindowPos2dv epoxy_glWindowPos2dv #define glWindowPos2dvARB epoxy_glWindowPos2dvARB #define glWindowPos2dvMESA epoxy_glWindowPos2dvMESA #define glWindowPos2f epoxy_glWindowPos2f #define glWindowPos2fARB epoxy_glWindowPos2fARB #define glWindowPos2fMESA epoxy_glWindowPos2fMESA #define glWindowPos2fv epoxy_glWindowPos2fv #define glWindowPos2fvARB epoxy_glWindowPos2fvARB #define glWindowPos2fvMESA epoxy_glWindowPos2fvMESA #define glWindowPos2i epoxy_glWindowPos2i #define glWindowPos2iARB epoxy_glWindowPos2iARB #define glWindowPos2iMESA epoxy_glWindowPos2iMESA #define glWindowPos2iv epoxy_glWindowPos2iv #define glWindowPos2ivARB epoxy_glWindowPos2ivARB #define glWindowPos2ivMESA epoxy_glWindowPos2ivMESA #define glWindowPos2s epoxy_glWindowPos2s #define glWindowPos2sARB epoxy_glWindowPos2sARB #define glWindowPos2sMESA epoxy_glWindowPos2sMESA #define glWindowPos2sv epoxy_glWindowPos2sv #define glWindowPos2svARB epoxy_glWindowPos2svARB #define glWindowPos2svMESA epoxy_glWindowPos2svMESA #define glWindowPos3d epoxy_glWindowPos3d #define glWindowPos3dARB epoxy_glWindowPos3dARB #define glWindowPos3dMESA epoxy_glWindowPos3dMESA #define glWindowPos3dv epoxy_glWindowPos3dv #define glWindowPos3dvARB epoxy_glWindowPos3dvARB #define glWindowPos3dvMESA epoxy_glWindowPos3dvMESA #define glWindowPos3f epoxy_glWindowPos3f #define glWindowPos3fARB epoxy_glWindowPos3fARB #define glWindowPos3fMESA epoxy_glWindowPos3fMESA #define glWindowPos3fv epoxy_glWindowPos3fv #define glWindowPos3fvARB epoxy_glWindowPos3fvARB #define glWindowPos3fvMESA epoxy_glWindowPos3fvMESA #define glWindowPos3i epoxy_glWindowPos3i #define glWindowPos3iARB epoxy_glWindowPos3iARB #define glWindowPos3iMESA epoxy_glWindowPos3iMESA #define glWindowPos3iv epoxy_glWindowPos3iv #define glWindowPos3ivARB epoxy_glWindowPos3ivARB #define glWindowPos3ivMESA epoxy_glWindowPos3ivMESA #define glWindowPos3s epoxy_glWindowPos3s #define glWindowPos3sARB epoxy_glWindowPos3sARB #define glWindowPos3sMESA epoxy_glWindowPos3sMESA #define glWindowPos3sv epoxy_glWindowPos3sv #define glWindowPos3svARB epoxy_glWindowPos3svARB #define glWindowPos3svMESA epoxy_glWindowPos3svMESA #define glWindowPos4dMESA epoxy_glWindowPos4dMESA #define glWindowPos4dvMESA epoxy_glWindowPos4dvMESA #define glWindowPos4fMESA epoxy_glWindowPos4fMESA #define glWindowPos4fvMESA epoxy_glWindowPos4fvMESA #define glWindowPos4iMESA epoxy_glWindowPos4iMESA #define glWindowPos4ivMESA epoxy_glWindowPos4ivMESA #define glWindowPos4sMESA epoxy_glWindowPos4sMESA #define glWindowPos4svMESA epoxy_glWindowPos4svMESA #define glWindowRectanglesEXT epoxy_glWindowRectanglesEXT #define glWriteMaskEXT epoxy_glWriteMaskEXT
0
repos/gotta-go-fast/src/tetris
repos/gotta-go-fast/src/tetris/tetris/README.md
# Tetris A simple tetris clone written in [zig programming language](https://github.com/andrewrk/zig). [YouTube Demo](https://www.youtube.com/watch?v=AiintPutWrE). ![](http://i.imgur.com/umuNndz.png) [Windows 64-bit build](http://superjoe.s3.amazonaws.com/temp/tetris.zip) ## Controls * Left/Right/Down Arrow - Move piece left/right/down. * Up Arrow - Rotate piece clockwise. * Shift - Rotate piece counter clockwise. * Space - Drop piece immediately. * Left Ctrl - Hold piece. * R - Start new game. * P - Pause and unpause game. * Escape - Quit. ## Dependencies * [Zig compiler](https://github.com/andrewrk/zig) - use the debug build. * [libepoxy](https://github.com/anholt/libepoxy) * [GLFW](http://www.glfw.org/) ## Building and Running ``` zig build play ``` ## Building on windows using vcpkg * Install vcpkg https://github.com/microsoft/vcpkg * Install dependencies using `x64-windows` triplet * Use the flags `-Dwindows -Dvcpkg` when building the project
0
repos/gotta-go-fast/src/tetris
repos/gotta-go-fast/src/tetris/tetris/build.zig
const std = @import("std"); const Builder = std.build.Builder; pub fn build(b: *Builder) void { const mode = b.standardReleaseOptions(); const windows = b.option(bool, "windows", "create windows build") orelse false; const vcpkg = b.option(bool, "vcpkg", "Add vcpkg paths to the build") orelse false; var exe = b.addExecutable("tetris", "src/main.zig"); exe.addCSourceFile("stb_image-2.22/stb_image_impl.c", &[_][]const u8{"-std=c99"}); exe.setBuildMode(mode); if (windows) { exe.setTarget(.{ .cpu_arch = .x86_64, .os_tag = .windows, .abi = .gnu, }); } if (vcpkg) { exe.addVcpkgPaths(.Static) catch @panic("Cannot add vcpkg paths."); } exe.addIncludeDir("stb_image-2.22"); exe.linkSystemLibrary("c"); exe.linkSystemLibrary("glfw"); exe.linkSystemLibrary("epoxy"); exe.install(); const play = b.step("play", "Play the game"); const run = exe.run(); run.step.dependOn(b.getInstallStep()); play.dependOn(&run.step); }
0
repos/gotta-go-fast/src/tetris/tetris
repos/gotta-go-fast/src/tetris/tetris/stb_image-2.22/stb_image.h
/* stb_image - v2.22 - public domain image loader - http://nothings.org/stb no warranty implied; use at your own risk Do this: #define STB_IMAGE_IMPLEMENTATION before you include this file in *one* C or C++ file to create the implementation. // i.e. it should look like this: #include ... #include ... #include ... #define STB_IMAGE_IMPLEMENTATION #include "stb_image.h" You can #define STBI_ASSERT(x) before the #include to avoid using assert.h. And #define STBI_MALLOC, STBI_REALLOC, and STBI_FREE to avoid using malloc,realloc,free QUICK NOTES: Primarily of interest to game developers and other people who can avoid problematic images and only need the trivial interface JPEG baseline & progressive (12 bpc/arithmetic not supported, same as stock IJG lib) PNG 1/2/4/8/16-bit-per-channel TGA (not sure what subset, if a subset) BMP non-1bpp, non-RLE PSD (composited view only, no extra channels, 8/16 bit-per-channel) GIF (*comp always reports as 4-channel) HDR (radiance rgbE format) PIC (Softimage PIC) PNM (PPM and PGM binary only) Animated GIF still needs a proper API, but here's one way to do it: http://gist.github.com/urraka/685d9a6340b26b830d49 - decode from memory or through FILE (define STBI_NO_STDIO to remove code) - decode from arbitrary I/O callbacks - SIMD acceleration on x86/x64 (SSE2) and ARM (NEON) Full documentation under "DOCUMENTATION" below. LICENSE See end of file for license information. RECENT REVISION HISTORY: 2.22 (2019-03-04) gif fixes, fix warnings 2.21 (2019-02-25) fix typo in comment 2.20 (2019-02-07) support utf8 filenames in Windows; fix warnings and platform ifdefs 2.19 (2018-02-11) fix warning 2.18 (2018-01-30) fix warnings 2.17 (2018-01-29) bugfix, 1-bit BMP, 16-bitness query, fix warnings 2.16 (2017-07-23) all functions have 16-bit variants; optimizations; bugfixes 2.15 (2017-03-18) fix png-1,2,4; all Imagenet JPGs; no runtime SSE detection on GCC 2.14 (2017-03-03) remove deprecated STBI_JPEG_OLD; fixes for Imagenet JPGs 2.13 (2016-12-04) experimental 16-bit API, only for PNG so far; fixes 2.12 (2016-04-02) fix typo in 2.11 PSD fix that caused crashes 2.11 (2016-04-02) 16-bit PNGS; enable SSE2 in non-gcc x64 RGB-format JPEG; remove white matting in PSD; allocate large structures on the stack; correct channel count for PNG & BMP 2.10 (2016-01-22) avoid warning introduced in 2.09 2.09 (2016-01-16) 16-bit TGA; comments in PNM files; STBI_REALLOC_SIZED See end of file for full revision history. ============================ Contributors ========================= Image formats Extensions, features Sean Barrett (jpeg, png, bmp) Jetro Lauha (stbi_info) Nicolas Schulz (hdr, psd) Martin "SpartanJ" Golini (stbi_info) Jonathan Dummer (tga) James "moose2000" Brown (iPhone PNG) Jean-Marc Lienher (gif) Ben "Disch" Wenger (io callbacks) Tom Seddon (pic) Omar Cornut (1/2/4-bit PNG) Thatcher Ulrich (psd) Nicolas Guillemot (vertical flip) Ken Miller (pgm, ppm) Richard Mitton (16-bit PSD) github:urraka (animated gif) Junggon Kim (PNM comments) Christopher Forseth (animated gif) Daniel Gibson (16-bit TGA) socks-the-fox (16-bit PNG) Jeremy Sawicki (handle all ImageNet JPGs) Optimizations & bugfixes Mikhail Morozov (1-bit BMP) Fabian "ryg" Giesen Anael Seghezzi (is-16-bit query) Arseny Kapoulkine John-Mark Allen Carmelo J Fdez-Aguera Bug & warning fixes Marc LeBlanc David Woo Guillaume George Martins Mozeiko Christpher Lloyd Jerry Jansson Joseph Thomson Phil Jordan Dave Moore Roy Eltham Hayaki Saito Nathan Reed Won Chun Luke Graham Johan Duparc Nick Verigakis the Horde3D community Thomas Ruf Ronny Chevalier github:rlyeh Janez Zemva John Bartholomew Michal Cichon github:romigrou Jonathan Blow Ken Hamada Tero Hanninen github:svdijk Laurent Gomila Cort Stratton Sergio Gonzalez github:snagar Aruelien Pocheville Thibault Reuille Cass Everitt github:Zelex Ryamond Barbiero Paul Du Bois Engin Manap github:grim210 Aldo Culquicondor Philipp Wiesemann Dale Weiler github:sammyhw Oriol Ferrer Mesia Josh Tobin Matthew Gregan github:phprus Julian Raschke Gregory Mullen Baldur Karlsson github:poppolopoppo Christian Floisand Kevin Schmidt JR Smith github:darealshinji Blazej Dariusz Roszkowski github:Michaelangel007 */ #ifndef STBI_INCLUDE_STB_IMAGE_H #define STBI_INCLUDE_STB_IMAGE_H // DOCUMENTATION // // Limitations: // - no 12-bit-per-channel JPEG // - no JPEGs with arithmetic coding // - GIF always returns *comp=4 // // Basic usage (see HDR discussion below for HDR usage): // int x,y,n; // unsigned char *data = stbi_load(filename, &x, &y, &n, 0); // // ... process data if not NULL ... // // ... x = width, y = height, n = # 8-bit components per pixel ... // // ... replace '0' with '1'..'4' to force that many components per pixel // // ... but 'n' will always be the number that it would have been if you said 0 // stbi_image_free(data) // // Standard parameters: // int *x -- outputs image width in pixels // int *y -- outputs image height in pixels // int *channels_in_file -- outputs # of image components in image file // int desired_channels -- if non-zero, # of image components requested in result // // The return value from an image loader is an 'unsigned char *' which points // to the pixel data, or NULL on an allocation failure or if the image is // corrupt or invalid. The pixel data consists of *y scanlines of *x pixels, // with each pixel consisting of N interleaved 8-bit components; the first // pixel pointed to is top-left-most in the image. There is no padding between // image scanlines or between pixels, regardless of format. The number of // components N is 'desired_channels' if desired_channels is non-zero, or // *channels_in_file otherwise. If desired_channels is non-zero, // *channels_in_file has the number of components that _would_ have been // output otherwise. E.g. if you set desired_channels to 4, you will always // get RGBA output, but you can check *channels_in_file to see if it's trivially // opaque because e.g. there were only 3 channels in the source image. // // An output image with N components has the following components interleaved // in this order in each pixel: // // N=#comp components // 1 grey // 2 grey, alpha // 3 red, green, blue // 4 red, green, blue, alpha // // If image loading fails for any reason, the return value will be NULL, // and *x, *y, *channels_in_file will be unchanged. The function // stbi_failure_reason() can be queried for an extremely brief, end-user // unfriendly explanation of why the load failed. Define STBI_NO_FAILURE_STRINGS // to avoid compiling these strings at all, and STBI_FAILURE_USERMSG to get slightly // more user-friendly ones. // // Paletted PNG, BMP, GIF, and PIC images are automatically depalettized. // // =========================================================================== // // UNICODE: // // If compiling for Windows and you wish to use Unicode filenames, compile // with // #define STBI_WINDOWS_UTF8 // and pass utf8-encoded filenames. Call stbi_convert_wchar_to_utf8 to convert // Windows wchar_t filenames to utf8. // // =========================================================================== // // Philosophy // // stb libraries are designed with the following priorities: // // 1. easy to use // 2. easy to maintain // 3. good performance // // Sometimes I let "good performance" creep up in priority over "easy to maintain", // and for best performance I may provide less-easy-to-use APIs that give higher // performance, in addition to the easy-to-use ones. Nevertheless, it's important // to keep in mind that from the standpoint of you, a client of this library, // all you care about is #1 and #3, and stb libraries DO NOT emphasize #3 above all. // // Some secondary priorities arise directly from the first two, some of which // provide more explicit reasons why performance can't be emphasized. // // - Portable ("ease of use") // - Small source code footprint ("easy to maintain") // - No dependencies ("ease of use") // // =========================================================================== // // I/O callbacks // // I/O callbacks allow you to read from arbitrary sources, like packaged // files or some other source. Data read from callbacks are processed // through a small internal buffer (currently 128 bytes) to try to reduce // overhead. // // The three functions you must define are "read" (reads some bytes of data), // "skip" (skips some bytes of data), "eof" (reports if the stream is at the end). // // =========================================================================== // // SIMD support // // The JPEG decoder will try to automatically use SIMD kernels on x86 when // supported by the compiler. For ARM Neon support, you must explicitly // request it. // // (The old do-it-yourself SIMD API is no longer supported in the current // code.) // // On x86, SSE2 will automatically be used when available based on a run-time // test; if not, the generic C versions are used as a fall-back. On ARM targets, // the typical path is to have separate builds for NEON and non-NEON devices // (at least this is true for iOS and Android). Therefore, the NEON support is // toggled by a build flag: define STBI_NEON to get NEON loops. // // If for some reason you do not want to use any of SIMD code, or if // you have issues compiling it, you can disable it entirely by // defining STBI_NO_SIMD. // // =========================================================================== // // HDR image support (disable by defining STBI_NO_HDR) // // stb_image supports loading HDR images in general, and currently the Radiance // .HDR file format specifically. You can still load any file through the existing // interface; if you attempt to load an HDR file, it will be automatically remapped // to LDR, assuming gamma 2.2 and an arbitrary scale factor defaulting to 1; // both of these constants can be reconfigured through this interface: // // stbi_hdr_to_ldr_gamma(2.2f); // stbi_hdr_to_ldr_scale(1.0f); // // (note, do not use _inverse_ constants; stbi_image will invert them // appropriately). // // Additionally, there is a new, parallel interface for loading files as // (linear) floats to preserve the full dynamic range: // // float *data = stbi_loadf(filename, &x, &y, &n, 0); // // If you load LDR images through this interface, those images will // be promoted to floating point values, run through the inverse of // constants corresponding to the above: // // stbi_ldr_to_hdr_scale(1.0f); // stbi_ldr_to_hdr_gamma(2.2f); // // Finally, given a filename (or an open file or memory block--see header // file for details) containing image data, you can query for the "most // appropriate" interface to use (that is, whether the image is HDR or // not), using: // // stbi_is_hdr(char *filename); // // =========================================================================== // // iPhone PNG support: // // By default we convert iphone-formatted PNGs back to RGB, even though // they are internally encoded differently. You can disable this conversion // by calling stbi_convert_iphone_png_to_rgb(0), in which case // you will always just get the native iphone "format" through (which // is BGR stored in RGB). // // Call stbi_set_unpremultiply_on_load(1) as well to force a divide per // pixel to remove any premultiplied alpha *only* if the image file explicitly // says there's premultiplied data (currently only happens in iPhone images, // and only if iPhone convert-to-rgb processing is on). // // =========================================================================== // // ADDITIONAL CONFIGURATION // // - You can suppress implementation of any of the decoders to reduce // your code footprint by #defining one or more of the following // symbols before creating the implementation. // // STBI_NO_JPEG // STBI_NO_PNG // STBI_NO_BMP // STBI_NO_PSD // STBI_NO_TGA // STBI_NO_GIF // STBI_NO_HDR // STBI_NO_PIC // STBI_NO_PNM (.ppm and .pgm) // // - You can request *only* certain decoders and suppress all other ones // (this will be more forward-compatible, as addition of new decoders // doesn't require you to disable them explicitly): // // STBI_ONLY_JPEG // STBI_ONLY_PNG // STBI_ONLY_BMP // STBI_ONLY_PSD // STBI_ONLY_TGA // STBI_ONLY_GIF // STBI_ONLY_HDR // STBI_ONLY_PIC // STBI_ONLY_PNM (.ppm and .pgm) // // - If you use STBI_NO_PNG (or _ONLY_ without PNG), and you still // want the zlib decoder to be available, #define STBI_SUPPORT_ZLIB // #ifndef STBI_NO_STDIO #include <stdio.h> #endif // STBI_NO_STDIO #define STBI_VERSION 1 enum { STBI_default = 0, // only used for desired_channels STBI_grey = 1, STBI_grey_alpha = 2, STBI_rgb = 3, STBI_rgb_alpha = 4 }; #include <stdlib.h> typedef unsigned char stbi_uc; typedef unsigned short stbi_us; #ifdef __cplusplus extern "C" { #endif #ifndef STBIDEF #ifdef STB_IMAGE_STATIC #define STBIDEF static #else #define STBIDEF extern #endif #endif ////////////////////////////////////////////////////////////////////////////// // // PRIMARY API - works on images of any type // // // load image by filename, open file, or memory buffer // typedef struct { int (*read) (void *user,char *data,int size); // fill 'data' with 'size' bytes. return number of bytes actually read void (*skip) (void *user,int n); // skip the next 'n' bytes, or 'unget' the last -n bytes if negative int (*eof) (void *user); // returns nonzero if we are at end of file/data } stbi_io_callbacks; //////////////////////////////////// // // 8-bits-per-channel interface // STBIDEF stbi_uc *stbi_load_from_memory (stbi_uc const *buffer, int len , int *x, int *y, int *channels_in_file, int desired_channels); STBIDEF stbi_uc *stbi_load_from_callbacks(stbi_io_callbacks const *clbk , void *user, int *x, int *y, int *channels_in_file, int desired_channels); #ifndef STBI_NO_STDIO STBIDEF stbi_uc *stbi_load (char const *filename, int *x, int *y, int *channels_in_file, int desired_channels); STBIDEF stbi_uc *stbi_load_from_file (FILE *f, int *x, int *y, int *channels_in_file, int desired_channels); // for stbi_load_from_file, file pointer is left pointing immediately after image #endif #ifndef STBI_NO_GIF STBIDEF stbi_uc *stbi_load_gif_from_memory(stbi_uc const *buffer, int len, int **delays, int *x, int *y, int *z, int *comp, int req_comp); #endif #ifdef STBI_WINDOWS_UTF8 STBIDEF int stbi_convert_wchar_to_utf8(char *buffer, size_t bufferlen, const wchar_t* input); #endif //////////////////////////////////// // // 16-bits-per-channel interface // STBIDEF stbi_us *stbi_load_16_from_memory (stbi_uc const *buffer, int len, int *x, int *y, int *channels_in_file, int desired_channels); STBIDEF stbi_us *stbi_load_16_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *channels_in_file, int desired_channels); #ifndef STBI_NO_STDIO STBIDEF stbi_us *stbi_load_16 (char const *filename, int *x, int *y, int *channels_in_file, int desired_channels); STBIDEF stbi_us *stbi_load_from_file_16(FILE *f, int *x, int *y, int *channels_in_file, int desired_channels); #endif //////////////////////////////////// // // float-per-channel interface // #ifndef STBI_NO_LINEAR STBIDEF float *stbi_loadf_from_memory (stbi_uc const *buffer, int len, int *x, int *y, int *channels_in_file, int desired_channels); STBIDEF float *stbi_loadf_from_callbacks (stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *channels_in_file, int desired_channels); #ifndef STBI_NO_STDIO STBIDEF float *stbi_loadf (char const *filename, int *x, int *y, int *channels_in_file, int desired_channels); STBIDEF float *stbi_loadf_from_file (FILE *f, int *x, int *y, int *channels_in_file, int desired_channels); #endif #endif #ifndef STBI_NO_HDR STBIDEF void stbi_hdr_to_ldr_gamma(float gamma); STBIDEF void stbi_hdr_to_ldr_scale(float scale); #endif // STBI_NO_HDR #ifndef STBI_NO_LINEAR STBIDEF void stbi_ldr_to_hdr_gamma(float gamma); STBIDEF void stbi_ldr_to_hdr_scale(float scale); #endif // STBI_NO_LINEAR // stbi_is_hdr is always defined, but always returns false if STBI_NO_HDR STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user); STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len); #ifndef STBI_NO_STDIO STBIDEF int stbi_is_hdr (char const *filename); STBIDEF int stbi_is_hdr_from_file(FILE *f); #endif // STBI_NO_STDIO // get a VERY brief reason for failure // NOT THREADSAFE STBIDEF const char *stbi_failure_reason (void); // free the loaded image -- this is just free() STBIDEF void stbi_image_free (void *retval_from_stbi_load); // get image dimensions & components without fully decoding STBIDEF int stbi_info_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp); STBIDEF int stbi_info_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp); STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len); STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *clbk, void *user); #ifndef STBI_NO_STDIO STBIDEF int stbi_info (char const *filename, int *x, int *y, int *comp); STBIDEF int stbi_info_from_file (FILE *f, int *x, int *y, int *comp); STBIDEF int stbi_is_16_bit (char const *filename); STBIDEF int stbi_is_16_bit_from_file(FILE *f); #endif // for image formats that explicitly notate that they have premultiplied alpha, // we just return the colors as stored in the file. set this flag to force // unpremultiplication. results are undefined if the unpremultiply overflow. STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply); // indicate whether we should process iphone images back to canonical format, // or just pass them through "as-is" STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert); // flip the image vertically, so the first pixel in the output array is the bottom left STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip); // ZLIB client - used by PNG, available for other purposes STBIDEF char *stbi_zlib_decode_malloc_guesssize(const char *buffer, int len, int initial_size, int *outlen); STBIDEF char *stbi_zlib_decode_malloc_guesssize_headerflag(const char *buffer, int len, int initial_size, int *outlen, int parse_header); STBIDEF char *stbi_zlib_decode_malloc(const char *buffer, int len, int *outlen); STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, const char *ibuffer, int ilen); STBIDEF char *stbi_zlib_decode_noheader_malloc(const char *buffer, int len, int *outlen); STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen); #ifdef __cplusplus } #endif // // //// end header file ///////////////////////////////////////////////////// #endif // STBI_INCLUDE_STB_IMAGE_H #ifdef STB_IMAGE_IMPLEMENTATION #if defined(STBI_ONLY_JPEG) || defined(STBI_ONLY_PNG) || defined(STBI_ONLY_BMP) \ || defined(STBI_ONLY_TGA) || defined(STBI_ONLY_GIF) || defined(STBI_ONLY_PSD) \ || defined(STBI_ONLY_HDR) || defined(STBI_ONLY_PIC) || defined(STBI_ONLY_PNM) \ || defined(STBI_ONLY_ZLIB) #ifndef STBI_ONLY_JPEG #define STBI_NO_JPEG #endif #ifndef STBI_ONLY_PNG #define STBI_NO_PNG #endif #ifndef STBI_ONLY_BMP #define STBI_NO_BMP #endif #ifndef STBI_ONLY_PSD #define STBI_NO_PSD #endif #ifndef STBI_ONLY_TGA #define STBI_NO_TGA #endif #ifndef STBI_ONLY_GIF #define STBI_NO_GIF #endif #ifndef STBI_ONLY_HDR #define STBI_NO_HDR #endif #ifndef STBI_ONLY_PIC #define STBI_NO_PIC #endif #ifndef STBI_ONLY_PNM #define STBI_NO_PNM #endif #endif #if defined(STBI_NO_PNG) && !defined(STBI_SUPPORT_ZLIB) && !defined(STBI_NO_ZLIB) #define STBI_NO_ZLIB #endif #include <stdarg.h> #include <stddef.h> // ptrdiff_t on osx #include <stdlib.h> #include <string.h> #include <limits.h> #if !defined(STBI_NO_LINEAR) || !defined(STBI_NO_HDR) #include <math.h> // ldexp, pow #endif #ifndef STBI_NO_STDIO #include <stdio.h> #endif #ifndef STBI_ASSERT #include <assert.h> #define STBI_ASSERT(x) assert(x) #endif #ifdef __cplusplus #define STBI_EXTERN extern "C" #else #define STBI_EXTERN extern #endif #ifndef _MSC_VER #ifdef __cplusplus #define stbi_inline inline #else #define stbi_inline #endif #else #define stbi_inline __forceinline #endif #ifdef _MSC_VER typedef unsigned short stbi__uint16; typedef signed short stbi__int16; typedef unsigned int stbi__uint32; typedef signed int stbi__int32; #else #include <stdint.h> typedef uint16_t stbi__uint16; typedef int16_t stbi__int16; typedef uint32_t stbi__uint32; typedef int32_t stbi__int32; #endif // should produce compiler error if size is wrong typedef unsigned char validate_uint32[sizeof(stbi__uint32)==4 ? 1 : -1]; #ifdef _MSC_VER #define STBI_NOTUSED(v) (void)(v) #else #define STBI_NOTUSED(v) (void)sizeof(v) #endif #ifdef _MSC_VER #define STBI_HAS_LROTL #endif #ifdef STBI_HAS_LROTL #define stbi_lrot(x,y) _lrotl(x,y) #else #define stbi_lrot(x,y) (((x) << (y)) | ((x) >> (32 - (y)))) #endif #if defined(STBI_MALLOC) && defined(STBI_FREE) && (defined(STBI_REALLOC) || defined(STBI_REALLOC_SIZED)) // ok #elif !defined(STBI_MALLOC) && !defined(STBI_FREE) && !defined(STBI_REALLOC) && !defined(STBI_REALLOC_SIZED) // ok #else #error "Must define all or none of STBI_MALLOC, STBI_FREE, and STBI_REALLOC (or STBI_REALLOC_SIZED)." #endif #ifndef STBI_MALLOC #define STBI_MALLOC(sz) malloc(sz) #define STBI_REALLOC(p,newsz) realloc(p,newsz) #define STBI_FREE(p) free(p) #endif #ifndef STBI_REALLOC_SIZED #define STBI_REALLOC_SIZED(p,oldsz,newsz) STBI_REALLOC(p,newsz) #endif // x86/x64 detection #if defined(__x86_64__) || defined(_M_X64) #define STBI__X64_TARGET #elif defined(__i386) || defined(_M_IX86) #define STBI__X86_TARGET #endif #if defined(__GNUC__) && defined(STBI__X86_TARGET) && !defined(__SSE2__) && !defined(STBI_NO_SIMD) // gcc doesn't support sse2 intrinsics unless you compile with -msse2, // which in turn means it gets to use SSE2 everywhere. This is unfortunate, // but previous attempts to provide the SSE2 functions with runtime // detection caused numerous issues. The way architecture extensions are // exposed in GCC/Clang is, sadly, not really suited for one-file libs. // New behavior: if compiled with -msse2, we use SSE2 without any // detection; if not, we don't use it at all. #define STBI_NO_SIMD #endif #if defined(__MINGW32__) && defined(STBI__X86_TARGET) && !defined(STBI_MINGW_ENABLE_SSE2) && !defined(STBI_NO_SIMD) // Note that __MINGW32__ doesn't actually mean 32-bit, so we have to avoid STBI__X64_TARGET // // 32-bit MinGW wants ESP to be 16-byte aligned, but this is not in the // Windows ABI and VC++ as well as Windows DLLs don't maintain that invariant. // As a result, enabling SSE2 on 32-bit MinGW is dangerous when not // simultaneously enabling "-mstackrealign". // // See https://github.com/nothings/stb/issues/81 for more information. // // So default to no SSE2 on 32-bit MinGW. If you've read this far and added // -mstackrealign to your build settings, feel free to #define STBI_MINGW_ENABLE_SSE2. #define STBI_NO_SIMD #endif #if !defined(STBI_NO_SIMD) && (defined(STBI__X86_TARGET) || defined(STBI__X64_TARGET)) #define STBI_SSE2 #include <emmintrin.h> #ifdef _MSC_VER #if _MSC_VER >= 1400 // not VC6 #include <intrin.h> // __cpuid static int stbi__cpuid3(void) { int info[4]; __cpuid(info,1); return info[3]; } #else static int stbi__cpuid3(void) { int res; __asm { mov eax,1 cpuid mov res,edx } return res; } #endif #define STBI_SIMD_ALIGN(type, name) __declspec(align(16)) type name #if !defined(STBI_NO_JPEG) && defined(STBI_SSE2) static int stbi__sse2_available(void) { int info3 = stbi__cpuid3(); return ((info3 >> 26) & 1) != 0; } #endif #else // assume GCC-style if not VC++ #define STBI_SIMD_ALIGN(type, name) type name __attribute__((aligned(16))) #if !defined(STBI_NO_JPEG) && defined(STBI_SSE2) static int stbi__sse2_available(void) { // If we're even attempting to compile this on GCC/Clang, that means // -msse2 is on, which means the compiler is allowed to use SSE2 // instructions at will, and so are we. return 1; } #endif #endif #endif // ARM NEON #if defined(STBI_NO_SIMD) && defined(STBI_NEON) #undef STBI_NEON #endif #ifdef STBI_NEON #include <arm_neon.h> // assume GCC or Clang on ARM targets #define STBI_SIMD_ALIGN(type, name) type name __attribute__((aligned(16))) #endif #ifndef STBI_SIMD_ALIGN #define STBI_SIMD_ALIGN(type, name) type name #endif /////////////////////////////////////////////// // // stbi__context struct and start_xxx functions // stbi__context structure is our basic context used by all images, so it // contains all the IO context, plus some basic image information typedef struct { stbi__uint32 img_x, img_y; int img_n, img_out_n; stbi_io_callbacks io; void *io_user_data; int read_from_callbacks; int buflen; stbi_uc buffer_start[128]; stbi_uc *img_buffer, *img_buffer_end; stbi_uc *img_buffer_original, *img_buffer_original_end; } stbi__context; static void stbi__refill_buffer(stbi__context *s); // initialize a memory-decode context static void stbi__start_mem(stbi__context *s, stbi_uc const *buffer, int len) { s->io.read = NULL; s->read_from_callbacks = 0; s->img_buffer = s->img_buffer_original = (stbi_uc *) buffer; s->img_buffer_end = s->img_buffer_original_end = (stbi_uc *) buffer+len; } // initialize a callback-based context static void stbi__start_callbacks(stbi__context *s, stbi_io_callbacks *c, void *user) { s->io = *c; s->io_user_data = user; s->buflen = sizeof(s->buffer_start); s->read_from_callbacks = 1; s->img_buffer_original = s->buffer_start; stbi__refill_buffer(s); s->img_buffer_original_end = s->img_buffer_end; } #ifndef STBI_NO_STDIO static int stbi__stdio_read(void *user, char *data, int size) { return (int) fread(data,1,size,(FILE*) user); } static void stbi__stdio_skip(void *user, int n) { fseek((FILE*) user, n, SEEK_CUR); } static int stbi__stdio_eof(void *user) { return feof((FILE*) user); } static stbi_io_callbacks stbi__stdio_callbacks = { stbi__stdio_read, stbi__stdio_skip, stbi__stdio_eof, }; static void stbi__start_file(stbi__context *s, FILE *f) { stbi__start_callbacks(s, &stbi__stdio_callbacks, (void *) f); } //static void stop_file(stbi__context *s) { } #endif // !STBI_NO_STDIO static void stbi__rewind(stbi__context *s) { // conceptually rewind SHOULD rewind to the beginning of the stream, // but we just rewind to the beginning of the initial buffer, because // we only use it after doing 'test', which only ever looks at at most 92 bytes s->img_buffer = s->img_buffer_original; s->img_buffer_end = s->img_buffer_original_end; } enum { STBI_ORDER_RGB, STBI_ORDER_BGR }; typedef struct { int bits_per_channel; int num_channels; int channel_order; } stbi__result_info; #ifndef STBI_NO_JPEG static int stbi__jpeg_test(stbi__context *s); static void *stbi__jpeg_load(stbi__context *s, int *x, int *y, int *comp, int req_comp, stbi__result_info *ri); static int stbi__jpeg_info(stbi__context *s, int *x, int *y, int *comp); #endif #ifndef STBI_NO_PNG static int stbi__png_test(stbi__context *s); static void *stbi__png_load(stbi__context *s, int *x, int *y, int *comp, int req_comp, stbi__result_info *ri); static int stbi__png_info(stbi__context *s, int *x, int *y, int *comp); static int stbi__png_is16(stbi__context *s); #endif #ifndef STBI_NO_BMP static int stbi__bmp_test(stbi__context *s); static void *stbi__bmp_load(stbi__context *s, int *x, int *y, int *comp, int req_comp, stbi__result_info *ri); static int stbi__bmp_info(stbi__context *s, int *x, int *y, int *comp); #endif #ifndef STBI_NO_TGA static int stbi__tga_test(stbi__context *s); static void *stbi__tga_load(stbi__context *s, int *x, int *y, int *comp, int req_comp, stbi__result_info *ri); static int stbi__tga_info(stbi__context *s, int *x, int *y, int *comp); #endif #ifndef STBI_NO_PSD static int stbi__psd_test(stbi__context *s); static void *stbi__psd_load(stbi__context *s, int *x, int *y, int *comp, int req_comp, stbi__result_info *ri, int bpc); static int stbi__psd_info(stbi__context *s, int *x, int *y, int *comp); static int stbi__psd_is16(stbi__context *s); #endif #ifndef STBI_NO_HDR static int stbi__hdr_test(stbi__context *s); static float *stbi__hdr_load(stbi__context *s, int *x, int *y, int *comp, int req_comp, stbi__result_info *ri); static int stbi__hdr_info(stbi__context *s, int *x, int *y, int *comp); #endif #ifndef STBI_NO_PIC static int stbi__pic_test(stbi__context *s); static void *stbi__pic_load(stbi__context *s, int *x, int *y, int *comp, int req_comp, stbi__result_info *ri); static int stbi__pic_info(stbi__context *s, int *x, int *y, int *comp); #endif #ifndef STBI_NO_GIF static int stbi__gif_test(stbi__context *s); static void *stbi__gif_load(stbi__context *s, int *x, int *y, int *comp, int req_comp, stbi__result_info *ri); static void *stbi__load_gif_main(stbi__context *s, int **delays, int *x, int *y, int *z, int *comp, int req_comp); static int stbi__gif_info(stbi__context *s, int *x, int *y, int *comp); #endif #ifndef STBI_NO_PNM static int stbi__pnm_test(stbi__context *s); static void *stbi__pnm_load(stbi__context *s, int *x, int *y, int *comp, int req_comp, stbi__result_info *ri); static int stbi__pnm_info(stbi__context *s, int *x, int *y, int *comp); #endif // this is not threadsafe static const char *stbi__g_failure_reason; STBIDEF const char *stbi_failure_reason(void) { return stbi__g_failure_reason; } static int stbi__err(const char *str) { stbi__g_failure_reason = str; return 0; } static void *stbi__malloc(size_t size) { return STBI_MALLOC(size); } // stb_image uses ints pervasively, including for offset calculations. // therefore the largest decoded image size we can support with the // current code, even on 64-bit targets, is INT_MAX. this is not a // significant limitation for the intended use case. // // we do, however, need to make sure our size calculations don't // overflow. hence a few helper functions for size calculations that // multiply integers together, making sure that they're non-negative // and no overflow occurs. // return 1 if the sum is valid, 0 on overflow. // negative terms are considered invalid. static int stbi__addsizes_valid(int a, int b) { if (b < 0) return 0; // now 0 <= b <= INT_MAX, hence also // 0 <= INT_MAX - b <= INTMAX. // And "a + b <= INT_MAX" (which might overflow) is the // same as a <= INT_MAX - b (no overflow) return a <= INT_MAX - b; } // returns 1 if the product is valid, 0 on overflow. // negative factors are considered invalid. static int stbi__mul2sizes_valid(int a, int b) { if (a < 0 || b < 0) return 0; if (b == 0) return 1; // mul-by-0 is always safe // portable way to check for no overflows in a*b return a <= INT_MAX/b; } // returns 1 if "a*b + add" has no negative terms/factors and doesn't overflow static int stbi__mad2sizes_valid(int a, int b, int add) { return stbi__mul2sizes_valid(a, b) && stbi__addsizes_valid(a*b, add); } // returns 1 if "a*b*c + add" has no negative terms/factors and doesn't overflow static int stbi__mad3sizes_valid(int a, int b, int c, int add) { return stbi__mul2sizes_valid(a, b) && stbi__mul2sizes_valid(a*b, c) && stbi__addsizes_valid(a*b*c, add); } // returns 1 if "a*b*c*d + add" has no negative terms/factors and doesn't overflow #if !defined(STBI_NO_LINEAR) || !defined(STBI_NO_HDR) static int stbi__mad4sizes_valid(int a, int b, int c, int d, int add) { return stbi__mul2sizes_valid(a, b) && stbi__mul2sizes_valid(a*b, c) && stbi__mul2sizes_valid(a*b*c, d) && stbi__addsizes_valid(a*b*c*d, add); } #endif // mallocs with size overflow checking static void *stbi__malloc_mad2(int a, int b, int add) { if (!stbi__mad2sizes_valid(a, b, add)) return NULL; return stbi__malloc(a*b + add); } static void *stbi__malloc_mad3(int a, int b, int c, int add) { if (!stbi__mad3sizes_valid(a, b, c, add)) return NULL; return stbi__malloc(a*b*c + add); } #if !defined(STBI_NO_LINEAR) || !defined(STBI_NO_HDR) static void *stbi__malloc_mad4(int a, int b, int c, int d, int add) { if (!stbi__mad4sizes_valid(a, b, c, d, add)) return NULL; return stbi__malloc(a*b*c*d + add); } #endif // stbi__err - error // stbi__errpf - error returning pointer to float // stbi__errpuc - error returning pointer to unsigned char #ifdef STBI_NO_FAILURE_STRINGS #define stbi__err(x,y) 0 #elif defined(STBI_FAILURE_USERMSG) #define stbi__err(x,y) stbi__err(y) #else #define stbi__err(x,y) stbi__err(x) #endif #define stbi__errpf(x,y) ((float *)(size_t) (stbi__err(x,y)?NULL:NULL)) #define stbi__errpuc(x,y) ((unsigned char *)(size_t) (stbi__err(x,y)?NULL:NULL)) STBIDEF void stbi_image_free(void *retval_from_stbi_load) { STBI_FREE(retval_from_stbi_load); } #ifndef STBI_NO_LINEAR static float *stbi__ldr_to_hdr(stbi_uc *data, int x, int y, int comp); #endif #ifndef STBI_NO_HDR static stbi_uc *stbi__hdr_to_ldr(float *data, int x, int y, int comp); #endif static int stbi__vertically_flip_on_load = 0; STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) { stbi__vertically_flip_on_load = flag_true_if_should_flip; } static void *stbi__load_main(stbi__context *s, int *x, int *y, int *comp, int req_comp, stbi__result_info *ri, int bpc) { memset(ri, 0, sizeof(*ri)); // make sure it's initialized if we add new fields ri->bits_per_channel = 8; // default is 8 so most paths don't have to be changed ri->channel_order = STBI_ORDER_RGB; // all current input & output are this, but this is here so we can add BGR order ri->num_channels = 0; #ifndef STBI_NO_JPEG if (stbi__jpeg_test(s)) return stbi__jpeg_load(s,x,y,comp,req_comp, ri); #endif #ifndef STBI_NO_PNG if (stbi__png_test(s)) return stbi__png_load(s,x,y,comp,req_comp, ri); #endif #ifndef STBI_NO_BMP if (stbi__bmp_test(s)) return stbi__bmp_load(s,x,y,comp,req_comp, ri); #endif #ifndef STBI_NO_GIF if (stbi__gif_test(s)) return stbi__gif_load(s,x,y,comp,req_comp, ri); #endif #ifndef STBI_NO_PSD if (stbi__psd_test(s)) return stbi__psd_load(s,x,y,comp,req_comp, ri, bpc); #endif #ifndef STBI_NO_PIC if (stbi__pic_test(s)) return stbi__pic_load(s,x,y,comp,req_comp, ri); #endif #ifndef STBI_NO_PNM if (stbi__pnm_test(s)) return stbi__pnm_load(s,x,y,comp,req_comp, ri); #endif #ifndef STBI_NO_HDR if (stbi__hdr_test(s)) { float *hdr = stbi__hdr_load(s, x,y,comp,req_comp, ri); return stbi__hdr_to_ldr(hdr, *x, *y, req_comp ? req_comp : *comp); } #endif #ifndef STBI_NO_TGA // test tga last because it's a crappy test! if (stbi__tga_test(s)) return stbi__tga_load(s,x,y,comp,req_comp, ri); #endif return stbi__errpuc("unknown image type", "Image not of any known type, or corrupt"); } static stbi_uc *stbi__convert_16_to_8(stbi__uint16 *orig, int w, int h, int channels) { int i; int img_len = w * h * channels; stbi_uc *reduced; reduced = (stbi_uc *) stbi__malloc(img_len); if (reduced == NULL) return stbi__errpuc("outofmem", "Out of memory"); for (i = 0; i < img_len; ++i) reduced[i] = (stbi_uc)((orig[i] >> 8) & 0xFF); // top half of each byte is sufficient approx of 16->8 bit scaling STBI_FREE(orig); return reduced; } static stbi__uint16 *stbi__convert_8_to_16(stbi_uc *orig, int w, int h, int channels) { int i; int img_len = w * h * channels; stbi__uint16 *enlarged; enlarged = (stbi__uint16 *) stbi__malloc(img_len*2); if (enlarged == NULL) return (stbi__uint16 *) stbi__errpuc("outofmem", "Out of memory"); for (i = 0; i < img_len; ++i) enlarged[i] = (stbi__uint16)((orig[i] << 8) + orig[i]); // replicate to high and low byte, maps 0->0, 255->0xffff STBI_FREE(orig); return enlarged; } static void stbi__vertical_flip(void *image, int w, int h, int bytes_per_pixel) { int row; size_t bytes_per_row = (size_t)w * bytes_per_pixel; stbi_uc temp[2048]; stbi_uc *bytes = (stbi_uc *)image; for (row = 0; row < (h>>1); row++) { stbi_uc *row0 = bytes + row*bytes_per_row; stbi_uc *row1 = bytes + (h - row - 1)*bytes_per_row; // swap row0 with row1 size_t bytes_left = bytes_per_row; while (bytes_left) { size_t bytes_copy = (bytes_left < sizeof(temp)) ? bytes_left : sizeof(temp); memcpy(temp, row0, bytes_copy); memcpy(row0, row1, bytes_copy); memcpy(row1, temp, bytes_copy); row0 += bytes_copy; row1 += bytes_copy; bytes_left -= bytes_copy; } } } #ifndef STBI_NO_GIF static void stbi__vertical_flip_slices(void *image, int w, int h, int z, int bytes_per_pixel) { int slice; int slice_size = w * h * bytes_per_pixel; stbi_uc *bytes = (stbi_uc *)image; for (slice = 0; slice < z; ++slice) { stbi__vertical_flip(bytes, w, h, bytes_per_pixel); bytes += slice_size; } } #endif static unsigned char *stbi__load_and_postprocess_8bit(stbi__context *s, int *x, int *y, int *comp, int req_comp) { stbi__result_info ri; void *result = stbi__load_main(s, x, y, comp, req_comp, &ri, 8); if (result == NULL) return NULL; if (ri.bits_per_channel != 8) { STBI_ASSERT(ri.bits_per_channel == 16); result = stbi__convert_16_to_8((stbi__uint16 *) result, *x, *y, req_comp == 0 ? *comp : req_comp); ri.bits_per_channel = 8; } // @TODO: move stbi__convert_format to here if (stbi__vertically_flip_on_load) { int channels = req_comp ? req_comp : *comp; stbi__vertical_flip(result, *x, *y, channels * sizeof(stbi_uc)); } return (unsigned char *) result; } static stbi__uint16 *stbi__load_and_postprocess_16bit(stbi__context *s, int *x, int *y, int *comp, int req_comp) { stbi__result_info ri; void *result = stbi__load_main(s, x, y, comp, req_comp, &ri, 16); if (result == NULL) return NULL; if (ri.bits_per_channel != 16) { STBI_ASSERT(ri.bits_per_channel == 8); result = stbi__convert_8_to_16((stbi_uc *) result, *x, *y, req_comp == 0 ? *comp : req_comp); ri.bits_per_channel = 16; } // @TODO: move stbi__convert_format16 to here // @TODO: special case RGB-to-Y (and RGBA-to-YA) for 8-bit-to-16-bit case to keep more precision if (stbi__vertically_flip_on_load) { int channels = req_comp ? req_comp : *comp; stbi__vertical_flip(result, *x, *y, channels * sizeof(stbi__uint16)); } return (stbi__uint16 *) result; } #if !defined(STBI_NO_HDR) && !defined(STBI_NO_LINEAR) static void stbi__float_postprocess(float *result, int *x, int *y, int *comp, int req_comp) { if (stbi__vertically_flip_on_load && result != NULL) { int channels = req_comp ? req_comp : *comp; stbi__vertical_flip(result, *x, *y, channels * sizeof(float)); } } #endif #ifndef STBI_NO_STDIO #if defined(_MSC_VER) && defined(STBI_WINDOWS_UTF8) STBI_EXTERN __declspec(dllimport) int __stdcall MultiByteToWideChar(unsigned int cp, unsigned long flags, const char *str, int cbmb, wchar_t *widestr, int cchwide); STBI_EXTERN __declspec(dllimport) int __stdcall WideCharToMultiByte(unsigned int cp, unsigned long flags, const wchar_t *widestr, int cchwide, char *str, int cbmb, const char *defchar, int *used_default); #endif #if defined(_MSC_VER) && defined(STBI_WINDOWS_UTF8) STBIDEF int stbi_convert_wchar_to_utf8(char *buffer, size_t bufferlen, const wchar_t* input) { return WideCharToMultiByte(65001 /* UTF8 */, 0, input, -1, buffer, (int) bufferlen, NULL, NULL); } #endif static FILE *stbi__fopen(char const *filename, char const *mode) { FILE *f; #if defined(_MSC_VER) && defined(STBI_WINDOWS_UTF8) wchar_t wMode[64]; wchar_t wFilename[1024]; if (0 == MultiByteToWideChar(65001 /* UTF8 */, 0, filename, -1, wFilename, sizeof(wFilename))) return 0; if (0 == MultiByteToWideChar(65001 /* UTF8 */, 0, mode, -1, wMode, sizeof(wMode))) return 0; #if _MSC_VER >= 1400 if (0 != _wfopen_s(&f, wFilename, wMode)) f = 0; #else f = _wfopen(wFilename, wMode); #endif #elif defined(_MSC_VER) && _MSC_VER >= 1400 if (0 != fopen_s(&f, filename, mode)) f=0; #else f = fopen(filename, mode); #endif return f; } STBIDEF stbi_uc *stbi_load(char const *filename, int *x, int *y, int *comp, int req_comp) { FILE *f = stbi__fopen(filename, "rb"); unsigned char *result; if (!f) return stbi__errpuc("can't fopen", "Unable to open file"); result = stbi_load_from_file(f,x,y,comp,req_comp); fclose(f); return result; } STBIDEF stbi_uc *stbi_load_from_file(FILE *f, int *x, int *y, int *comp, int req_comp) { unsigned char *result; stbi__context s; stbi__start_file(&s,f); result = stbi__load_and_postprocess_8bit(&s,x,y,comp,req_comp); if (result) { // need to 'unget' all the characters in the IO buffer fseek(f, - (int) (s.img_buffer_end - s.img_buffer), SEEK_CUR); } return result; } STBIDEF stbi__uint16 *stbi_load_from_file_16(FILE *f, int *x, int *y, int *comp, int req_comp) { stbi__uint16 *result; stbi__context s; stbi__start_file(&s,f); result = stbi__load_and_postprocess_16bit(&s,x,y,comp,req_comp); if (result) { // need to 'unget' all the characters in the IO buffer fseek(f, - (int) (s.img_buffer_end - s.img_buffer), SEEK_CUR); } return result; } STBIDEF stbi_us *stbi_load_16(char const *filename, int *x, int *y, int *comp, int req_comp) { FILE *f = stbi__fopen(filename, "rb"); stbi__uint16 *result; if (!f) return (stbi_us *) stbi__errpuc("can't fopen", "Unable to open file"); result = stbi_load_from_file_16(f,x,y,comp,req_comp); fclose(f); return result; } #endif //!STBI_NO_STDIO STBIDEF stbi_us *stbi_load_16_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *channels_in_file, int desired_channels) { stbi__context s; stbi__start_mem(&s,buffer,len); return stbi__load_and_postprocess_16bit(&s,x,y,channels_in_file,desired_channels); } STBIDEF stbi_us *stbi_load_16_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *channels_in_file, int desired_channels) { stbi__context s; stbi__start_callbacks(&s, (stbi_io_callbacks *)clbk, user); return stbi__load_and_postprocess_16bit(&s,x,y,channels_in_file,desired_channels); } STBIDEF stbi_uc *stbi_load_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) { stbi__context s; stbi__start_mem(&s,buffer,len); return stbi__load_and_postprocess_8bit(&s,x,y,comp,req_comp); } STBIDEF stbi_uc *stbi_load_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) { stbi__context s; stbi__start_callbacks(&s, (stbi_io_callbacks *) clbk, user); return stbi__load_and_postprocess_8bit(&s,x,y,comp,req_comp); } #ifndef STBI_NO_GIF STBIDEF stbi_uc *stbi_load_gif_from_memory(stbi_uc const *buffer, int len, int **delays, int *x, int *y, int *z, int *comp, int req_comp) { unsigned char *result; stbi__context s; stbi__start_mem(&s,buffer,len); result = (unsigned char*) stbi__load_gif_main(&s, delays, x, y, z, comp, req_comp); if (stbi__vertically_flip_on_load) { stbi__vertical_flip_slices( result, *x, *y, *z, *comp ); } return result; } #endif #ifndef STBI_NO_LINEAR static float *stbi__loadf_main(stbi__context *s, int *x, int *y, int *comp, int req_comp) { unsigned char *data; #ifndef STBI_NO_HDR if (stbi__hdr_test(s)) { stbi__result_info ri; float *hdr_data = stbi__hdr_load(s,x,y,comp,req_comp, &ri); if (hdr_data) stbi__float_postprocess(hdr_data,x,y,comp,req_comp); return hdr_data; } #endif data = stbi__load_and_postprocess_8bit(s, x, y, comp, req_comp); if (data) return stbi__ldr_to_hdr(data, *x, *y, req_comp ? req_comp : *comp); return stbi__errpf("unknown image type", "Image not of any known type, or corrupt"); } STBIDEF float *stbi_loadf_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) { stbi__context s; stbi__start_mem(&s,buffer,len); return stbi__loadf_main(&s,x,y,comp,req_comp); } STBIDEF float *stbi_loadf_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) { stbi__context s; stbi__start_callbacks(&s, (stbi_io_callbacks *) clbk, user); return stbi__loadf_main(&s,x,y,comp,req_comp); } #ifndef STBI_NO_STDIO STBIDEF float *stbi_loadf(char const *filename, int *x, int *y, int *comp, int req_comp) { float *result; FILE *f = stbi__fopen(filename, "rb"); if (!f) return stbi__errpf("can't fopen", "Unable to open file"); result = stbi_loadf_from_file(f,x,y,comp,req_comp); fclose(f); return result; } STBIDEF float *stbi_loadf_from_file(FILE *f, int *x, int *y, int *comp, int req_comp) { stbi__context s; stbi__start_file(&s,f); return stbi__loadf_main(&s,x,y,comp,req_comp); } #endif // !STBI_NO_STDIO #endif // !STBI_NO_LINEAR // these is-hdr-or-not is defined independent of whether STBI_NO_LINEAR is // defined, for API simplicity; if STBI_NO_LINEAR is defined, it always // reports false! STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) { #ifndef STBI_NO_HDR stbi__context s; stbi__start_mem(&s,buffer,len); return stbi__hdr_test(&s); #else STBI_NOTUSED(buffer); STBI_NOTUSED(len); return 0; #endif } #ifndef STBI_NO_STDIO STBIDEF int stbi_is_hdr (char const *filename) { FILE *f = stbi__fopen(filename, "rb"); int result=0; if (f) { result = stbi_is_hdr_from_file(f); fclose(f); } return result; } STBIDEF int stbi_is_hdr_from_file(FILE *f) { #ifndef STBI_NO_HDR long pos = ftell(f); int res; stbi__context s; stbi__start_file(&s,f); res = stbi__hdr_test(&s); fseek(f, pos, SEEK_SET); return res; #else STBI_NOTUSED(f); return 0; #endif } #endif // !STBI_NO_STDIO STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) { #ifndef STBI_NO_HDR stbi__context s; stbi__start_callbacks(&s, (stbi_io_callbacks *) clbk, user); return stbi__hdr_test(&s); #else STBI_NOTUSED(clbk); STBI_NOTUSED(user); return 0; #endif } #ifndef STBI_NO_LINEAR static float stbi__l2h_gamma=2.2f, stbi__l2h_scale=1.0f; STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } #endif static float stbi__h2l_gamma_i=1.0f/2.2f, stbi__h2l_scale_i=1.0f; STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } ////////////////////////////////////////////////////////////////////////////// // // Common code used by all image loaders // enum { STBI__SCAN_load=0, STBI__SCAN_type, STBI__SCAN_header }; static void stbi__refill_buffer(stbi__context *s) { int n = (s->io.read)(s->io_user_data,(char*)s->buffer_start,s->buflen); if (n == 0) { // at end of file, treat same as if from memory, but need to handle case // where s->img_buffer isn't pointing to safe memory, e.g. 0-byte file s->read_from_callbacks = 0; s->img_buffer = s->buffer_start; s->img_buffer_end = s->buffer_start+1; *s->img_buffer = 0; } else { s->img_buffer = s->buffer_start; s->img_buffer_end = s->buffer_start + n; } } stbi_inline static stbi_uc stbi__get8(stbi__context *s) { if (s->img_buffer < s->img_buffer_end) return *s->img_buffer++; if (s->read_from_callbacks) { stbi__refill_buffer(s); return *s->img_buffer++; } return 0; } stbi_inline static int stbi__at_eof(stbi__context *s) { if (s->io.read) { if (!(s->io.eof)(s->io_user_data)) return 0; // if feof() is true, check if buffer = end // special case: we've only got the special 0 character at the end if (s->read_from_callbacks == 0) return 1; } return s->img_buffer >= s->img_buffer_end; } static void stbi__skip(stbi__context *s, int n) { if (n < 0) { s->img_buffer = s->img_buffer_end; return; } if (s->io.read) { int blen = (int) (s->img_buffer_end - s->img_buffer); if (blen < n) { s->img_buffer = s->img_buffer_end; (s->io.skip)(s->io_user_data, n - blen); return; } } s->img_buffer += n; } static int stbi__getn(stbi__context *s, stbi_uc *buffer, int n) { if (s->io.read) { int blen = (int) (s->img_buffer_end - s->img_buffer); if (blen < n) { int res, count; memcpy(buffer, s->img_buffer, blen); count = (s->io.read)(s->io_user_data, (char*) buffer + blen, n - blen); res = (count == (n-blen)); s->img_buffer = s->img_buffer_end; return res; } } if (s->img_buffer+n <= s->img_buffer_end) { memcpy(buffer, s->img_buffer, n); s->img_buffer += n; return 1; } else return 0; } static int stbi__get16be(stbi__context *s) { int z = stbi__get8(s); return (z << 8) + stbi__get8(s); } static stbi__uint32 stbi__get32be(stbi__context *s) { stbi__uint32 z = stbi__get16be(s); return (z << 16) + stbi__get16be(s); } #if defined(STBI_NO_BMP) && defined(STBI_NO_TGA) && defined(STBI_NO_GIF) // nothing #else static int stbi__get16le(stbi__context *s) { int z = stbi__get8(s); return z + (stbi__get8(s) << 8); } #endif #ifndef STBI_NO_BMP static stbi__uint32 stbi__get32le(stbi__context *s) { stbi__uint32 z = stbi__get16le(s); return z + (stbi__get16le(s) << 16); } #endif #define STBI__BYTECAST(x) ((stbi_uc) ((x) & 255)) // truncate int to byte without warnings ////////////////////////////////////////////////////////////////////////////// // // generic converter from built-in img_n to req_comp // individual types do this automatically as much as possible (e.g. jpeg // does all cases internally since it needs to colorspace convert anyway, // and it never has alpha, so very few cases ). png can automatically // interleave an alpha=255 channel, but falls back to this for other cases // // assume data buffer is malloced, so malloc a new one and free that one // only failure mode is malloc failing static stbi_uc stbi__compute_y(int r, int g, int b) { return (stbi_uc) (((r*77) + (g*150) + (29*b)) >> 8); } static unsigned char *stbi__convert_format(unsigned char *data, int img_n, int req_comp, unsigned int x, unsigned int y) { int i,j; unsigned char *good; if (req_comp == img_n) return data; STBI_ASSERT(req_comp >= 1 && req_comp <= 4); good = (unsigned char *) stbi__malloc_mad3(req_comp, x, y, 0); if (good == NULL) { STBI_FREE(data); return stbi__errpuc("outofmem", "Out of memory"); } for (j=0; j < (int) y; ++j) { unsigned char *src = data + j * x * img_n ; unsigned char *dest = good + j * x * req_comp; #define STBI__COMBO(a,b) ((a)*8+(b)) #define STBI__CASE(a,b) case STBI__COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) // convert source image with img_n components to one with req_comp components; // avoid switch per pixel, so use switch per scanline and massive macros switch (STBI__COMBO(img_n, req_comp)) { STBI__CASE(1,2) { dest[0]=src[0]; dest[1]=255; } break; STBI__CASE(1,3) { dest[0]=dest[1]=dest[2]=src[0]; } break; STBI__CASE(1,4) { dest[0]=dest[1]=dest[2]=src[0]; dest[3]=255; } break; STBI__CASE(2,1) { dest[0]=src[0]; } break; STBI__CASE(2,3) { dest[0]=dest[1]=dest[2]=src[0]; } break; STBI__CASE(2,4) { dest[0]=dest[1]=dest[2]=src[0]; dest[3]=src[1]; } break; STBI__CASE(3,4) { dest[0]=src[0];dest[1]=src[1];dest[2]=src[2];dest[3]=255; } break; STBI__CASE(3,1) { dest[0]=stbi__compute_y(src[0],src[1],src[2]); } break; STBI__CASE(3,2) { dest[0]=stbi__compute_y(src[0],src[1],src[2]); dest[1] = 255; } break; STBI__CASE(4,1) { dest[0]=stbi__compute_y(src[0],src[1],src[2]); } break; STBI__CASE(4,2) { dest[0]=stbi__compute_y(src[0],src[1],src[2]); dest[1] = src[3]; } break; STBI__CASE(4,3) { dest[0]=src[0];dest[1]=src[1];dest[2]=src[2]; } break; default: STBI_ASSERT(0); } #undef STBI__CASE } STBI_FREE(data); return good; } static stbi__uint16 stbi__compute_y_16(int r, int g, int b) { return (stbi__uint16) (((r*77) + (g*150) + (29*b)) >> 8); } static stbi__uint16 *stbi__convert_format16(stbi__uint16 *data, int img_n, int req_comp, unsigned int x, unsigned int y) { int i,j; stbi__uint16 *good; if (req_comp == img_n) return data; STBI_ASSERT(req_comp >= 1 && req_comp <= 4); good = (stbi__uint16 *) stbi__malloc(req_comp * x * y * 2); if (good == NULL) { STBI_FREE(data); return (stbi__uint16 *) stbi__errpuc("outofmem", "Out of memory"); } for (j=0; j < (int) y; ++j) { stbi__uint16 *src = data + j * x * img_n ; stbi__uint16 *dest = good + j * x * req_comp; #define STBI__COMBO(a,b) ((a)*8+(b)) #define STBI__CASE(a,b) case STBI__COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) // convert source image with img_n components to one with req_comp components; // avoid switch per pixel, so use switch per scanline and massive macros switch (STBI__COMBO(img_n, req_comp)) { STBI__CASE(1,2) { dest[0]=src[0]; dest[1]=0xffff; } break; STBI__CASE(1,3) { dest[0]=dest[1]=dest[2]=src[0]; } break; STBI__CASE(1,4) { dest[0]=dest[1]=dest[2]=src[0]; dest[3]=0xffff; } break; STBI__CASE(2,1) { dest[0]=src[0]; } break; STBI__CASE(2,3) { dest[0]=dest[1]=dest[2]=src[0]; } break; STBI__CASE(2,4) { dest[0]=dest[1]=dest[2]=src[0]; dest[3]=src[1]; } break; STBI__CASE(3,4) { dest[0]=src[0];dest[1]=src[1];dest[2]=src[2];dest[3]=0xffff; } break; STBI__CASE(3,1) { dest[0]=stbi__compute_y_16(src[0],src[1],src[2]); } break; STBI__CASE(3,2) { dest[0]=stbi__compute_y_16(src[0],src[1],src[2]); dest[1] = 0xffff; } break; STBI__CASE(4,1) { dest[0]=stbi__compute_y_16(src[0],src[1],src[2]); } break; STBI__CASE(4,2) { dest[0]=stbi__compute_y_16(src[0],src[1],src[2]); dest[1] = src[3]; } break; STBI__CASE(4,3) { dest[0]=src[0];dest[1]=src[1];dest[2]=src[2]; } break; default: STBI_ASSERT(0); } #undef STBI__CASE } STBI_FREE(data); return good; } #ifndef STBI_NO_LINEAR static float *stbi__ldr_to_hdr(stbi_uc *data, int x, int y, int comp) { int i,k,n; float *output; if (!data) return NULL; output = (float *) stbi__malloc_mad4(x, y, comp, sizeof(float), 0); if (output == NULL) { STBI_FREE(data); return stbi__errpf("outofmem", "Out of memory"); } // compute number of non-alpha components if (comp & 1) n = comp; else n = comp-1; for (i=0; i < x*y; ++i) { for (k=0; k < n; ++k) { output[i*comp + k] = (float) (pow(data[i*comp+k]/255.0f, stbi__l2h_gamma) * stbi__l2h_scale); } } if (n < comp) { for (i=0; i < x*y; ++i) { output[i*comp + n] = data[i*comp + n]/255.0f; } } STBI_FREE(data); return output; } #endif #ifndef STBI_NO_HDR #define stbi__float2int(x) ((int) (x)) static stbi_uc *stbi__hdr_to_ldr(float *data, int x, int y, int comp) { int i,k,n; stbi_uc *output; if (!data) return NULL; output = (stbi_uc *) stbi__malloc_mad3(x, y, comp, 0); if (output == NULL) { STBI_FREE(data); return stbi__errpuc("outofmem", "Out of memory"); } // compute number of non-alpha components if (comp & 1) n = comp; else n = comp-1; for (i=0; i < x*y; ++i) { for (k=0; k < n; ++k) { float z = (float) pow(data[i*comp+k]*stbi__h2l_scale_i, stbi__h2l_gamma_i) * 255 + 0.5f; if (z < 0) z = 0; if (z > 255) z = 255; output[i*comp + k] = (stbi_uc) stbi__float2int(z); } if (k < comp) { float z = data[i*comp+k] * 255 + 0.5f; if (z < 0) z = 0; if (z > 255) z = 255; output[i*comp + k] = (stbi_uc) stbi__float2int(z); } } STBI_FREE(data); return output; } #endif ////////////////////////////////////////////////////////////////////////////// // // "baseline" JPEG/JFIF decoder // // simple implementation // - doesn't support delayed output of y-dimension // - simple interface (only one output format: 8-bit interleaved RGB) // - doesn't try to recover corrupt jpegs // - doesn't allow partial loading, loading multiple at once // - still fast on x86 (copying globals into locals doesn't help x86) // - allocates lots of intermediate memory (full size of all components) // - non-interleaved case requires this anyway // - allows good upsampling (see next) // high-quality // - upsampled channels are bilinearly interpolated, even across blocks // - quality integer IDCT derived from IJG's 'slow' // performance // - fast huffman; reasonable integer IDCT // - some SIMD kernels for common paths on targets with SSE2/NEON // - uses a lot of intermediate memory, could cache poorly #ifndef STBI_NO_JPEG // huffman decoding acceleration #define FAST_BITS 9 // larger handles more cases; smaller stomps less cache typedef struct { stbi_uc fast[1 << FAST_BITS]; // weirdly, repacking this into AoS is a 10% speed loss, instead of a win stbi__uint16 code[256]; stbi_uc values[256]; stbi_uc size[257]; unsigned int maxcode[18]; int delta[17]; // old 'firstsymbol' - old 'firstcode' } stbi__huffman; typedef struct { stbi__context *s; stbi__huffman huff_dc[4]; stbi__huffman huff_ac[4]; stbi__uint16 dequant[4][64]; stbi__int16 fast_ac[4][1 << FAST_BITS]; // sizes for components, interleaved MCUs int img_h_max, img_v_max; int img_mcu_x, img_mcu_y; int img_mcu_w, img_mcu_h; // definition of jpeg image component struct { int id; int h,v; int tq; int hd,ha; int dc_pred; int x,y,w2,h2; stbi_uc *data; void *raw_data, *raw_coeff; stbi_uc *linebuf; short *coeff; // progressive only int coeff_w, coeff_h; // number of 8x8 coefficient blocks } img_comp[4]; stbi__uint32 code_buffer; // jpeg entropy-coded buffer int code_bits; // number of valid bits unsigned char marker; // marker seen while filling entropy buffer int nomore; // flag if we saw a marker so must stop int progressive; int spec_start; int spec_end; int succ_high; int succ_low; int eob_run; int jfif; int app14_color_transform; // Adobe APP14 tag int rgb; int scan_n, order[4]; int restart_interval, todo; // kernels void (*idct_block_kernel)(stbi_uc *out, int out_stride, short data[64]); void (*YCbCr_to_RGB_kernel)(stbi_uc *out, const stbi_uc *y, const stbi_uc *pcb, const stbi_uc *pcr, int count, int step); stbi_uc *(*resample_row_hv_2_kernel)(stbi_uc *out, stbi_uc *in_near, stbi_uc *in_far, int w, int hs); } stbi__jpeg; static int stbi__build_huffman(stbi__huffman *h, int *count) { int i,j,k=0; unsigned int code; // build size list for each symbol (from JPEG spec) for (i=0; i < 16; ++i) for (j=0; j < count[i]; ++j) h->size[k++] = (stbi_uc) (i+1); h->size[k] = 0; // compute actual symbols (from jpeg spec) code = 0; k = 0; for(j=1; j <= 16; ++j) { // compute delta to add to code to compute symbol id h->delta[j] = k - code; if (h->size[k] == j) { while (h->size[k] == j) h->code[k++] = (stbi__uint16) (code++); if (code-1 >= (1u << j)) return stbi__err("bad code lengths","Corrupt JPEG"); } // compute largest code + 1 for this size, preshifted as needed later h->maxcode[j] = code << (16-j); code <<= 1; } h->maxcode[j] = 0xffffffff; // build non-spec acceleration table; 255 is flag for not-accelerated memset(h->fast, 255, 1 << FAST_BITS); for (i=0; i < k; ++i) { int s = h->size[i]; if (s <= FAST_BITS) { int c = h->code[i] << (FAST_BITS-s); int m = 1 << (FAST_BITS-s); for (j=0; j < m; ++j) { h->fast[c+j] = (stbi_uc) i; } } } return 1; } // build a table that decodes both magnitude and value of small ACs in // one go. static void stbi__build_fast_ac(stbi__int16 *fast_ac, stbi__huffman *h) { int i; for (i=0; i < (1 << FAST_BITS); ++i) { stbi_uc fast = h->fast[i]; fast_ac[i] = 0; if (fast < 255) { int rs = h->values[fast]; int run = (rs >> 4) & 15; int magbits = rs & 15; int len = h->size[fast]; if (magbits && len + magbits <= FAST_BITS) { // magnitude code followed by receive_extend code int k = ((i << len) & ((1 << FAST_BITS) - 1)) >> (FAST_BITS - magbits); int m = 1 << (magbits - 1); if (k < m) k += (~0U << magbits) + 1; // if the result is small enough, we can fit it in fast_ac table if (k >= -128 && k <= 127) fast_ac[i] = (stbi__int16) ((k * 256) + (run * 16) + (len + magbits)); } } } } static void stbi__grow_buffer_unsafe(stbi__jpeg *j) { do { unsigned int b = j->nomore ? 0 : stbi__get8(j->s); if (b == 0xff) { int c = stbi__get8(j->s); while (c == 0xff) c = stbi__get8(j->s); // consume fill bytes if (c != 0) { j->marker = (unsigned char) c; j->nomore = 1; return; } } j->code_buffer |= b << (24 - j->code_bits); j->code_bits += 8; } while (j->code_bits <= 24); } // (1 << n) - 1 static const stbi__uint32 stbi__bmask[17]={0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535}; // decode a jpeg huffman value from the bitstream stbi_inline static int stbi__jpeg_huff_decode(stbi__jpeg *j, stbi__huffman *h) { unsigned int temp; int c,k; if (j->code_bits < 16) stbi__grow_buffer_unsafe(j); // look at the top FAST_BITS and determine what symbol ID it is, // if the code is <= FAST_BITS c = (j->code_buffer >> (32 - FAST_BITS)) & ((1 << FAST_BITS)-1); k = h->fast[c]; if (k < 255) { int s = h->size[k]; if (s > j->code_bits) return -1; j->code_buffer <<= s; j->code_bits -= s; return h->values[k]; } // naive test is to shift the code_buffer down so k bits are // valid, then test against maxcode. To speed this up, we've // preshifted maxcode left so that it has (16-k) 0s at the // end; in other words, regardless of the number of bits, it // wants to be compared against something shifted to have 16; // that way we don't need to shift inside the loop. temp = j->code_buffer >> 16; for (k=FAST_BITS+1 ; ; ++k) if (temp < h->maxcode[k]) break; if (k == 17) { // error! code not found j->code_bits -= 16; return -1; } if (k > j->code_bits) return -1; // convert the huffman code to the symbol id c = ((j->code_buffer >> (32 - k)) & stbi__bmask[k]) + h->delta[k]; STBI_ASSERT((((j->code_buffer) >> (32 - h->size[c])) & stbi__bmask[h->size[c]]) == h->code[c]); // convert the id to a symbol j->code_bits -= k; j->code_buffer <<= k; return h->values[c]; } // bias[n] = (-1<<n) + 1 static const int stbi__jbias[16] = {0,-1,-3,-7,-15,-31,-63,-127,-255,-511,-1023,-2047,-4095,-8191,-16383,-32767}; // combined JPEG 'receive' and JPEG 'extend', since baseline // always extends everything it receives. stbi_inline static int stbi__extend_receive(stbi__jpeg *j, int n) { unsigned int k; int sgn; if (j->code_bits < n) stbi__grow_buffer_unsafe(j); sgn = (stbi__int32)j->code_buffer >> 31; // sign bit is always in MSB k = stbi_lrot(j->code_buffer, n); STBI_ASSERT(n >= 0 && n < (int) (sizeof(stbi__bmask)/sizeof(*stbi__bmask))); j->code_buffer = k & ~stbi__bmask[n]; k &= stbi__bmask[n]; j->code_bits -= n; return k + (stbi__jbias[n] & ~sgn); } // get some unsigned bits stbi_inline static int stbi__jpeg_get_bits(stbi__jpeg *j, int n) { unsigned int k; if (j->code_bits < n) stbi__grow_buffer_unsafe(j); k = stbi_lrot(j->code_buffer, n); j->code_buffer = k & ~stbi__bmask[n]; k &= stbi__bmask[n]; j->code_bits -= n; return k; } stbi_inline static int stbi__jpeg_get_bit(stbi__jpeg *j) { unsigned int k; if (j->code_bits < 1) stbi__grow_buffer_unsafe(j); k = j->code_buffer; j->code_buffer <<= 1; --j->code_bits; return k & 0x80000000; } // given a value that's at position X in the zigzag stream, // where does it appear in the 8x8 matrix coded as row-major? static const stbi_uc stbi__jpeg_dezigzag[64+15] = { 0, 1, 8, 16, 9, 2, 3, 10, 17, 24, 32, 25, 18, 11, 4, 5, 12, 19, 26, 33, 40, 48, 41, 34, 27, 20, 13, 6, 7, 14, 21, 28, 35, 42, 49, 56, 57, 50, 43, 36, 29, 22, 15, 23, 30, 37, 44, 51, 58, 59, 52, 45, 38, 31, 39, 46, 53, 60, 61, 54, 47, 55, 62, 63, // let corrupt input sample past end 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63 }; // decode one 64-entry block-- static int stbi__jpeg_decode_block(stbi__jpeg *j, short data[64], stbi__huffman *hdc, stbi__huffman *hac, stbi__int16 *fac, int b, stbi__uint16 *dequant) { int diff,dc,k; int t; if (j->code_bits < 16) stbi__grow_buffer_unsafe(j); t = stbi__jpeg_huff_decode(j, hdc); if (t < 0) return stbi__err("bad huffman code","Corrupt JPEG"); // 0 all the ac values now so we can do it 32-bits at a time memset(data,0,64*sizeof(data[0])); diff = t ? stbi__extend_receive(j, t) : 0; dc = j->img_comp[b].dc_pred + diff; j->img_comp[b].dc_pred = dc; data[0] = (short) (dc * dequant[0]); // decode AC components, see JPEG spec k = 1; do { unsigned int zig; int c,r,s; if (j->code_bits < 16) stbi__grow_buffer_unsafe(j); c = (j->code_buffer >> (32 - FAST_BITS)) & ((1 << FAST_BITS)-1); r = fac[c]; if (r) { // fast-AC path k += (r >> 4) & 15; // run s = r & 15; // combined length j->code_buffer <<= s; j->code_bits -= s; // decode into unzigzag'd location zig = stbi__jpeg_dezigzag[k++]; data[zig] = (short) ((r >> 8) * dequant[zig]); } else { int rs = stbi__jpeg_huff_decode(j, hac); if (rs < 0) return stbi__err("bad huffman code","Corrupt JPEG"); s = rs & 15; r = rs >> 4; if (s == 0) { if (rs != 0xf0) break; // end block k += 16; } else { k += r; // decode into unzigzag'd location zig = stbi__jpeg_dezigzag[k++]; data[zig] = (short) (stbi__extend_receive(j,s) * dequant[zig]); } } } while (k < 64); return 1; } static int stbi__jpeg_decode_block_prog_dc(stbi__jpeg *j, short data[64], stbi__huffman *hdc, int b) { int diff,dc; int t; if (j->spec_end != 0) return stbi__err("can't merge dc and ac", "Corrupt JPEG"); if (j->code_bits < 16) stbi__grow_buffer_unsafe(j); if (j->succ_high == 0) { // first scan for DC coefficient, must be first memset(data,0,64*sizeof(data[0])); // 0 all the ac values now t = stbi__jpeg_huff_decode(j, hdc); diff = t ? stbi__extend_receive(j, t) : 0; dc = j->img_comp[b].dc_pred + diff; j->img_comp[b].dc_pred = dc; data[0] = (short) (dc << j->succ_low); } else { // refinement scan for DC coefficient if (stbi__jpeg_get_bit(j)) data[0] += (short) (1 << j->succ_low); } return 1; } // @OPTIMIZE: store non-zigzagged during the decode passes, // and only de-zigzag when dequantizing static int stbi__jpeg_decode_block_prog_ac(stbi__jpeg *j, short data[64], stbi__huffman *hac, stbi__int16 *fac) { int k; if (j->spec_start == 0) return stbi__err("can't merge dc and ac", "Corrupt JPEG"); if (j->succ_high == 0) { int shift = j->succ_low; if (j->eob_run) { --j->eob_run; return 1; } k = j->spec_start; do { unsigned int zig; int c,r,s; if (j->code_bits < 16) stbi__grow_buffer_unsafe(j); c = (j->code_buffer >> (32 - FAST_BITS)) & ((1 << FAST_BITS)-1); r = fac[c]; if (r) { // fast-AC path k += (r >> 4) & 15; // run s = r & 15; // combined length j->code_buffer <<= s; j->code_bits -= s; zig = stbi__jpeg_dezigzag[k++]; data[zig] = (short) ((r >> 8) << shift); } else { int rs = stbi__jpeg_huff_decode(j, hac); if (rs < 0) return stbi__err("bad huffman code","Corrupt JPEG"); s = rs & 15; r = rs >> 4; if (s == 0) { if (r < 15) { j->eob_run = (1 << r); if (r) j->eob_run += stbi__jpeg_get_bits(j, r); --j->eob_run; break; } k += 16; } else { k += r; zig = stbi__jpeg_dezigzag[k++]; data[zig] = (short) (stbi__extend_receive(j,s) << shift); } } } while (k <= j->spec_end); } else { // refinement scan for these AC coefficients short bit = (short) (1 << j->succ_low); if (j->eob_run) { --j->eob_run; for (k = j->spec_start; k <= j->spec_end; ++k) { short *p = &data[stbi__jpeg_dezigzag[k]]; if (*p != 0) if (stbi__jpeg_get_bit(j)) if ((*p & bit)==0) { if (*p > 0) *p += bit; else *p -= bit; } } } else { k = j->spec_start; do { int r,s; int rs = stbi__jpeg_huff_decode(j, hac); // @OPTIMIZE see if we can use the fast path here, advance-by-r is so slow, eh if (rs < 0) return stbi__err("bad huffman code","Corrupt JPEG"); s = rs & 15; r = rs >> 4; if (s == 0) { if (r < 15) { j->eob_run = (1 << r) - 1; if (r) j->eob_run += stbi__jpeg_get_bits(j, r); r = 64; // force end of block } else { // r=15 s=0 should write 16 0s, so we just do // a run of 15 0s and then write s (which is 0), // so we don't have to do anything special here } } else { if (s != 1) return stbi__err("bad huffman code", "Corrupt JPEG"); // sign bit if (stbi__jpeg_get_bit(j)) s = bit; else s = -bit; } // advance by r while (k <= j->spec_end) { short *p = &data[stbi__jpeg_dezigzag[k++]]; if (*p != 0) { if (stbi__jpeg_get_bit(j)) if ((*p & bit)==0) { if (*p > 0) *p += bit; else *p -= bit; } } else { if (r == 0) { *p = (short) s; break; } --r; } } } while (k <= j->spec_end); } } return 1; } // take a -128..127 value and stbi__clamp it and convert to 0..255 stbi_inline static stbi_uc stbi__clamp(int x) { // trick to use a single test to catch both cases if ((unsigned int) x > 255) { if (x < 0) return 0; if (x > 255) return 255; } return (stbi_uc) x; } #define stbi__f2f(x) ((int) (((x) * 4096 + 0.5))) #define stbi__fsh(x) ((x) * 4096) // derived from jidctint -- DCT_ISLOW #define STBI__IDCT_1D(s0,s1,s2,s3,s4,s5,s6,s7) \ int t0,t1,t2,t3,p1,p2,p3,p4,p5,x0,x1,x2,x3; \ p2 = s2; \ p3 = s6; \ p1 = (p2+p3) * stbi__f2f(0.5411961f); \ t2 = p1 + p3*stbi__f2f(-1.847759065f); \ t3 = p1 + p2*stbi__f2f( 0.765366865f); \ p2 = s0; \ p3 = s4; \ t0 = stbi__fsh(p2+p3); \ t1 = stbi__fsh(p2-p3); \ x0 = t0+t3; \ x3 = t0-t3; \ x1 = t1+t2; \ x2 = t1-t2; \ t0 = s7; \ t1 = s5; \ t2 = s3; \ t3 = s1; \ p3 = t0+t2; \ p4 = t1+t3; \ p1 = t0+t3; \ p2 = t1+t2; \ p5 = (p3+p4)*stbi__f2f( 1.175875602f); \ t0 = t0*stbi__f2f( 0.298631336f); \ t1 = t1*stbi__f2f( 2.053119869f); \ t2 = t2*stbi__f2f( 3.072711026f); \ t3 = t3*stbi__f2f( 1.501321110f); \ p1 = p5 + p1*stbi__f2f(-0.899976223f); \ p2 = p5 + p2*stbi__f2f(-2.562915447f); \ p3 = p3*stbi__f2f(-1.961570560f); \ p4 = p4*stbi__f2f(-0.390180644f); \ t3 += p1+p4; \ t2 += p2+p3; \ t1 += p2+p4; \ t0 += p1+p3; static void stbi__idct_block(stbi_uc *out, int out_stride, short data[64]) { int i,val[64],*v=val; stbi_uc *o; short *d = data; // columns for (i=0; i < 8; ++i,++d, ++v) { // if all zeroes, shortcut -- this avoids dequantizing 0s and IDCTing if (d[ 8]==0 && d[16]==0 && d[24]==0 && d[32]==0 && d[40]==0 && d[48]==0 && d[56]==0) { // no shortcut 0 seconds // (1|2|3|4|5|6|7)==0 0 seconds // all separate -0.047 seconds // 1 && 2|3 && 4|5 && 6|7: -0.047 seconds int dcterm = d[0]*4; v[0] = v[8] = v[16] = v[24] = v[32] = v[40] = v[48] = v[56] = dcterm; } else { STBI__IDCT_1D(d[ 0],d[ 8],d[16],d[24],d[32],d[40],d[48],d[56]) // constants scaled things up by 1<<12; let's bring them back // down, but keep 2 extra bits of precision x0 += 512; x1 += 512; x2 += 512; x3 += 512; v[ 0] = (x0+t3) >> 10; v[56] = (x0-t3) >> 10; v[ 8] = (x1+t2) >> 10; v[48] = (x1-t2) >> 10; v[16] = (x2+t1) >> 10; v[40] = (x2-t1) >> 10; v[24] = (x3+t0) >> 10; v[32] = (x3-t0) >> 10; } } for (i=0, v=val, o=out; i < 8; ++i,v+=8,o+=out_stride) { // no fast case since the first 1D IDCT spread components out STBI__IDCT_1D(v[0],v[1],v[2],v[3],v[4],v[5],v[6],v[7]) // constants scaled things up by 1<<12, plus we had 1<<2 from first // loop, plus horizontal and vertical each scale by sqrt(8) so together // we've got an extra 1<<3, so 1<<17 total we need to remove. // so we want to round that, which means adding 0.5 * 1<<17, // aka 65536. Also, we'll end up with -128 to 127 that we want // to encode as 0..255 by adding 128, so we'll add that before the shift x0 += 65536 + (128<<17); x1 += 65536 + (128<<17); x2 += 65536 + (128<<17); x3 += 65536 + (128<<17); // tried computing the shifts into temps, or'ing the temps to see // if any were out of range, but that was slower o[0] = stbi__clamp((x0+t3) >> 17); o[7] = stbi__clamp((x0-t3) >> 17); o[1] = stbi__clamp((x1+t2) >> 17); o[6] = stbi__clamp((x1-t2) >> 17); o[2] = stbi__clamp((x2+t1) >> 17); o[5] = stbi__clamp((x2-t1) >> 17); o[3] = stbi__clamp((x3+t0) >> 17); o[4] = stbi__clamp((x3-t0) >> 17); } } #ifdef STBI_SSE2 // sse2 integer IDCT. not the fastest possible implementation but it // produces bit-identical results to the generic C version so it's // fully "transparent". static void stbi__idct_simd(stbi_uc *out, int out_stride, short data[64]) { // This is constructed to match our regular (generic) integer IDCT exactly. __m128i row0, row1, row2, row3, row4, row5, row6, row7; __m128i tmp; // dot product constant: even elems=x, odd elems=y #define dct_const(x,y) _mm_setr_epi16((x),(y),(x),(y),(x),(y),(x),(y)) // out(0) = c0[even]*x + c0[odd]*y (c0, x, y 16-bit, out 32-bit) // out(1) = c1[even]*x + c1[odd]*y #define dct_rot(out0,out1, x,y,c0,c1) \ __m128i c0##lo = _mm_unpacklo_epi16((x),(y)); \ __m128i c0##hi = _mm_unpackhi_epi16((x),(y)); \ __m128i out0##_l = _mm_madd_epi16(c0##lo, c0); \ __m128i out0##_h = _mm_madd_epi16(c0##hi, c0); \ __m128i out1##_l = _mm_madd_epi16(c0##lo, c1); \ __m128i out1##_h = _mm_madd_epi16(c0##hi, c1) // out = in << 12 (in 16-bit, out 32-bit) #define dct_widen(out, in) \ __m128i out##_l = _mm_srai_epi32(_mm_unpacklo_epi16(_mm_setzero_si128(), (in)), 4); \ __m128i out##_h = _mm_srai_epi32(_mm_unpackhi_epi16(_mm_setzero_si128(), (in)), 4) // wide add #define dct_wadd(out, a, b) \ __m128i out##_l = _mm_add_epi32(a##_l, b##_l); \ __m128i out##_h = _mm_add_epi32(a##_h, b##_h) // wide sub #define dct_wsub(out, a, b) \ __m128i out##_l = _mm_sub_epi32(a##_l, b##_l); \ __m128i out##_h = _mm_sub_epi32(a##_h, b##_h) // butterfly a/b, add bias, then shift by "s" and pack #define dct_bfly32o(out0, out1, a,b,bias,s) \ { \ __m128i abiased_l = _mm_add_epi32(a##_l, bias); \ __m128i abiased_h = _mm_add_epi32(a##_h, bias); \ dct_wadd(sum, abiased, b); \ dct_wsub(dif, abiased, b); \ out0 = _mm_packs_epi32(_mm_srai_epi32(sum_l, s), _mm_srai_epi32(sum_h, s)); \ out1 = _mm_packs_epi32(_mm_srai_epi32(dif_l, s), _mm_srai_epi32(dif_h, s)); \ } // 8-bit interleave step (for transposes) #define dct_interleave8(a, b) \ tmp = a; \ a = _mm_unpacklo_epi8(a, b); \ b = _mm_unpackhi_epi8(tmp, b) // 16-bit interleave step (for transposes) #define dct_interleave16(a, b) \ tmp = a; \ a = _mm_unpacklo_epi16(a, b); \ b = _mm_unpackhi_epi16(tmp, b) #define dct_pass(bias,shift) \ { \ /* even part */ \ dct_rot(t2e,t3e, row2,row6, rot0_0,rot0_1); \ __m128i sum04 = _mm_add_epi16(row0, row4); \ __m128i dif04 = _mm_sub_epi16(row0, row4); \ dct_widen(t0e, sum04); \ dct_widen(t1e, dif04); \ dct_wadd(x0, t0e, t3e); \ dct_wsub(x3, t0e, t3e); \ dct_wadd(x1, t1e, t2e); \ dct_wsub(x2, t1e, t2e); \ /* odd part */ \ dct_rot(y0o,y2o, row7,row3, rot2_0,rot2_1); \ dct_rot(y1o,y3o, row5,row1, rot3_0,rot3_1); \ __m128i sum17 = _mm_add_epi16(row1, row7); \ __m128i sum35 = _mm_add_epi16(row3, row5); \ dct_rot(y4o,y5o, sum17,sum35, rot1_0,rot1_1); \ dct_wadd(x4, y0o, y4o); \ dct_wadd(x5, y1o, y5o); \ dct_wadd(x6, y2o, y5o); \ dct_wadd(x7, y3o, y4o); \ dct_bfly32o(row0,row7, x0,x7,bias,shift); \ dct_bfly32o(row1,row6, x1,x6,bias,shift); \ dct_bfly32o(row2,row5, x2,x5,bias,shift); \ dct_bfly32o(row3,row4, x3,x4,bias,shift); \ } __m128i rot0_0 = dct_const(stbi__f2f(0.5411961f), stbi__f2f(0.5411961f) + stbi__f2f(-1.847759065f)); __m128i rot0_1 = dct_const(stbi__f2f(0.5411961f) + stbi__f2f( 0.765366865f), stbi__f2f(0.5411961f)); __m128i rot1_0 = dct_const(stbi__f2f(1.175875602f) + stbi__f2f(-0.899976223f), stbi__f2f(1.175875602f)); __m128i rot1_1 = dct_const(stbi__f2f(1.175875602f), stbi__f2f(1.175875602f) + stbi__f2f(-2.562915447f)); __m128i rot2_0 = dct_const(stbi__f2f(-1.961570560f) + stbi__f2f( 0.298631336f), stbi__f2f(-1.961570560f)); __m128i rot2_1 = dct_const(stbi__f2f(-1.961570560f), stbi__f2f(-1.961570560f) + stbi__f2f( 3.072711026f)); __m128i rot3_0 = dct_const(stbi__f2f(-0.390180644f) + stbi__f2f( 2.053119869f), stbi__f2f(-0.390180644f)); __m128i rot3_1 = dct_const(stbi__f2f(-0.390180644f), stbi__f2f(-0.390180644f) + stbi__f2f( 1.501321110f)); // rounding biases in column/row passes, see stbi__idct_block for explanation. __m128i bias_0 = _mm_set1_epi32(512); __m128i bias_1 = _mm_set1_epi32(65536 + (128<<17)); // load row0 = _mm_load_si128((const __m128i *) (data + 0*8)); row1 = _mm_load_si128((const __m128i *) (data + 1*8)); row2 = _mm_load_si128((const __m128i *) (data + 2*8)); row3 = _mm_load_si128((const __m128i *) (data + 3*8)); row4 = _mm_load_si128((const __m128i *) (data + 4*8)); row5 = _mm_load_si128((const __m128i *) (data + 5*8)); row6 = _mm_load_si128((const __m128i *) (data + 6*8)); row7 = _mm_load_si128((const __m128i *) (data + 7*8)); // column pass dct_pass(bias_0, 10); { // 16bit 8x8 transpose pass 1 dct_interleave16(row0, row4); dct_interleave16(row1, row5); dct_interleave16(row2, row6); dct_interleave16(row3, row7); // transpose pass 2 dct_interleave16(row0, row2); dct_interleave16(row1, row3); dct_interleave16(row4, row6); dct_interleave16(row5, row7); // transpose pass 3 dct_interleave16(row0, row1); dct_interleave16(row2, row3); dct_interleave16(row4, row5); dct_interleave16(row6, row7); } // row pass dct_pass(bias_1, 17); { // pack __m128i p0 = _mm_packus_epi16(row0, row1); // a0a1a2a3...a7b0b1b2b3...b7 __m128i p1 = _mm_packus_epi16(row2, row3); __m128i p2 = _mm_packus_epi16(row4, row5); __m128i p3 = _mm_packus_epi16(row6, row7); // 8bit 8x8 transpose pass 1 dct_interleave8(p0, p2); // a0e0a1e1... dct_interleave8(p1, p3); // c0g0c1g1... // transpose pass 2 dct_interleave8(p0, p1); // a0c0e0g0... dct_interleave8(p2, p3); // b0d0f0h0... // transpose pass 3 dct_interleave8(p0, p2); // a0b0c0d0... dct_interleave8(p1, p3); // a4b4c4d4... // store _mm_storel_epi64((__m128i *) out, p0); out += out_stride; _mm_storel_epi64((__m128i *) out, _mm_shuffle_epi32(p0, 0x4e)); out += out_stride; _mm_storel_epi64((__m128i *) out, p2); out += out_stride; _mm_storel_epi64((__m128i *) out, _mm_shuffle_epi32(p2, 0x4e)); out += out_stride; _mm_storel_epi64((__m128i *) out, p1); out += out_stride; _mm_storel_epi64((__m128i *) out, _mm_shuffle_epi32(p1, 0x4e)); out += out_stride; _mm_storel_epi64((__m128i *) out, p3); out += out_stride; _mm_storel_epi64((__m128i *) out, _mm_shuffle_epi32(p3, 0x4e)); } #undef dct_const #undef dct_rot #undef dct_widen #undef dct_wadd #undef dct_wsub #undef dct_bfly32o #undef dct_interleave8 #undef dct_interleave16 #undef dct_pass } #endif // STBI_SSE2 #ifdef STBI_NEON // NEON integer IDCT. should produce bit-identical // results to the generic C version. static void stbi__idct_simd(stbi_uc *out, int out_stride, short data[64]) { int16x8_t row0, row1, row2, row3, row4, row5, row6, row7; int16x4_t rot0_0 = vdup_n_s16(stbi__f2f(0.5411961f)); int16x4_t rot0_1 = vdup_n_s16(stbi__f2f(-1.847759065f)); int16x4_t rot0_2 = vdup_n_s16(stbi__f2f( 0.765366865f)); int16x4_t rot1_0 = vdup_n_s16(stbi__f2f( 1.175875602f)); int16x4_t rot1_1 = vdup_n_s16(stbi__f2f(-0.899976223f)); int16x4_t rot1_2 = vdup_n_s16(stbi__f2f(-2.562915447f)); int16x4_t rot2_0 = vdup_n_s16(stbi__f2f(-1.961570560f)); int16x4_t rot2_1 = vdup_n_s16(stbi__f2f(-0.390180644f)); int16x4_t rot3_0 = vdup_n_s16(stbi__f2f( 0.298631336f)); int16x4_t rot3_1 = vdup_n_s16(stbi__f2f( 2.053119869f)); int16x4_t rot3_2 = vdup_n_s16(stbi__f2f( 3.072711026f)); int16x4_t rot3_3 = vdup_n_s16(stbi__f2f( 1.501321110f)); #define dct_long_mul(out, inq, coeff) \ int32x4_t out##_l = vmull_s16(vget_low_s16(inq), coeff); \ int32x4_t out##_h = vmull_s16(vget_high_s16(inq), coeff) #define dct_long_mac(out, acc, inq, coeff) \ int32x4_t out##_l = vmlal_s16(acc##_l, vget_low_s16(inq), coeff); \ int32x4_t out##_h = vmlal_s16(acc##_h, vget_high_s16(inq), coeff) #define dct_widen(out, inq) \ int32x4_t out##_l = vshll_n_s16(vget_low_s16(inq), 12); \ int32x4_t out##_h = vshll_n_s16(vget_high_s16(inq), 12) // wide add #define dct_wadd(out, a, b) \ int32x4_t out##_l = vaddq_s32(a##_l, b##_l); \ int32x4_t out##_h = vaddq_s32(a##_h, b##_h) // wide sub #define dct_wsub(out, a, b) \ int32x4_t out##_l = vsubq_s32(a##_l, b##_l); \ int32x4_t out##_h = vsubq_s32(a##_h, b##_h) // butterfly a/b, then shift using "shiftop" by "s" and pack #define dct_bfly32o(out0,out1, a,b,shiftop,s) \ { \ dct_wadd(sum, a, b); \ dct_wsub(dif, a, b); \ out0 = vcombine_s16(shiftop(sum_l, s), shiftop(sum_h, s)); \ out1 = vcombine_s16(shiftop(dif_l, s), shiftop(dif_h, s)); \ } #define dct_pass(shiftop, shift) \ { \ /* even part */ \ int16x8_t sum26 = vaddq_s16(row2, row6); \ dct_long_mul(p1e, sum26, rot0_0); \ dct_long_mac(t2e, p1e, row6, rot0_1); \ dct_long_mac(t3e, p1e, row2, rot0_2); \ int16x8_t sum04 = vaddq_s16(row0, row4); \ int16x8_t dif04 = vsubq_s16(row0, row4); \ dct_widen(t0e, sum04); \ dct_widen(t1e, dif04); \ dct_wadd(x0, t0e, t3e); \ dct_wsub(x3, t0e, t3e); \ dct_wadd(x1, t1e, t2e); \ dct_wsub(x2, t1e, t2e); \ /* odd part */ \ int16x8_t sum15 = vaddq_s16(row1, row5); \ int16x8_t sum17 = vaddq_s16(row1, row7); \ int16x8_t sum35 = vaddq_s16(row3, row5); \ int16x8_t sum37 = vaddq_s16(row3, row7); \ int16x8_t sumodd = vaddq_s16(sum17, sum35); \ dct_long_mul(p5o, sumodd, rot1_0); \ dct_long_mac(p1o, p5o, sum17, rot1_1); \ dct_long_mac(p2o, p5o, sum35, rot1_2); \ dct_long_mul(p3o, sum37, rot2_0); \ dct_long_mul(p4o, sum15, rot2_1); \ dct_wadd(sump13o, p1o, p3o); \ dct_wadd(sump24o, p2o, p4o); \ dct_wadd(sump23o, p2o, p3o); \ dct_wadd(sump14o, p1o, p4o); \ dct_long_mac(x4, sump13o, row7, rot3_0); \ dct_long_mac(x5, sump24o, row5, rot3_1); \ dct_long_mac(x6, sump23o, row3, rot3_2); \ dct_long_mac(x7, sump14o, row1, rot3_3); \ dct_bfly32o(row0,row7, x0,x7,shiftop,shift); \ dct_bfly32o(row1,row6, x1,x6,shiftop,shift); \ dct_bfly32o(row2,row5, x2,x5,shiftop,shift); \ dct_bfly32o(row3,row4, x3,x4,shiftop,shift); \ } // load row0 = vld1q_s16(data + 0*8); row1 = vld1q_s16(data + 1*8); row2 = vld1q_s16(data + 2*8); row3 = vld1q_s16(data + 3*8); row4 = vld1q_s16(data + 4*8); row5 = vld1q_s16(data + 5*8); row6 = vld1q_s16(data + 6*8); row7 = vld1q_s16(data + 7*8); // add DC bias row0 = vaddq_s16(row0, vsetq_lane_s16(1024, vdupq_n_s16(0), 0)); // column pass dct_pass(vrshrn_n_s32, 10); // 16bit 8x8 transpose { // these three map to a single VTRN.16, VTRN.32, and VSWP, respectively. // whether compilers actually get this is another story, sadly. #define dct_trn16(x, y) { int16x8x2_t t = vtrnq_s16(x, y); x = t.val[0]; y = t.val[1]; } #define dct_trn32(x, y) { int32x4x2_t t = vtrnq_s32(vreinterpretq_s32_s16(x), vreinterpretq_s32_s16(y)); x = vreinterpretq_s16_s32(t.val[0]); y = vreinterpretq_s16_s32(t.val[1]); } #define dct_trn64(x, y) { int16x8_t x0 = x; int16x8_t y0 = y; x = vcombine_s16(vget_low_s16(x0), vget_low_s16(y0)); y = vcombine_s16(vget_high_s16(x0), vget_high_s16(y0)); } // pass 1 dct_trn16(row0, row1); // a0b0a2b2a4b4a6b6 dct_trn16(row2, row3); dct_trn16(row4, row5); dct_trn16(row6, row7); // pass 2 dct_trn32(row0, row2); // a0b0c0d0a4b4c4d4 dct_trn32(row1, row3); dct_trn32(row4, row6); dct_trn32(row5, row7); // pass 3 dct_trn64(row0, row4); // a0b0c0d0e0f0g0h0 dct_trn64(row1, row5); dct_trn64(row2, row6); dct_trn64(row3, row7); #undef dct_trn16 #undef dct_trn32 #undef dct_trn64 } // row pass // vrshrn_n_s32 only supports shifts up to 16, we need // 17. so do a non-rounding shift of 16 first then follow // up with a rounding shift by 1. dct_pass(vshrn_n_s32, 16); { // pack and round uint8x8_t p0 = vqrshrun_n_s16(row0, 1); uint8x8_t p1 = vqrshrun_n_s16(row1, 1); uint8x8_t p2 = vqrshrun_n_s16(row2, 1); uint8x8_t p3 = vqrshrun_n_s16(row3, 1); uint8x8_t p4 = vqrshrun_n_s16(row4, 1); uint8x8_t p5 = vqrshrun_n_s16(row5, 1); uint8x8_t p6 = vqrshrun_n_s16(row6, 1); uint8x8_t p7 = vqrshrun_n_s16(row7, 1); // again, these can translate into one instruction, but often don't. #define dct_trn8_8(x, y) { uint8x8x2_t t = vtrn_u8(x, y); x = t.val[0]; y = t.val[1]; } #define dct_trn8_16(x, y) { uint16x4x2_t t = vtrn_u16(vreinterpret_u16_u8(x), vreinterpret_u16_u8(y)); x = vreinterpret_u8_u16(t.val[0]); y = vreinterpret_u8_u16(t.val[1]); } #define dct_trn8_32(x, y) { uint32x2x2_t t = vtrn_u32(vreinterpret_u32_u8(x), vreinterpret_u32_u8(y)); x = vreinterpret_u8_u32(t.val[0]); y = vreinterpret_u8_u32(t.val[1]); } // sadly can't use interleaved stores here since we only write // 8 bytes to each scan line! // 8x8 8-bit transpose pass 1 dct_trn8_8(p0, p1); dct_trn8_8(p2, p3); dct_trn8_8(p4, p5); dct_trn8_8(p6, p7); // pass 2 dct_trn8_16(p0, p2); dct_trn8_16(p1, p3); dct_trn8_16(p4, p6); dct_trn8_16(p5, p7); // pass 3 dct_trn8_32(p0, p4); dct_trn8_32(p1, p5); dct_trn8_32(p2, p6); dct_trn8_32(p3, p7); // store vst1_u8(out, p0); out += out_stride; vst1_u8(out, p1); out += out_stride; vst1_u8(out, p2); out += out_stride; vst1_u8(out, p3); out += out_stride; vst1_u8(out, p4); out += out_stride; vst1_u8(out, p5); out += out_stride; vst1_u8(out, p6); out += out_stride; vst1_u8(out, p7); #undef dct_trn8_8 #undef dct_trn8_16 #undef dct_trn8_32 } #undef dct_long_mul #undef dct_long_mac #undef dct_widen #undef dct_wadd #undef dct_wsub #undef dct_bfly32o #undef dct_pass } #endif // STBI_NEON #define STBI__MARKER_none 0xff // if there's a pending marker from the entropy stream, return that // otherwise, fetch from the stream and get a marker. if there's no // marker, return 0xff, which is never a valid marker value static stbi_uc stbi__get_marker(stbi__jpeg *j) { stbi_uc x; if (j->marker != STBI__MARKER_none) { x = j->marker; j->marker = STBI__MARKER_none; return x; } x = stbi__get8(j->s); if (x != 0xff) return STBI__MARKER_none; while (x == 0xff) x = stbi__get8(j->s); // consume repeated 0xff fill bytes return x; } // in each scan, we'll have scan_n components, and the order // of the components is specified by order[] #define STBI__RESTART(x) ((x) >= 0xd0 && (x) <= 0xd7) // after a restart interval, stbi__jpeg_reset the entropy decoder and // the dc prediction static void stbi__jpeg_reset(stbi__jpeg *j) { j->code_bits = 0; j->code_buffer = 0; j->nomore = 0; j->img_comp[0].dc_pred = j->img_comp[1].dc_pred = j->img_comp[2].dc_pred = j->img_comp[3].dc_pred = 0; j->marker = STBI__MARKER_none; j->todo = j->restart_interval ? j->restart_interval : 0x7fffffff; j->eob_run = 0; // no more than 1<<31 MCUs if no restart_interal? that's plenty safe, // since we don't even allow 1<<30 pixels } static int stbi__parse_entropy_coded_data(stbi__jpeg *z) { stbi__jpeg_reset(z); if (!z->progressive) { if (z->scan_n == 1) { int i,j; STBI_SIMD_ALIGN(short, data[64]); int n = z->order[0]; // non-interleaved data, we just need to process one block at a time, // in trivial scanline order // number of blocks to do just depends on how many actual "pixels" this // component has, independent of interleaved MCU blocking and such int w = (z->img_comp[n].x+7) >> 3; int h = (z->img_comp[n].y+7) >> 3; for (j=0; j < h; ++j) { for (i=0; i < w; ++i) { int ha = z->img_comp[n].ha; if (!stbi__jpeg_decode_block(z, data, z->huff_dc+z->img_comp[n].hd, z->huff_ac+ha, z->fast_ac[ha], n, z->dequant[z->img_comp[n].tq])) return 0; z->idct_block_kernel(z->img_comp[n].data+z->img_comp[n].w2*j*8+i*8, z->img_comp[n].w2, data); // every data block is an MCU, so countdown the restart interval if (--z->todo <= 0) { if (z->code_bits < 24) stbi__grow_buffer_unsafe(z); // if it's NOT a restart, then just bail, so we get corrupt data // rather than no data if (!STBI__RESTART(z->marker)) return 1; stbi__jpeg_reset(z); } } } return 1; } else { // interleaved int i,j,k,x,y; STBI_SIMD_ALIGN(short, data[64]); for (j=0; j < z->img_mcu_y; ++j) { for (i=0; i < z->img_mcu_x; ++i) { // scan an interleaved mcu... process scan_n components in order for (k=0; k < z->scan_n; ++k) { int n = z->order[k]; // scan out an mcu's worth of this component; that's just determined // by the basic H and V specified for the component for (y=0; y < z->img_comp[n].v; ++y) { for (x=0; x < z->img_comp[n].h; ++x) { int x2 = (i*z->img_comp[n].h + x)*8; int y2 = (j*z->img_comp[n].v + y)*8; int ha = z->img_comp[n].ha; if (!stbi__jpeg_decode_block(z, data, z->huff_dc+z->img_comp[n].hd, z->huff_ac+ha, z->fast_ac[ha], n, z->dequant[z->img_comp[n].tq])) return 0; z->idct_block_kernel(z->img_comp[n].data+z->img_comp[n].w2*y2+x2, z->img_comp[n].w2, data); } } } // after all interleaved components, that's an interleaved MCU, // so now count down the restart interval if (--z->todo <= 0) { if (z->code_bits < 24) stbi__grow_buffer_unsafe(z); if (!STBI__RESTART(z->marker)) return 1; stbi__jpeg_reset(z); } } } return 1; } } else { if (z->scan_n == 1) { int i,j; int n = z->order[0]; // non-interleaved data, we just need to process one block at a time, // in trivial scanline order // number of blocks to do just depends on how many actual "pixels" this // component has, independent of interleaved MCU blocking and such int w = (z->img_comp[n].x+7) >> 3; int h = (z->img_comp[n].y+7) >> 3; for (j=0; j < h; ++j) { for (i=0; i < w; ++i) { short *data = z->img_comp[n].coeff + 64 * (i + j * z->img_comp[n].coeff_w); if (z->spec_start == 0) { if (!stbi__jpeg_decode_block_prog_dc(z, data, &z->huff_dc[z->img_comp[n].hd], n)) return 0; } else { int ha = z->img_comp[n].ha; if (!stbi__jpeg_decode_block_prog_ac(z, data, &z->huff_ac[ha], z->fast_ac[ha])) return 0; } // every data block is an MCU, so countdown the restart interval if (--z->todo <= 0) { if (z->code_bits < 24) stbi__grow_buffer_unsafe(z); if (!STBI__RESTART(z->marker)) return 1; stbi__jpeg_reset(z); } } } return 1; } else { // interleaved int i,j,k,x,y; for (j=0; j < z->img_mcu_y; ++j) { for (i=0; i < z->img_mcu_x; ++i) { // scan an interleaved mcu... process scan_n components in order for (k=0; k < z->scan_n; ++k) { int n = z->order[k]; // scan out an mcu's worth of this component; that's just determined // by the basic H and V specified for the component for (y=0; y < z->img_comp[n].v; ++y) { for (x=0; x < z->img_comp[n].h; ++x) { int x2 = (i*z->img_comp[n].h + x); int y2 = (j*z->img_comp[n].v + y); short *data = z->img_comp[n].coeff + 64 * (x2 + y2 * z->img_comp[n].coeff_w); if (!stbi__jpeg_decode_block_prog_dc(z, data, &z->huff_dc[z->img_comp[n].hd], n)) return 0; } } } // after all interleaved components, that's an interleaved MCU, // so now count down the restart interval if (--z->todo <= 0) { if (z->code_bits < 24) stbi__grow_buffer_unsafe(z); if (!STBI__RESTART(z->marker)) return 1; stbi__jpeg_reset(z); } } } return 1; } } } static void stbi__jpeg_dequantize(short *data, stbi__uint16 *dequant) { int i; for (i=0; i < 64; ++i) data[i] *= dequant[i]; } static void stbi__jpeg_finish(stbi__jpeg *z) { if (z->progressive) { // dequantize and idct the data int i,j,n; for (n=0; n < z->s->img_n; ++n) { int w = (z->img_comp[n].x+7) >> 3; int h = (z->img_comp[n].y+7) >> 3; for (j=0; j < h; ++j) { for (i=0; i < w; ++i) { short *data = z->img_comp[n].coeff + 64 * (i + j * z->img_comp[n].coeff_w); stbi__jpeg_dequantize(data, z->dequant[z->img_comp[n].tq]); z->idct_block_kernel(z->img_comp[n].data+z->img_comp[n].w2*j*8+i*8, z->img_comp[n].w2, data); } } } } } static int stbi__process_marker(stbi__jpeg *z, int m) { int L; switch (m) { case STBI__MARKER_none: // no marker found return stbi__err("expected marker","Corrupt JPEG"); case 0xDD: // DRI - specify restart interval if (stbi__get16be(z->s) != 4) return stbi__err("bad DRI len","Corrupt JPEG"); z->restart_interval = stbi__get16be(z->s); return 1; case 0xDB: // DQT - define quantization table L = stbi__get16be(z->s)-2; while (L > 0) { int q = stbi__get8(z->s); int p = q >> 4, sixteen = (p != 0); int t = q & 15,i; if (p != 0 && p != 1) return stbi__err("bad DQT type","Corrupt JPEG"); if (t > 3) return stbi__err("bad DQT table","Corrupt JPEG"); for (i=0; i < 64; ++i) z->dequant[t][stbi__jpeg_dezigzag[i]] = (stbi__uint16)(sixteen ? stbi__get16be(z->s) : stbi__get8(z->s)); L -= (sixteen ? 129 : 65); } return L==0; case 0xC4: // DHT - define huffman table L = stbi__get16be(z->s)-2; while (L > 0) { stbi_uc *v; int sizes[16],i,n=0; int q = stbi__get8(z->s); int tc = q >> 4; int th = q & 15; if (tc > 1 || th > 3) return stbi__err("bad DHT header","Corrupt JPEG"); for (i=0; i < 16; ++i) { sizes[i] = stbi__get8(z->s); n += sizes[i]; } L -= 17; if (tc == 0) { if (!stbi__build_huffman(z->huff_dc+th, sizes)) return 0; v = z->huff_dc[th].values; } else { if (!stbi__build_huffman(z->huff_ac+th, sizes)) return 0; v = z->huff_ac[th].values; } for (i=0; i < n; ++i) v[i] = stbi__get8(z->s); if (tc != 0) stbi__build_fast_ac(z->fast_ac[th], z->huff_ac + th); L -= n; } return L==0; } // check for comment block or APP blocks if ((m >= 0xE0 && m <= 0xEF) || m == 0xFE) { L = stbi__get16be(z->s); if (L < 2) { if (m == 0xFE) return stbi__err("bad COM len","Corrupt JPEG"); else return stbi__err("bad APP len","Corrupt JPEG"); } L -= 2; if (m == 0xE0 && L >= 5) { // JFIF APP0 segment static const unsigned char tag[5] = {'J','F','I','F','\0'}; int ok = 1; int i; for (i=0; i < 5; ++i) if (stbi__get8(z->s) != tag[i]) ok = 0; L -= 5; if (ok) z->jfif = 1; } else if (m == 0xEE && L >= 12) { // Adobe APP14 segment static const unsigned char tag[6] = {'A','d','o','b','e','\0'}; int ok = 1; int i; for (i=0; i < 6; ++i) if (stbi__get8(z->s) != tag[i]) ok = 0; L -= 6; if (ok) { stbi__get8(z->s); // version stbi__get16be(z->s); // flags0 stbi__get16be(z->s); // flags1 z->app14_color_transform = stbi__get8(z->s); // color transform L -= 6; } } stbi__skip(z->s, L); return 1; } return stbi__err("unknown marker","Corrupt JPEG"); } // after we see SOS static int stbi__process_scan_header(stbi__jpeg *z) { int i; int Ls = stbi__get16be(z->s); z->scan_n = stbi__get8(z->s); if (z->scan_n < 1 || z->scan_n > 4 || z->scan_n > (int) z->s->img_n) return stbi__err("bad SOS component count","Corrupt JPEG"); if (Ls != 6+2*z->scan_n) return stbi__err("bad SOS len","Corrupt JPEG"); for (i=0; i < z->scan_n; ++i) { int id = stbi__get8(z->s), which; int q = stbi__get8(z->s); for (which = 0; which < z->s->img_n; ++which) if (z->img_comp[which].id == id) break; if (which == z->s->img_n) return 0; // no match z->img_comp[which].hd = q >> 4; if (z->img_comp[which].hd > 3) return stbi__err("bad DC huff","Corrupt JPEG"); z->img_comp[which].ha = q & 15; if (z->img_comp[which].ha > 3) return stbi__err("bad AC huff","Corrupt JPEG"); z->order[i] = which; } { int aa; z->spec_start = stbi__get8(z->s); z->spec_end = stbi__get8(z->s); // should be 63, but might be 0 aa = stbi__get8(z->s); z->succ_high = (aa >> 4); z->succ_low = (aa & 15); if (z->progressive) { if (z->spec_start > 63 || z->spec_end > 63 || z->spec_start > z->spec_end || z->succ_high > 13 || z->succ_low > 13) return stbi__err("bad SOS", "Corrupt JPEG"); } else { if (z->spec_start != 0) return stbi__err("bad SOS","Corrupt JPEG"); if (z->succ_high != 0 || z->succ_low != 0) return stbi__err("bad SOS","Corrupt JPEG"); z->spec_end = 63; } } return 1; } static int stbi__free_jpeg_components(stbi__jpeg *z, int ncomp, int why) { int i; for (i=0; i < ncomp; ++i) { if (z->img_comp[i].raw_data) { STBI_FREE(z->img_comp[i].raw_data); z->img_comp[i].raw_data = NULL; z->img_comp[i].data = NULL; } if (z->img_comp[i].raw_coeff) { STBI_FREE(z->img_comp[i].raw_coeff); z->img_comp[i].raw_coeff = 0; z->img_comp[i].coeff = 0; } if (z->img_comp[i].linebuf) { STBI_FREE(z->img_comp[i].linebuf); z->img_comp[i].linebuf = NULL; } } return why; } static int stbi__process_frame_header(stbi__jpeg *z, int scan) { stbi__context *s = z->s; int Lf,p,i,q, h_max=1,v_max=1,c; Lf = stbi__get16be(s); if (Lf < 11) return stbi__err("bad SOF len","Corrupt JPEG"); // JPEG p = stbi__get8(s); if (p != 8) return stbi__err("only 8-bit","JPEG format not supported: 8-bit only"); // JPEG baseline s->img_y = stbi__get16be(s); if (s->img_y == 0) return stbi__err("no header height", "JPEG format not supported: delayed height"); // Legal, but we don't handle it--but neither does IJG s->img_x = stbi__get16be(s); if (s->img_x == 0) return stbi__err("0 width","Corrupt JPEG"); // JPEG requires c = stbi__get8(s); if (c != 3 && c != 1 && c != 4) return stbi__err("bad component count","Corrupt JPEG"); s->img_n = c; for (i=0; i < c; ++i) { z->img_comp[i].data = NULL; z->img_comp[i].linebuf = NULL; } if (Lf != 8+3*s->img_n) return stbi__err("bad SOF len","Corrupt JPEG"); z->rgb = 0; for (i=0; i < s->img_n; ++i) { static const unsigned char rgb[3] = { 'R', 'G', 'B' }; z->img_comp[i].id = stbi__get8(s); if (s->img_n == 3 && z->img_comp[i].id == rgb[i]) ++z->rgb; q = stbi__get8(s); z->img_comp[i].h = (q >> 4); if (!z->img_comp[i].h || z->img_comp[i].h > 4) return stbi__err("bad H","Corrupt JPEG"); z->img_comp[i].v = q & 15; if (!z->img_comp[i].v || z->img_comp[i].v > 4) return stbi__err("bad V","Corrupt JPEG"); z->img_comp[i].tq = stbi__get8(s); if (z->img_comp[i].tq > 3) return stbi__err("bad TQ","Corrupt JPEG"); } if (scan != STBI__SCAN_load) return 1; if (!stbi__mad3sizes_valid(s->img_x, s->img_y, s->img_n, 0)) return stbi__err("too large", "Image too large to decode"); for (i=0; i < s->img_n; ++i) { if (z->img_comp[i].h > h_max) h_max = z->img_comp[i].h; if (z->img_comp[i].v > v_max) v_max = z->img_comp[i].v; } // compute interleaved mcu info z->img_h_max = h_max; z->img_v_max = v_max; z->img_mcu_w = h_max * 8; z->img_mcu_h = v_max * 8; // these sizes can't be more than 17 bits z->img_mcu_x = (s->img_x + z->img_mcu_w-1) / z->img_mcu_w; z->img_mcu_y = (s->img_y + z->img_mcu_h-1) / z->img_mcu_h; for (i=0; i < s->img_n; ++i) { // number of effective pixels (e.g. for non-interleaved MCU) z->img_comp[i].x = (s->img_x * z->img_comp[i].h + h_max-1) / h_max; z->img_comp[i].y = (s->img_y * z->img_comp[i].v + v_max-1) / v_max; // to simplify generation, we'll allocate enough memory to decode // the bogus oversized data from using interleaved MCUs and their // big blocks (e.g. a 16x16 iMCU on an image of width 33); we won't // discard the extra data until colorspace conversion // // img_mcu_x, img_mcu_y: <=17 bits; comp[i].h and .v are <=4 (checked earlier) // so these muls can't overflow with 32-bit ints (which we require) z->img_comp[i].w2 = z->img_mcu_x * z->img_comp[i].h * 8; z->img_comp[i].h2 = z->img_mcu_y * z->img_comp[i].v * 8; z->img_comp[i].coeff = 0; z->img_comp[i].raw_coeff = 0; z->img_comp[i].linebuf = NULL; z->img_comp[i].raw_data = stbi__malloc_mad2(z->img_comp[i].w2, z->img_comp[i].h2, 15); if (z->img_comp[i].raw_data == NULL) return stbi__free_jpeg_components(z, i+1, stbi__err("outofmem", "Out of memory")); // align blocks for idct using mmx/sse z->img_comp[i].data = (stbi_uc*) (((size_t) z->img_comp[i].raw_data + 15) & ~15); if (z->progressive) { // w2, h2 are multiples of 8 (see above) z->img_comp[i].coeff_w = z->img_comp[i].w2 / 8; z->img_comp[i].coeff_h = z->img_comp[i].h2 / 8; z->img_comp[i].raw_coeff = stbi__malloc_mad3(z->img_comp[i].w2, z->img_comp[i].h2, sizeof(short), 15); if (z->img_comp[i].raw_coeff == NULL) return stbi__free_jpeg_components(z, i+1, stbi__err("outofmem", "Out of memory")); z->img_comp[i].coeff = (short*) (((size_t) z->img_comp[i].raw_coeff + 15) & ~15); } } return 1; } // use comparisons since in some cases we handle more than one case (e.g. SOF) #define stbi__DNL(x) ((x) == 0xdc) #define stbi__SOI(x) ((x) == 0xd8) #define stbi__EOI(x) ((x) == 0xd9) #define stbi__SOF(x) ((x) == 0xc0 || (x) == 0xc1 || (x) == 0xc2) #define stbi__SOS(x) ((x) == 0xda) #define stbi__SOF_progressive(x) ((x) == 0xc2) static int stbi__decode_jpeg_header(stbi__jpeg *z, int scan) { int m; z->jfif = 0; z->app14_color_transform = -1; // valid values are 0,1,2 z->marker = STBI__MARKER_none; // initialize cached marker to empty m = stbi__get_marker(z); if (!stbi__SOI(m)) return stbi__err("no SOI","Corrupt JPEG"); if (scan == STBI__SCAN_type) return 1; m = stbi__get_marker(z); while (!stbi__SOF(m)) { if (!stbi__process_marker(z,m)) return 0; m = stbi__get_marker(z); while (m == STBI__MARKER_none) { // some files have extra padding after their blocks, so ok, we'll scan if (stbi__at_eof(z->s)) return stbi__err("no SOF", "Corrupt JPEG"); m = stbi__get_marker(z); } } z->progressive = stbi__SOF_progressive(m); if (!stbi__process_frame_header(z, scan)) return 0; return 1; } // decode image to YCbCr format static int stbi__decode_jpeg_image(stbi__jpeg *j) { int m; for (m = 0; m < 4; m++) { j->img_comp[m].raw_data = NULL; j->img_comp[m].raw_coeff = NULL; } j->restart_interval = 0; if (!stbi__decode_jpeg_header(j, STBI__SCAN_load)) return 0; m = stbi__get_marker(j); while (!stbi__EOI(m)) { if (stbi__SOS(m)) { if (!stbi__process_scan_header(j)) return 0; if (!stbi__parse_entropy_coded_data(j)) return 0; if (j->marker == STBI__MARKER_none ) { // handle 0s at the end of image data from IP Kamera 9060 while (!stbi__at_eof(j->s)) { int x = stbi__get8(j->s); if (x == 255) { j->marker = stbi__get8(j->s); break; } } // if we reach eof without hitting a marker, stbi__get_marker() below will fail and we'll eventually return 0 } } else if (stbi__DNL(m)) { int Ld = stbi__get16be(j->s); stbi__uint32 NL = stbi__get16be(j->s); if (Ld != 4) return stbi__err("bad DNL len", "Corrupt JPEG"); if (NL != j->s->img_y) return stbi__err("bad DNL height", "Corrupt JPEG"); } else { if (!stbi__process_marker(j, m)) return 0; } m = stbi__get_marker(j); } if (j->progressive) stbi__jpeg_finish(j); return 1; } // static jfif-centered resampling (across block boundaries) typedef stbi_uc *(*resample_row_func)(stbi_uc *out, stbi_uc *in0, stbi_uc *in1, int w, int hs); #define stbi__div4(x) ((stbi_uc) ((x) >> 2)) static stbi_uc *resample_row_1(stbi_uc *out, stbi_uc *in_near, stbi_uc *in_far, int w, int hs) { STBI_NOTUSED(out); STBI_NOTUSED(in_far); STBI_NOTUSED(w); STBI_NOTUSED(hs); return in_near; } static stbi_uc* stbi__resample_row_v_2(stbi_uc *out, stbi_uc *in_near, stbi_uc *in_far, int w, int hs) { // need to generate two samples vertically for every one in input int i; STBI_NOTUSED(hs); for (i=0; i < w; ++i) out[i] = stbi__div4(3*in_near[i] + in_far[i] + 2); return out; } static stbi_uc* stbi__resample_row_h_2(stbi_uc *out, stbi_uc *in_near, stbi_uc *in_far, int w, int hs) { // need to generate two samples horizontally for every one in input int i; stbi_uc *input = in_near; if (w == 1) { // if only one sample, can't do any interpolation out[0] = out[1] = input[0]; return out; } out[0] = input[0]; out[1] = stbi__div4(input[0]*3 + input[1] + 2); for (i=1; i < w-1; ++i) { int n = 3*input[i]+2; out[i*2+0] = stbi__div4(n+input[i-1]); out[i*2+1] = stbi__div4(n+input[i+1]); } out[i*2+0] = stbi__div4(input[w-2]*3 + input[w-1] + 2); out[i*2+1] = input[w-1]; STBI_NOTUSED(in_far); STBI_NOTUSED(hs); return out; } #define stbi__div16(x) ((stbi_uc) ((x) >> 4)) static stbi_uc *stbi__resample_row_hv_2(stbi_uc *out, stbi_uc *in_near, stbi_uc *in_far, int w, int hs) { // need to generate 2x2 samples for every one in input int i,t0,t1; if (w == 1) { out[0] = out[1] = stbi__div4(3*in_near[0] + in_far[0] + 2); return out; } t1 = 3*in_near[0] + in_far[0]; out[0] = stbi__div4(t1+2); for (i=1; i < w; ++i) { t0 = t1; t1 = 3*in_near[i]+in_far[i]; out[i*2-1] = stbi__div16(3*t0 + t1 + 8); out[i*2 ] = stbi__div16(3*t1 + t0 + 8); } out[w*2-1] = stbi__div4(t1+2); STBI_NOTUSED(hs); return out; } #if defined(STBI_SSE2) || defined(STBI_NEON) static stbi_uc *stbi__resample_row_hv_2_simd(stbi_uc *out, stbi_uc *in_near, stbi_uc *in_far, int w, int hs) { // need to generate 2x2 samples for every one in input int i=0,t0,t1; if (w == 1) { out[0] = out[1] = stbi__div4(3*in_near[0] + in_far[0] + 2); return out; } t1 = 3*in_near[0] + in_far[0]; // process groups of 8 pixels for as long as we can. // note we can't handle the last pixel in a row in this loop // because we need to handle the filter boundary conditions. for (; i < ((w-1) & ~7); i += 8) { #if defined(STBI_SSE2) // load and perform the vertical filtering pass // this uses 3*x + y = 4*x + (y - x) __m128i zero = _mm_setzero_si128(); __m128i farb = _mm_loadl_epi64((__m128i *) (in_far + i)); __m128i nearb = _mm_loadl_epi64((__m128i *) (in_near + i)); __m128i farw = _mm_unpacklo_epi8(farb, zero); __m128i nearw = _mm_unpacklo_epi8(nearb, zero); __m128i diff = _mm_sub_epi16(farw, nearw); __m128i nears = _mm_slli_epi16(nearw, 2); __m128i curr = _mm_add_epi16(nears, diff); // current row // horizontal filter works the same based on shifted vers of current // row. "prev" is current row shifted right by 1 pixel; we need to // insert the previous pixel value (from t1). // "next" is current row shifted left by 1 pixel, with first pixel // of next block of 8 pixels added in. __m128i prv0 = _mm_slli_si128(curr, 2); __m128i nxt0 = _mm_srli_si128(curr, 2); __m128i prev = _mm_insert_epi16(prv0, t1, 0); __m128i next = _mm_insert_epi16(nxt0, 3*in_near[i+8] + in_far[i+8], 7); // horizontal filter, polyphase implementation since it's convenient: // even pixels = 3*cur + prev = cur*4 + (prev - cur) // odd pixels = 3*cur + next = cur*4 + (next - cur) // note the shared term. __m128i bias = _mm_set1_epi16(8); __m128i curs = _mm_slli_epi16(curr, 2); __m128i prvd = _mm_sub_epi16(prev, curr); __m128i nxtd = _mm_sub_epi16(next, curr); __m128i curb = _mm_add_epi16(curs, bias); __m128i even = _mm_add_epi16(prvd, curb); __m128i odd = _mm_add_epi16(nxtd, curb); // interleave even and odd pixels, then undo scaling. __m128i int0 = _mm_unpacklo_epi16(even, odd); __m128i int1 = _mm_unpackhi_epi16(even, odd); __m128i de0 = _mm_srli_epi16(int0, 4); __m128i de1 = _mm_srli_epi16(int1, 4); // pack and write output __m128i outv = _mm_packus_epi16(de0, de1); _mm_storeu_si128((__m128i *) (out + i*2), outv); #elif defined(STBI_NEON) // load and perform the vertical filtering pass // this uses 3*x + y = 4*x + (y - x) uint8x8_t farb = vld1_u8(in_far + i); uint8x8_t nearb = vld1_u8(in_near + i); int16x8_t diff = vreinterpretq_s16_u16(vsubl_u8(farb, nearb)); int16x8_t nears = vreinterpretq_s16_u16(vshll_n_u8(nearb, 2)); int16x8_t curr = vaddq_s16(nears, diff); // current row // horizontal filter works the same based on shifted vers of current // row. "prev" is current row shifted right by 1 pixel; we need to // insert the previous pixel value (from t1). // "next" is current row shifted left by 1 pixel, with first pixel // of next block of 8 pixels added in. int16x8_t prv0 = vextq_s16(curr, curr, 7); int16x8_t nxt0 = vextq_s16(curr, curr, 1); int16x8_t prev = vsetq_lane_s16(t1, prv0, 0); int16x8_t next = vsetq_lane_s16(3*in_near[i+8] + in_far[i+8], nxt0, 7); // horizontal filter, polyphase implementation since it's convenient: // even pixels = 3*cur + prev = cur*4 + (prev - cur) // odd pixels = 3*cur + next = cur*4 + (next - cur) // note the shared term. int16x8_t curs = vshlq_n_s16(curr, 2); int16x8_t prvd = vsubq_s16(prev, curr); int16x8_t nxtd = vsubq_s16(next, curr); int16x8_t even = vaddq_s16(curs, prvd); int16x8_t odd = vaddq_s16(curs, nxtd); // undo scaling and round, then store with even/odd phases interleaved uint8x8x2_t o; o.val[0] = vqrshrun_n_s16(even, 4); o.val[1] = vqrshrun_n_s16(odd, 4); vst2_u8(out + i*2, o); #endif // "previous" value for next iter t1 = 3*in_near[i+7] + in_far[i+7]; } t0 = t1; t1 = 3*in_near[i] + in_far[i]; out[i*2] = stbi__div16(3*t1 + t0 + 8); for (++i; i < w; ++i) { t0 = t1; t1 = 3*in_near[i]+in_far[i]; out[i*2-1] = stbi__div16(3*t0 + t1 + 8); out[i*2 ] = stbi__div16(3*t1 + t0 + 8); } out[w*2-1] = stbi__div4(t1+2); STBI_NOTUSED(hs); return out; } #endif static stbi_uc *stbi__resample_row_generic(stbi_uc *out, stbi_uc *in_near, stbi_uc *in_far, int w, int hs) { // resample with nearest-neighbor int i,j; STBI_NOTUSED(in_far); for (i=0; i < w; ++i) for (j=0; j < hs; ++j) out[i*hs+j] = in_near[i]; return out; } // this is a reduced-precision calculation of YCbCr-to-RGB introduced // to make sure the code produces the same results in both SIMD and scalar #define stbi__float2fixed(x) (((int) ((x) * 4096.0f + 0.5f)) << 8) static void stbi__YCbCr_to_RGB_row(stbi_uc *out, const stbi_uc *y, const stbi_uc *pcb, const stbi_uc *pcr, int count, int step) { int i; for (i=0; i < count; ++i) { int y_fixed = (y[i] << 20) + (1<<19); // rounding int r,g,b; int cr = pcr[i] - 128; int cb = pcb[i] - 128; r = y_fixed + cr* stbi__float2fixed(1.40200f); g = y_fixed + (cr*-stbi__float2fixed(0.71414f)) + ((cb*-stbi__float2fixed(0.34414f)) & 0xffff0000); b = y_fixed + cb* stbi__float2fixed(1.77200f); r >>= 20; g >>= 20; b >>= 20; if ((unsigned) r > 255) { if (r < 0) r = 0; else r = 255; } if ((unsigned) g > 255) { if (g < 0) g = 0; else g = 255; } if ((unsigned) b > 255) { if (b < 0) b = 0; else b = 255; } out[0] = (stbi_uc)r; out[1] = (stbi_uc)g; out[2] = (stbi_uc)b; out[3] = 255; out += step; } } #if defined(STBI_SSE2) || defined(STBI_NEON) static void stbi__YCbCr_to_RGB_simd(stbi_uc *out, stbi_uc const *y, stbi_uc const *pcb, stbi_uc const *pcr, int count, int step) { int i = 0; #ifdef STBI_SSE2 // step == 3 is pretty ugly on the final interleave, and i'm not convinced // it's useful in practice (you wouldn't use it for textures, for example). // so just accelerate step == 4 case. if (step == 4) { // this is a fairly straightforward implementation and not super-optimized. __m128i signflip = _mm_set1_epi8(-0x80); __m128i cr_const0 = _mm_set1_epi16( (short) ( 1.40200f*4096.0f+0.5f)); __m128i cr_const1 = _mm_set1_epi16( - (short) ( 0.71414f*4096.0f+0.5f)); __m128i cb_const0 = _mm_set1_epi16( - (short) ( 0.34414f*4096.0f+0.5f)); __m128i cb_const1 = _mm_set1_epi16( (short) ( 1.77200f*4096.0f+0.5f)); __m128i y_bias = _mm_set1_epi8((char) (unsigned char) 128); __m128i xw = _mm_set1_epi16(255); // alpha channel for (; i+7 < count; i += 8) { // load __m128i y_bytes = _mm_loadl_epi64((__m128i *) (y+i)); __m128i cr_bytes = _mm_loadl_epi64((__m128i *) (pcr+i)); __m128i cb_bytes = _mm_loadl_epi64((__m128i *) (pcb+i)); __m128i cr_biased = _mm_xor_si128(cr_bytes, signflip); // -128 __m128i cb_biased = _mm_xor_si128(cb_bytes, signflip); // -128 // unpack to short (and left-shift cr, cb by 8) __m128i yw = _mm_unpacklo_epi8(y_bias, y_bytes); __m128i crw = _mm_unpacklo_epi8(_mm_setzero_si128(), cr_biased); __m128i cbw = _mm_unpacklo_epi8(_mm_setzero_si128(), cb_biased); // color transform __m128i yws = _mm_srli_epi16(yw, 4); __m128i cr0 = _mm_mulhi_epi16(cr_const0, crw); __m128i cb0 = _mm_mulhi_epi16(cb_const0, cbw); __m128i cb1 = _mm_mulhi_epi16(cbw, cb_const1); __m128i cr1 = _mm_mulhi_epi16(crw, cr_const1); __m128i rws = _mm_add_epi16(cr0, yws); __m128i gwt = _mm_add_epi16(cb0, yws); __m128i bws = _mm_add_epi16(yws, cb1); __m128i gws = _mm_add_epi16(gwt, cr1); // descale __m128i rw = _mm_srai_epi16(rws, 4); __m128i bw = _mm_srai_epi16(bws, 4); __m128i gw = _mm_srai_epi16(gws, 4); // back to byte, set up for transpose __m128i brb = _mm_packus_epi16(rw, bw); __m128i gxb = _mm_packus_epi16(gw, xw); // transpose to interleave channels __m128i t0 = _mm_unpacklo_epi8(brb, gxb); __m128i t1 = _mm_unpackhi_epi8(brb, gxb); __m128i o0 = _mm_unpacklo_epi16(t0, t1); __m128i o1 = _mm_unpackhi_epi16(t0, t1); // store _mm_storeu_si128((__m128i *) (out + 0), o0); _mm_storeu_si128((__m128i *) (out + 16), o1); out += 32; } } #endif #ifdef STBI_NEON // in this version, step=3 support would be easy to add. but is there demand? if (step == 4) { // this is a fairly straightforward implementation and not super-optimized. uint8x8_t signflip = vdup_n_u8(0x80); int16x8_t cr_const0 = vdupq_n_s16( (short) ( 1.40200f*4096.0f+0.5f)); int16x8_t cr_const1 = vdupq_n_s16( - (short) ( 0.71414f*4096.0f+0.5f)); int16x8_t cb_const0 = vdupq_n_s16( - (short) ( 0.34414f*4096.0f+0.5f)); int16x8_t cb_const1 = vdupq_n_s16( (short) ( 1.77200f*4096.0f+0.5f)); for (; i+7 < count; i += 8) { // load uint8x8_t y_bytes = vld1_u8(y + i); uint8x8_t cr_bytes = vld1_u8(pcr + i); uint8x8_t cb_bytes = vld1_u8(pcb + i); int8x8_t cr_biased = vreinterpret_s8_u8(vsub_u8(cr_bytes, signflip)); int8x8_t cb_biased = vreinterpret_s8_u8(vsub_u8(cb_bytes, signflip)); // expand to s16 int16x8_t yws = vreinterpretq_s16_u16(vshll_n_u8(y_bytes, 4)); int16x8_t crw = vshll_n_s8(cr_biased, 7); int16x8_t cbw = vshll_n_s8(cb_biased, 7); // color transform int16x8_t cr0 = vqdmulhq_s16(crw, cr_const0); int16x8_t cb0 = vqdmulhq_s16(cbw, cb_const0); int16x8_t cr1 = vqdmulhq_s16(crw, cr_const1); int16x8_t cb1 = vqdmulhq_s16(cbw, cb_const1); int16x8_t rws = vaddq_s16(yws, cr0); int16x8_t gws = vaddq_s16(vaddq_s16(yws, cb0), cr1); int16x8_t bws = vaddq_s16(yws, cb1); // undo scaling, round, convert to byte uint8x8x4_t o; o.val[0] = vqrshrun_n_s16(rws, 4); o.val[1] = vqrshrun_n_s16(gws, 4); o.val[2] = vqrshrun_n_s16(bws, 4); o.val[3] = vdup_n_u8(255); // store, interleaving r/g/b/a vst4_u8(out, o); out += 8*4; } } #endif for (; i < count; ++i) { int y_fixed = (y[i] << 20) + (1<<19); // rounding int r,g,b; int cr = pcr[i] - 128; int cb = pcb[i] - 128; r = y_fixed + cr* stbi__float2fixed(1.40200f); g = y_fixed + cr*-stbi__float2fixed(0.71414f) + ((cb*-stbi__float2fixed(0.34414f)) & 0xffff0000); b = y_fixed + cb* stbi__float2fixed(1.77200f); r >>= 20; g >>= 20; b >>= 20; if ((unsigned) r > 255) { if (r < 0) r = 0; else r = 255; } if ((unsigned) g > 255) { if (g < 0) g = 0; else g = 255; } if ((unsigned) b > 255) { if (b < 0) b = 0; else b = 255; } out[0] = (stbi_uc)r; out[1] = (stbi_uc)g; out[2] = (stbi_uc)b; out[3] = 255; out += step; } } #endif // set up the kernels static void stbi__setup_jpeg(stbi__jpeg *j) { j->idct_block_kernel = stbi__idct_block; j->YCbCr_to_RGB_kernel = stbi__YCbCr_to_RGB_row; j->resample_row_hv_2_kernel = stbi__resample_row_hv_2; #ifdef STBI_SSE2 if (stbi__sse2_available()) { j->idct_block_kernel = stbi__idct_simd; j->YCbCr_to_RGB_kernel = stbi__YCbCr_to_RGB_simd; j->resample_row_hv_2_kernel = stbi__resample_row_hv_2_simd; } #endif #ifdef STBI_NEON j->idct_block_kernel = stbi__idct_simd; j->YCbCr_to_RGB_kernel = stbi__YCbCr_to_RGB_simd; j->resample_row_hv_2_kernel = stbi__resample_row_hv_2_simd; #endif } // clean up the temporary component buffers static void stbi__cleanup_jpeg(stbi__jpeg *j) { stbi__free_jpeg_components(j, j->s->img_n, 0); } typedef struct { resample_row_func resample; stbi_uc *line0,*line1; int hs,vs; // expansion factor in each axis int w_lores; // horizontal pixels pre-expansion int ystep; // how far through vertical expansion we are int ypos; // which pre-expansion row we're on } stbi__resample; // fast 0..255 * 0..255 => 0..255 rounded multiplication static stbi_uc stbi__blinn_8x8(stbi_uc x, stbi_uc y) { unsigned int t = x*y + 128; return (stbi_uc) ((t + (t >>8)) >> 8); } static stbi_uc *load_jpeg_image(stbi__jpeg *z, int *out_x, int *out_y, int *comp, int req_comp) { int n, decode_n, is_rgb; z->s->img_n = 0; // make stbi__cleanup_jpeg safe // validate req_comp if (req_comp < 0 || req_comp > 4) return stbi__errpuc("bad req_comp", "Internal error"); // load a jpeg image from whichever source, but leave in YCbCr format if (!stbi__decode_jpeg_image(z)) { stbi__cleanup_jpeg(z); return NULL; } // determine actual number of components to generate n = req_comp ? req_comp : z->s->img_n >= 3 ? 3 : 1; is_rgb = z->s->img_n == 3 && (z->rgb == 3 || (z->app14_color_transform == 0 && !z->jfif)); if (z->s->img_n == 3 && n < 3 && !is_rgb) decode_n = 1; else decode_n = z->s->img_n; // resample and color-convert { int k; unsigned int i,j; stbi_uc *output; stbi_uc *coutput[4] = { NULL, NULL, NULL, NULL }; stbi__resample res_comp[4]; for (k=0; k < decode_n; ++k) { stbi__resample *r = &res_comp[k]; // allocate line buffer big enough for upsampling off the edges // with upsample factor of 4 z->img_comp[k].linebuf = (stbi_uc *) stbi__malloc(z->s->img_x + 3); if (!z->img_comp[k].linebuf) { stbi__cleanup_jpeg(z); return stbi__errpuc("outofmem", "Out of memory"); } r->hs = z->img_h_max / z->img_comp[k].h; r->vs = z->img_v_max / z->img_comp[k].v; r->ystep = r->vs >> 1; r->w_lores = (z->s->img_x + r->hs-1) / r->hs; r->ypos = 0; r->line0 = r->line1 = z->img_comp[k].data; if (r->hs == 1 && r->vs == 1) r->resample = resample_row_1; else if (r->hs == 1 && r->vs == 2) r->resample = stbi__resample_row_v_2; else if (r->hs == 2 && r->vs == 1) r->resample = stbi__resample_row_h_2; else if (r->hs == 2 && r->vs == 2) r->resample = z->resample_row_hv_2_kernel; else r->resample = stbi__resample_row_generic; } // can't error after this so, this is safe output = (stbi_uc *) stbi__malloc_mad3(n, z->s->img_x, z->s->img_y, 1); if (!output) { stbi__cleanup_jpeg(z); return stbi__errpuc("outofmem", "Out of memory"); } // now go ahead and resample for (j=0; j < z->s->img_y; ++j) { stbi_uc *out = output + n * z->s->img_x * j; for (k=0; k < decode_n; ++k) { stbi__resample *r = &res_comp[k]; int y_bot = r->ystep >= (r->vs >> 1); coutput[k] = r->resample(z->img_comp[k].linebuf, y_bot ? r->line1 : r->line0, y_bot ? r->line0 : r->line1, r->w_lores, r->hs); if (++r->ystep >= r->vs) { r->ystep = 0; r->line0 = r->line1; if (++r->ypos < z->img_comp[k].y) r->line1 += z->img_comp[k].w2; } } if (n >= 3) { stbi_uc *y = coutput[0]; if (z->s->img_n == 3) { if (is_rgb) { for (i=0; i < z->s->img_x; ++i) { out[0] = y[i]; out[1] = coutput[1][i]; out[2] = coutput[2][i]; out[3] = 255; out += n; } } else { z->YCbCr_to_RGB_kernel(out, y, coutput[1], coutput[2], z->s->img_x, n); } } else if (z->s->img_n == 4) { if (z->app14_color_transform == 0) { // CMYK for (i=0; i < z->s->img_x; ++i) { stbi_uc m = coutput[3][i]; out[0] = stbi__blinn_8x8(coutput[0][i], m); out[1] = stbi__blinn_8x8(coutput[1][i], m); out[2] = stbi__blinn_8x8(coutput[2][i], m); out[3] = 255; out += n; } } else if (z->app14_color_transform == 2) { // YCCK z->YCbCr_to_RGB_kernel(out, y, coutput[1], coutput[2], z->s->img_x, n); for (i=0; i < z->s->img_x; ++i) { stbi_uc m = coutput[3][i]; out[0] = stbi__blinn_8x8(255 - out[0], m); out[1] = stbi__blinn_8x8(255 - out[1], m); out[2] = stbi__blinn_8x8(255 - out[2], m); out += n; } } else { // YCbCr + alpha? Ignore the fourth channel for now z->YCbCr_to_RGB_kernel(out, y, coutput[1], coutput[2], z->s->img_x, n); } } else for (i=0; i < z->s->img_x; ++i) { out[0] = out[1] = out[2] = y[i]; out[3] = 255; // not used if n==3 out += n; } } else { if (is_rgb) { if (n == 1) for (i=0; i < z->s->img_x; ++i) *out++ = stbi__compute_y(coutput[0][i], coutput[1][i], coutput[2][i]); else { for (i=0; i < z->s->img_x; ++i, out += 2) { out[0] = stbi__compute_y(coutput[0][i], coutput[1][i], coutput[2][i]); out[1] = 255; } } } else if (z->s->img_n == 4 && z->app14_color_transform == 0) { for (i=0; i < z->s->img_x; ++i) { stbi_uc m = coutput[3][i]; stbi_uc r = stbi__blinn_8x8(coutput[0][i], m); stbi_uc g = stbi__blinn_8x8(coutput[1][i], m); stbi_uc b = stbi__blinn_8x8(coutput[2][i], m); out[0] = stbi__compute_y(r, g, b); out[1] = 255; out += n; } } else if (z->s->img_n == 4 && z->app14_color_transform == 2) { for (i=0; i < z->s->img_x; ++i) { out[0] = stbi__blinn_8x8(255 - coutput[0][i], coutput[3][i]); out[1] = 255; out += n; } } else { stbi_uc *y = coutput[0]; if (n == 1) for (i=0; i < z->s->img_x; ++i) out[i] = y[i]; else for (i=0; i < z->s->img_x; ++i) { *out++ = y[i]; *out++ = 255; } } } } stbi__cleanup_jpeg(z); *out_x = z->s->img_x; *out_y = z->s->img_y; if (comp) *comp = z->s->img_n >= 3 ? 3 : 1; // report original components, not output return output; } } static void *stbi__jpeg_load(stbi__context *s, int *x, int *y, int *comp, int req_comp, stbi__result_info *ri) { unsigned char* result; stbi__jpeg* j = (stbi__jpeg*) stbi__malloc(sizeof(stbi__jpeg)); STBI_NOTUSED(ri); j->s = s; stbi__setup_jpeg(j); result = load_jpeg_image(j, x,y,comp,req_comp); STBI_FREE(j); return result; } static int stbi__jpeg_test(stbi__context *s) { int r; stbi__jpeg* j = (stbi__jpeg*)stbi__malloc(sizeof(stbi__jpeg)); j->s = s; stbi__setup_jpeg(j); r = stbi__decode_jpeg_header(j, STBI__SCAN_type); stbi__rewind(s); STBI_FREE(j); return r; } static int stbi__jpeg_info_raw(stbi__jpeg *j, int *x, int *y, int *comp) { if (!stbi__decode_jpeg_header(j, STBI__SCAN_header)) { stbi__rewind( j->s ); return 0; } if (x) *x = j->s->img_x; if (y) *y = j->s->img_y; if (comp) *comp = j->s->img_n >= 3 ? 3 : 1; return 1; } static int stbi__jpeg_info(stbi__context *s, int *x, int *y, int *comp) { int result; stbi__jpeg* j = (stbi__jpeg*) (stbi__malloc(sizeof(stbi__jpeg))); j->s = s; result = stbi__jpeg_info_raw(j, x, y, comp); STBI_FREE(j); return result; } #endif // public domain zlib decode v0.2 Sean Barrett 2006-11-18 // simple implementation // - all input must be provided in an upfront buffer // - all output is written to a single output buffer (can malloc/realloc) // performance // - fast huffman #ifndef STBI_NO_ZLIB // fast-way is faster to check than jpeg huffman, but slow way is slower #define STBI__ZFAST_BITS 9 // accelerate all cases in default tables #define STBI__ZFAST_MASK ((1 << STBI__ZFAST_BITS) - 1) // zlib-style huffman encoding // (jpegs packs from left, zlib from right, so can't share code) typedef struct { stbi__uint16 fast[1 << STBI__ZFAST_BITS]; stbi__uint16 firstcode[16]; int maxcode[17]; stbi__uint16 firstsymbol[16]; stbi_uc size[288]; stbi__uint16 value[288]; } stbi__zhuffman; stbi_inline static int stbi__bitreverse16(int n) { n = ((n & 0xAAAA) >> 1) | ((n & 0x5555) << 1); n = ((n & 0xCCCC) >> 2) | ((n & 0x3333) << 2); n = ((n & 0xF0F0) >> 4) | ((n & 0x0F0F) << 4); n = ((n & 0xFF00) >> 8) | ((n & 0x00FF) << 8); return n; } stbi_inline static int stbi__bit_reverse(int v, int bits) { STBI_ASSERT(bits <= 16); // to bit reverse n bits, reverse 16 and shift // e.g. 11 bits, bit reverse and shift away 5 return stbi__bitreverse16(v) >> (16-bits); } static int stbi__zbuild_huffman(stbi__zhuffman *z, const stbi_uc *sizelist, int num) { int i,k=0; int code, next_code[16], sizes[17]; // DEFLATE spec for generating codes memset(sizes, 0, sizeof(sizes)); memset(z->fast, 0, sizeof(z->fast)); for (i=0; i < num; ++i) ++sizes[sizelist[i]]; sizes[0] = 0; for (i=1; i < 16; ++i) if (sizes[i] > (1 << i)) return stbi__err("bad sizes", "Corrupt PNG"); code = 0; for (i=1; i < 16; ++i) { next_code[i] = code; z->firstcode[i] = (stbi__uint16) code; z->firstsymbol[i] = (stbi__uint16) k; code = (code + sizes[i]); if (sizes[i]) if (code-1 >= (1 << i)) return stbi__err("bad codelengths","Corrupt PNG"); z->maxcode[i] = code << (16-i); // preshift for inner loop code <<= 1; k += sizes[i]; } z->maxcode[16] = 0x10000; // sentinel for (i=0; i < num; ++i) { int s = sizelist[i]; if (s) { int c = next_code[s] - z->firstcode[s] + z->firstsymbol[s]; stbi__uint16 fastv = (stbi__uint16) ((s << 9) | i); z->size [c] = (stbi_uc ) s; z->value[c] = (stbi__uint16) i; if (s <= STBI__ZFAST_BITS) { int j = stbi__bit_reverse(next_code[s],s); while (j < (1 << STBI__ZFAST_BITS)) { z->fast[j] = fastv; j += (1 << s); } } ++next_code[s]; } } return 1; } // zlib-from-memory implementation for PNG reading // because PNG allows splitting the zlib stream arbitrarily, // and it's annoying structurally to have PNG call ZLIB call PNG, // we require PNG read all the IDATs and combine them into a single // memory buffer typedef struct { stbi_uc *zbuffer, *zbuffer_end; int num_bits; stbi__uint32 code_buffer; char *zout; char *zout_start; char *zout_end; int z_expandable; stbi__zhuffman z_length, z_distance; } stbi__zbuf; stbi_inline static stbi_uc stbi__zget8(stbi__zbuf *z) { if (z->zbuffer >= z->zbuffer_end) return 0; return *z->zbuffer++; } static void stbi__fill_bits(stbi__zbuf *z) { do { STBI_ASSERT(z->code_buffer < (1U << z->num_bits)); z->code_buffer |= (unsigned int) stbi__zget8(z) << z->num_bits; z->num_bits += 8; } while (z->num_bits <= 24); } stbi_inline static unsigned int stbi__zreceive(stbi__zbuf *z, int n) { unsigned int k; if (z->num_bits < n) stbi__fill_bits(z); k = z->code_buffer & ((1 << n) - 1); z->code_buffer >>= n; z->num_bits -= n; return k; } static int stbi__zhuffman_decode_slowpath(stbi__zbuf *a, stbi__zhuffman *z) { int b,s,k; // not resolved by fast table, so compute it the slow way // use jpeg approach, which requires MSbits at top k = stbi__bit_reverse(a->code_buffer, 16); for (s=STBI__ZFAST_BITS+1; ; ++s) if (k < z->maxcode[s]) break; if (s == 16) return -1; // invalid code! // code size is s, so: b = (k >> (16-s)) - z->firstcode[s] + z->firstsymbol[s]; STBI_ASSERT(z->size[b] == s); a->code_buffer >>= s; a->num_bits -= s; return z->value[b]; } stbi_inline static int stbi__zhuffman_decode(stbi__zbuf *a, stbi__zhuffman *z) { int b,s; if (a->num_bits < 16) stbi__fill_bits(a); b = z->fast[a->code_buffer & STBI__ZFAST_MASK]; if (b) { s = b >> 9; a->code_buffer >>= s; a->num_bits -= s; return b & 511; } return stbi__zhuffman_decode_slowpath(a, z); } static int stbi__zexpand(stbi__zbuf *z, char *zout, int n) // need to make room for n bytes { char *q; int cur, limit, old_limit; z->zout = zout; if (!z->z_expandable) return stbi__err("output buffer limit","Corrupt PNG"); cur = (int) (z->zout - z->zout_start); limit = old_limit = (int) (z->zout_end - z->zout_start); while (cur + n > limit) limit *= 2; q = (char *) STBI_REALLOC_SIZED(z->zout_start, old_limit, limit); STBI_NOTUSED(old_limit); if (q == NULL) return stbi__err("outofmem", "Out of memory"); z->zout_start = q; z->zout = q + cur; z->zout_end = q + limit; return 1; } static const int stbi__zlength_base[31] = { 3,4,5,6,7,8,9,10,11,13, 15,17,19,23,27,31,35,43,51,59, 67,83,99,115,131,163,195,227,258,0,0 }; static const int stbi__zlength_extra[31]= { 0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0 }; static const int stbi__zdist_base[32] = { 1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193, 257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0}; static const int stbi__zdist_extra[32] = { 0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13}; static int stbi__parse_huffman_block(stbi__zbuf *a) { char *zout = a->zout; for(;;) { int z = stbi__zhuffman_decode(a, &a->z_length); if (z < 256) { if (z < 0) return stbi__err("bad huffman code","Corrupt PNG"); // error in huffman codes if (zout >= a->zout_end) { if (!stbi__zexpand(a, zout, 1)) return 0; zout = a->zout; } *zout++ = (char) z; } else { stbi_uc *p; int len,dist; if (z == 256) { a->zout = zout; return 1; } z -= 257; len = stbi__zlength_base[z]; if (stbi__zlength_extra[z]) len += stbi__zreceive(a, stbi__zlength_extra[z]); z = stbi__zhuffman_decode(a, &a->z_distance); if (z < 0) return stbi__err("bad huffman code","Corrupt PNG"); dist = stbi__zdist_base[z]; if (stbi__zdist_extra[z]) dist += stbi__zreceive(a, stbi__zdist_extra[z]); if (zout - a->zout_start < dist) return stbi__err("bad dist","Corrupt PNG"); if (zout + len > a->zout_end) { if (!stbi__zexpand(a, zout, len)) return 0; zout = a->zout; } p = (stbi_uc *) (zout - dist); if (dist == 1) { // run of one byte; common in images. stbi_uc v = *p; if (len) { do *zout++ = v; while (--len); } } else { if (len) { do *zout++ = *p++; while (--len); } } } } } static int stbi__compute_huffman_codes(stbi__zbuf *a) { static const stbi_uc length_dezigzag[19] = { 16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15 }; stbi__zhuffman z_codelength; stbi_uc lencodes[286+32+137];//padding for maximum single op stbi_uc codelength_sizes[19]; int i,n; int hlit = stbi__zreceive(a,5) + 257; int hdist = stbi__zreceive(a,5) + 1; int hclen = stbi__zreceive(a,4) + 4; int ntot = hlit + hdist; memset(codelength_sizes, 0, sizeof(codelength_sizes)); for (i=0; i < hclen; ++i) { int s = stbi__zreceive(a,3); codelength_sizes[length_dezigzag[i]] = (stbi_uc) s; } if (!stbi__zbuild_huffman(&z_codelength, codelength_sizes, 19)) return 0; n = 0; while (n < ntot) { int c = stbi__zhuffman_decode(a, &z_codelength); if (c < 0 || c >= 19) return stbi__err("bad codelengths", "Corrupt PNG"); if (c < 16) lencodes[n++] = (stbi_uc) c; else { stbi_uc fill = 0; if (c == 16) { c = stbi__zreceive(a,2)+3; if (n == 0) return stbi__err("bad codelengths", "Corrupt PNG"); fill = lencodes[n-1]; } else if (c == 17) c = stbi__zreceive(a,3)+3; else { STBI_ASSERT(c == 18); c = stbi__zreceive(a,7)+11; } if (ntot - n < c) return stbi__err("bad codelengths", "Corrupt PNG"); memset(lencodes+n, fill, c); n += c; } } if (n != ntot) return stbi__err("bad codelengths","Corrupt PNG"); if (!stbi__zbuild_huffman(&a->z_length, lencodes, hlit)) return 0; if (!stbi__zbuild_huffman(&a->z_distance, lencodes+hlit, hdist)) return 0; return 1; } static int stbi__parse_uncompressed_block(stbi__zbuf *a) { stbi_uc header[4]; int len,nlen,k; if (a->num_bits & 7) stbi__zreceive(a, a->num_bits & 7); // discard // drain the bit-packed data into header k = 0; while (a->num_bits > 0) { header[k++] = (stbi_uc) (a->code_buffer & 255); // suppress MSVC run-time check a->code_buffer >>= 8; a->num_bits -= 8; } STBI_ASSERT(a->num_bits == 0); // now fill header the normal way while (k < 4) header[k++] = stbi__zget8(a); len = header[1] * 256 + header[0]; nlen = header[3] * 256 + header[2]; if (nlen != (len ^ 0xffff)) return stbi__err("zlib corrupt","Corrupt PNG"); if (a->zbuffer + len > a->zbuffer_end) return stbi__err("read past buffer","Corrupt PNG"); if (a->zout + len > a->zout_end) if (!stbi__zexpand(a, a->zout, len)) return 0; memcpy(a->zout, a->zbuffer, len); a->zbuffer += len; a->zout += len; return 1; } static int stbi__parse_zlib_header(stbi__zbuf *a) { int cmf = stbi__zget8(a); int cm = cmf & 15; /* int cinfo = cmf >> 4; */ int flg = stbi__zget8(a); if ((cmf*256+flg) % 31 != 0) return stbi__err("bad zlib header","Corrupt PNG"); // zlib spec if (flg & 32) return stbi__err("no preset dict","Corrupt PNG"); // preset dictionary not allowed in png if (cm != 8) return stbi__err("bad compression","Corrupt PNG"); // DEFLATE required for png // window = 1 << (8 + cinfo)... but who cares, we fully buffer output return 1; } static const stbi_uc stbi__zdefault_length[288] = { 8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8, 8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8, 8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8, 8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8, 8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8, 8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8, 8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8, 8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8, 8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8, 9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9, 9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9, 9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9, 9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9, 9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9, 9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9, 9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9, 7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7, 7,7,7,7,7,7,7,7,8,8,8,8,8,8,8,8 }; static const stbi_uc stbi__zdefault_distance[32] = { 5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5 }; /* Init algorithm: { int i; // use <= to match clearly with spec for (i=0; i <= 143; ++i) stbi__zdefault_length[i] = 8; for ( ; i <= 255; ++i) stbi__zdefault_length[i] = 9; for ( ; i <= 279; ++i) stbi__zdefault_length[i] = 7; for ( ; i <= 287; ++i) stbi__zdefault_length[i] = 8; for (i=0; i <= 31; ++i) stbi__zdefault_distance[i] = 5; } */ static int stbi__parse_zlib(stbi__zbuf *a, int parse_header) { int final, type; if (parse_header) if (!stbi__parse_zlib_header(a)) return 0; a->num_bits = 0; a->code_buffer = 0; do { final = stbi__zreceive(a,1); type = stbi__zreceive(a,2); if (type == 0) { if (!stbi__parse_uncompressed_block(a)) return 0; } else if (type == 3) { return 0; } else { if (type == 1) { // use fixed code lengths if (!stbi__zbuild_huffman(&a->z_length , stbi__zdefault_length , 288)) return 0; if (!stbi__zbuild_huffman(&a->z_distance, stbi__zdefault_distance, 32)) return 0; } else { if (!stbi__compute_huffman_codes(a)) return 0; } if (!stbi__parse_huffman_block(a)) return 0; } } while (!final); return 1; } static int stbi__do_zlib(stbi__zbuf *a, char *obuf, int olen, int exp, int parse_header) { a->zout_start = obuf; a->zout = obuf; a->zout_end = obuf + olen; a->z_expandable = exp; return stbi__parse_zlib(a, parse_header); } STBIDEF char *stbi_zlib_decode_malloc_guesssize(const char *buffer, int len, int initial_size, int *outlen) { stbi__zbuf a; char *p = (char *) stbi__malloc(initial_size); if (p == NULL) return NULL; a.zbuffer = (stbi_uc *) buffer; a.zbuffer_end = (stbi_uc *) buffer + len; if (stbi__do_zlib(&a, p, initial_size, 1, 1)) { if (outlen) *outlen = (int) (a.zout - a.zout_start); return a.zout_start; } else { STBI_FREE(a.zout_start); return NULL; } } STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) { return stbi_zlib_decode_malloc_guesssize(buffer, len, 16384, outlen); } STBIDEF char *stbi_zlib_decode_malloc_guesssize_headerflag(const char *buffer, int len, int initial_size, int *outlen, int parse_header) { stbi__zbuf a; char *p = (char *) stbi__malloc(initial_size); if (p == NULL) return NULL; a.zbuffer = (stbi_uc *) buffer; a.zbuffer_end = (stbi_uc *) buffer + len; if (stbi__do_zlib(&a, p, initial_size, 1, parse_header)) { if (outlen) *outlen = (int) (a.zout - a.zout_start); return a.zout_start; } else { STBI_FREE(a.zout_start); return NULL; } } STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) { stbi__zbuf a; a.zbuffer = (stbi_uc *) ibuffer; a.zbuffer_end = (stbi_uc *) ibuffer + ilen; if (stbi__do_zlib(&a, obuffer, olen, 0, 1)) return (int) (a.zout - a.zout_start); else return -1; } STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) { stbi__zbuf a; char *p = (char *) stbi__malloc(16384); if (p == NULL) return NULL; a.zbuffer = (stbi_uc *) buffer; a.zbuffer_end = (stbi_uc *) buffer+len; if (stbi__do_zlib(&a, p, 16384, 1, 0)) { if (outlen) *outlen = (int) (a.zout - a.zout_start); return a.zout_start; } else { STBI_FREE(a.zout_start); return NULL; } } STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) { stbi__zbuf a; a.zbuffer = (stbi_uc *) ibuffer; a.zbuffer_end = (stbi_uc *) ibuffer + ilen; if (stbi__do_zlib(&a, obuffer, olen, 0, 0)) return (int) (a.zout - a.zout_start); else return -1; } #endif // public domain "baseline" PNG decoder v0.10 Sean Barrett 2006-11-18 // simple implementation // - only 8-bit samples // - no CRC checking // - allocates lots of intermediate memory // - avoids problem of streaming data between subsystems // - avoids explicit window management // performance // - uses stb_zlib, a PD zlib implementation with fast huffman decoding #ifndef STBI_NO_PNG typedef struct { stbi__uint32 length; stbi__uint32 type; } stbi__pngchunk; static stbi__pngchunk stbi__get_chunk_header(stbi__context *s) { stbi__pngchunk c; c.length = stbi__get32be(s); c.type = stbi__get32be(s); return c; } static int stbi__check_png_header(stbi__context *s) { static const stbi_uc png_sig[8] = { 137,80,78,71,13,10,26,10 }; int i; for (i=0; i < 8; ++i) if (stbi__get8(s) != png_sig[i]) return stbi__err("bad png sig","Not a PNG"); return 1; } typedef struct { stbi__context *s; stbi_uc *idata, *expanded, *out; int depth; } stbi__png; enum { STBI__F_none=0, STBI__F_sub=1, STBI__F_up=2, STBI__F_avg=3, STBI__F_paeth=4, // synthetic filters used for first scanline to avoid needing a dummy row of 0s STBI__F_avg_first, STBI__F_paeth_first }; static stbi_uc first_row_filter[5] = { STBI__F_none, STBI__F_sub, STBI__F_none, STBI__F_avg_first, STBI__F_paeth_first }; static int stbi__paeth(int a, int b, int c) { int p = a + b - c; int pa = abs(p-a); int pb = abs(p-b); int pc = abs(p-c); if (pa <= pb && pa <= pc) return a; if (pb <= pc) return b; return c; } static const stbi_uc stbi__depth_scale_table[9] = { 0, 0xff, 0x55, 0, 0x11, 0,0,0, 0x01 }; // create the png data from post-deflated data static int stbi__create_png_image_raw(stbi__png *a, stbi_uc *raw, stbi__uint32 raw_len, int out_n, stbi__uint32 x, stbi__uint32 y, int depth, int color) { int bytes = (depth == 16? 2 : 1); stbi__context *s = a->s; stbi__uint32 i,j,stride = x*out_n*bytes; stbi__uint32 img_len, img_width_bytes; int k; int img_n = s->img_n; // copy it into a local for later int output_bytes = out_n*bytes; int filter_bytes = img_n*bytes; int width = x; STBI_ASSERT(out_n == s->img_n || out_n == s->img_n+1); a->out = (stbi_uc *) stbi__malloc_mad3(x, y, output_bytes, 0); // extra bytes to write off the end into if (!a->out) return stbi__err("outofmem", "Out of memory"); if (!stbi__mad3sizes_valid(img_n, x, depth, 7)) return stbi__err("too large", "Corrupt PNG"); img_width_bytes = (((img_n * x * depth) + 7) >> 3); img_len = (img_width_bytes + 1) * y; // we used to check for exact match between raw_len and img_len on non-interlaced PNGs, // but issue #276 reported a PNG in the wild that had extra data at the end (all zeros), // so just check for raw_len < img_len always. if (raw_len < img_len) return stbi__err("not enough pixels","Corrupt PNG"); for (j=0; j < y; ++j) { stbi_uc *cur = a->out + stride*j; stbi_uc *prior; int filter = *raw++; if (filter > 4) return stbi__err("invalid filter","Corrupt PNG"); if (depth < 8) { STBI_ASSERT(img_width_bytes <= x); cur += x*out_n - img_width_bytes; // store output to the rightmost img_len bytes, so we can decode in place filter_bytes = 1; width = img_width_bytes; } prior = cur - stride; // bugfix: need to compute this after 'cur +=' computation above // if first row, use special filter that doesn't sample previous row if (j == 0) filter = first_row_filter[filter]; // handle first byte explicitly for (k=0; k < filter_bytes; ++k) { switch (filter) { case STBI__F_none : cur[k] = raw[k]; break; case STBI__F_sub : cur[k] = raw[k]; break; case STBI__F_up : cur[k] = STBI__BYTECAST(raw[k] + prior[k]); break; case STBI__F_avg : cur[k] = STBI__BYTECAST(raw[k] + (prior[k]>>1)); break; case STBI__F_paeth : cur[k] = STBI__BYTECAST(raw[k] + stbi__paeth(0,prior[k],0)); break; case STBI__F_avg_first : cur[k] = raw[k]; break; case STBI__F_paeth_first: cur[k] = raw[k]; break; } } if (depth == 8) { if (img_n != out_n) cur[img_n] = 255; // first pixel raw += img_n; cur += out_n; prior += out_n; } else if (depth == 16) { if (img_n != out_n) { cur[filter_bytes] = 255; // first pixel top byte cur[filter_bytes+1] = 255; // first pixel bottom byte } raw += filter_bytes; cur += output_bytes; prior += output_bytes; } else { raw += 1; cur += 1; prior += 1; } // this is a little gross, so that we don't switch per-pixel or per-component if (depth < 8 || img_n == out_n) { int nk = (width - 1)*filter_bytes; #define STBI__CASE(f) \ case f: \ for (k=0; k < nk; ++k) switch (filter) { // "none" filter turns into a memcpy here; make that explicit. case STBI__F_none: memcpy(cur, raw, nk); break; STBI__CASE(STBI__F_sub) { cur[k] = STBI__BYTECAST(raw[k] + cur[k-filter_bytes]); } break; STBI__CASE(STBI__F_up) { cur[k] = STBI__BYTECAST(raw[k] + prior[k]); } break; STBI__CASE(STBI__F_avg) { cur[k] = STBI__BYTECAST(raw[k] + ((prior[k] + cur[k-filter_bytes])>>1)); } break; STBI__CASE(STBI__F_paeth) { cur[k] = STBI__BYTECAST(raw[k] + stbi__paeth(cur[k-filter_bytes],prior[k],prior[k-filter_bytes])); } break; STBI__CASE(STBI__F_avg_first) { cur[k] = STBI__BYTECAST(raw[k] + (cur[k-filter_bytes] >> 1)); } break; STBI__CASE(STBI__F_paeth_first) { cur[k] = STBI__BYTECAST(raw[k] + stbi__paeth(cur[k-filter_bytes],0,0)); } break; } #undef STBI__CASE raw += nk; } else { STBI_ASSERT(img_n+1 == out_n); #define STBI__CASE(f) \ case f: \ for (i=x-1; i >= 1; --i, cur[filter_bytes]=255,raw+=filter_bytes,cur+=output_bytes,prior+=output_bytes) \ for (k=0; k < filter_bytes; ++k) switch (filter) { STBI__CASE(STBI__F_none) { cur[k] = raw[k]; } break; STBI__CASE(STBI__F_sub) { cur[k] = STBI__BYTECAST(raw[k] + cur[k- output_bytes]); } break; STBI__CASE(STBI__F_up) { cur[k] = STBI__BYTECAST(raw[k] + prior[k]); } break; STBI__CASE(STBI__F_avg) { cur[k] = STBI__BYTECAST(raw[k] + ((prior[k] + cur[k- output_bytes])>>1)); } break; STBI__CASE(STBI__F_paeth) { cur[k] = STBI__BYTECAST(raw[k] + stbi__paeth(cur[k- output_bytes],prior[k],prior[k- output_bytes])); } break; STBI__CASE(STBI__F_avg_first) { cur[k] = STBI__BYTECAST(raw[k] + (cur[k- output_bytes] >> 1)); } break; STBI__CASE(STBI__F_paeth_first) { cur[k] = STBI__BYTECAST(raw[k] + stbi__paeth(cur[k- output_bytes],0,0)); } break; } #undef STBI__CASE // the loop above sets the high byte of the pixels' alpha, but for // 16 bit png files we also need the low byte set. we'll do that here. if (depth == 16) { cur = a->out + stride*j; // start at the beginning of the row again for (i=0; i < x; ++i,cur+=output_bytes) { cur[filter_bytes+1] = 255; } } } } // we make a separate pass to expand bits to pixels; for performance, // this could run two scanlines behind the above code, so it won't // intefere with filtering but will still be in the cache. if (depth < 8) { for (j=0; j < y; ++j) { stbi_uc *cur = a->out + stride*j; stbi_uc *in = a->out + stride*j + x*out_n - img_width_bytes; // unpack 1/2/4-bit into a 8-bit buffer. allows us to keep the common 8-bit path optimal at minimal cost for 1/2/4-bit // png guarante byte alignment, if width is not multiple of 8/4/2 we'll decode dummy trailing data that will be skipped in the later loop stbi_uc scale = (color == 0) ? stbi__depth_scale_table[depth] : 1; // scale grayscale values to 0..255 range // note that the final byte might overshoot and write more data than desired. // we can allocate enough data that this never writes out of memory, but it // could also overwrite the next scanline. can it overwrite non-empty data // on the next scanline? yes, consider 1-pixel-wide scanlines with 1-bit-per-pixel. // so we need to explicitly clamp the final ones if (depth == 4) { for (k=x*img_n; k >= 2; k-=2, ++in) { *cur++ = scale * ((*in >> 4) ); *cur++ = scale * ((*in ) & 0x0f); } if (k > 0) *cur++ = scale * ((*in >> 4) ); } else if (depth == 2) { for (k=x*img_n; k >= 4; k-=4, ++in) { *cur++ = scale * ((*in >> 6) ); *cur++ = scale * ((*in >> 4) & 0x03); *cur++ = scale * ((*in >> 2) & 0x03); *cur++ = scale * ((*in ) & 0x03); } if (k > 0) *cur++ = scale * ((*in >> 6) ); if (k > 1) *cur++ = scale * ((*in >> 4) & 0x03); if (k > 2) *cur++ = scale * ((*in >> 2) & 0x03); } else if (depth == 1) { for (k=x*img_n; k >= 8; k-=8, ++in) { *cur++ = scale * ((*in >> 7) ); *cur++ = scale * ((*in >> 6) & 0x01); *cur++ = scale * ((*in >> 5) & 0x01); *cur++ = scale * ((*in >> 4) & 0x01); *cur++ = scale * ((*in >> 3) & 0x01); *cur++ = scale * ((*in >> 2) & 0x01); *cur++ = scale * ((*in >> 1) & 0x01); *cur++ = scale * ((*in ) & 0x01); } if (k > 0) *cur++ = scale * ((*in >> 7) ); if (k > 1) *cur++ = scale * ((*in >> 6) & 0x01); if (k > 2) *cur++ = scale * ((*in >> 5) & 0x01); if (k > 3) *cur++ = scale * ((*in >> 4) & 0x01); if (k > 4) *cur++ = scale * ((*in >> 3) & 0x01); if (k > 5) *cur++ = scale * ((*in >> 2) & 0x01); if (k > 6) *cur++ = scale * ((*in >> 1) & 0x01); } if (img_n != out_n) { int q; // insert alpha = 255 cur = a->out + stride*j; if (img_n == 1) { for (q=x-1; q >= 0; --q) { cur[q*2+1] = 255; cur[q*2+0] = cur[q]; } } else { STBI_ASSERT(img_n == 3); for (q=x-1; q >= 0; --q) { cur[q*4+3] = 255; cur[q*4+2] = cur[q*3+2]; cur[q*4+1] = cur[q*3+1]; cur[q*4+0] = cur[q*3+0]; } } } } } else if (depth == 16) { // force the image data from big-endian to platform-native. // this is done in a separate pass due to the decoding relying // on the data being untouched, but could probably be done // per-line during decode if care is taken. stbi_uc *cur = a->out; stbi__uint16 *cur16 = (stbi__uint16*)cur; for(i=0; i < x*y*out_n; ++i,cur16++,cur+=2) { *cur16 = (cur[0] << 8) | cur[1]; } } return 1; } static int stbi__create_png_image(stbi__png *a, stbi_uc *image_data, stbi__uint32 image_data_len, int out_n, int depth, int color, int interlaced) { int bytes = (depth == 16 ? 2 : 1); int out_bytes = out_n * bytes; stbi_uc *final; int p; if (!interlaced) return stbi__create_png_image_raw(a, image_data, image_data_len, out_n, a->s->img_x, a->s->img_y, depth, color); // de-interlacing final = (stbi_uc *) stbi__malloc_mad3(a->s->img_x, a->s->img_y, out_bytes, 0); for (p=0; p < 7; ++p) { int xorig[] = { 0,4,0,2,0,1,0 }; int yorig[] = { 0,0,4,0,2,0,1 }; int xspc[] = { 8,8,4,4,2,2,1 }; int yspc[] = { 8,8,8,4,4,2,2 }; int i,j,x,y; // pass1_x[4] = 0, pass1_x[5] = 1, pass1_x[12] = 1 x = (a->s->img_x - xorig[p] + xspc[p]-1) / xspc[p]; y = (a->s->img_y - yorig[p] + yspc[p]-1) / yspc[p]; if (x && y) { stbi__uint32 img_len = ((((a->s->img_n * x * depth) + 7) >> 3) + 1) * y; if (!stbi__create_png_image_raw(a, image_data, image_data_len, out_n, x, y, depth, color)) { STBI_FREE(final); return 0; } for (j=0; j < y; ++j) { for (i=0; i < x; ++i) { int out_y = j*yspc[p]+yorig[p]; int out_x = i*xspc[p]+xorig[p]; memcpy(final + out_y*a->s->img_x*out_bytes + out_x*out_bytes, a->out + (j*x+i)*out_bytes, out_bytes); } } STBI_FREE(a->out); image_data += img_len; image_data_len -= img_len; } } a->out = final; return 1; } static int stbi__compute_transparency(stbi__png *z, stbi_uc tc[3], int out_n) { stbi__context *s = z->s; stbi__uint32 i, pixel_count = s->img_x * s->img_y; stbi_uc *p = z->out; // compute color-based transparency, assuming we've // already got 255 as the alpha value in the output STBI_ASSERT(out_n == 2 || out_n == 4); if (out_n == 2) { for (i=0; i < pixel_count; ++i) { p[1] = (p[0] == tc[0] ? 0 : 255); p += 2; } } else { for (i=0; i < pixel_count; ++i) { if (p[0] == tc[0] && p[1] == tc[1] && p[2] == tc[2]) p[3] = 0; p += 4; } } return 1; } static int stbi__compute_transparency16(stbi__png *z, stbi__uint16 tc[3], int out_n) { stbi__context *s = z->s; stbi__uint32 i, pixel_count = s->img_x * s->img_y; stbi__uint16 *p = (stbi__uint16*) z->out; // compute color-based transparency, assuming we've // already got 65535 as the alpha value in the output STBI_ASSERT(out_n == 2 || out_n == 4); if (out_n == 2) { for (i = 0; i < pixel_count; ++i) { p[1] = (p[0] == tc[0] ? 0 : 65535); p += 2; } } else { for (i = 0; i < pixel_count; ++i) { if (p[0] == tc[0] && p[1] == tc[1] && p[2] == tc[2]) p[3] = 0; p += 4; } } return 1; } static int stbi__expand_png_palette(stbi__png *a, stbi_uc *palette, int len, int pal_img_n) { stbi__uint32 i, pixel_count = a->s->img_x * a->s->img_y; stbi_uc *p, *temp_out, *orig = a->out; p = (stbi_uc *) stbi__malloc_mad2(pixel_count, pal_img_n, 0); if (p == NULL) return stbi__err("outofmem", "Out of memory"); // between here and free(out) below, exitting would leak temp_out = p; if (pal_img_n == 3) { for (i=0; i < pixel_count; ++i) { int n = orig[i]*4; p[0] = palette[n ]; p[1] = palette[n+1]; p[2] = palette[n+2]; p += 3; } } else { for (i=0; i < pixel_count; ++i) { int n = orig[i]*4; p[0] = palette[n ]; p[1] = palette[n+1]; p[2] = palette[n+2]; p[3] = palette[n+3]; p += 4; } } STBI_FREE(a->out); a->out = temp_out; STBI_NOTUSED(len); return 1; } static int stbi__unpremultiply_on_load = 0; static int stbi__de_iphone_flag = 0; STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) { stbi__unpremultiply_on_load = flag_true_if_should_unpremultiply; } STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) { stbi__de_iphone_flag = flag_true_if_should_convert; } static void stbi__de_iphone(stbi__png *z) { stbi__context *s = z->s; stbi__uint32 i, pixel_count = s->img_x * s->img_y; stbi_uc *p = z->out; if (s->img_out_n == 3) { // convert bgr to rgb for (i=0; i < pixel_count; ++i) { stbi_uc t = p[0]; p[0] = p[2]; p[2] = t; p += 3; } } else { STBI_ASSERT(s->img_out_n == 4); if (stbi__unpremultiply_on_load) { // convert bgr to rgb and unpremultiply for (i=0; i < pixel_count; ++i) { stbi_uc a = p[3]; stbi_uc t = p[0]; if (a) { stbi_uc half = a / 2; p[0] = (p[2] * 255 + half) / a; p[1] = (p[1] * 255 + half) / a; p[2] = ( t * 255 + half) / a; } else { p[0] = p[2]; p[2] = t; } p += 4; } } else { // convert bgr to rgb for (i=0; i < pixel_count; ++i) { stbi_uc t = p[0]; p[0] = p[2]; p[2] = t; p += 4; } } } } #define STBI__PNG_TYPE(a,b,c,d) (((unsigned) (a) << 24) + ((unsigned) (b) << 16) + ((unsigned) (c) << 8) + (unsigned) (d)) static int stbi__parse_png_file(stbi__png *z, int scan, int req_comp) { stbi_uc palette[1024], pal_img_n=0; stbi_uc has_trans=0, tc[3]={0}; stbi__uint16 tc16[3]; stbi__uint32 ioff=0, idata_limit=0, i, pal_len=0; int first=1,k,interlace=0, color=0, is_iphone=0; stbi__context *s = z->s; z->expanded = NULL; z->idata = NULL; z->out = NULL; if (!stbi__check_png_header(s)) return 0; if (scan == STBI__SCAN_type) return 1; for (;;) { stbi__pngchunk c = stbi__get_chunk_header(s); switch (c.type) { case STBI__PNG_TYPE('C','g','B','I'): is_iphone = 1; stbi__skip(s, c.length); break; case STBI__PNG_TYPE('I','H','D','R'): { int comp,filter; if (!first) return stbi__err("multiple IHDR","Corrupt PNG"); first = 0; if (c.length != 13) return stbi__err("bad IHDR len","Corrupt PNG"); s->img_x = stbi__get32be(s); if (s->img_x > (1 << 24)) return stbi__err("too large","Very large image (corrupt?)"); s->img_y = stbi__get32be(s); if (s->img_y > (1 << 24)) return stbi__err("too large","Very large image (corrupt?)"); z->depth = stbi__get8(s); if (z->depth != 1 && z->depth != 2 && z->depth != 4 && z->depth != 8 && z->depth != 16) return stbi__err("1/2/4/8/16-bit only","PNG not supported: 1/2/4/8/16-bit only"); color = stbi__get8(s); if (color > 6) return stbi__err("bad ctype","Corrupt PNG"); if (color == 3 && z->depth == 16) return stbi__err("bad ctype","Corrupt PNG"); if (color == 3) pal_img_n = 3; else if (color & 1) return stbi__err("bad ctype","Corrupt PNG"); comp = stbi__get8(s); if (comp) return stbi__err("bad comp method","Corrupt PNG"); filter= stbi__get8(s); if (filter) return stbi__err("bad filter method","Corrupt PNG"); interlace = stbi__get8(s); if (interlace>1) return stbi__err("bad interlace method","Corrupt PNG"); if (!s->img_x || !s->img_y) return stbi__err("0-pixel image","Corrupt PNG"); if (!pal_img_n) { s->img_n = (color & 2 ? 3 : 1) + (color & 4 ? 1 : 0); if ((1 << 30) / s->img_x / s->img_n < s->img_y) return stbi__err("too large", "Image too large to decode"); if (scan == STBI__SCAN_header) return 1; } else { // if paletted, then pal_n is our final components, and // img_n is # components to decompress/filter. s->img_n = 1; if ((1 << 30) / s->img_x / 4 < s->img_y) return stbi__err("too large","Corrupt PNG"); // if SCAN_header, have to scan to see if we have a tRNS } break; } case STBI__PNG_TYPE('P','L','T','E'): { if (first) return stbi__err("first not IHDR", "Corrupt PNG"); if (c.length > 256*3) return stbi__err("invalid PLTE","Corrupt PNG"); pal_len = c.length / 3; if (pal_len * 3 != c.length) return stbi__err("invalid PLTE","Corrupt PNG"); for (i=0; i < pal_len; ++i) { palette[i*4+0] = stbi__get8(s); palette[i*4+1] = stbi__get8(s); palette[i*4+2] = stbi__get8(s); palette[i*4+3] = 255; } break; } case STBI__PNG_TYPE('t','R','N','S'): { if (first) return stbi__err("first not IHDR", "Corrupt PNG"); if (z->idata) return stbi__err("tRNS after IDAT","Corrupt PNG"); if (pal_img_n) { if (scan == STBI__SCAN_header) { s->img_n = 4; return 1; } if (pal_len == 0) return stbi__err("tRNS before PLTE","Corrupt PNG"); if (c.length > pal_len) return stbi__err("bad tRNS len","Corrupt PNG"); pal_img_n = 4; for (i=0; i < c.length; ++i) palette[i*4+3] = stbi__get8(s); } else { if (!(s->img_n & 1)) return stbi__err("tRNS with alpha","Corrupt PNG"); if (c.length != (stbi__uint32) s->img_n*2) return stbi__err("bad tRNS len","Corrupt PNG"); has_trans = 1; if (z->depth == 16) { for (k = 0; k < s->img_n; ++k) tc16[k] = (stbi__uint16)stbi__get16be(s); // copy the values as-is } else { for (k = 0; k < s->img_n; ++k) tc[k] = (stbi_uc)(stbi__get16be(s) & 255) * stbi__depth_scale_table[z->depth]; // non 8-bit images will be larger } } break; } case STBI__PNG_TYPE('I','D','A','T'): { if (first) return stbi__err("first not IHDR", "Corrupt PNG"); if (pal_img_n && !pal_len) return stbi__err("no PLTE","Corrupt PNG"); if (scan == STBI__SCAN_header) { s->img_n = pal_img_n; return 1; } if ((int)(ioff + c.length) < (int)ioff) return 0; if (ioff + c.length > idata_limit) { stbi__uint32 idata_limit_old = idata_limit; stbi_uc *p; if (idata_limit == 0) idata_limit = c.length > 4096 ? c.length : 4096; while (ioff + c.length > idata_limit) idata_limit *= 2; STBI_NOTUSED(idata_limit_old); p = (stbi_uc *) STBI_REALLOC_SIZED(z->idata, idata_limit_old, idata_limit); if (p == NULL) return stbi__err("outofmem", "Out of memory"); z->idata = p; } if (!stbi__getn(s, z->idata+ioff,c.length)) return stbi__err("outofdata","Corrupt PNG"); ioff += c.length; break; } case STBI__PNG_TYPE('I','E','N','D'): { stbi__uint32 raw_len, bpl; if (first) return stbi__err("first not IHDR", "Corrupt PNG"); if (scan != STBI__SCAN_load) return 1; if (z->idata == NULL) return stbi__err("no IDAT","Corrupt PNG"); // initial guess for decoded data size to avoid unnecessary reallocs bpl = (s->img_x * z->depth + 7) / 8; // bytes per line, per component raw_len = bpl * s->img_y * s->img_n /* pixels */ + s->img_y /* filter mode per row */; z->expanded = (stbi_uc *) stbi_zlib_decode_malloc_guesssize_headerflag((char *) z->idata, ioff, raw_len, (int *) &raw_len, !is_iphone); if (z->expanded == NULL) return 0; // zlib should set error STBI_FREE(z->idata); z->idata = NULL; if ((req_comp == s->img_n+1 && req_comp != 3 && !pal_img_n) || has_trans) s->img_out_n = s->img_n+1; else s->img_out_n = s->img_n; if (!stbi__create_png_image(z, z->expanded, raw_len, s->img_out_n, z->depth, color, interlace)) return 0; if (has_trans) { if (z->depth == 16) { if (!stbi__compute_transparency16(z, tc16, s->img_out_n)) return 0; } else { if (!stbi__compute_transparency(z, tc, s->img_out_n)) return 0; } } if (is_iphone && stbi__de_iphone_flag && s->img_out_n > 2) stbi__de_iphone(z); if (pal_img_n) { // pal_img_n == 3 or 4 s->img_n = pal_img_n; // record the actual colors we had s->img_out_n = pal_img_n; if (req_comp >= 3) s->img_out_n = req_comp; if (!stbi__expand_png_palette(z, palette, pal_len, s->img_out_n)) return 0; } else if (has_trans) { // non-paletted image with tRNS -> source image has (constant) alpha ++s->img_n; } STBI_FREE(z->expanded); z->expanded = NULL; return 1; } default: // if critical, fail if (first) return stbi__err("first not IHDR", "Corrupt PNG"); if ((c.type & (1 << 29)) == 0) { #ifndef STBI_NO_FAILURE_STRINGS // not threadsafe static char invalid_chunk[] = "XXXX PNG chunk not known"; invalid_chunk[0] = STBI__BYTECAST(c.type >> 24); invalid_chunk[1] = STBI__BYTECAST(c.type >> 16); invalid_chunk[2] = STBI__BYTECAST(c.type >> 8); invalid_chunk[3] = STBI__BYTECAST(c.type >> 0); #endif return stbi__err(invalid_chunk, "PNG not supported: unknown PNG chunk type"); } stbi__skip(s, c.length); break; } // end of PNG chunk, read and skip CRC stbi__get32be(s); } } static void *stbi__do_png(stbi__png *p, int *x, int *y, int *n, int req_comp, stbi__result_info *ri) { void *result=NULL; if (req_comp < 0 || req_comp > 4) return stbi__errpuc("bad req_comp", "Internal error"); if (stbi__parse_png_file(p, STBI__SCAN_load, req_comp)) { if (p->depth < 8) ri->bits_per_channel = 8; else ri->bits_per_channel = p->depth; result = p->out; p->out = NULL; if (req_comp && req_comp != p->s->img_out_n) { if (ri->bits_per_channel == 8) result = stbi__convert_format((unsigned char *) result, p->s->img_out_n, req_comp, p->s->img_x, p->s->img_y); else result = stbi__convert_format16((stbi__uint16 *) result, p->s->img_out_n, req_comp, p->s->img_x, p->s->img_y); p->s->img_out_n = req_comp; if (result == NULL) return result; } *x = p->s->img_x; *y = p->s->img_y; if (n) *n = p->s->img_n; } STBI_FREE(p->out); p->out = NULL; STBI_FREE(p->expanded); p->expanded = NULL; STBI_FREE(p->idata); p->idata = NULL; return result; } static void *stbi__png_load(stbi__context *s, int *x, int *y, int *comp, int req_comp, stbi__result_info *ri) { stbi__png p; p.s = s; return stbi__do_png(&p, x,y,comp,req_comp, ri); } static int stbi__png_test(stbi__context *s) { int r; r = stbi__check_png_header(s); stbi__rewind(s); return r; } static int stbi__png_info_raw(stbi__png *p, int *x, int *y, int *comp) { if (!stbi__parse_png_file(p, STBI__SCAN_header, 0)) { stbi__rewind( p->s ); return 0; } if (x) *x = p->s->img_x; if (y) *y = p->s->img_y; if (comp) *comp = p->s->img_n; return 1; } static int stbi__png_info(stbi__context *s, int *x, int *y, int *comp) { stbi__png p; p.s = s; return stbi__png_info_raw(&p, x, y, comp); } static int stbi__png_is16(stbi__context *s) { stbi__png p; p.s = s; if (!stbi__png_info_raw(&p, NULL, NULL, NULL)) return 0; if (p.depth != 16) { stbi__rewind(p.s); return 0; } return 1; } #endif // Microsoft/Windows BMP image #ifndef STBI_NO_BMP static int stbi__bmp_test_raw(stbi__context *s) { int r; int sz; if (stbi__get8(s) != 'B') return 0; if (stbi__get8(s) != 'M') return 0; stbi__get32le(s); // discard filesize stbi__get16le(s); // discard reserved stbi__get16le(s); // discard reserved stbi__get32le(s); // discard data offset sz = stbi__get32le(s); r = (sz == 12 || sz == 40 || sz == 56 || sz == 108 || sz == 124); return r; } static int stbi__bmp_test(stbi__context *s) { int r = stbi__bmp_test_raw(s); stbi__rewind(s); return r; } // returns 0..31 for the highest set bit static int stbi__high_bit(unsigned int z) { int n=0; if (z == 0) return -1; if (z >= 0x10000) { n += 16; z >>= 16; } if (z >= 0x00100) { n += 8; z >>= 8; } if (z >= 0x00010) { n += 4; z >>= 4; } if (z >= 0x00004) { n += 2; z >>= 2; } if (z >= 0x00002) { n += 1; z >>= 1; } return n; } static int stbi__bitcount(unsigned int a) { a = (a & 0x55555555) + ((a >> 1) & 0x55555555); // max 2 a = (a & 0x33333333) + ((a >> 2) & 0x33333333); // max 4 a = (a + (a >> 4)) & 0x0f0f0f0f; // max 8 per 4, now 8 bits a = (a + (a >> 8)); // max 16 per 8 bits a = (a + (a >> 16)); // max 32 per 8 bits return a & 0xff; } // extract an arbitrarily-aligned N-bit value (N=bits) // from v, and then make it 8-bits long and fractionally // extend it to full full range. static int stbi__shiftsigned(unsigned int v, int shift, int bits) { static unsigned int mul_table[9] = { 0, 0xff/*0b11111111*/, 0x55/*0b01010101*/, 0x49/*0b01001001*/, 0x11/*0b00010001*/, 0x21/*0b00100001*/, 0x41/*0b01000001*/, 0x81/*0b10000001*/, 0x01/*0b00000001*/, }; static unsigned int shift_table[9] = { 0, 0,0,1,0,2,4,6,0, }; if (shift < 0) v <<= -shift; else v >>= shift; STBI_ASSERT(v >= 0 && v < 256); v >>= (8-bits); STBI_ASSERT(bits >= 0 && bits <= 8); return (int) ((unsigned) v * mul_table[bits]) >> shift_table[bits]; } typedef struct { int bpp, offset, hsz; unsigned int mr,mg,mb,ma, all_a; } stbi__bmp_data; static void *stbi__bmp_parse_header(stbi__context *s, stbi__bmp_data *info) { int hsz; if (stbi__get8(s) != 'B' || stbi__get8(s) != 'M') return stbi__errpuc("not BMP", "Corrupt BMP"); stbi__get32le(s); // discard filesize stbi__get16le(s); // discard reserved stbi__get16le(s); // discard reserved info->offset = stbi__get32le(s); info->hsz = hsz = stbi__get32le(s); info->mr = info->mg = info->mb = info->ma = 0; if (hsz != 12 && hsz != 40 && hsz != 56 && hsz != 108 && hsz != 124) return stbi__errpuc("unknown BMP", "BMP type not supported: unknown"); if (hsz == 12) { s->img_x = stbi__get16le(s); s->img_y = stbi__get16le(s); } else { s->img_x = stbi__get32le(s); s->img_y = stbi__get32le(s); } if (stbi__get16le(s) != 1) return stbi__errpuc("bad BMP", "bad BMP"); info->bpp = stbi__get16le(s); if (hsz != 12) { int compress = stbi__get32le(s); if (compress == 1 || compress == 2) return stbi__errpuc("BMP RLE", "BMP type not supported: RLE"); stbi__get32le(s); // discard sizeof stbi__get32le(s); // discard hres stbi__get32le(s); // discard vres stbi__get32le(s); // discard colorsused stbi__get32le(s); // discard max important if (hsz == 40 || hsz == 56) { if (hsz == 56) { stbi__get32le(s); stbi__get32le(s); stbi__get32le(s); stbi__get32le(s); } if (info->bpp == 16 || info->bpp == 32) { if (compress == 0) { if (info->bpp == 32) { info->mr = 0xffu << 16; info->mg = 0xffu << 8; info->mb = 0xffu << 0; info->ma = 0xffu << 24; info->all_a = 0; // if all_a is 0 at end, then we loaded alpha channel but it was all 0 } else { info->mr = 31u << 10; info->mg = 31u << 5; info->mb = 31u << 0; } } else if (compress == 3) { info->mr = stbi__get32le(s); info->mg = stbi__get32le(s); info->mb = stbi__get32le(s); // not documented, but generated by photoshop and handled by mspaint if (info->mr == info->mg && info->mg == info->mb) { // ?!?!? return stbi__errpuc("bad BMP", "bad BMP"); } } else return stbi__errpuc("bad BMP", "bad BMP"); } } else { int i; if (hsz != 108 && hsz != 124) return stbi__errpuc("bad BMP", "bad BMP"); info->mr = stbi__get32le(s); info->mg = stbi__get32le(s); info->mb = stbi__get32le(s); info->ma = stbi__get32le(s); stbi__get32le(s); // discard color space for (i=0; i < 12; ++i) stbi__get32le(s); // discard color space parameters if (hsz == 124) { stbi__get32le(s); // discard rendering intent stbi__get32le(s); // discard offset of profile data stbi__get32le(s); // discard size of profile data stbi__get32le(s); // discard reserved } } } return (void *) 1; } static void *stbi__bmp_load(stbi__context *s, int *x, int *y, int *comp, int req_comp, stbi__result_info *ri) { stbi_uc *out; unsigned int mr=0,mg=0,mb=0,ma=0, all_a; stbi_uc pal[256][4]; int psize=0,i,j,width; int flip_vertically, pad, target; stbi__bmp_data info; STBI_NOTUSED(ri); info.all_a = 255; if (stbi__bmp_parse_header(s, &info) == NULL) return NULL; // error code already set flip_vertically = ((int) s->img_y) > 0; s->img_y = abs((int) s->img_y); mr = info.mr; mg = info.mg; mb = info.mb; ma = info.ma; all_a = info.all_a; if (info.hsz == 12) { if (info.bpp < 24) psize = (info.offset - 14 - 24) / 3; } else { if (info.bpp < 16) psize = (info.offset - 14 - info.hsz) >> 2; } s->img_n = ma ? 4 : 3; if (req_comp && req_comp >= 3) // we can directly decode 3 or 4 target = req_comp; else target = s->img_n; // if they want monochrome, we'll post-convert // sanity-check size if (!stbi__mad3sizes_valid(target, s->img_x, s->img_y, 0)) return stbi__errpuc("too large", "Corrupt BMP"); out = (stbi_uc *) stbi__malloc_mad3(target, s->img_x, s->img_y, 0); if (!out) return stbi__errpuc("outofmem", "Out of memory"); if (info.bpp < 16) { int z=0; if (psize == 0 || psize > 256) { STBI_FREE(out); return stbi__errpuc("invalid", "Corrupt BMP"); } for (i=0; i < psize; ++i) { pal[i][2] = stbi__get8(s); pal[i][1] = stbi__get8(s); pal[i][0] = stbi__get8(s); if (info.hsz != 12) stbi__get8(s); pal[i][3] = 255; } stbi__skip(s, info.offset - 14 - info.hsz - psize * (info.hsz == 12 ? 3 : 4)); if (info.bpp == 1) width = (s->img_x + 7) >> 3; else if (info.bpp == 4) width = (s->img_x + 1) >> 1; else if (info.bpp == 8) width = s->img_x; else { STBI_FREE(out); return stbi__errpuc("bad bpp", "Corrupt BMP"); } pad = (-width)&3; if (info.bpp == 1) { for (j=0; j < (int) s->img_y; ++j) { int bit_offset = 7, v = stbi__get8(s); for (i=0; i < (int) s->img_x; ++i) { int color = (v>>bit_offset)&0x1; out[z++] = pal[color][0]; out[z++] = pal[color][1]; out[z++] = pal[color][2]; if (target == 4) out[z++] = 255; if (i+1 == (int) s->img_x) break; if((--bit_offset) < 0) { bit_offset = 7; v = stbi__get8(s); } } stbi__skip(s, pad); } } else { for (j=0; j < (int) s->img_y; ++j) { for (i=0; i < (int) s->img_x; i += 2) { int v=stbi__get8(s),v2=0; if (info.bpp == 4) { v2 = v & 15; v >>= 4; } out[z++] = pal[v][0]; out[z++] = pal[v][1]; out[z++] = pal[v][2]; if (target == 4) out[z++] = 255; if (i+1 == (int) s->img_x) break; v = (info.bpp == 8) ? stbi__get8(s) : v2; out[z++] = pal[v][0]; out[z++] = pal[v][1]; out[z++] = pal[v][2]; if (target == 4) out[z++] = 255; } stbi__skip(s, pad); } } } else { int rshift=0,gshift=0,bshift=0,ashift=0,rcount=0,gcount=0,bcount=0,acount=0; int z = 0; int easy=0; stbi__skip(s, info.offset - 14 - info.hsz); if (info.bpp == 24) width = 3 * s->img_x; else if (info.bpp == 16) width = 2*s->img_x; else /* bpp = 32 and pad = 0 */ width=0; pad = (-width) & 3; if (info.bpp == 24) { easy = 1; } else if (info.bpp == 32) { if (mb == 0xff && mg == 0xff00 && mr == 0x00ff0000 && ma == 0xff000000) easy = 2; } if (!easy) { if (!mr || !mg || !mb) { STBI_FREE(out); return stbi__errpuc("bad masks", "Corrupt BMP"); } // right shift amt to put high bit in position #7 rshift = stbi__high_bit(mr)-7; rcount = stbi__bitcount(mr); gshift = stbi__high_bit(mg)-7; gcount = stbi__bitcount(mg); bshift = stbi__high_bit(mb)-7; bcount = stbi__bitcount(mb); ashift = stbi__high_bit(ma)-7; acount = stbi__bitcount(ma); } for (j=0; j < (int) s->img_y; ++j) { if (easy) { for (i=0; i < (int) s->img_x; ++i) { unsigned char a; out[z+2] = stbi__get8(s); out[z+1] = stbi__get8(s); out[z+0] = stbi__get8(s); z += 3; a = (easy == 2 ? stbi__get8(s) : 255); all_a |= a; if (target == 4) out[z++] = a; } } else { int bpp = info.bpp; for (i=0; i < (int) s->img_x; ++i) { stbi__uint32 v = (bpp == 16 ? (stbi__uint32) stbi__get16le(s) : stbi__get32le(s)); unsigned int a; out[z++] = STBI__BYTECAST(stbi__shiftsigned(v & mr, rshift, rcount)); out[z++] = STBI__BYTECAST(stbi__shiftsigned(v & mg, gshift, gcount)); out[z++] = STBI__BYTECAST(stbi__shiftsigned(v & mb, bshift, bcount)); a = (ma ? stbi__shiftsigned(v & ma, ashift, acount) : 255); all_a |= a; if (target == 4) out[z++] = STBI__BYTECAST(a); } } stbi__skip(s, pad); } } // if alpha channel is all 0s, replace with all 255s if (target == 4 && all_a == 0) for (i=4*s->img_x*s->img_y-1; i >= 0; i -= 4) out[i] = 255; if (flip_vertically) { stbi_uc t; for (j=0; j < (int) s->img_y>>1; ++j) { stbi_uc *p1 = out + j *s->img_x*target; stbi_uc *p2 = out + (s->img_y-1-j)*s->img_x*target; for (i=0; i < (int) s->img_x*target; ++i) { t = p1[i]; p1[i] = p2[i]; p2[i] = t; } } } if (req_comp && req_comp != target) { out = stbi__convert_format(out, target, req_comp, s->img_x, s->img_y); if (out == NULL) return out; // stbi__convert_format frees input on failure } *x = s->img_x; *y = s->img_y; if (comp) *comp = s->img_n; return out; } #endif // Targa Truevision - TGA // by Jonathan Dummer #ifndef STBI_NO_TGA // returns STBI_rgb or whatever, 0 on error static int stbi__tga_get_comp(int bits_per_pixel, int is_grey, int* is_rgb16) { // only RGB or RGBA (incl. 16bit) or grey allowed if (is_rgb16) *is_rgb16 = 0; switch(bits_per_pixel) { case 8: return STBI_grey; case 16: if(is_grey) return STBI_grey_alpha; // fallthrough case 15: if(is_rgb16) *is_rgb16 = 1; return STBI_rgb; case 24: // fallthrough case 32: return bits_per_pixel/8; default: return 0; } } static int stbi__tga_info(stbi__context *s, int *x, int *y, int *comp) { int tga_w, tga_h, tga_comp, tga_image_type, tga_bits_per_pixel, tga_colormap_bpp; int sz, tga_colormap_type; stbi__get8(s); // discard Offset tga_colormap_type = stbi__get8(s); // colormap type if( tga_colormap_type > 1 ) { stbi__rewind(s); return 0; // only RGB or indexed allowed } tga_image_type = stbi__get8(s); // image type if ( tga_colormap_type == 1 ) { // colormapped (paletted) image if (tga_image_type != 1 && tga_image_type != 9) { stbi__rewind(s); return 0; } stbi__skip(s,4); // skip index of first colormap entry and number of entries sz = stbi__get8(s); // check bits per palette color entry if ( (sz != 8) && (sz != 15) && (sz != 16) && (sz != 24) && (sz != 32) ) { stbi__rewind(s); return 0; } stbi__skip(s,4); // skip image x and y origin tga_colormap_bpp = sz; } else { // "normal" image w/o colormap - only RGB or grey allowed, +/- RLE if ( (tga_image_type != 2) && (tga_image_type != 3) && (tga_image_type != 10) && (tga_image_type != 11) ) { stbi__rewind(s); return 0; // only RGB or grey allowed, +/- RLE } stbi__skip(s,9); // skip colormap specification and image x/y origin tga_colormap_bpp = 0; } tga_w = stbi__get16le(s); if( tga_w < 1 ) { stbi__rewind(s); return 0; // test width } tga_h = stbi__get16le(s); if( tga_h < 1 ) { stbi__rewind(s); return 0; // test height } tga_bits_per_pixel = stbi__get8(s); // bits per pixel stbi__get8(s); // ignore alpha bits if (tga_colormap_bpp != 0) { if((tga_bits_per_pixel != 8) && (tga_bits_per_pixel != 16)) { // when using a colormap, tga_bits_per_pixel is the size of the indexes // I don't think anything but 8 or 16bit indexes makes sense stbi__rewind(s); return 0; } tga_comp = stbi__tga_get_comp(tga_colormap_bpp, 0, NULL); } else { tga_comp = stbi__tga_get_comp(tga_bits_per_pixel, (tga_image_type == 3) || (tga_image_type == 11), NULL); } if(!tga_comp) { stbi__rewind(s); return 0; } if (x) *x = tga_w; if (y) *y = tga_h; if (comp) *comp = tga_comp; return 1; // seems to have passed everything } static int stbi__tga_test(stbi__context *s) { int res = 0; int sz, tga_color_type; stbi__get8(s); // discard Offset tga_color_type = stbi__get8(s); // color type if ( tga_color_type > 1 ) goto errorEnd; // only RGB or indexed allowed sz = stbi__get8(s); // image type if ( tga_color_type == 1 ) { // colormapped (paletted) image if (sz != 1 && sz != 9) goto errorEnd; // colortype 1 demands image type 1 or 9 stbi__skip(s,4); // skip index of first colormap entry and number of entries sz = stbi__get8(s); // check bits per palette color entry if ( (sz != 8) && (sz != 15) && (sz != 16) && (sz != 24) && (sz != 32) ) goto errorEnd; stbi__skip(s,4); // skip image x and y origin } else { // "normal" image w/o colormap if ( (sz != 2) && (sz != 3) && (sz != 10) && (sz != 11) ) goto errorEnd; // only RGB or grey allowed, +/- RLE stbi__skip(s,9); // skip colormap specification and image x/y origin } if ( stbi__get16le(s) < 1 ) goto errorEnd; // test width if ( stbi__get16le(s) < 1 ) goto errorEnd; // test height sz = stbi__get8(s); // bits per pixel if ( (tga_color_type == 1) && (sz != 8) && (sz != 16) ) goto errorEnd; // for colormapped images, bpp is size of an index if ( (sz != 8) && (sz != 15) && (sz != 16) && (sz != 24) && (sz != 32) ) goto errorEnd; res = 1; // if we got this far, everything's good and we can return 1 instead of 0 errorEnd: stbi__rewind(s); return res; } // read 16bit value and convert to 24bit RGB static void stbi__tga_read_rgb16(stbi__context *s, stbi_uc* out) { stbi__uint16 px = (stbi__uint16)stbi__get16le(s); stbi__uint16 fiveBitMask = 31; // we have 3 channels with 5bits each int r = (px >> 10) & fiveBitMask; int g = (px >> 5) & fiveBitMask; int b = px & fiveBitMask; // Note that this saves the data in RGB(A) order, so it doesn't need to be swapped later out[0] = (stbi_uc)((r * 255)/31); out[1] = (stbi_uc)((g * 255)/31); out[2] = (stbi_uc)((b * 255)/31); // some people claim that the most significant bit might be used for alpha // (possibly if an alpha-bit is set in the "image descriptor byte") // but that only made 16bit test images completely translucent.. // so let's treat all 15 and 16bit TGAs as RGB with no alpha. } static void *stbi__tga_load(stbi__context *s, int *x, int *y, int *comp, int req_comp, stbi__result_info *ri) { // read in the TGA header stuff int tga_offset = stbi__get8(s); int tga_indexed = stbi__get8(s); int tga_image_type = stbi__get8(s); int tga_is_RLE = 0; int tga_palette_start = stbi__get16le(s); int tga_palette_len = stbi__get16le(s); int tga_palette_bits = stbi__get8(s); int tga_x_origin = stbi__get16le(s); int tga_y_origin = stbi__get16le(s); int tga_width = stbi__get16le(s); int tga_height = stbi__get16le(s); int tga_bits_per_pixel = stbi__get8(s); int tga_comp, tga_rgb16=0; int tga_inverted = stbi__get8(s); // int tga_alpha_bits = tga_inverted & 15; // the 4 lowest bits - unused (useless?) // image data unsigned char *tga_data; unsigned char *tga_palette = NULL; int i, j; unsigned char raw_data[4] = {0}; int RLE_count = 0; int RLE_repeating = 0; int read_next_pixel = 1; STBI_NOTUSED(ri); // do a tiny bit of precessing if ( tga_image_type >= 8 ) { tga_image_type -= 8; tga_is_RLE = 1; } tga_inverted = 1 - ((tga_inverted >> 5) & 1); // If I'm paletted, then I'll use the number of bits from the palette if ( tga_indexed ) tga_comp = stbi__tga_get_comp(tga_palette_bits, 0, &tga_rgb16); else tga_comp = stbi__tga_get_comp(tga_bits_per_pixel, (tga_image_type == 3), &tga_rgb16); if(!tga_comp) // shouldn't really happen, stbi__tga_test() should have ensured basic consistency return stbi__errpuc("bad format", "Can't find out TGA pixelformat"); // tga info *x = tga_width; *y = tga_height; if (comp) *comp = tga_comp; if (!stbi__mad3sizes_valid(tga_width, tga_height, tga_comp, 0)) return stbi__errpuc("too large", "Corrupt TGA"); tga_data = (unsigned char*)stbi__malloc_mad3(tga_width, tga_height, tga_comp, 0); if (!tga_data) return stbi__errpuc("outofmem", "Out of memory"); // skip to the data's starting position (offset usually = 0) stbi__skip(s, tga_offset ); if ( !tga_indexed && !tga_is_RLE && !tga_rgb16 ) { for (i=0; i < tga_height; ++i) { int row = tga_inverted ? tga_height -i - 1 : i; stbi_uc *tga_row = tga_data + row*tga_width*tga_comp; stbi__getn(s, tga_row, tga_width * tga_comp); } } else { // do I need to load a palette? if ( tga_indexed) { // any data to skip? (offset usually = 0) stbi__skip(s, tga_palette_start ); // load the palette tga_palette = (unsigned char*)stbi__malloc_mad2(tga_palette_len, tga_comp, 0); if (!tga_palette) { STBI_FREE(tga_data); return stbi__errpuc("outofmem", "Out of memory"); } if (tga_rgb16) { stbi_uc *pal_entry = tga_palette; STBI_ASSERT(tga_comp == STBI_rgb); for (i=0; i < tga_palette_len; ++i) { stbi__tga_read_rgb16(s, pal_entry); pal_entry += tga_comp; } } else if (!stbi__getn(s, tga_palette, tga_palette_len * tga_comp)) { STBI_FREE(tga_data); STBI_FREE(tga_palette); return stbi__errpuc("bad palette", "Corrupt TGA"); } } // load the data for (i=0; i < tga_width * tga_height; ++i) { // if I'm in RLE mode, do I need to get a RLE stbi__pngchunk? if ( tga_is_RLE ) { if ( RLE_count == 0 ) { // yep, get the next byte as a RLE command int RLE_cmd = stbi__get8(s); RLE_count = 1 + (RLE_cmd & 127); RLE_repeating = RLE_cmd >> 7; read_next_pixel = 1; } else if ( !RLE_repeating ) { read_next_pixel = 1; } } else { read_next_pixel = 1; } // OK, if I need to read a pixel, do it now if ( read_next_pixel ) { // load however much data we did have if ( tga_indexed ) { // read in index, then perform the lookup int pal_idx = (tga_bits_per_pixel == 8) ? stbi__get8(s) : stbi__get16le(s); if ( pal_idx >= tga_palette_len ) { // invalid index pal_idx = 0; } pal_idx *= tga_comp; for (j = 0; j < tga_comp; ++j) { raw_data[j] = tga_palette[pal_idx+j]; } } else if(tga_rgb16) { STBI_ASSERT(tga_comp == STBI_rgb); stbi__tga_read_rgb16(s, raw_data); } else { // read in the data raw for (j = 0; j < tga_comp; ++j) { raw_data[j] = stbi__get8(s); } } // clear the reading flag for the next pixel read_next_pixel = 0; } // end of reading a pixel // copy data for (j = 0; j < tga_comp; ++j) tga_data[i*tga_comp+j] = raw_data[j]; // in case we're in RLE mode, keep counting down --RLE_count; } // do I need to invert the image? if ( tga_inverted ) { for (j = 0; j*2 < tga_height; ++j) { int index1 = j * tga_width * tga_comp; int index2 = (tga_height - 1 - j) * tga_width * tga_comp; for (i = tga_width * tga_comp; i > 0; --i) { unsigned char temp = tga_data[index1]; tga_data[index1] = tga_data[index2]; tga_data[index2] = temp; ++index1; ++index2; } } } // clear my palette, if I had one if ( tga_palette != NULL ) { STBI_FREE( tga_palette ); } } // swap RGB - if the source data was RGB16, it already is in the right order if (tga_comp >= 3 && !tga_rgb16) { unsigned char* tga_pixel = tga_data; for (i=0; i < tga_width * tga_height; ++i) { unsigned char temp = tga_pixel[0]; tga_pixel[0] = tga_pixel[2]; tga_pixel[2] = temp; tga_pixel += tga_comp; } } // convert to target component count if (req_comp && req_comp != tga_comp) tga_data = stbi__convert_format(tga_data, tga_comp, req_comp, tga_width, tga_height); // the things I do to get rid of an error message, and yet keep // Microsoft's C compilers happy... [8^( tga_palette_start = tga_palette_len = tga_palette_bits = tga_x_origin = tga_y_origin = 0; // OK, done return tga_data; } #endif // ************************************************************************************************* // Photoshop PSD loader -- PD by Thatcher Ulrich, integration by Nicolas Schulz, tweaked by STB #ifndef STBI_NO_PSD static int stbi__psd_test(stbi__context *s) { int r = (stbi__get32be(s) == 0x38425053); stbi__rewind(s); return r; } static int stbi__psd_decode_rle(stbi__context *s, stbi_uc *p, int pixelCount) { int count, nleft, len; count = 0; while ((nleft = pixelCount - count) > 0) { len = stbi__get8(s); if (len == 128) { // No-op. } else if (len < 128) { // Copy next len+1 bytes literally. len++; if (len > nleft) return 0; // corrupt data count += len; while (len) { *p = stbi__get8(s); p += 4; len--; } } else if (len > 128) { stbi_uc val; // Next -len+1 bytes in the dest are replicated from next source byte. // (Interpret len as a negative 8-bit int.) len = 257 - len; if (len > nleft) return 0; // corrupt data val = stbi__get8(s); count += len; while (len) { *p = val; p += 4; len--; } } } return 1; } static void *stbi__psd_load(stbi__context *s, int *x, int *y, int *comp, int req_comp, stbi__result_info *ri, int bpc) { int pixelCount; int channelCount, compression; int channel, i; int bitdepth; int w,h; stbi_uc *out; STBI_NOTUSED(ri); // Check identifier if (stbi__get32be(s) != 0x38425053) // "8BPS" return stbi__errpuc("not PSD", "Corrupt PSD image"); // Check file type version. if (stbi__get16be(s) != 1) return stbi__errpuc("wrong version", "Unsupported version of PSD image"); // Skip 6 reserved bytes. stbi__skip(s, 6 ); // Read the number of channels (R, G, B, A, etc). channelCount = stbi__get16be(s); if (channelCount < 0 || channelCount > 16) return stbi__errpuc("wrong channel count", "Unsupported number of channels in PSD image"); // Read the rows and columns of the image. h = stbi__get32be(s); w = stbi__get32be(s); // Make sure the depth is 8 bits. bitdepth = stbi__get16be(s); if (bitdepth != 8 && bitdepth != 16) return stbi__errpuc("unsupported bit depth", "PSD bit depth is not 8 or 16 bit"); // Make sure the color mode is RGB. // Valid options are: // 0: Bitmap // 1: Grayscale // 2: Indexed color // 3: RGB color // 4: CMYK color // 7: Multichannel // 8: Duotone // 9: Lab color if (stbi__get16be(s) != 3) return stbi__errpuc("wrong color format", "PSD is not in RGB color format"); // Skip the Mode Data. (It's the palette for indexed color; other info for other modes.) stbi__skip(s,stbi__get32be(s) ); // Skip the image resources. (resolution, pen tool paths, etc) stbi__skip(s, stbi__get32be(s) ); // Skip the reserved data. stbi__skip(s, stbi__get32be(s) ); // Find out if the data is compressed. // Known values: // 0: no compression // 1: RLE compressed compression = stbi__get16be(s); if (compression > 1) return stbi__errpuc("bad compression", "PSD has an unknown compression format"); // Check size if (!stbi__mad3sizes_valid(4, w, h, 0)) return stbi__errpuc("too large", "Corrupt PSD"); // Create the destination image. if (!compression && bitdepth == 16 && bpc == 16) { out = (stbi_uc *) stbi__malloc_mad3(8, w, h, 0); ri->bits_per_channel = 16; } else out = (stbi_uc *) stbi__malloc(4 * w*h); if (!out) return stbi__errpuc("outofmem", "Out of memory"); pixelCount = w*h; // Initialize the data to zero. //memset( out, 0, pixelCount * 4 ); // Finally, the image data. if (compression) { // RLE as used by .PSD and .TIFF // Loop until you get the number of unpacked bytes you are expecting: // Read the next source byte into n. // If n is between 0 and 127 inclusive, copy the next n+1 bytes literally. // Else if n is between -127 and -1 inclusive, copy the next byte -n+1 times. // Else if n is 128, noop. // Endloop // The RLE-compressed data is preceded by a 2-byte data count for each row in the data, // which we're going to just skip. stbi__skip(s, h * channelCount * 2 ); // Read the RLE data by channel. for (channel = 0; channel < 4; channel++) { stbi_uc *p; p = out+channel; if (channel >= channelCount) { // Fill this channel with default data. for (i = 0; i < pixelCount; i++, p += 4) *p = (channel == 3 ? 255 : 0); } else { // Read the RLE data. if (!stbi__psd_decode_rle(s, p, pixelCount)) { STBI_FREE(out); return stbi__errpuc("corrupt", "bad RLE data"); } } } } else { // We're at the raw image data. It's each channel in order (Red, Green, Blue, Alpha, ...) // where each channel consists of an 8-bit (or 16-bit) value for each pixel in the image. // Read the data by channel. for (channel = 0; channel < 4; channel++) { if (channel >= channelCount) { // Fill this channel with default data. if (bitdepth == 16 && bpc == 16) { stbi__uint16 *q = ((stbi__uint16 *) out) + channel; stbi__uint16 val = channel == 3 ? 65535 : 0; for (i = 0; i < pixelCount; i++, q += 4) *q = val; } else { stbi_uc *p = out+channel; stbi_uc val = channel == 3 ? 255 : 0; for (i = 0; i < pixelCount; i++, p += 4) *p = val; } } else { if (ri->bits_per_channel == 16) { // output bpc stbi__uint16 *q = ((stbi__uint16 *) out) + channel; for (i = 0; i < pixelCount; i++, q += 4) *q = (stbi__uint16) stbi__get16be(s); } else { stbi_uc *p = out+channel; if (bitdepth == 16) { // input bpc for (i = 0; i < pixelCount; i++, p += 4) *p = (stbi_uc) (stbi__get16be(s) >> 8); } else { for (i = 0; i < pixelCount; i++, p += 4) *p = stbi__get8(s); } } } } } // remove weird white matte from PSD if (channelCount >= 4) { if (ri->bits_per_channel == 16) { for (i=0; i < w*h; ++i) { stbi__uint16 *pixel = (stbi__uint16 *) out + 4*i; if (pixel[3] != 0 && pixel[3] != 65535) { float a = pixel[3] / 65535.0f; float ra = 1.0f / a; float inv_a = 65535.0f * (1 - ra); pixel[0] = (stbi__uint16) (pixel[0]*ra + inv_a); pixel[1] = (stbi__uint16) (pixel[1]*ra + inv_a); pixel[2] = (stbi__uint16) (pixel[2]*ra + inv_a); } } } else { for (i=0; i < w*h; ++i) { unsigned char *pixel = out + 4*i; if (pixel[3] != 0 && pixel[3] != 255) { float a = pixel[3] / 255.0f; float ra = 1.0f / a; float inv_a = 255.0f * (1 - ra); pixel[0] = (unsigned char) (pixel[0]*ra + inv_a); pixel[1] = (unsigned char) (pixel[1]*ra + inv_a); pixel[2] = (unsigned char) (pixel[2]*ra + inv_a); } } } } // convert to desired output format if (req_comp && req_comp != 4) { if (ri->bits_per_channel == 16) out = (stbi_uc *) stbi__convert_format16((stbi__uint16 *) out, 4, req_comp, w, h); else out = stbi__convert_format(out, 4, req_comp, w, h); if (out == NULL) return out; // stbi__convert_format frees input on failure } if (comp) *comp = 4; *y = h; *x = w; return out; } #endif // ************************************************************************************************* // Softimage PIC loader // by Tom Seddon // // See http://softimage.wiki.softimage.com/index.php/INFO:_PIC_file_format // See http://ozviz.wasp.uwa.edu.au/~pbourke/dataformats/softimagepic/ #ifndef STBI_NO_PIC static int stbi__pic_is4(stbi__context *s,const char *str) { int i; for (i=0; i<4; ++i) if (stbi__get8(s) != (stbi_uc)str[i]) return 0; return 1; } static int stbi__pic_test_core(stbi__context *s) { int i; if (!stbi__pic_is4(s,"\x53\x80\xF6\x34")) return 0; for(i=0;i<84;++i) stbi__get8(s); if (!stbi__pic_is4(s,"PICT")) return 0; return 1; } typedef struct { stbi_uc size,type,channel; } stbi__pic_packet; static stbi_uc *stbi__readval(stbi__context *s, int channel, stbi_uc *dest) { int mask=0x80, i; for (i=0; i<4; ++i, mask>>=1) { if (channel & mask) { if (stbi__at_eof(s)) return stbi__errpuc("bad file","PIC file too short"); dest[i]=stbi__get8(s); } } return dest; } static void stbi__copyval(int channel,stbi_uc *dest,const stbi_uc *src) { int mask=0x80,i; for (i=0;i<4; ++i, mask>>=1) if (channel&mask) dest[i]=src[i]; } static stbi_uc *stbi__pic_load_core(stbi__context *s,int width,int height,int *comp, stbi_uc *result) { int act_comp=0,num_packets=0,y,chained; stbi__pic_packet packets[10]; // this will (should...) cater for even some bizarre stuff like having data // for the same channel in multiple packets. do { stbi__pic_packet *packet; if (num_packets==sizeof(packets)/sizeof(packets[0])) return stbi__errpuc("bad format","too many packets"); packet = &packets[num_packets++]; chained = stbi__get8(s); packet->size = stbi__get8(s); packet->type = stbi__get8(s); packet->channel = stbi__get8(s); act_comp |= packet->channel; if (stbi__at_eof(s)) return stbi__errpuc("bad file","file too short (reading packets)"); if (packet->size != 8) return stbi__errpuc("bad format","packet isn't 8bpp"); } while (chained); *comp = (act_comp & 0x10 ? 4 : 3); // has alpha channel? for(y=0; y<height; ++y) { int packet_idx; for(packet_idx=0; packet_idx < num_packets; ++packet_idx) { stbi__pic_packet *packet = &packets[packet_idx]; stbi_uc *dest = result+y*width*4; switch (packet->type) { default: return stbi__errpuc("bad format","packet has bad compression type"); case 0: {//uncompressed int x; for(x=0;x<width;++x, dest+=4) if (!stbi__readval(s,packet->channel,dest)) return 0; break; } case 1://Pure RLE { int left=width, i; while (left>0) { stbi_uc count,value[4]; count=stbi__get8(s); if (stbi__at_eof(s)) return stbi__errpuc("bad file","file too short (pure read count)"); if (count > left) count = (stbi_uc) left; if (!stbi__readval(s,packet->channel,value)) return 0; for(i=0; i<count; ++i,dest+=4) stbi__copyval(packet->channel,dest,value); left -= count; } } break; case 2: {//Mixed RLE int left=width; while (left>0) { int count = stbi__get8(s), i; if (stbi__at_eof(s)) return stbi__errpuc("bad file","file too short (mixed read count)"); if (count >= 128) { // Repeated stbi_uc value[4]; if (count==128) count = stbi__get16be(s); else count -= 127; if (count > left) return stbi__errpuc("bad file","scanline overrun"); if (!stbi__readval(s,packet->channel,value)) return 0; for(i=0;i<count;++i, dest += 4) stbi__copyval(packet->channel,dest,value); } else { // Raw ++count; if (count>left) return stbi__errpuc("bad file","scanline overrun"); for(i=0;i<count;++i, dest+=4) if (!stbi__readval(s,packet->channel,dest)) return 0; } left-=count; } break; } } } } return result; } static void *stbi__pic_load(stbi__context *s,int *px,int *py,int *comp,int req_comp, stbi__result_info *ri) { stbi_uc *result; int i, x,y, internal_comp; STBI_NOTUSED(ri); if (!comp) comp = &internal_comp; for (i=0; i<92; ++i) stbi__get8(s); x = stbi__get16be(s); y = stbi__get16be(s); if (stbi__at_eof(s)) return stbi__errpuc("bad file","file too short (pic header)"); if (!stbi__mad3sizes_valid(x, y, 4, 0)) return stbi__errpuc("too large", "PIC image too large to decode"); stbi__get32be(s); //skip `ratio' stbi__get16be(s); //skip `fields' stbi__get16be(s); //skip `pad' // intermediate buffer is RGBA result = (stbi_uc *) stbi__malloc_mad3(x, y, 4, 0); memset(result, 0xff, x*y*4); if (!stbi__pic_load_core(s,x,y,comp, result)) { STBI_FREE(result); result=0; } *px = x; *py = y; if (req_comp == 0) req_comp = *comp; result=stbi__convert_format(result,4,req_comp,x,y); return result; } static int stbi__pic_test(stbi__context *s) { int r = stbi__pic_test_core(s); stbi__rewind(s); return r; } #endif // ************************************************************************************************* // GIF loader -- public domain by Jean-Marc Lienher -- simplified/shrunk by stb #ifndef STBI_NO_GIF typedef struct { stbi__int16 prefix; stbi_uc first; stbi_uc suffix; } stbi__gif_lzw; typedef struct { int w,h; stbi_uc *out; // output buffer (always 4 components) stbi_uc *background; // The current "background" as far as a gif is concerned stbi_uc *history; int flags, bgindex, ratio, transparent, eflags; stbi_uc pal[256][4]; stbi_uc lpal[256][4]; stbi__gif_lzw codes[8192]; stbi_uc *color_table; int parse, step; int lflags; int start_x, start_y; int max_x, max_y; int cur_x, cur_y; int line_size; int delay; } stbi__gif; static int stbi__gif_test_raw(stbi__context *s) { int sz; if (stbi__get8(s) != 'G' || stbi__get8(s) != 'I' || stbi__get8(s) != 'F' || stbi__get8(s) != '8') return 0; sz = stbi__get8(s); if (sz != '9' && sz != '7') return 0; if (stbi__get8(s) != 'a') return 0; return 1; } static int stbi__gif_test(stbi__context *s) { int r = stbi__gif_test_raw(s); stbi__rewind(s); return r; } static void stbi__gif_parse_colortable(stbi__context *s, stbi_uc pal[256][4], int num_entries, int transp) { int i; for (i=0; i < num_entries; ++i) { pal[i][2] = stbi__get8(s); pal[i][1] = stbi__get8(s); pal[i][0] = stbi__get8(s); pal[i][3] = transp == i ? 0 : 255; } } static int stbi__gif_header(stbi__context *s, stbi__gif *g, int *comp, int is_info) { stbi_uc version; if (stbi__get8(s) != 'G' || stbi__get8(s) != 'I' || stbi__get8(s) != 'F' || stbi__get8(s) != '8') return stbi__err("not GIF", "Corrupt GIF"); version = stbi__get8(s); if (version != '7' && version != '9') return stbi__err("not GIF", "Corrupt GIF"); if (stbi__get8(s) != 'a') return stbi__err("not GIF", "Corrupt GIF"); stbi__g_failure_reason = ""; g->w = stbi__get16le(s); g->h = stbi__get16le(s); g->flags = stbi__get8(s); g->bgindex = stbi__get8(s); g->ratio = stbi__get8(s); g->transparent = -1; if (comp != 0) *comp = 4; // can't actually tell whether it's 3 or 4 until we parse the comments if (is_info) return 1; if (g->flags & 0x80) stbi__gif_parse_colortable(s,g->pal, 2 << (g->flags & 7), -1); return 1; } static int stbi__gif_info_raw(stbi__context *s, int *x, int *y, int *comp) { stbi__gif* g = (stbi__gif*) stbi__malloc(sizeof(stbi__gif)); if (!stbi__gif_header(s, g, comp, 1)) { STBI_FREE(g); stbi__rewind( s ); return 0; } if (x) *x = g->w; if (y) *y = g->h; STBI_FREE(g); return 1; } static void stbi__out_gif_code(stbi__gif *g, stbi__uint16 code) { stbi_uc *p, *c; int idx; // recurse to decode the prefixes, since the linked-list is backwards, // and working backwards through an interleaved image would be nasty if (g->codes[code].prefix >= 0) stbi__out_gif_code(g, g->codes[code].prefix); if (g->cur_y >= g->max_y) return; idx = g->cur_x + g->cur_y; p = &g->out[idx]; g->history[idx / 4] = 1; c = &g->color_table[g->codes[code].suffix * 4]; if (c[3] > 128) { // don't render transparent pixels; p[0] = c[2]; p[1] = c[1]; p[2] = c[0]; p[3] = c[3]; } g->cur_x += 4; if (g->cur_x >= g->max_x) { g->cur_x = g->start_x; g->cur_y += g->step; while (g->cur_y >= g->max_y && g->parse > 0) { g->step = (1 << g->parse) * g->line_size; g->cur_y = g->start_y + (g->step >> 1); --g->parse; } } } static stbi_uc *stbi__process_gif_raster(stbi__context *s, stbi__gif *g) { stbi_uc lzw_cs; stbi__int32 len, init_code; stbi__uint32 first; stbi__int32 codesize, codemask, avail, oldcode, bits, valid_bits, clear; stbi__gif_lzw *p; lzw_cs = stbi__get8(s); if (lzw_cs > 12) return NULL; clear = 1 << lzw_cs; first = 1; codesize = lzw_cs + 1; codemask = (1 << codesize) - 1; bits = 0; valid_bits = 0; for (init_code = 0; init_code < clear; init_code++) { g->codes[init_code].prefix = -1; g->codes[init_code].first = (stbi_uc) init_code; g->codes[init_code].suffix = (stbi_uc) init_code; } // support no starting clear code avail = clear+2; oldcode = -1; len = 0; for(;;) { if (valid_bits < codesize) { if (len == 0) { len = stbi__get8(s); // start new block if (len == 0) return g->out; } --len; bits |= (stbi__int32) stbi__get8(s) << valid_bits; valid_bits += 8; } else { stbi__int32 code = bits & codemask; bits >>= codesize; valid_bits -= codesize; // @OPTIMIZE: is there some way we can accelerate the non-clear path? if (code == clear) { // clear code codesize = lzw_cs + 1; codemask = (1 << codesize) - 1; avail = clear + 2; oldcode = -1; first = 0; } else if (code == clear + 1) { // end of stream code stbi__skip(s, len); while ((len = stbi__get8(s)) > 0) stbi__skip(s,len); return g->out; } else if (code <= avail) { if (first) { return stbi__errpuc("no clear code", "Corrupt GIF"); } if (oldcode >= 0) { p = &g->codes[avail++]; if (avail > 8192) { return stbi__errpuc("too many codes", "Corrupt GIF"); } p->prefix = (stbi__int16) oldcode; p->first = g->codes[oldcode].first; p->suffix = (code == avail) ? p->first : g->codes[code].first; } else if (code == avail) return stbi__errpuc("illegal code in raster", "Corrupt GIF"); stbi__out_gif_code(g, (stbi__uint16) code); if ((avail & codemask) == 0 && avail <= 0x0FFF) { codesize++; codemask = (1 << codesize) - 1; } oldcode = code; } else { return stbi__errpuc("illegal code in raster", "Corrupt GIF"); } } } } // this function is designed to support animated gifs, although stb_image doesn't support it // two back is the image from two frames ago, used for a very specific disposal format static stbi_uc *stbi__gif_load_next(stbi__context *s, stbi__gif *g, int *comp, int req_comp, stbi_uc *two_back) { int dispose; int first_frame; int pi; int pcount; STBI_NOTUSED(req_comp); // on first frame, any non-written pixels get the background colour (non-transparent) first_frame = 0; if (g->out == 0) { if (!stbi__gif_header(s, g, comp,0)) return 0; // stbi__g_failure_reason set by stbi__gif_header if (!stbi__mad3sizes_valid(4, g->w, g->h, 0)) return stbi__errpuc("too large", "GIF image is too large"); pcount = g->w * g->h; g->out = (stbi_uc *) stbi__malloc(4 * pcount); g->background = (stbi_uc *) stbi__malloc(4 * pcount); g->history = (stbi_uc *) stbi__malloc(pcount); if (!g->out || !g->background || !g->history) return stbi__errpuc("outofmem", "Out of memory"); // image is treated as "transparent" at the start - ie, nothing overwrites the current background; // background colour is only used for pixels that are not rendered first frame, after that "background" // color refers to the color that was there the previous frame. memset(g->out, 0x00, 4 * pcount); memset(g->background, 0x00, 4 * pcount); // state of the background (starts transparent) memset(g->history, 0x00, pcount); // pixels that were affected previous frame first_frame = 1; } else { // second frame - how do we dispoase of the previous one? dispose = (g->eflags & 0x1C) >> 2; pcount = g->w * g->h; if ((dispose == 3) && (two_back == 0)) { dispose = 2; // if I don't have an image to revert back to, default to the old background } if (dispose == 3) { // use previous graphic for (pi = 0; pi < pcount; ++pi) { if (g->history[pi]) { memcpy( &g->out[pi * 4], &two_back[pi * 4], 4 ); } } } else if (dispose == 2) { // restore what was changed last frame to background before that frame; for (pi = 0; pi < pcount; ++pi) { if (g->history[pi]) { memcpy( &g->out[pi * 4], &g->background[pi * 4], 4 ); } } } else { // This is a non-disposal case eithe way, so just // leave the pixels as is, and they will become the new background // 1: do not dispose // 0: not specified. } // background is what out is after the undoing of the previou frame; memcpy( g->background, g->out, 4 * g->w * g->h ); } // clear my history; memset( g->history, 0x00, g->w * g->h ); // pixels that were affected previous frame for (;;) { int tag = stbi__get8(s); switch (tag) { case 0x2C: /* Image Descriptor */ { stbi__int32 x, y, w, h; stbi_uc *o; x = stbi__get16le(s); y = stbi__get16le(s); w = stbi__get16le(s); h = stbi__get16le(s); if (((x + w) > (g->w)) || ((y + h) > (g->h))) return stbi__errpuc("bad Image Descriptor", "Corrupt GIF"); g->line_size = g->w * 4; g->start_x = x * 4; g->start_y = y * g->line_size; g->max_x = g->start_x + w * 4; g->max_y = g->start_y + h * g->line_size; g->cur_x = g->start_x; g->cur_y = g->start_y; // if the width of the specified rectangle is 0, that means // we may not see *any* pixels or the image is malformed; // to make sure this is caught, move the current y down to // max_y (which is what out_gif_code checks). if (w == 0) g->cur_y = g->max_y; g->lflags = stbi__get8(s); if (g->lflags & 0x40) { g->step = 8 * g->line_size; // first interlaced spacing g->parse = 3; } else { g->step = g->line_size; g->parse = 0; } if (g->lflags & 0x80) { stbi__gif_parse_colortable(s,g->lpal, 2 << (g->lflags & 7), g->eflags & 0x01 ? g->transparent : -1); g->color_table = (stbi_uc *) g->lpal; } else if (g->flags & 0x80) { g->color_table = (stbi_uc *) g->pal; } else return stbi__errpuc("missing color table", "Corrupt GIF"); o = stbi__process_gif_raster(s, g); if (!o) return NULL; // if this was the first frame, pcount = g->w * g->h; if (first_frame && (g->bgindex > 0)) { // if first frame, any pixel not drawn to gets the background color for (pi = 0; pi < pcount; ++pi) { if (g->history[pi] == 0) { g->pal[g->bgindex][3] = 255; // just in case it was made transparent, undo that; It will be reset next frame if need be; memcpy( &g->out[pi * 4], &g->pal[g->bgindex], 4 ); } } } return o; } case 0x21: // Comment Extension. { int len; int ext = stbi__get8(s); if (ext == 0xF9) { // Graphic Control Extension. len = stbi__get8(s); if (len == 4) { g->eflags = stbi__get8(s); g->delay = 10 * stbi__get16le(s); // delay - 1/100th of a second, saving as 1/1000ths. // unset old transparent if (g->transparent >= 0) { g->pal[g->transparent][3] = 255; } if (g->eflags & 0x01) { g->transparent = stbi__get8(s); if (g->transparent >= 0) { g->pal[g->transparent][3] = 0; } } else { // don't need transparent stbi__skip(s, 1); g->transparent = -1; } } else { stbi__skip(s, len); break; } } while ((len = stbi__get8(s)) != 0) { stbi__skip(s, len); } break; } case 0x3B: // gif stream termination code return (stbi_uc *) s; // using '1' causes warning on some compilers default: return stbi__errpuc("unknown code", "Corrupt GIF"); } } } static void *stbi__load_gif_main(stbi__context *s, int **delays, int *x, int *y, int *z, int *comp, int req_comp) { if (stbi__gif_test(s)) { int layers = 0; stbi_uc *u = 0; stbi_uc *out = 0; stbi_uc *two_back = 0; stbi__gif g; int stride; memset(&g, 0, sizeof(g)); if (delays) { *delays = 0; } do { u = stbi__gif_load_next(s, &g, comp, req_comp, two_back); if (u == (stbi_uc *) s) u = 0; // end of animated gif marker if (u) { *x = g.w; *y = g.h; ++layers; stride = g.w * g.h * 4; if (out) { out = (stbi_uc*) STBI_REALLOC( out, layers * stride ); if (delays) { *delays = (int*) STBI_REALLOC( *delays, sizeof(int) * layers ); } } else { out = (stbi_uc*)stbi__malloc( layers * stride ); if (delays) { *delays = (int*) stbi__malloc( layers * sizeof(int) ); } } memcpy( out + ((layers - 1) * stride), u, stride ); if (layers >= 2) { two_back = out - 2 * stride; } if (delays) { (*delays)[layers - 1U] = g.delay; } } } while (u != 0); // free temp buffer; STBI_FREE(g.out); STBI_FREE(g.history); STBI_FREE(g.background); // do the final conversion after loading everything; if (req_comp && req_comp != 4) out = stbi__convert_format(out, 4, req_comp, layers * g.w, g.h); *z = layers; return out; } else { return stbi__errpuc("not GIF", "Image was not as a gif type."); } } static void *stbi__gif_load(stbi__context *s, int *x, int *y, int *comp, int req_comp, stbi__result_info *ri) { stbi_uc *u = 0; stbi__gif g; memset(&g, 0, sizeof(g)); STBI_NOTUSED(ri); u = stbi__gif_load_next(s, &g, comp, req_comp, 0); if (u == (stbi_uc *) s) u = 0; // end of animated gif marker if (u) { *x = g.w; *y = g.h; // moved conversion to after successful load so that the same // can be done for multiple frames. if (req_comp && req_comp != 4) u = stbi__convert_format(u, 4, req_comp, g.w, g.h); } else if (g.out) { // if there was an error and we allocated an image buffer, free it! STBI_FREE(g.out); } // free buffers needed for multiple frame loading; STBI_FREE(g.history); STBI_FREE(g.background); return u; } static int stbi__gif_info(stbi__context *s, int *x, int *y, int *comp) { return stbi__gif_info_raw(s,x,y,comp); } #endif // ************************************************************************************************* // Radiance RGBE HDR loader // originally by Nicolas Schulz #ifndef STBI_NO_HDR static int stbi__hdr_test_core(stbi__context *s, const char *signature) { int i; for (i=0; signature[i]; ++i) if (stbi__get8(s) != signature[i]) return 0; stbi__rewind(s); return 1; } static int stbi__hdr_test(stbi__context* s) { int r = stbi__hdr_test_core(s, "#?RADIANCE\n"); stbi__rewind(s); if(!r) { r = stbi__hdr_test_core(s, "#?RGBE\n"); stbi__rewind(s); } return r; } #define STBI__HDR_BUFLEN 1024 static char *stbi__hdr_gettoken(stbi__context *z, char *buffer) { int len=0; char c = '\0'; c = (char) stbi__get8(z); while (!stbi__at_eof(z) && c != '\n') { buffer[len++] = c; if (len == STBI__HDR_BUFLEN-1) { // flush to end of line while (!stbi__at_eof(z) && stbi__get8(z) != '\n') ; break; } c = (char) stbi__get8(z); } buffer[len] = 0; return buffer; } static void stbi__hdr_convert(float *output, stbi_uc *input, int req_comp) { if ( input[3] != 0 ) { float f1; // Exponent f1 = (float) ldexp(1.0f, input[3] - (int)(128 + 8)); if (req_comp <= 2) output[0] = (input[0] + input[1] + input[2]) * f1 / 3; else { output[0] = input[0] * f1; output[1] = input[1] * f1; output[2] = input[2] * f1; } if (req_comp == 2) output[1] = 1; if (req_comp == 4) output[3] = 1; } else { switch (req_comp) { case 4: output[3] = 1; /* fallthrough */ case 3: output[0] = output[1] = output[2] = 0; break; case 2: output[1] = 1; /* fallthrough */ case 1: output[0] = 0; break; } } } static float *stbi__hdr_load(stbi__context *s, int *x, int *y, int *comp, int req_comp, stbi__result_info *ri) { char buffer[STBI__HDR_BUFLEN]; char *token; int valid = 0; int width, height; stbi_uc *scanline; float *hdr_data; int len; unsigned char count, value; int i, j, k, c1,c2, z; const char *headerToken; STBI_NOTUSED(ri); // Check identifier headerToken = stbi__hdr_gettoken(s,buffer); if (strcmp(headerToken, "#?RADIANCE") != 0 && strcmp(headerToken, "#?RGBE") != 0) return stbi__errpf("not HDR", "Corrupt HDR image"); // Parse header for(;;) { token = stbi__hdr_gettoken(s,buffer); if (token[0] == 0) break; if (strcmp(token, "FORMAT=32-bit_rle_rgbe") == 0) valid = 1; } if (!valid) return stbi__errpf("unsupported format", "Unsupported HDR format"); // Parse width and height // can't use sscanf() if we're not using stdio! token = stbi__hdr_gettoken(s,buffer); if (strncmp(token, "-Y ", 3)) return stbi__errpf("unsupported data layout", "Unsupported HDR format"); token += 3; height = (int) strtol(token, &token, 10); while (*token == ' ') ++token; if (strncmp(token, "+X ", 3)) return stbi__errpf("unsupported data layout", "Unsupported HDR format"); token += 3; width = (int) strtol(token, NULL, 10); *x = width; *y = height; if (comp) *comp = 3; if (req_comp == 0) req_comp = 3; if (!stbi__mad4sizes_valid(width, height, req_comp, sizeof(float), 0)) return stbi__errpf("too large", "HDR image is too large"); // Read data hdr_data = (float *) stbi__malloc_mad4(width, height, req_comp, sizeof(float), 0); if (!hdr_data) return stbi__errpf("outofmem", "Out of memory"); // Load image data // image data is stored as some number of sca if ( width < 8 || width >= 32768) { // Read flat data for (j=0; j < height; ++j) { for (i=0; i < width; ++i) { stbi_uc rgbe[4]; main_decode_loop: stbi__getn(s, rgbe, 4); stbi__hdr_convert(hdr_data + j * width * req_comp + i * req_comp, rgbe, req_comp); } } } else { // Read RLE-encoded data scanline = NULL; for (j = 0; j < height; ++j) { c1 = stbi__get8(s); c2 = stbi__get8(s); len = stbi__get8(s); if (c1 != 2 || c2 != 2 || (len & 0x80)) { // not run-length encoded, so we have to actually use THIS data as a decoded // pixel (note this can't be a valid pixel--one of RGB must be >= 128) stbi_uc rgbe[4]; rgbe[0] = (stbi_uc) c1; rgbe[1] = (stbi_uc) c2; rgbe[2] = (stbi_uc) len; rgbe[3] = (stbi_uc) stbi__get8(s); stbi__hdr_convert(hdr_data, rgbe, req_comp); i = 1; j = 0; STBI_FREE(scanline); goto main_decode_loop; // yes, this makes no sense } len <<= 8; len |= stbi__get8(s); if (len != width) { STBI_FREE(hdr_data); STBI_FREE(scanline); return stbi__errpf("invalid decoded scanline length", "corrupt HDR"); } if (scanline == NULL) { scanline = (stbi_uc *) stbi__malloc_mad2(width, 4, 0); if (!scanline) { STBI_FREE(hdr_data); return stbi__errpf("outofmem", "Out of memory"); } } for (k = 0; k < 4; ++k) { int nleft; i = 0; while ((nleft = width - i) > 0) { count = stbi__get8(s); if (count > 128) { // Run value = stbi__get8(s); count -= 128; if (count > nleft) { STBI_FREE(hdr_data); STBI_FREE(scanline); return stbi__errpf("corrupt", "bad RLE data in HDR"); } for (z = 0; z < count; ++z) scanline[i++ * 4 + k] = value; } else { // Dump if (count > nleft) { STBI_FREE(hdr_data); STBI_FREE(scanline); return stbi__errpf("corrupt", "bad RLE data in HDR"); } for (z = 0; z < count; ++z) scanline[i++ * 4 + k] = stbi__get8(s); } } } for (i=0; i < width; ++i) stbi__hdr_convert(hdr_data+(j*width + i)*req_comp, scanline + i*4, req_comp); } if (scanline) STBI_FREE(scanline); } return hdr_data; } static int stbi__hdr_info(stbi__context *s, int *x, int *y, int *comp) { char buffer[STBI__HDR_BUFLEN]; char *token; int valid = 0; int dummy; if (!x) x = &dummy; if (!y) y = &dummy; if (!comp) comp = &dummy; if (stbi__hdr_test(s) == 0) { stbi__rewind( s ); return 0; } for(;;) { token = stbi__hdr_gettoken(s,buffer); if (token[0] == 0) break; if (strcmp(token, "FORMAT=32-bit_rle_rgbe") == 0) valid = 1; } if (!valid) { stbi__rewind( s ); return 0; } token = stbi__hdr_gettoken(s,buffer); if (strncmp(token, "-Y ", 3)) { stbi__rewind( s ); return 0; } token += 3; *y = (int) strtol(token, &token, 10); while (*token == ' ') ++token; if (strncmp(token, "+X ", 3)) { stbi__rewind( s ); return 0; } token += 3; *x = (int) strtol(token, NULL, 10); *comp = 3; return 1; } #endif // STBI_NO_HDR #ifndef STBI_NO_BMP static int stbi__bmp_info(stbi__context *s, int *x, int *y, int *comp) { void *p; stbi__bmp_data info; info.all_a = 255; p = stbi__bmp_parse_header(s, &info); stbi__rewind( s ); if (p == NULL) return 0; if (x) *x = s->img_x; if (y) *y = s->img_y; if (comp) *comp = info.ma ? 4 : 3; return 1; } #endif #ifndef STBI_NO_PSD static int stbi__psd_info(stbi__context *s, int *x, int *y, int *comp) { int channelCount, dummy, depth; if (!x) x = &dummy; if (!y) y = &dummy; if (!comp) comp = &dummy; if (stbi__get32be(s) != 0x38425053) { stbi__rewind( s ); return 0; } if (stbi__get16be(s) != 1) { stbi__rewind( s ); return 0; } stbi__skip(s, 6); channelCount = stbi__get16be(s); if (channelCount < 0 || channelCount > 16) { stbi__rewind( s ); return 0; } *y = stbi__get32be(s); *x = stbi__get32be(s); depth = stbi__get16be(s); if (depth != 8 && depth != 16) { stbi__rewind( s ); return 0; } if (stbi__get16be(s) != 3) { stbi__rewind( s ); return 0; } *comp = 4; return 1; } static int stbi__psd_is16(stbi__context *s) { int channelCount, depth; if (stbi__get32be(s) != 0x38425053) { stbi__rewind( s ); return 0; } if (stbi__get16be(s) != 1) { stbi__rewind( s ); return 0; } stbi__skip(s, 6); channelCount = stbi__get16be(s); if (channelCount < 0 || channelCount > 16) { stbi__rewind( s ); return 0; } (void) stbi__get32be(s); (void) stbi__get32be(s); depth = stbi__get16be(s); if (depth != 16) { stbi__rewind( s ); return 0; } return 1; } #endif #ifndef STBI_NO_PIC static int stbi__pic_info(stbi__context *s, int *x, int *y, int *comp) { int act_comp=0,num_packets=0,chained,dummy; stbi__pic_packet packets[10]; if (!x) x = &dummy; if (!y) y = &dummy; if (!comp) comp = &dummy; if (!stbi__pic_is4(s,"\x53\x80\xF6\x34")) { stbi__rewind(s); return 0; } stbi__skip(s, 88); *x = stbi__get16be(s); *y = stbi__get16be(s); if (stbi__at_eof(s)) { stbi__rewind( s); return 0; } if ( (*x) != 0 && (1 << 28) / (*x) < (*y)) { stbi__rewind( s ); return 0; } stbi__skip(s, 8); do { stbi__pic_packet *packet; if (num_packets==sizeof(packets)/sizeof(packets[0])) return 0; packet = &packets[num_packets++]; chained = stbi__get8(s); packet->size = stbi__get8(s); packet->type = stbi__get8(s); packet->channel = stbi__get8(s); act_comp |= packet->channel; if (stbi__at_eof(s)) { stbi__rewind( s ); return 0; } if (packet->size != 8) { stbi__rewind( s ); return 0; } } while (chained); *comp = (act_comp & 0x10 ? 4 : 3); return 1; } #endif // ************************************************************************************************* // Portable Gray Map and Portable Pixel Map loader // by Ken Miller // // PGM: http://netpbm.sourceforge.net/doc/pgm.html // PPM: http://netpbm.sourceforge.net/doc/ppm.html // // Known limitations: // Does not support comments in the header section // Does not support ASCII image data (formats P2 and P3) // Does not support 16-bit-per-channel #ifndef STBI_NO_PNM static int stbi__pnm_test(stbi__context *s) { char p, t; p = (char) stbi__get8(s); t = (char) stbi__get8(s); if (p != 'P' || (t != '5' && t != '6')) { stbi__rewind( s ); return 0; } return 1; } static void *stbi__pnm_load(stbi__context *s, int *x, int *y, int *comp, int req_comp, stbi__result_info *ri) { stbi_uc *out; STBI_NOTUSED(ri); if (!stbi__pnm_info(s, (int *)&s->img_x, (int *)&s->img_y, (int *)&s->img_n)) return 0; *x = s->img_x; *y = s->img_y; if (comp) *comp = s->img_n; if (!stbi__mad3sizes_valid(s->img_n, s->img_x, s->img_y, 0)) return stbi__errpuc("too large", "PNM too large"); out = (stbi_uc *) stbi__malloc_mad3(s->img_n, s->img_x, s->img_y, 0); if (!out) return stbi__errpuc("outofmem", "Out of memory"); stbi__getn(s, out, s->img_n * s->img_x * s->img_y); if (req_comp && req_comp != s->img_n) { out = stbi__convert_format(out, s->img_n, req_comp, s->img_x, s->img_y); if (out == NULL) return out; // stbi__convert_format frees input on failure } return out; } static int stbi__pnm_isspace(char c) { return c == ' ' || c == '\t' || c == '\n' || c == '\v' || c == '\f' || c == '\r'; } static void stbi__pnm_skip_whitespace(stbi__context *s, char *c) { for (;;) { while (!stbi__at_eof(s) && stbi__pnm_isspace(*c)) *c = (char) stbi__get8(s); if (stbi__at_eof(s) || *c != '#') break; while (!stbi__at_eof(s) && *c != '\n' && *c != '\r' ) *c = (char) stbi__get8(s); } } static int stbi__pnm_isdigit(char c) { return c >= '0' && c <= '9'; } static int stbi__pnm_getinteger(stbi__context *s, char *c) { int value = 0; while (!stbi__at_eof(s) && stbi__pnm_isdigit(*c)) { value = value*10 + (*c - '0'); *c = (char) stbi__get8(s); } return value; } static int stbi__pnm_info(stbi__context *s, int *x, int *y, int *comp) { int maxv, dummy; char c, p, t; if (!x) x = &dummy; if (!y) y = &dummy; if (!comp) comp = &dummy; stbi__rewind(s); // Get identifier p = (char) stbi__get8(s); t = (char) stbi__get8(s); if (p != 'P' || (t != '5' && t != '6')) { stbi__rewind(s); return 0; } *comp = (t == '6') ? 3 : 1; // '5' is 1-component .pgm; '6' is 3-component .ppm c = (char) stbi__get8(s); stbi__pnm_skip_whitespace(s, &c); *x = stbi__pnm_getinteger(s, &c); // read width stbi__pnm_skip_whitespace(s, &c); *y = stbi__pnm_getinteger(s, &c); // read height stbi__pnm_skip_whitespace(s, &c); maxv = stbi__pnm_getinteger(s, &c); // read max value if (maxv > 255) return stbi__err("max value > 255", "PPM image not 8-bit"); else return 1; } #endif static int stbi__info_main(stbi__context *s, int *x, int *y, int *comp) { #ifndef STBI_NO_JPEG if (stbi__jpeg_info(s, x, y, comp)) return 1; #endif #ifndef STBI_NO_PNG if (stbi__png_info(s, x, y, comp)) return 1; #endif #ifndef STBI_NO_GIF if (stbi__gif_info(s, x, y, comp)) return 1; #endif #ifndef STBI_NO_BMP if (stbi__bmp_info(s, x, y, comp)) return 1; #endif #ifndef STBI_NO_PSD if (stbi__psd_info(s, x, y, comp)) return 1; #endif #ifndef STBI_NO_PIC if (stbi__pic_info(s, x, y, comp)) return 1; #endif #ifndef STBI_NO_PNM if (stbi__pnm_info(s, x, y, comp)) return 1; #endif #ifndef STBI_NO_HDR if (stbi__hdr_info(s, x, y, comp)) return 1; #endif // test tga last because it's a crappy test! #ifndef STBI_NO_TGA if (stbi__tga_info(s, x, y, comp)) return 1; #endif return stbi__err("unknown image type", "Image not of any known type, or corrupt"); } static int stbi__is_16_main(stbi__context *s) { #ifndef STBI_NO_PNG if (stbi__png_is16(s)) return 1; #endif #ifndef STBI_NO_PSD if (stbi__psd_is16(s)) return 1; #endif return 0; } #ifndef STBI_NO_STDIO STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) { FILE *f = stbi__fopen(filename, "rb"); int result; if (!f) return stbi__err("can't fopen", "Unable to open file"); result = stbi_info_from_file(f, x, y, comp); fclose(f); return result; } STBIDEF int stbi_info_from_file(FILE *f, int *x, int *y, int *comp) { int r; stbi__context s; long pos = ftell(f); stbi__start_file(&s, f); r = stbi__info_main(&s,x,y,comp); fseek(f,pos,SEEK_SET); return r; } STBIDEF int stbi_is_16_bit(char const *filename) { FILE *f = stbi__fopen(filename, "rb"); int result; if (!f) return stbi__err("can't fopen", "Unable to open file"); result = stbi_is_16_bit_from_file(f); fclose(f); return result; } STBIDEF int stbi_is_16_bit_from_file(FILE *f) { int r; stbi__context s; long pos = ftell(f); stbi__start_file(&s, f); r = stbi__is_16_main(&s); fseek(f,pos,SEEK_SET); return r; } #endif // !STBI_NO_STDIO STBIDEF int stbi_info_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp) { stbi__context s; stbi__start_mem(&s,buffer,len); return stbi__info_main(&s,x,y,comp); } STBIDEF int stbi_info_from_callbacks(stbi_io_callbacks const *c, void *user, int *x, int *y, int *comp) { stbi__context s; stbi__start_callbacks(&s, (stbi_io_callbacks *) c, user); return stbi__info_main(&s,x,y,comp); } STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) { stbi__context s; stbi__start_mem(&s,buffer,len); return stbi__is_16_main(&s); } STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) { stbi__context s; stbi__start_callbacks(&s, (stbi_io_callbacks *) c, user); return stbi__is_16_main(&s); } #endif // STB_IMAGE_IMPLEMENTATION /* revision history: 2.20 (2019-02-07) support utf8 filenames in Windows; fix warnings and platform ifdefs 2.19 (2018-02-11) fix warning 2.18 (2018-01-30) fix warnings 2.17 (2018-01-29) change sbti__shiftsigned to avoid clang -O2 bug 1-bit BMP *_is_16_bit api avoid warnings 2.16 (2017-07-23) all functions have 16-bit variants; STBI_NO_STDIO works again; compilation fixes; fix rounding in unpremultiply; optimize vertical flip; disable raw_len validation; documentation fixes 2.15 (2017-03-18) fix png-1,2,4 bug; now all Imagenet JPGs decode; warning fixes; disable run-time SSE detection on gcc; uniform handling of optional "return" values; thread-safe initialization of zlib tables 2.14 (2017-03-03) remove deprecated STBI_JPEG_OLD; fixes for Imagenet JPGs 2.13 (2016-11-29) add 16-bit API, only supported for PNG right now 2.12 (2016-04-02) fix typo in 2.11 PSD fix that caused crashes 2.11 (2016-04-02) allocate large structures on the stack remove white matting for transparent PSD fix reported channel count for PNG & BMP re-enable SSE2 in non-gcc 64-bit support RGB-formatted JPEG read 16-bit PNGs (only as 8-bit) 2.10 (2016-01-22) avoid warning introduced in 2.09 by STBI_REALLOC_SIZED 2.09 (2016-01-16) allow comments in PNM files 16-bit-per-pixel TGA (not bit-per-component) info() for TGA could break due to .hdr handling info() for BMP to shares code instead of sloppy parse can use STBI_REALLOC_SIZED if allocator doesn't support realloc code cleanup 2.08 (2015-09-13) fix to 2.07 cleanup, reading RGB PSD as RGBA 2.07 (2015-09-13) fix compiler warnings partial animated GIF support limited 16-bpc PSD support #ifdef unused functions bug with < 92 byte PIC,PNM,HDR,TGA 2.06 (2015-04-19) fix bug where PSD returns wrong '*comp' value 2.05 (2015-04-19) fix bug in progressive JPEG handling, fix warning 2.04 (2015-04-15) try to re-enable SIMD on MinGW 64-bit 2.03 (2015-04-12) extra corruption checking (mmozeiko) stbi_set_flip_vertically_on_load (nguillemot) fix NEON support; fix mingw support 2.02 (2015-01-19) fix incorrect assert, fix warning 2.01 (2015-01-17) fix various warnings; suppress SIMD on gcc 32-bit without -msse2 2.00b (2014-12-25) fix STBI_MALLOC in progressive JPEG 2.00 (2014-12-25) optimize JPG, including x86 SSE2 & NEON SIMD (ryg) progressive JPEG (stb) PGM/PPM support (Ken Miller) STBI_MALLOC,STBI_REALLOC,STBI_FREE GIF bugfix -- seemingly never worked STBI_NO_*, STBI_ONLY_* 1.48 (2014-12-14) fix incorrectly-named assert() 1.47 (2014-12-14) 1/2/4-bit PNG support, both direct and paletted (Omar Cornut & stb) optimize PNG (ryg) fix bug in interlaced PNG with user-specified channel count (stb) 1.46 (2014-08-26) fix broken tRNS chunk (colorkey-style transparency) in non-paletted PNG 1.45 (2014-08-16) fix MSVC-ARM internal compiler error by wrapping malloc 1.44 (2014-08-07) various warning fixes from Ronny Chevalier 1.43 (2014-07-15) fix MSVC-only compiler problem in code changed in 1.42 1.42 (2014-07-09) don't define _CRT_SECURE_NO_WARNINGS (affects user code) fixes to stbi__cleanup_jpeg path added STBI_ASSERT to avoid requiring assert.h 1.41 (2014-06-25) fix search&replace from 1.36 that messed up comments/error messages 1.40 (2014-06-22) fix gcc struct-initialization warning 1.39 (2014-06-15) fix to TGA optimization when req_comp != number of components in TGA; fix to GIF loading because BMP wasn't rewinding (whoops, no GIFs in my test suite) add support for BMP version 5 (more ignored fields) 1.38 (2014-06-06) suppress MSVC warnings on integer casts truncating values fix accidental rename of 'skip' field of I/O 1.37 (2014-06-04) remove duplicate typedef 1.36 (2014-06-03) convert to header file single-file library if de-iphone isn't set, load iphone images color-swapped instead of returning NULL 1.35 (2014-05-27) various warnings fix broken STBI_SIMD path fix bug where stbi_load_from_file no longer left file pointer in correct place fix broken non-easy path for 32-bit BMP (possibly never used) TGA optimization by Arseny Kapoulkine 1.34 (unknown) use STBI_NOTUSED in stbi__resample_row_generic(), fix one more leak in tga failure case 1.33 (2011-07-14) make stbi_is_hdr work in STBI_NO_HDR (as specified), minor compiler-friendly improvements 1.32 (2011-07-13) support for "info" function for all supported filetypes (SpartanJ) 1.31 (2011-06-20) a few more leak fixes, bug in PNG handling (SpartanJ) 1.30 (2011-06-11) added ability to load files via callbacks to accomidate custom input streams (Ben Wenger) removed deprecated format-specific test/load functions removed support for installable file formats (stbi_loader) -- would have been broken for IO callbacks anyway error cases in bmp and tga give messages and don't leak (Raymond Barbiero, grisha) fix inefficiency in decoding 32-bit BMP (David Woo) 1.29 (2010-08-16) various warning fixes from Aurelien Pocheville 1.28 (2010-08-01) fix bug in GIF palette transparency (SpartanJ) 1.27 (2010-08-01) cast-to-stbi_uc to fix warnings 1.26 (2010-07-24) fix bug in file buffering for PNG reported by SpartanJ 1.25 (2010-07-17) refix trans_data warning (Won Chun) 1.24 (2010-07-12) perf improvements reading from files on platforms with lock-heavy fgetc() minor perf improvements for jpeg deprecated type-specific functions so we'll get feedback if they're needed attempt to fix trans_data warning (Won Chun) 1.23 fixed bug in iPhone support 1.22 (2010-07-10) removed image *writing* support stbi_info support from Jetro Lauha GIF support from Jean-Marc Lienher iPhone PNG-extensions from James Brown warning-fixes from Nicolas Schulz and Janez Zemva (i.stbi__err. Janez (U+017D)emva) 1.21 fix use of 'stbi_uc' in header (reported by jon blow) 1.20 added support for Softimage PIC, by Tom Seddon 1.19 bug in interlaced PNG corruption check (found by ryg) 1.18 (2008-08-02) fix a threading bug (local mutable static) 1.17 support interlaced PNG 1.16 major bugfix - stbi__convert_format converted one too many pixels 1.15 initialize some fields for thread safety 1.14 fix threadsafe conversion bug header-file-only version (#define STBI_HEADER_FILE_ONLY before including) 1.13 threadsafe 1.12 const qualifiers in the API 1.11 Support installable IDCT, colorspace conversion routines 1.10 Fixes for 64-bit (don't use "unsigned long") optimized upsampling by Fabian "ryg" Giesen 1.09 Fix format-conversion for PSD code (bad global variables!) 1.08 Thatcher Ulrich's PSD code integrated by Nicolas Schulz 1.07 attempt to fix C++ warning/errors again 1.06 attempt to fix C++ warning/errors again 1.05 fix TGA loading to return correct *comp and use good luminance calc 1.04 default float alpha is 1, not 255; use 'void *' for stbi_image_free 1.03 bugfixes to STBI_NO_STDIO, STBI_NO_HDR 1.02 support for (subset of) HDR files, float interface for preferred access to them 1.01 fix bug: possible bug in handling right-side up bmps... not sure fix bug: the stbi__bmp_load() and stbi__tga_load() functions didn't work at all 1.00 interface to zlib that skips zlib header 0.99 correct handling of alpha in palette 0.98 TGA loader by lonesock; dynamically add loaders (untested) 0.97 jpeg errors on too large a file; also catch another malloc failure 0.96 fix detection of invalid v value - particleman@mollyrocket forum 0.95 during header scan, seek to markers in case of padding 0.94 STBI_NO_STDIO to disable stdio usage; rename all #defines the same 0.93 handle jpegtran output; verbose errors 0.92 read 4,8,16,24,32-bit BMP files of several formats 0.91 output 24-bit Windows 3.0 BMP files 0.90 fix a few more warnings; bump version number to approach 1.0 0.61 bugfixes due to Marc LeBlanc, Christopher Lloyd 0.60 fix compiling as c++ 0.59 fix warnings: merge Dave Moore's -Wall fixes 0.58 fix bug: zlib uncompressed mode len/nlen was wrong endian 0.57 fix bug: jpg last huffman symbol before marker was >9 bits but less than 16 available 0.56 fix bug: zlib uncompressed mode len vs. nlen 0.55 fix bug: restart_interval not initialized to 0 0.54 allow NULL for 'int *comp' 0.53 fix bug in png 3->4; speedup png decoding 0.52 png handles req_comp=3,4 directly; minor cleanup; jpeg comments 0.51 obey req_comp requests, 1-component jpegs return as 1-component, on 'test' only check type, not whether we support this variant 0.50 (2006-11-19) first released version */ /* ------------------------------------------------------------------------------ This software is available under 2 licenses -- choose whichever you prefer. ------------------------------------------------------------------------------ ALTERNATIVE A - MIT License Copyright (c) 2017 Sean Barrett 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: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ------------------------------------------------------------------------------ ALTERNATIVE B - Public Domain (www.unlicense.org) This is free and unencumbered software released into the public domain. Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means. In jurisdictions that recognize copyright laws, the author or authors of this software dedicate any and all copyright interest in the software to the public domain. We make this dedication for the benefit of the public at large and to the detriment of our heirs and successors. We intend this dedication to be an overt act of relinquishment in perpetuity of all present and future rights to this software under copyright law. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ------------------------------------------------------------------------------ */
0
repos/gotta-go-fast/src/tetris/tetris
repos/gotta-go-fast/src/tetris/tetris/stb_image-2.22/stb_image_impl.c
#define STB_IMAGE_IMPLEMENTATION #define STBI_ONLY_PNG #define STBI_NO_STDIO #include "stb_image.h"
0
repos/gotta-go-fast/src/tetris/tetris
repos/gotta-go-fast/src/tetris/tetris/src/static_geometry.zig
const c = @import("c.zig"); pub const StaticGeometry = struct { rect_2d_vertex_buffer: c.GLuint, rect_2d_tex_coord_buffer: c.GLuint, triangle_2d_vertex_buffer: c.GLuint, triangle_2d_tex_coord_buffer: c.GLuint, pub fn create() StaticGeometry { var sg: StaticGeometry = undefined; const rect_2d_vertexes = [_][3]c.GLfloat{ [_]c.GLfloat{ 0.0, 0.0, 0.0 }, [_]c.GLfloat{ 0.0, 1.0, 0.0 }, [_]c.GLfloat{ 1.0, 0.0, 0.0 }, [_]c.GLfloat{ 1.0, 1.0, 0.0 }, }; c.glGenBuffers(1, &sg.rect_2d_vertex_buffer); c.glBindBuffer(c.GL_ARRAY_BUFFER, sg.rect_2d_vertex_buffer); c.glBufferData(c.GL_ARRAY_BUFFER, 4 * 3 * @sizeOf(c.GLfloat), @as(*const anyopaque, @ptrCast(&rect_2d_vertexes[0][0])), c.GL_STATIC_DRAW); const rect_2d_tex_coords = [_][2]c.GLfloat{ [_]c.GLfloat{ 0, 0 }, [_]c.GLfloat{ 0, 1 }, [_]c.GLfloat{ 1, 0 }, [_]c.GLfloat{ 1, 1 }, }; c.glGenBuffers(1, &sg.rect_2d_tex_coord_buffer); c.glBindBuffer(c.GL_ARRAY_BUFFER, sg.rect_2d_tex_coord_buffer); c.glBufferData(c.GL_ARRAY_BUFFER, 4 * 2 * @sizeOf(c.GLfloat), @as(*const anyopaque, @ptrCast(&rect_2d_tex_coords[0][0])), c.GL_STATIC_DRAW); const triangle_2d_vertexes = [_][3]c.GLfloat{ [_]c.GLfloat{ 0.0, 0.0, 0.0 }, [_]c.GLfloat{ 0.0, 1.0, 0.0 }, [_]c.GLfloat{ 1.0, 0.0, 0.0 }, }; c.glGenBuffers(1, &sg.triangle_2d_vertex_buffer); c.glBindBuffer(c.GL_ARRAY_BUFFER, sg.triangle_2d_vertex_buffer); c.glBufferData(c.GL_ARRAY_BUFFER, 3 * 3 * @sizeOf(c.GLfloat), @as(*const anyopaque, @ptrCast(&triangle_2d_vertexes[0][0])), c.GL_STATIC_DRAW); const triangle_2d_tex_coords = [_][2]c.GLfloat{ [_]c.GLfloat{ 0, 0 }, [_]c.GLfloat{ 0, 1 }, [_]c.GLfloat{ 1, 0 }, }; c.glGenBuffers(1, &sg.triangle_2d_tex_coord_buffer); c.glBindBuffer(c.GL_ARRAY_BUFFER, sg.triangle_2d_tex_coord_buffer); c.glBufferData(c.GL_ARRAY_BUFFER, 3 * 2 * @sizeOf(c.GLfloat), @as(*const anyopaque, @ptrCast(&triangle_2d_tex_coords[0][0])), c.GL_STATIC_DRAW); return sg; } pub fn destroy(sg: *StaticGeometry) void { c.glDeleteBuffers(1, &sg.rect_2d_tex_coord_buffer); c.glDeleteBuffers(1, &sg.rect_2d_vertex_buffer); c.glDeleteBuffers(1, &sg.triangle_2d_vertex_buffer); c.glDeleteBuffers(1, &sg.triangle_2d_tex_coord_buffer); } };
0
repos/gotta-go-fast/src/tetris/tetris
repos/gotta-go-fast/src/tetris/tetris/src/c.zig
pub usingnamespace @cImport({ @cInclude("stdio.h"); @cInclude("math.h"); @cInclude("time.h"); @cInclude("epoxy/gl.h"); @cInclude("GLFW/glfw3.h"); @cDefine("STBI_ONLY_PNG", ""); @cDefine("STBI_NO_STDIO", ""); @cInclude("stb_image.h"); });
0
repos/gotta-go-fast/src/tetris/tetris
repos/gotta-go-fast/src/tetris/tetris/src/main.zig
const math3d = @import("math3d.zig"); const Mat4x4 = math3d.Mat4x4; const Vec3 = math3d.Vec3; const Vec4 = math3d.Vec4; const Tetris = @import("tetris.zig").Tetris; const std = @import("std"); const assert = std.debug.assert; const bufPrint = std.fmt.bufPrint; const c = @import("c.zig"); const debug_gl = @import("debug_gl.zig"); const AllShaders = @import("all_shaders.zig").AllShaders; const StaticGeometry = @import("static_geometry.zig").StaticGeometry; const pieces = @import("pieces.zig"); const Piece = pieces.Piece; const Spritesheet = @import("spritesheet.zig").Spritesheet; var window: *c.GLFWwindow = undefined; var all_shaders: AllShaders = undefined; var static_geometry: StaticGeometry = undefined; var font: Spritesheet = undefined; fn errorCallback(err: c_int, description: [*c]const u8) callconv(.C) void { _ = err; _ = c.printf("Error: %s\n", description); c.abort(); } fn keyCallback( win: ?*c.GLFWwindow, key: c_int, scancode: c_int, action: c_int, mods: c_int, ) callconv(.C) void { _ = mods; _ = scancode; const t = @as(*Tetris, @ptrCast(@alignCast(c.glfwGetWindowUserPointer(win).?))); const first_delay = 0.2; if (action == c.GLFW_PRESS) { switch (key) { c.GLFW_KEY_ESCAPE => c.glfwSetWindowShouldClose(win, c.GL_TRUE), c.GLFW_KEY_SPACE => t.userDropCurPiece(), c.GLFW_KEY_DOWN => { t.down_key_held = true; t.down_move_time = c.glfwGetTime() + first_delay; t.userCurPieceFall(); }, c.GLFW_KEY_LEFT => { t.left_key_held = true; t.left_move_time = c.glfwGetTime() + first_delay; t.userMoveCurPiece(-1); }, c.GLFW_KEY_RIGHT => { t.right_key_held = true; t.right_move_time = c.glfwGetTime() + first_delay; t.userMoveCurPiece(1); }, c.GLFW_KEY_UP => t.userRotateCurPiece(1), c.GLFW_KEY_LEFT_SHIFT, c.GLFW_KEY_RIGHT_SHIFT => t.userRotateCurPiece(-1), c.GLFW_KEY_R => t.restartGame(), c.GLFW_KEY_P => t.userTogglePause(), c.GLFW_KEY_LEFT_CONTROL, c.GLFW_KEY_RIGHT_CONTROL => t.userSetHoldPiece(), else => {}, } } else if (action == c.GLFW_RELEASE) { switch (key) { c.GLFW_KEY_DOWN => { t.down_key_held = false; }, c.GLFW_KEY_LEFT => { t.left_key_held = false; }, c.GLFW_KEY_RIGHT => { t.right_key_held = false; }, else => {}, } } } var tetris_state: Tetris = undefined; const font_png = @embedFile("../assets/font.png"); pub fn main() void { main2() catch c.abort(); } pub fn main2() !void { _ = c.glfwSetErrorCallback(errorCallback); if (c.glfwInit() == c.GL_FALSE) @panic("GLFW init failure"); defer c.glfwTerminate(); c.glfwWindowHint(c.GLFW_CONTEXT_VERSION_MAJOR, 3); c.glfwWindowHint(c.GLFW_CONTEXT_VERSION_MINOR, 2); c.glfwWindowHint(c.GLFW_OPENGL_FORWARD_COMPAT, c.GL_TRUE); c.glfwWindowHint(c.GLFW_OPENGL_DEBUG_CONTEXT, debug_gl.is_on); c.glfwWindowHint(c.GLFW_OPENGL_PROFILE, c.GLFW_OPENGL_CORE_PROFILE); c.glfwWindowHint(c.GLFW_DEPTH_BITS, 0); c.glfwWindowHint(c.GLFW_STENCIL_BITS, 8); c.glfwWindowHint(c.GLFW_RESIZABLE, c.GL_FALSE); window = c.glfwCreateWindow(Tetris.window_width, Tetris.window_height, "Tetris", null, null) orelse @panic("unable to create window"); defer c.glfwDestroyWindow(window); _ = c.glfwSetKeyCallback(window, keyCallback); c.glfwMakeContextCurrent(window); c.glfwSwapInterval(1); // create and bind exactly one vertex array per context and use // glVertexAttribPointer etc every frame. var vertex_array_object: c.GLuint = undefined; c.glGenVertexArrays(1, &vertex_array_object); c.glBindVertexArray(vertex_array_object); defer c.glDeleteVertexArrays(1, &vertex_array_object); const t = &tetris_state; c.glfwGetFramebufferSize(window, &t.framebuffer_width, &t.framebuffer_height); assert(t.framebuffer_width >= Tetris.window_width); assert(t.framebuffer_height >= Tetris.window_height); all_shaders = try AllShaders.create(); defer all_shaders.destroy(); static_geometry = StaticGeometry.create(); defer static_geometry.destroy(); font.init(font_png, Tetris.font_char_width, Tetris.font_char_height) catch @panic("unable to read assets"); defer font.deinit(); c.srand(@as(c_uint, @truncate(@as(c_ulong, @bitCast(c.time(null)))))); t.resetProjection(); t.restartGame(); c.glClearColor(0.0, 0.0, 0.0, 1.0); c.glEnable(c.GL_BLEND); c.glBlendFunc(c.GL_SRC_ALPHA, c.GL_ONE_MINUS_SRC_ALPHA); c.glPixelStorei(c.GL_UNPACK_ALIGNMENT, 1); c.glViewport(0, 0, t.framebuffer_width, t.framebuffer_height); c.glfwSetWindowUserPointer(window, @as(*anyopaque, @ptrCast(t))); debug_gl.assertNoError(); const start_time = c.glfwGetTime(); var prev_time = start_time; while (c.glfwWindowShouldClose(window) == c.GL_FALSE) { c.glClear(c.GL_COLOR_BUFFER_BIT | c.GL_DEPTH_BUFFER_BIT | c.GL_STENCIL_BUFFER_BIT); const now_time = c.glfwGetTime(); const elapsed = now_time - prev_time; prev_time = now_time; t.doBiosKeys(now_time); t.nextFrame(elapsed); t.draw(@This()); c.glfwSwapBuffers(window); c.glfwPollEvents(); } debug_gl.assertNoError(); } pub fn fillRectMvp(color: Vec4, mvp: Mat4x4) void { all_shaders.primitive.bind(); all_shaders.primitive.setUniformVec4(all_shaders.primitive_uniform_color, color); all_shaders.primitive.setUniformMat4x4(all_shaders.primitive_uniform_mvp, mvp); c.glBindBuffer(c.GL_ARRAY_BUFFER, static_geometry.rect_2d_vertex_buffer); c.glEnableVertexAttribArray(@as(c.GLuint, @intCast(all_shaders.primitive_attrib_position))); c.glVertexAttribPointer(@as(c.GLuint, @intCast(all_shaders.primitive_attrib_position)), 3, c.GL_FLOAT, c.GL_FALSE, 0, null); c.glDrawArrays(c.GL_TRIANGLE_STRIP, 0, 4); } pub fn drawParticle(t: *Tetris, p: Tetris.Particle) void { const model = Mat4x4.identity.translateByVec(p.pos).rotate(p.angle, p.axis).scale(p.scale_w, p.scale_h, 0.0); const mvp = t.projection.mult(model); all_shaders.primitive.bind(); all_shaders.primitive.setUniformVec4(all_shaders.primitive_uniform_color, p.color); all_shaders.primitive.setUniformMat4x4(all_shaders.primitive_uniform_mvp, mvp); c.glBindBuffer(c.GL_ARRAY_BUFFER, static_geometry.triangle_2d_vertex_buffer); c.glEnableVertexAttribArray(@as(c.GLuint, @intCast(all_shaders.primitive_attrib_position))); c.glVertexAttribPointer(@as(c.GLuint, @intCast(all_shaders.primitive_attrib_position)), 3, c.GL_FLOAT, c.GL_FALSE, 0, null); c.glDrawArrays(c.GL_TRIANGLE_STRIP, 0, 3); } pub fn drawText(t: *Tetris, text: []const u8, left: i32, top: i32, size: f32) void { for (text, 0..) |col, i| { if (col <= '~') { const char_left = @as(f32, @floatFromInt(left)) + @as(f32, @floatFromInt(i * Tetris.font_char_width)) * size; const model = Mat4x4.identity.translate(char_left, @as(f32, @floatFromInt(top)), 0.0).scale(size, size, 0.0); const mvp = t.projection.mult(model); font.draw(all_shaders, col, mvp); } else { unreachable; } } }
0
repos/gotta-go-fast/src/tetris/tetris
repos/gotta-go-fast/src/tetris/tetris/src/math3d.zig
const std = @import("std"); const assert = std.debug.assert; const c = @import("c.zig"); pub const Mat4x4 = struct { data: [4][4]f32, pub const identity = Mat4x4{ .data = [_][4]f32{ [_]f32{ 1.0, 0.0, 0.0, 0.0 }, [_]f32{ 0.0, 1.0, 0.0, 0.0 }, [_]f32{ 0.0, 0.0, 1.0, 0.0 }, [_]f32{ 0.0, 0.0, 0.0, 1.0 }, }, }; /// matrix multiplication pub fn mult(m: Mat4x4, other: Mat4x4) Mat4x4 { return Mat4x4{ .data = [_][4]f32{ [_]f32{ m.data[0][0] * other.data[0][0] + m.data[0][1] * other.data[1][0] + m.data[0][2] * other.data[2][0] + m.data[0][3] * other.data[3][0], m.data[0][0] * other.data[0][1] + m.data[0][1] * other.data[1][1] + m.data[0][2] * other.data[2][1] + m.data[0][3] * other.data[3][1], m.data[0][0] * other.data[0][2] + m.data[0][1] * other.data[1][2] + m.data[0][2] * other.data[2][2] + m.data[0][3] * other.data[3][2], m.data[0][0] * other.data[0][3] + m.data[0][1] * other.data[1][3] + m.data[0][2] * other.data[2][3] + m.data[0][3] * other.data[3][3], }, [_]f32{ m.data[1][0] * other.data[0][0] + m.data[1][1] * other.data[1][0] + m.data[1][2] * other.data[2][0] + m.data[1][3] * other.data[3][0], m.data[1][0] * other.data[0][1] + m.data[1][1] * other.data[1][1] + m.data[1][2] * other.data[2][1] + m.data[1][3] * other.data[3][1], m.data[1][0] * other.data[0][2] + m.data[1][1] * other.data[1][2] + m.data[1][2] * other.data[2][2] + m.data[1][3] * other.data[3][2], m.data[1][0] * other.data[0][3] + m.data[1][1] * other.data[1][3] + m.data[1][2] * other.data[2][3] + m.data[1][3] * other.data[3][3], }, [_]f32{ m.data[2][0] * other.data[0][0] + m.data[2][1] * other.data[1][0] + m.data[2][2] * other.data[2][0] + m.data[2][3] * other.data[3][0], m.data[2][0] * other.data[0][1] + m.data[2][1] * other.data[1][1] + m.data[2][2] * other.data[2][1] + m.data[2][3] * other.data[3][1], m.data[2][0] * other.data[0][2] + m.data[2][1] * other.data[1][2] + m.data[2][2] * other.data[2][2] + m.data[2][3] * other.data[3][2], m.data[2][0] * other.data[0][3] + m.data[2][1] * other.data[1][3] + m.data[2][2] * other.data[2][3] + m.data[2][3] * other.data[3][3], }, [_]f32{ m.data[3][0] * other.data[0][0] + m.data[3][1] * other.data[1][0] + m.data[3][2] * other.data[2][0] + m.data[3][3] * other.data[3][0], m.data[3][0] * other.data[0][1] + m.data[3][1] * other.data[1][1] + m.data[3][2] * other.data[2][1] + m.data[3][3] * other.data[3][1], m.data[3][0] * other.data[0][2] + m.data[3][1] * other.data[1][2] + m.data[3][2] * other.data[2][2] + m.data[3][3] * other.data[3][2], m.data[3][0] * other.data[0][3] + m.data[3][1] * other.data[1][3] + m.data[3][2] * other.data[2][3] + m.data[3][3] * other.data[3][3], }, }, }; } /// Builds a rotation 4 * 4 matrix created from an axis vector and an angle. /// Input matrix multiplied by this rotation matrix. /// angle: Rotation angle expressed in radians. /// axis: Rotation axis, recommended to be normalized. pub fn rotate(m: Mat4x4, angle: f32, axis_unnormalized: Vec3) Mat4x4 { const cos = c.cosf(angle); const s = c.sinf(angle); const axis = axis_unnormalized.normalize(); const temp = axis.scale(1.0 - cos); const rot = Mat4x4{ .data = [_][4]f32{ [_]f32{ cos + temp.data[0] * axis.data[0], 0.0 + temp.data[1] * axis.data[0] - s * axis.data[2], 0.0 + temp.data[2] * axis.data[0] + s * axis.data[1], 0.0 }, [_]f32{ 0.0 + temp.data[0] * axis.data[1] + s * axis.data[2], cos + temp.data[1] * axis.data[1], 0.0 + temp.data[2] * axis.data[1] - s * axis.data[0], 0.0 }, [_]f32{ 0.0 + temp.data[0] * axis.data[2] - s * axis.data[1], 0.0 + temp.data[1] * axis.data[2] + s * axis.data[0], cos + temp.data[2] * axis.data[2], 0.0 }, [_]f32{ 0.0, 0.0, 0.0, 0.0 }, }, }; return Mat4x4{ .data = [_][4]f32{ [_]f32{ m.data[0][0] * rot.data[0][0] + m.data[0][1] * rot.data[1][0] + m.data[0][2] * rot.data[2][0], m.data[0][0] * rot.data[0][1] + m.data[0][1] * rot.data[1][1] + m.data[0][2] * rot.data[2][1], m.data[0][0] * rot.data[0][2] + m.data[0][1] * rot.data[1][2] + m.data[0][2] * rot.data[2][2], m.data[0][3], }, [_]f32{ m.data[1][0] * rot.data[0][0] + m.data[1][1] * rot.data[1][0] + m.data[1][2] * rot.data[2][0], m.data[1][0] * rot.data[0][1] + m.data[1][1] * rot.data[1][1] + m.data[1][2] * rot.data[2][1], m.data[1][0] * rot.data[0][2] + m.data[1][1] * rot.data[1][2] + m.data[1][2] * rot.data[2][2], m.data[1][3], }, [_]f32{ m.data[2][0] * rot.data[0][0] + m.data[2][1] * rot.data[1][0] + m.data[2][2] * rot.data[2][0], m.data[2][0] * rot.data[0][1] + m.data[2][1] * rot.data[1][1] + m.data[2][2] * rot.data[2][1], m.data[2][0] * rot.data[0][2] + m.data[2][1] * rot.data[1][2] + m.data[2][2] * rot.data[2][2], m.data[2][3], }, [_]f32{ m.data[3][0] * rot.data[0][0] + m.data[3][1] * rot.data[1][0] + m.data[3][2] * rot.data[2][0], m.data[3][0] * rot.data[0][1] + m.data[3][1] * rot.data[1][1] + m.data[3][2] * rot.data[2][1], m.data[3][0] * rot.data[0][2] + m.data[3][1] * rot.data[1][2] + m.data[3][2] * rot.data[2][2], m.data[3][3], }, }, }; } /// Builds a translation 4 * 4 matrix created from a vector of 3 components. /// Input matrix multiplied by this translation matrix. pub fn translate(m: Mat4x4, x: f32, y: f32, z: f32) Mat4x4 { return Mat4x4{ .data = [_][4]f32{ [_]f32{ m.data[0][0], m.data[0][1], m.data[0][2], m.data[0][3] + m.data[0][0] * x + m.data[0][1] * y + m.data[0][2] * z }, [_]f32{ m.data[1][0], m.data[1][1], m.data[1][2], m.data[1][3] + m.data[1][0] * x + m.data[1][1] * y + m.data[1][2] * z }, [_]f32{ m.data[2][0], m.data[2][1], m.data[2][2], m.data[2][3] + m.data[2][0] * x + m.data[2][1] * y + m.data[2][2] * z }, [_]f32{ m.data[3][0], m.data[3][1], m.data[3][2], m.data[3][3] }, }, }; } pub fn translateByVec(m: Mat4x4, v: Vec3) Mat4x4 { return m.translate(v.data[0], v.data[1], v.data[2]); } /// Builds a scale 4 * 4 matrix created from 3 scalars. /// Input matrix multiplied by this scale matrix. pub fn scale(m: Mat4x4, x: f32, y: f32, z: f32) Mat4x4 { return Mat4x4{ .data = [_][4]f32{ [_]f32{ m.data[0][0] * x, m.data[0][1] * y, m.data[0][2] * z, m.data[0][3] }, [_]f32{ m.data[1][0] * x, m.data[1][1] * y, m.data[1][2] * z, m.data[1][3] }, [_]f32{ m.data[2][0] * x, m.data[2][1] * y, m.data[2][2] * z, m.data[2][3] }, [_]f32{ m.data[3][0] * x, m.data[3][1] * y, m.data[3][2] * z, m.data[3][3] }, }, }; } pub fn transpose(m: Mat4x4) Mat4x4 { return Mat4x4{ .data = [_][4]f32{ [_]f32{ m.data[0][0], m.data[1][0], m.data[2][0], m.data[3][0] }, [_]f32{ m.data[0][1], m.data[1][1], m.data[2][1], m.data[3][1] }, [_]f32{ m.data[0][2], m.data[1][2], m.data[2][2], m.data[3][2] }, [_]f32{ m.data[0][3], m.data[1][3], m.data[2][3], m.data[3][3] }, }, }; } /// Creates a matrix for an orthographic parallel viewing volume. pub fn ortho(left: f32, right: f32, bottom: f32, top: f32) Mat4x4 { var m = identity; m.data[0][0] = 2.0 / (right - left); m.data[1][1] = 2.0 / (top - bottom); m.data[2][2] = -1.0; m.data[0][3] = -(right + left) / (right - left); m.data[1][3] = -(top + bottom) / (top - bottom); return m; } }; pub const Vec3 = struct { data: [3]f32, pub fn init(x: f32, y: f32, z: f32) Vec3 { return Vec3{ .data = [_]f32{ x, y, z }, }; } pub fn normalize(v: Vec3) Vec3 { return v.scale(1.0 / c.sqrtf(v.dot(v))); } pub fn scale(v: Vec3, scalar: f32) Vec3 { return Vec3{ .data = [_]f32{ v.data[0] * scalar, v.data[1] * scalar, v.data[2] * scalar, }, }; } pub fn dot(v: Vec3, other: Vec3) f32 { return v.data[0] * other.data[0] + v.data[1] * other.data[1] + v.data[2] * other.data[2]; } pub fn length(v: Vec3) f32 { return c.sqrtf(v.dot(v)); } /// returns the cross product pub fn cross(v: Vec3, other: Vec3) Vec3 { return Vec3{ .data = [_]f32{ v.data[1] * other.data[2] - other.data[1] * v.data[2], v.data[2] * other.data[0] - other.data[2] * v.data[0], v.data[0] * other.data[1] - other.data[0] * v.data[1], }, }; } pub fn add(v: Vec3, other: Vec3) Vec3 { return Vec3{ .data = [_]f32{ v.data[0] + other.data[0], v.data[1] + other.data[1], v.data[2] + other.data[2], }, }; } }; pub const Vec4 = struct { data: [4]f32, pub fn init(xa: f32, xb: f32, xc: f32, xd: f32) Vec4 { return Vec4{ .data = [_]f32{ xa, xb, xc, xd }, }; } }; test "scale" { const m = Mat4x4{ .data = [_][4]f32{ [_]f32{ 0.840188, 0.911647, 0.277775, 0.364784 }, [_]f32{ 0.394383, 0.197551, 0.55397, 0.513401 }, [_]f32{ 0.783099, 0.335223, 0.477397, 0.95223 }, [_]f32{ 0.79844, 0.76823, 0.628871, 0.916195 }, }, }; const expected = Mat4x4{ .data = [_][4]f32{ [_]f32{ 0.118973, 0.653922, 0.176585, 0.364784 }, [_]f32{ 0.0558456, 0.141703, 0.352165, 0.513401 }, [_]f32{ 0.110889, 0.240454, 0.303487, 0.95223 }, [_]f32{ 0.113061, 0.551049, 0.399781, 0.916195 }, }, }; const answer = m.scale(0.141603, 0.717297, 0.635712); assert_matrix_eq(answer, expected); } test "translate" { const m = Mat4x4{ .data = [_][4]f32{ [_]f32{ 0.840188, 0.911647, 0.277775, 0.364784 }, [_]f32{ 0.394383, 0.197551, 0.55397, 0.513401 }, [_]f32{ 0.783099, 0.335223, 0.477397, 0.95223 }, [_]f32{ 0.79844, 0.76823, 0.628871, 1.0 }, }, }; const expected = Mat4x4{ .data = [_][4]f32{ [_]f32{ 0.840188, 0.911647, 0.277775, 1.31426 }, [_]f32{ 0.394383, 0.197551, 0.55397, 1.06311 }, [_]f32{ 0.783099, 0.335223, 0.477397, 1.60706 }, [_]f32{ 0.79844, 0.76823, 0.628871, 1.0 }, }, }; const answer = m.translate(0.141603, 0.717297, 0.635712); assert_matrix_eq(answer, expected); } test "ortho" { const m = Mat4x4.ortho(0.840188, 0.394383, 0.783099, 0.79844); const expected = Mat4x4{ .data = [_][4]f32{ [_]f32{ -4.48627, 0.0, 0.0, 2.76931 }, [_]f32{ 0.0, 130.371, 0.0, -103.094 }, [_]f32{ 0.0, 0.0, -1.0, 0.0 }, [_]f32{ 0.0, 0.0, 0.0, 1.0 }, }, }; assert_matrix_eq(m, expected); } fn assert_f_eq(left: f32, right: f32) void { const diff = c.fabsf(left - right); assert(diff < 0.01); } fn assert_matrix_eq(left: Mat4x4, right: Mat4x4) void { assert_f_eq(left.data[0][0], right.data[0][0]); assert_f_eq(left.data[0][1], right.data[0][1]); assert_f_eq(left.data[0][2], right.data[0][2]); assert_f_eq(left.data[0][3], right.data[0][3]); assert_f_eq(left.data[1][0], right.data[1][0]); assert_f_eq(left.data[1][1], right.data[1][1]); assert_f_eq(left.data[1][2], right.data[1][2]); assert_f_eq(left.data[1][3], right.data[1][3]); assert_f_eq(left.data[2][0], right.data[2][0]); assert_f_eq(left.data[2][1], right.data[2][1]); assert_f_eq(left.data[2][2], right.data[2][2]); assert_f_eq(left.data[2][3], right.data[2][3]); assert_f_eq(left.data[3][0], right.data[3][0]); assert_f_eq(left.data[3][1], right.data[3][1]); assert_f_eq(left.data[3][2], right.data[3][2]); assert_f_eq(left.data[3][3], right.data[3][3]); } test "mult" { const m1 = Mat4x4{ .data = [_][4]f32{ [_]f32{ 0.635712, 0.717297, 0.141603, 0.606969 }, [_]f32{ 0.0163006, 0.242887, 0.137232, 0.804177 }, [_]f32{ 0.156679, 0.400944, 0.12979, 0.108809 }, [_]f32{ 0.998924, 0.218257, 0.512932, 0.839112 }, }, }; const m2 = Mat4x4{ .data = [_][4]f32{ [_]f32{ 0.840188, 0.394383, 0.783099, 0.79844 }, [_]f32{ 0.911647, 0.197551, 0.335223, 0.76823 }, [_]f32{ 0.277775, 0.55397, 0.477397, 0.628871 }, [_]f32{ 0.364784, 0.513401, 0.95223, 0.916195 }, }, }; const answer = Mat4x4{ .data = [_][4]f32{ [_]f32{ 1.44879, 0.782479, 1.38385, 1.70378 }, [_]f32{ 0.566593, 0.543299, 0.925461, 1.02269 }, [_]f32{ 0.572904, 0.268761, 0.422673, 0.614428 }, [_]f32{ 1.48683, 1.15203, 1.89932, 2.05661 }, }, }; const tmp = m1.mult(m2); assert_matrix_eq(tmp, answer); } test "rotate" { const m1 = Mat4x4{ .data = [_][4]f32{ [_]f32{ 0.840188, 0.911647, 0.277775, 0.364784 }, [_]f32{ 0.394383, 0.197551, 0.55397, 0.513401 }, [_]f32{ 0.783099, 0.335223, 0.477397, 0.95223 }, [_]f32{ 0.79844, 0.76823, 0.628871, 0.916195 }, }, }; const angle = 0.635712; const axis = Vec3.init(0.606969, 0.141603, 0.717297); const expected = Mat4x4{ .data = [_][4]f32{ [_]f32{ 1.17015, 0.488019, 0.0821911, 0.364784 }, [_]f32{ 0.444151, 0.212659, 0.508874, 0.513401 }, [_]f32{ 0.851739, 0.126319, 0.460555, 0.95223 }, [_]f32{ 1.06829, 0.530801, 0.447396, 0.916195 }, }, }; const actual = m1.rotate(angle, axis); assert_matrix_eq(actual, expected); }
0
repos/gotta-go-fast/src/tetris/tetris
repos/gotta-go-fast/src/tetris/tetris/src/pieces.zig
const Vec4 = @import("math3d.zig").Vec4; pub const Piece = struct { name: u8, color: Vec4, layout: [4][4][4]bool, }; const F = false; const T = true; pub const pieces = [_]Piece{ Piece{ .name = 'I', .color = Vec4{ .data = [_]f32{ 0.0 / 255.0, 255.0 / 255.0, 255.0 / 255.0, 1.0 }, }, .layout = [_][4][4]bool{ [_][4]bool{ [_]bool{ F, F, F, F }, [_]bool{ F, F, F, F }, [_]bool{ T, T, T, T }, [_]bool{ F, F, F, F }, }, [_][4]bool{ [_]bool{ F, T, F, F }, [_]bool{ F, T, F, F }, [_]bool{ F, T, F, F }, [_]bool{ F, T, F, F }, }, [_][4]bool{ [_]bool{ F, F, F, F }, [_]bool{ F, F, F, F }, [_]bool{ T, T, T, T }, [_]bool{ F, F, F, F }, }, [_][4]bool{ [_]bool{ F, T, F, F }, [_]bool{ F, T, F, F }, [_]bool{ F, T, F, F }, [_]bool{ F, T, F, F }, }, }, }, Piece{ .name = 'O', .color = Vec4{ .data = [_]f32{ 255.0 / 255.0, 255.0 / 255.0, 0.0 / 255.0, 1.0 }, }, .layout = [_][4][4]bool{ [_][4]bool{ [_]bool{ F, F, F, F }, [_]bool{ F, F, F, F }, [_]bool{ T, T, F, F }, [_]bool{ T, T, F, F }, }, [_][4]bool{ [_]bool{ F, F, F, F }, [_]bool{ F, F, F, F }, [_]bool{ T, T, F, F }, [_]bool{ T, T, F, F }, }, [_][4]bool{ [_]bool{ F, F, F, F }, [_]bool{ F, F, F, F }, [_]bool{ T, T, F, F }, [_]bool{ T, T, F, F }, }, [_][4]bool{ [_]bool{ F, F, F, F }, [_]bool{ F, F, F, F }, [_]bool{ T, T, F, F }, [_]bool{ T, T, F, F }, }, }, }, Piece{ .name = 'T', .color = Vec4{ .data = [_]f32{ 255.0 / 255.0, 0.0 / 255.0, 255.0 / 255.0, 1.0 }, }, .layout = [_][4][4]bool{ [_][4]bool{ [_]bool{ F, F, F, F }, [_]bool{ F, F, F, F }, [_]bool{ T, T, T, F }, [_]bool{ F, T, F, F }, }, [_][4]bool{ [_]bool{ F, F, F, F }, [_]bool{ F, T, F, F }, [_]bool{ T, T, F, F }, [_]bool{ F, T, F, F }, }, [_][4]bool{ [_]bool{ F, F, F, F }, [_]bool{ F, T, F, F }, [_]bool{ T, T, T, F }, [_]bool{ F, F, F, F }, }, [_][4]bool{ [_]bool{ F, F, F, F }, [_]bool{ F, T, F, F }, [_]bool{ F, T, T, F }, [_]bool{ F, T, F, F }, }, }, }, Piece{ .name = 'J', .color = Vec4{ .data = [_]f32{ 0.0 / 255.0, 0.0 / 255.0, 255.0 / 255.0, 1.0 }, }, .layout = [_][4][4]bool{ [_][4]bool{ [_]bool{ F, F, F, F }, [_]bool{ F, T, F, F }, [_]bool{ F, T, F, F }, [_]bool{ T, T, F, F }, }, [_][4]bool{ [_]bool{ F, F, F, F }, [_]bool{ T, F, F, F }, [_]bool{ T, T, T, F }, [_]bool{ F, F, F, F }, }, [_][4]bool{ [_]bool{ F, F, F, F }, [_]bool{ F, T, T, F }, [_]bool{ F, T, F, F }, [_]bool{ F, T, F, F }, }, [_][4]bool{ [_]bool{ F, F, F, F }, [_]bool{ F, F, F, F }, [_]bool{ T, T, T, F }, [_]bool{ F, F, T, F }, }, }, }, Piece{ .name = 'L', .color = Vec4{ .data = [_]f32{ 255.0 / 255.0, 128.0 / 255.0, 0.0 / 255.0, 1.0 }, }, .layout = [_][4][4]bool{ [_][4]bool{ [_]bool{ F, F, F, F }, [_]bool{ F, T, F, F }, [_]bool{ F, T, F, F }, [_]bool{ F, T, T, F }, }, [_][4]bool{ [_]bool{ F, F, F, F }, [_]bool{ F, F, F, F }, [_]bool{ T, T, T, F }, [_]bool{ T, F, F, F }, }, [_][4]bool{ [_]bool{ F, F, F, F }, [_]bool{ T, T, F, F }, [_]bool{ F, T, F, F }, [_]bool{ F, T, F, F }, }, [_][4]bool{ [_]bool{ F, F, F, F }, [_]bool{ F, F, T, F }, [_]bool{ T, T, T, F }, [_]bool{ F, F, F, F }, }, }, }, Piece{ .name = 'S', .color = Vec4{ .data = [_]f32{ 0.0 / 255.0, 255.0 / 255.0, 0.0 / 255.0, 1.0 }, }, .layout = [_][4][4]bool{ [_][4]bool{ [_]bool{ F, F, F, F }, [_]bool{ F, F, F, F }, [_]bool{ F, T, T, F }, [_]bool{ T, T, F, F }, }, [_][4]bool{ [_]bool{ F, F, F, F }, [_]bool{ T, F, F, F }, [_]bool{ T, T, F, F }, [_]bool{ F, T, F, F }, }, [_][4]bool{ [_]bool{ F, F, F, F }, [_]bool{ F, F, F, F }, [_]bool{ F, T, T, F }, [_]bool{ T, T, F, F }, }, [_][4]bool{ [_]bool{ F, F, F, F }, [_]bool{ T, F, F, F }, [_]bool{ T, T, F, F }, [_]bool{ F, T, F, F }, }, }, }, Piece{ .name = 'Z', .color = Vec4{ .data = [_]f32{ 255.0 / 255.0, 0.0 / 255.0, 0.0 / 255.0, 1.0 }, }, .layout = [_][4][4]bool{ [_][4]bool{ [_]bool{ F, F, F, F }, [_]bool{ F, F, F, F }, [_]bool{ T, T, F, F }, [_]bool{ F, T, T, F }, }, [_][4]bool{ [_]bool{ F, F, F, F }, [_]bool{ F, F, T, F }, [_]bool{ F, T, T, F }, [_]bool{ F, T, F, F }, }, [_][4]bool{ [_]bool{ F, F, F, F }, [_]bool{ F, F, F, F }, [_]bool{ T, T, F, F }, [_]bool{ F, T, T, F }, }, [_][4]bool{ [_]bool{ F, F, F, F }, [_]bool{ F, F, T, F }, [_]bool{ F, T, T, F }, [_]bool{ F, T, F, F }, }, }, }, };
0
repos/gotta-go-fast/src/tetris/tetris
repos/gotta-go-fast/src/tetris/tetris/src/all_shaders.zig
const std = @import("std"); const os = std.os; const c = @import("c.zig"); const math3d = @import("math3d.zig"); const debug_gl = @import("debug_gl.zig"); const Vec4 = math3d.Vec4; const Mat4x4 = math3d.Mat4x4; pub const AllShaders = struct { primitive: ShaderProgram, primitive_attrib_position: c.GLint, primitive_uniform_mvp: c.GLint, primitive_uniform_color: c.GLint, texture: ShaderProgram, texture_attrib_tex_coord: c.GLint, texture_attrib_position: c.GLint, texture_uniform_mvp: c.GLint, texture_uniform_tex: c.GLint, pub fn create() !AllShaders { var as: AllShaders = undefined; as.primitive = try ShaderProgram.create( \\#version 150 core \\ \\in vec3 VertexPosition; \\ \\uniform mat4 MVP; \\ \\void main(void) { \\ gl_Position = vec4(VertexPosition, 1.0) * MVP; \\} , \\#version 150 core \\ \\out vec4 FragColor; \\ \\uniform vec4 Color; \\ \\void main(void) { \\ FragColor = Color; \\} , null); as.primitive_attrib_position = as.primitive.attribLocation("VertexPosition"); as.primitive_uniform_mvp = as.primitive.uniformLocation("MVP"); as.primitive_uniform_color = as.primitive.uniformLocation("Color"); as.texture = try ShaderProgram.create( \\#version 150 core \\ \\in vec3 VertexPosition; \\in vec2 TexCoord; \\ \\out vec2 FragTexCoord; \\ \\uniform mat4 MVP; \\ \\void main(void) \\{ \\ FragTexCoord = TexCoord; \\ gl_Position = vec4(VertexPosition, 1.0) * MVP; \\} , \\#version 150 core \\ \\in vec2 FragTexCoord; \\out vec4 FragColor; \\ \\uniform sampler2D Tex; \\ \\void main(void) \\{ \\ FragColor = texture(Tex, FragTexCoord); \\} , null); as.texture_attrib_tex_coord = as.texture.attribLocation("TexCoord"); as.texture_attrib_position = as.texture.attribLocation("VertexPosition"); as.texture_uniform_mvp = as.texture.uniformLocation("MVP"); as.texture_uniform_tex = as.texture.uniformLocation("Tex"); debug_gl.assertNoError(); return as; } pub fn destroy(as: *AllShaders) void { as.primitive.destroy(); as.texture.destroy(); } }; pub const ShaderProgram = struct { program_id: c.GLuint, vertex_id: c.GLuint, fragment_id: c.GLuint, maybe_geometry_id: ?c.GLuint, pub fn bind(sp: ShaderProgram) void { c.glUseProgram(sp.program_id); } pub fn attribLocation(sp: ShaderProgram, name: [*:0]const u8) c.GLint { const id = c.glGetAttribLocation(sp.program_id, name); if (id == -1) { _ = c.printf("invalid attrib: %s\n", name); c.abort(); } return id; } pub fn uniformLocation(sp: ShaderProgram, name: [*:0]const u8) c.GLint { const id = c.glGetUniformLocation(sp.program_id, name); if (id == -1) { _ = c.printf("invalid uniform: %s\n", name); c.abort(); } return id; } pub fn setUniformInt(sp: ShaderProgram, uniform_id: c.GLint, value: c_int) void { _ = sp; c.glUniform1i(uniform_id, value); } pub fn setUniformFloat(sp: ShaderProgram, uniform_id: c.GLint, value: f32) void { _ = sp; c.glUniform1f(uniform_id, value); } pub fn setUniformVec3(sp: ShaderProgram, uniform_id: c.GLint, value: math3d.Vec3) void { _ = sp; c.glUniform3fv(uniform_id, 1, &value.data[0]); } pub fn setUniformVec4(sp: ShaderProgram, uniform_id: c.GLint, value: Vec4) void { _ = sp; c.glUniform4fv(uniform_id, 1, &value.data[0]); } pub fn setUniformMat4x4(sp: ShaderProgram, uniform_id: c.GLint, value: Mat4x4) void { _ = sp; c.glUniformMatrix4fv(uniform_id, 1, c.GL_FALSE, &value.data[0][0]); } pub fn create( vertex_source: []const u8, frag_source: []const u8, maybe_geometry_source: ?[]u8, ) !ShaderProgram { var sp: ShaderProgram = undefined; sp.vertex_id = try initGlShader(vertex_source, "vertex", c.GL_VERTEX_SHADER); sp.fragment_id = try initGlShader(frag_source, "fragment", c.GL_FRAGMENT_SHADER); sp.maybe_geometry_id = if (maybe_geometry_source) |geo_source| try initGlShader(geo_source, "geometry", c.GL_GEOMETRY_SHADER) else null; sp.program_id = c.glCreateProgram(); c.glAttachShader(sp.program_id, sp.vertex_id); c.glAttachShader(sp.program_id, sp.fragment_id); if (sp.maybe_geometry_id) |geo_id| { c.glAttachShader(sp.program_id, geo_id); } c.glLinkProgram(sp.program_id); var ok: c.GLint = undefined; c.glGetProgramiv(sp.program_id, c.GL_LINK_STATUS, &ok); if (ok != 0) return sp; var error_size: c.GLint = undefined; c.glGetProgramiv(sp.program_id, c.GL_INFO_LOG_LENGTH, &error_size); const message = c.malloc(@as(c_ulong, @intCast(error_size))) orelse return error.OutOfMemory; c.glGetProgramInfoLog(sp.program_id, error_size, &error_size, @as([*:0]u8, @ptrCast(message))); _ = c.printf("Error linking shader program: %s\n", message); c.abort(); } pub fn destroy(sp: *ShaderProgram) void { if (sp.maybe_geometry_id) |geo_id| { c.glDetachShader(sp.program_id, geo_id); } c.glDetachShader(sp.program_id, sp.fragment_id); c.glDetachShader(sp.program_id, sp.vertex_id); if (sp.maybe_geometry_id) |geo_id| { c.glDeleteShader(geo_id); } c.glDeleteShader(sp.fragment_id); c.glDeleteShader(sp.vertex_id); c.glDeleteProgram(sp.program_id); } }; fn initGlShader(source: []const u8, name: [*:0]const u8, kind: c.GLenum) !c.GLuint { const shader_id = c.glCreateShader(kind); const source_ptr: ?[*]const u8 = source.ptr; const source_len = @as(c.GLint, @intCast(source.len)); c.glShaderSource(shader_id, 1, &source_ptr, &source_len); c.glCompileShader(shader_id); var ok: c.GLint = undefined; c.glGetShaderiv(shader_id, c.GL_COMPILE_STATUS, &ok); if (ok != 0) return shader_id; var error_size: c.GLint = undefined; c.glGetShaderiv(shader_id, c.GL_INFO_LOG_LENGTH, &error_size); const message = c.malloc(@as(c_ulong, @intCast(error_size))) orelse return error.OutOfMemory; c.glGetShaderInfoLog(shader_id, error_size, &error_size, @as([*:0]u8, @ptrCast(message))); _ = c.printf("Error compiling %s shader:\n%s\n", name, message); c.abort(); }
0
repos/gotta-go-fast/src/tetris/tetris
repos/gotta-go-fast/src/tetris/tetris/src/tetris.zig
const std = @import("std"); const assert = std.debug.assert; const pieces = @import("pieces.zig"); const Piece = pieces.Piece; const c = @import("c.zig"); const lock_delay: f64 = 0.4; const Vec3 = @import("math3d.zig").Vec3; const Vec4 = @import("math3d.zig").Vec4; const Mat4x4 = @import("math3d.zig").Mat4x4; pub const Tetris = struct { projection: Mat4x4, piece_delay: f64, delay_left: f64, grid: [grid_height][grid_width]Cell, next_piece: *const Piece, hold_piece: ?*const Piece, hold_was_set: bool, cur_piece: *const Piece, cur_piece_x: i32, cur_piece_y: i32, cur_piece_rot: usize, score: c_int, game_over: bool, next_particle_index: usize, next_falling_block_index: usize, ghost_y: i32, framebuffer_width: c_int, framebuffer_height: c_int, screen_shake_timeout: f64, screen_shake_elapsed: f64, level: i32, time_till_next_level: f64, piece_pool: [pieces.pieces.len]i32, is_paused: bool, down_key_held: bool, down_move_time: f64, left_key_held: bool, left_move_time: f64, right_key_held: bool, right_move_time: f64, lock_until: f64 = -1, particles: [max_particle_count]?Particle, falling_blocks: [max_falling_block_count]?Particle, fn fillRect(t: *Tetris, comptime g: type, color: Vec4, x: f32, y: f32, w: f32, h: f32) void { const model = Mat4x4.identity.translate(x, y, 0.0).scale(w, h, 0.0); const mvp = t.projection.mult(model); g.fillRectMvp(color, mvp); } fn drawFallingBlock(t: *Tetris, comptime g: type, p: Particle) void { const model = Mat4x4.identity.translateByVec(p.pos).rotate(p.angle, p.axis).scale(p.scale_w, p.scale_h, 0.0); const mvp = t.projection.mult(model); g.fillRectMvp(p.color, mvp); } fn drawCenteredText(t: *Tetris, comptime g: type, text: []const u8) void { const label_width = font_char_width * @as(i32, @intCast(text.len)); const draw_left = board_left + board_width / 2 - @divExact(label_width, 2); const draw_top = board_top + board_height / 2 - font_char_height / 2; g.drawText(t, text, draw_left, draw_top, 1.0); } pub fn draw(t: *Tetris, comptime g: type) void { fillRect(t, g, board_color, board_left, board_top, board_width, board_height); fillRect(t, g, board_color, next_piece_left, next_piece_top, next_piece_width, next_piece_height); fillRect(t, g, board_color, score_left, score_top, score_width, score_height); fillRect(t, g, board_color, level_display_left, level_display_top, level_display_width, level_display_height); fillRect(t, g, board_color, hold_piece_left, hold_piece_top, hold_piece_width, hold_piece_height); if (t.game_over) { drawCenteredText(t, g, "GAME OVER"); } else if (t.is_paused) { drawCenteredText(t, g, "PAUSED"); } else { const abs_x = board_left + t.cur_piece_x * cell_size; const abs_y = board_top + t.cur_piece_y * cell_size; drawPiece(t, g, t.cur_piece.*, abs_x, abs_y, t.cur_piece_rot); const ghost_color = Vec4.init(t.cur_piece.color.data[0], t.cur_piece.color.data[1], t.cur_piece.color.data[2], 0.2); drawPieceWithColor(t, g, t.cur_piece.*, abs_x, t.ghost_y, t.cur_piece_rot, ghost_color); drawPiece(t, g, t.next_piece.*, next_piece_left + margin_size, next_piece_top + margin_size, 0); if (t.hold_piece) |piece| { if (!t.hold_was_set) { drawPiece(t, g, piece.*, hold_piece_left + margin_size, hold_piece_top + margin_size, 0); } else { const grey = Vec4.init(0.65, 0.65, 0.65, 1.0); drawPieceWithColor(t, g, piece.*, hold_piece_left + margin_size, hold_piece_top + margin_size, 0, grey); } } for (t.grid, 0..) |row, y| { for (row, 0..) |cell, x| { switch (cell) { Cell.Color => |color| { const cell_left = board_left + @as(i32, @intCast(x)) * cell_size; const cell_top = board_top + @as(i32, @intCast(y)) * cell_size; fillRect( t, g, color, @as(f32, @floatFromInt(cell_left)), @as(f32, @floatFromInt(cell_top)), cell_size, cell_size, ); }, else => {}, } } } } { const score_text = "SCORE:"; const score_label_width = font_char_width * @as(i32, @intCast(score_text.len)); g.drawText( t, score_text, score_left + score_width / 2 - score_label_width / 2, score_top + margin_size, 1.0, ); } { var score_text_buf: [20]u8 = undefined; const len = @as(usize, @intCast(c.sprintf(&score_text_buf, "%d", t.score))); const score_text = score_text_buf[0..len]; const score_label_width = font_char_width * @as(i32, @intCast(score_text.len)); g.drawText(t, score_text, score_left + score_width / 2 - @divExact(score_label_width, 2), score_top + score_height / 2, 1.0); } { const text = "LEVEL:"; const text_width = font_char_width * @as(i32, @intCast(text.len)); g.drawText(t, text, level_display_left + level_display_width / 2 - text_width / 2, level_display_top + margin_size, 1.0); } { var text_buf: [20]u8 = undefined; const len = @as(usize, @intCast(c.sprintf(&text_buf, "%d", t.level))); const text = text_buf[0..len]; const text_width = font_char_width * @as(i32, @intCast(text.len)); g.drawText(t, text, level_display_left + level_display_width / 2 - @divExact(text_width, 2), level_display_top + level_display_height / 2, 1.0); } { const text = "HOLD:"; const text_width = font_char_width * @as(i32, @intCast(text.len)); g.drawText(t, text, hold_piece_left + hold_piece_width / 2 - text_width / 2, hold_piece_top + margin_size, 1.0); } for (t.falling_blocks) |maybe_particle| { if (maybe_particle) |particle| { drawFallingBlock(t, g, particle); } } for (t.particles) |maybe_particle| { if (maybe_particle) |particle| { g.drawParticle(t, particle); } } } fn drawPiece(t: *Tetris, comptime g: type, piece: Piece, left: i32, top: i32, rot: usize) void { drawPieceWithColor(t, g, piece, left, top, rot, piece.color); } fn drawPieceWithColor(t: *Tetris, comptime g: type, piece: Piece, left: i32, top: i32, rot: usize, color: Vec4) void { for (piece.layout[rot], 0..) |row, y| { for (row, 0..) |is_filled, x| { if (!is_filled) continue; const abs_x = @as(f32, @floatFromInt(left + @as(i32, @intCast(x)) * cell_size)); const abs_y = @as(f32, @floatFromInt(top + @as(i32, @intCast(y)) * cell_size)); fillRect(t, g, color, abs_x, abs_y, cell_size, cell_size); } } } pub fn nextFrame(t: *Tetris, elapsed: f64) void { if (t.is_paused) return; updateKineticMotion(t, elapsed, t.falling_blocks[0..]); updateKineticMotion(t, elapsed, t.particles[0..]); if (!t.game_over) { t.delay_left -= elapsed; if (t.delay_left <= 0) { _ = curPieceFall(t); t.delay_left = t.piece_delay; } t.time_till_next_level -= elapsed; if (t.time_till_next_level <= 0.0) { levelUp(t); } computeGhost(t); } if (t.screen_shake_elapsed < t.screen_shake_timeout) { t.screen_shake_elapsed += elapsed; if (t.screen_shake_elapsed >= t.screen_shake_timeout) { resetProjection(t); } else { const rate = 8; // oscillations per sec const amplitude = 4; // pixels const offset = @as(f32, @floatCast(amplitude * -c.sin(2.0 * PI * t.screen_shake_elapsed * rate))); t.projection = Mat4x4.ortho( 0.0, @as(f32, @floatFromInt(t.framebuffer_width)), @as(f32, @floatFromInt(t.framebuffer_height)) + offset, offset, ); } } } fn updateKineticMotion(t: *Tetris, elapsed: f64, some_particles: []?Particle) void { for (some_particles) |*maybe_p| { if (maybe_p.*) |*p| { p.pos.data[1] += @as(f32, @floatCast(elapsed)) * p.vel.data[1]; p.vel.data[1] += @as(f32, @floatCast(elapsed)) * gravity; p.angle += p.angle_vel; if (p.pos.data[1] > @as(f32, @floatFromInt(t.framebuffer_height))) { maybe_p.* = null; } } } } fn levelUp(t: *Tetris) void { t.level += 1; t.time_till_next_level = time_per_level; const new_piece_delay = t.piece_delay - level_delay_increment; t.piece_delay = if (new_piece_delay >= min_piece_delay) new_piece_delay else min_piece_delay; activateScreenShake(t, 0.08); const max_lines_to_fill = 4; const proposed_lines_to_fill = @divTrunc(t.level + 2, 3); const lines_to_fill = if (proposed_lines_to_fill > max_lines_to_fill) max_lines_to_fill else proposed_lines_to_fill; { var i: i32 = 0; while (i < lines_to_fill) : (i += 1) { insertGarbageRowAtBottom(t); } } } fn insertGarbageRowAtBottom(t: *Tetris) void { // move everything up to make room at the bottom { var y: usize = 1; while (y < t.grid.len) : (y += 1) { t.grid[y - 1] = t.grid[y]; } } // populate bottom row with garbage and make sure it fills at least // one and leaves at least one empty while (true) { var all_empty = true; var all_filled = true; const bottom_y = grid_height - 1; for (t.grid[bottom_y], 0..) |_, x| { const filled = randBoolean(); if (filled) { const index = randIntRangeLessThan(usize, 0, pieces.pieces.len); t.grid[bottom_y][x] = Cell{ .Color = pieces.pieces[index].color }; all_empty = false; } else { t.grid[bottom_y][x] = Cell{ .Empty = {} }; all_filled = false; } } if (!all_empty and !all_filled) break; } if (pieceWouldCollide(t, t.cur_piece.*, t.cur_piece_x, t.cur_piece_y, t.cur_piece_rot)) { t.cur_piece_y -= 1; } } fn computeGhost(t: *Tetris) void { var off_y: i32 = 1; while (!pieceWouldCollide(t, t.cur_piece.*, t.cur_piece_x, t.cur_piece_y + off_y, t.cur_piece_rot)) { off_y += 1; } t.ghost_y = board_top + cell_size * (t.cur_piece_y + off_y - 1); } pub fn userCurPieceFall(t: *Tetris) void { if (t.game_over or t.is_paused) return; _ = curPieceFall(t); } fn curPieceFall(t: *Tetris) bool { // if it would hit something, make it stop instead if (pieceWouldCollide(t, t.cur_piece.*, t.cur_piece_x, t.cur_piece_y + 1, t.cur_piece_rot)) { if (t.lock_until < 0) { t.lock_until = c.glfwGetTime() + lock_delay; return false; } else if (c.glfwGetTime() < t.lock_until) { return false; } else { lockPiece(t); dropNextPiece(t); return true; } } else { t.cur_piece_y += 1; t.lock_until = -1; return false; } } pub fn userDropCurPiece(t: *Tetris) void { if (t.game_over or t.is_paused) return; t.lock_until = 0; while (!curPieceFall(t)) { t.score += 1; t.lock_until = 0; } } pub fn userMoveCurPiece(t: *Tetris, dir: i8) void { if (t.game_over or t.is_paused) return; if (pieceWouldCollide(t, t.cur_piece.*, t.cur_piece_x + dir, t.cur_piece_y, t.cur_piece_rot)) { return; } t.cur_piece_x += dir; } pub fn doBiosKeys(t: *Tetris, now_time: f64) void { const next_move_delay: f64 = 0.025; while (t.down_key_held and t.down_move_time <= now_time) { userCurPieceFall(t); t.down_move_time += next_move_delay; } while (t.left_key_held and t.left_move_time <= now_time) { userMoveCurPiece(t, -1); t.left_move_time += next_move_delay; } while (t.right_key_held and t.right_move_time <= now_time) { userMoveCurPiece(t, 1); t.right_move_time += next_move_delay; } } pub fn userRotateCurPiece(t: *Tetris, rot: i8) void { if (t.game_over or t.is_paused) return; const new_rot = @as(usize, @intCast(@rem(@as(isize, @intCast(t.cur_piece_rot)) + rot + 4, 4))); const old_x = t.cur_piece_x; if (pieceWouldCollide(t, t.cur_piece.*, t.cur_piece_x, t.cur_piece_y, new_rot)) { switch (pieceWouldCollideWithWalls(t.cur_piece.*, t.cur_piece_x, t.cur_piece_y, new_rot)) { .left => { t.cur_piece_x += 1; while (pieceWouldCollideWithWalls(t.cur_piece.*, t.cur_piece_x, t.cur_piece_y, new_rot) == Wall.left) t.cur_piece_x += 1; }, .right => { t.cur_piece_x -= 1; while (pieceWouldCollideWithWalls(t.cur_piece.*, t.cur_piece_x, t.cur_piece_y, new_rot) == Wall.right) t.cur_piece_x -= 1; }, else => {}, } } if (pieceWouldCollide(t, t.cur_piece.*, t.cur_piece_x, t.cur_piece_y, new_rot)) { t.cur_piece_x = old_x; return; } t.cur_piece_rot = new_rot; } pub fn userTogglePause(t: *Tetris) void { if (t.game_over) return; t.is_paused = !t.is_paused; } pub fn restartGame(t: *Tetris) void { t.piece_delay = init_piece_delay; t.delay_left = init_piece_delay; t.score = 0; t.game_over = false; t.screen_shake_elapsed = 0.0; t.screen_shake_timeout = 0.0; t.level = 1; t.time_till_next_level = time_per_level; t.is_paused = false; t.hold_was_set = false; t.hold_piece = null; t.piece_pool = [_]i32{1} ** pieces.pieces.len; clearParticles(t); t.grid = empty_grid; populateNextPiece(t); dropNextPiece(t); } fn lockPiece(t: *Tetris) void { t.score += 1; for (t.cur_piece.layout[t.cur_piece_rot], 0..) |row, y| { for (row, 0..) |is_filled, x| { if (!is_filled) { continue; } const abs_x = t.cur_piece_x + @as(i32, @intCast(x)); const abs_y = t.cur_piece_y + @as(i32, @intCast(y)); if (abs_x >= 0 and abs_y >= 0 and abs_x < grid_width and abs_y < grid_height) { t.grid[@as(usize, @intCast(abs_y))][@as(usize, @intCast(abs_x))] = Cell{ .Color = t.cur_piece.color }; } } } // find lines once and spawn explosions for (t.grid, 0..) |row, y| { _ = row; var all_filled = true; for (t.grid[y]) |cell| { const filled = switch (cell) { Cell.Empty => false, else => true, }; if (!filled) { all_filled = false; break; } } if (all_filled) { for (t.grid[y], 0..) |cell, x| { const color = switch (cell) { Cell.Empty => continue, Cell.Color => |col| col, }; const center_x = @as(f32, @floatFromInt(board_left + x * cell_size)) + @as(f32, @floatFromInt(cell_size)) / 2.0; const center_y = @as(f32, @floatFromInt(board_top + y * cell_size)) + @as(f32, @floatFromInt(cell_size)) / 2.0; addExplosion(t, color, center_x, center_y); } } } // test for line var rows_deleted: usize = 0; var y: i32 = grid_height - 1; while (y >= 0) { var all_filled: bool = true; for (t.grid[@as(usize, @intCast(y))]) |cell| { const filled = switch (cell) { Cell.Empty => false, else => true, }; if (!filled) { all_filled = false; break; } } if (all_filled) { rows_deleted += 1; deleteRow(t, @as(usize, @intCast(y))); } else { y -= 1; } } const score_per_rows_deleted = [_]c_int{ 0, 10, 30, 50, 70 }; t.score += score_per_rows_deleted[rows_deleted]; if (rows_deleted > 0) { activateScreenShake(t, 0.04); } } pub fn resetProjection(t: *Tetris) void { t.projection = Mat4x4.ortho( 0.0, @as(f32, @floatFromInt(t.framebuffer_width)), @as(f32, @floatFromInt(t.framebuffer_height)), 0.0, ); } fn activateScreenShake(t: *Tetris, duration: f64) void { t.screen_shake_elapsed = 0.0; t.screen_shake_timeout = duration; } fn deleteRow(t: *Tetris, del_index: usize) void { var y: usize = del_index; while (y >= 1) { t.grid[y] = t.grid[y - 1]; y -= 1; } t.grid[y] = empty_row; } fn cellEmpty(t: *Tetris, x: i32, y: i32) bool { return switch (t.grid[@as(usize, @intCast(y))][@as(usize, @intCast(x))]) { Cell.Empty => true, else => false, }; } fn pieceWouldCollide(t: *Tetris, piece: Piece, grid_x: i32, grid_y: i32, rot: usize) bool { for (piece.layout[rot], 0..) |row, y| { for (row, 0..) |is_filled, x| { if (!is_filled) { continue; } const abs_x = grid_x + @as(i32, @intCast(x)); const abs_y = grid_y + @as(i32, @intCast(y)); if (abs_x >= 0 and abs_y >= 0 and abs_x < grid_width and abs_y < grid_height) { if (!cellEmpty(t, abs_x, abs_y)) { return true; } } else if (abs_y >= 0) { return true; } } } return false; } fn populateNextPiece(t: *Tetris) void { // Let's turn Gambler's Fallacy into Gambler's Accurate Model of Reality. var upper_bound: i32 = 0; for (t.piece_pool) |count| { if (count == 0) unreachable; upper_bound += count; } const rand_val = randIntRangeLessThan(i32, 0, upper_bound); var this_piece_upper_bound: i32 = 0; var any_zero = false; for (t.piece_pool, 0..) |count, piece_index| { this_piece_upper_bound += count; if (rand_val < this_piece_upper_bound) { t.next_piece = &pieces.pieces[piece_index]; t.piece_pool[piece_index] -= 1; if (count <= 1) { any_zero = true; } break; } } // if any of the pieces are 0, add 1 to all of them if (any_zero) { for (t.piece_pool, 0..) |_, i| { t.piece_pool[i] += 1; } } } const Wall = enum { left, right, top, bottom, none, }; fn pieceWouldCollideWithWalls(piece: Piece, grid_x: i32, grid_y: i32, rot: usize) Wall { for (piece.layout[rot], 0..) |row, y| { for (row, 0..) |is_filled, x| { if (!is_filled) { continue; } const abs_x = grid_x + @as(i32, @intCast(x)); const abs_y = grid_y + @as(i32, @intCast(y)); if (abs_x < 0) { return Wall.left; } else if (abs_x >= grid_width) { return Wall.right; } else if (abs_y < 0) { return Wall.top; } else if (abs_y >= grid_height) { return Wall.top; } } } return Wall.none; } fn doGameOver(t: *Tetris) void { t.game_over = true; // turn every piece into a falling object for (t.grid, 0..) |row, y| { for (row, 0..) |cell, x| { const color = switch (cell) { Cell.Empty => continue, Cell.Color => |col| col, }; const left = @as(f32, @floatFromInt(board_left + x * cell_size)); const top = @as(f32, @floatFromInt(board_top + y * cell_size)); t.falling_blocks[getNextFallingBlockIndex(t)] = createBlockParticle(t, color, Vec3.init(left, top, 0.0)); } } } pub fn userSetHoldPiece(t: *Tetris) void { if (t.game_over or t.is_paused or t.hold_was_set) return; var next_cur: *const Piece = undefined; if (t.hold_piece) |hold_piece| { next_cur = hold_piece; } else { next_cur = t.next_piece; populateNextPiece(t); } t.hold_piece = t.cur_piece; t.hold_was_set = true; dropNewPiece(t, next_cur); } fn dropNewPiece(t: *Tetris, p: *const Piece) void { const start_x = 4; const start_y = -1; const start_rot = 0; t.lock_until = -1; if (pieceWouldCollide(t, p.*, start_x, start_y, start_rot)) { doGameOver(t); return; } t.delay_left = t.piece_delay; t.cur_piece = p; t.cur_piece_x = start_x; t.cur_piece_y = start_y; t.cur_piece_rot = start_rot; } fn dropNextPiece(t: *Tetris) void { t.hold_was_set = false; dropNewPiece(t, t.next_piece); populateNextPiece(t); } fn clearParticles(t: *Tetris) void { for (t.particles[0..]) |*p| { p.* = null; } t.next_particle_index = 0; for (t.falling_blocks[0..]) |*fb| { fb.* = null; } t.next_falling_block_index = 0; } fn getNextParticleIndex(t: *Tetris) usize { const result = t.next_particle_index; t.next_particle_index = (t.next_particle_index + 1) % max_particle_count; return result; } fn getNextFallingBlockIndex(t: *Tetris) usize { const result = t.next_falling_block_index; t.next_falling_block_index = (t.next_falling_block_index + 1) % max_falling_block_count; return result; } fn addExplosion(t: *Tetris, color: Vec4, center_x: f32, center_y: f32) void { const particle_count = 12; const particle_size = @as(f32, cell_size) / 3.0; { var i: i32 = 0; while (i < particle_count) : (i += 1) { const off_x = randFloat(f32) * @as(f32, cell_size) / 2.0; const off_y = randFloat(f32) * @as(f32, cell_size) / 2.0; const pos = Vec3.init(center_x + off_x, center_y + off_y, 0.0); t.particles[getNextParticleIndex(t)] = createParticle(t, color, particle_size, pos); } } } fn createParticle(t: *Tetris, color: Vec4, size: f32, pos: Vec3) Particle { _ = t; var p: Particle = undefined; p.angle_vel = randFloat(f32) * 0.1 - 0.05; p.angle = randFloat(f32) * 2.0 * PI; p.axis = Vec3.init(0.0, 0.0, 1.0); p.scale_w = size * (0.8 + randFloat(f32) * 0.4); p.scale_h = size * (0.8 + randFloat(f32) * 0.4); p.color = color; p.pos = pos; const vel_x = randFloat(f32) * 2.0 - 1.0; const vel_y = -(2.0 + randFloat(f32) * 1.0); p.vel = Vec3.init(vel_x, vel_y, 0.0); return p; } fn createBlockParticle(t: *Tetris, color: Vec4, pos: Vec3) Particle { _ = t; var p: Particle = undefined; p.angle_vel = randFloat(f32) * 0.05 - 0.025; p.angle = 0; p.axis = Vec3.init(0.0, 0.0, 1.0); p.scale_w = cell_size; p.scale_h = cell_size; p.color = color; p.pos = pos; const vel_x = randFloat(f32) * 0.5 - 0.25; const vel_y = -randFloat(f32) * 0.5; p.vel = Vec3.init(vel_x, vel_y, 0.0); return p; } const Cell = union(enum) { Empty, Color: Vec4, }; pub const Particle = struct { color: Vec4, pos: Vec3, vel: Vec3, axis: Vec3, scale_w: f32, scale_h: f32, angle: f32, angle_vel: f32, }; const PI = 3.14159265358979; const max_particle_count = 500; const max_falling_block_count = grid_width * grid_height; const margin_size = 10; const grid_width = 10; const grid_height = 20; pub const cell_size = 32; const board_width = grid_width * cell_size; const board_height = grid_height * cell_size; const board_left = margin_size; const board_top = margin_size; const next_piece_width = margin_size + 4 * cell_size + margin_size; const next_piece_height = next_piece_width; const next_piece_left = board_left + board_width + margin_size; const next_piece_top = board_top + board_height - next_piece_height; const score_width = next_piece_width; const score_height = next_piece_height; const score_left = next_piece_left; const score_top = next_piece_top - margin_size - score_height; const level_display_width = next_piece_width; const level_display_height = next_piece_height; const level_display_left = next_piece_left; const level_display_top = score_top - margin_size - level_display_height; const hold_piece_width = next_piece_width; const hold_piece_height = next_piece_height; const hold_piece_left = next_piece_left; const hold_piece_top = level_display_top - margin_size - hold_piece_height; pub const window_width = next_piece_left + next_piece_width + margin_size; pub const window_height = board_top + board_height + margin_size; const board_color = Vec4{ .data = [_]f32{ 72.0 / 255.0, 72.0 / 255.0, 72.0 / 255.0, 1.0 } }; const init_piece_delay = 0.5; const min_piece_delay = 0.05; const level_delay_increment = 0.05; pub const font_char_width = 18; pub const font_char_height = 32; const gravity = 1000.0; const time_per_level = 60.0; const empty_row = [_]Cell{Cell{ .Empty = {} }} ** grid_width; const empty_grid = [_][grid_width]Cell{empty_row} ** grid_height; }; fn randBoolean() bool { return c.rand() < c.RAND_MAX / 2; } fn randIntRangeLessThan(comptime T: type, at_least: T, less_than: T) T { return @as(T, @truncate(at_least + @mod(@as(T, @intCast(c.rand())), (less_than - at_least)))); } fn randFloat(comptime T: type) T { const s = randInt(u32); const repr = (0x7f << 23) | (s >> 9); return @as(f32, @bitCast(repr)) - 1.0; } fn randInt(comptime T: type) T { var rand_bytes: [@sizeOf(T)]u8 = undefined; for (rand_bytes[0..]) |*byte| { byte.* = @as(u8, @truncate(@as(c_uint, @bitCast(c.rand())))); } return @as(T, @bitCast(rand_bytes)); }
0
repos/gotta-go-fast/src/tetris/tetris
repos/gotta-go-fast/src/tetris/tetris/src/png.zig
const c = @import("c.zig"); pub const PngImage = struct { width: u32, height: u32, pitch: u32, raw: []u8, pub fn destroy(pi: *PngImage) void { c.stbi_image_free(pi.raw.ptr); } pub fn create(compressed_bytes: []const u8) !PngImage { var pi: PngImage = undefined; var width: c_int = undefined; var height: c_int = undefined; if (c.stbi_info_from_memory(compressed_bytes.ptr, @as(c_int, @intCast(compressed_bytes.len)), &width, &height, null) == 0) { return error.NotPngFile; } if (width <= 0 or height <= 0) return error.NoPixels; pi.width = @as(u32, @intCast(width)); pi.height = @as(u32, @intCast(height)); // Not validating channel_count because it gets auto-converted to 4 if (c.stbi_is_16_bit_from_memory(compressed_bytes.ptr, @as(c_int, @intCast(compressed_bytes.len))) != 0) { return error.InvalidFormat; } const bits_per_channel = 8; const channel_count = 4; c.stbi_set_flip_vertically_on_load(1); const image_data = c.stbi_load_from_memory(compressed_bytes.ptr, @as(c_int, @intCast(compressed_bytes.len)), &width, &height, null, channel_count); if (image_data == null) return error.NoMem; pi.pitch = pi.width * bits_per_channel * channel_count / 8; pi.raw = image_data[0 .. pi.height * pi.pitch]; return pi; } };
0
repos/gotta-go-fast/src/tetris/tetris
repos/gotta-go-fast/src/tetris/tetris/src/spritesheet.zig
const std = @import("std"); const c = @import("c.zig"); const AllShaders = @import("all_shaders.zig").AllShaders; const Mat4x4 = @import("math3d.zig").Mat4x4; const PngImage = @import("png.zig").PngImage; pub const Spritesheet = struct { img: PngImage, count: usize, texture_id: c.GLuint, vertex_buffer: c.GLuint, tex_coord_buffers: []c.GLuint, pub fn draw(s: *Spritesheet, as: AllShaders, index: usize, mvp: Mat4x4) void { as.texture.bind(); as.texture.setUniformMat4x4(as.texture_uniform_mvp, mvp); as.texture.setUniformInt(as.texture_uniform_tex, 0); c.glBindBuffer(c.GL_ARRAY_BUFFER, s.vertex_buffer); c.glEnableVertexAttribArray(@as(c.GLuint, @intCast(as.texture_attrib_position))); c.glVertexAttribPointer(@as(c.GLuint, @intCast(as.texture_attrib_position)), 3, c.GL_FLOAT, c.GL_FALSE, 0, null); c.glBindBuffer(c.GL_ARRAY_BUFFER, s.tex_coord_buffers[index]); c.glEnableVertexAttribArray(@as(c.GLuint, @intCast(as.texture_attrib_tex_coord))); c.glVertexAttribPointer(@as(c.GLuint, @intCast(as.texture_attrib_tex_coord)), 2, c.GL_FLOAT, c.GL_FALSE, 0, null); c.glActiveTexture(c.GL_TEXTURE0); c.glBindTexture(c.GL_TEXTURE_2D, s.texture_id); c.glDrawArrays(c.GL_TRIANGLE_STRIP, 0, 4); } pub fn init(s: *Spritesheet, compressed_bytes: []const u8, w: usize, h: usize) !void { s.img = try PngImage.create(compressed_bytes); const col_count = s.img.width / w; const row_count = s.img.height / h; s.count = col_count * row_count; c.glGenTextures(1, &s.texture_id); errdefer c.glDeleteTextures(1, &s.texture_id); c.glBindTexture(c.GL_TEXTURE_2D, s.texture_id); c.glTexParameteri(c.GL_TEXTURE_2D, c.GL_TEXTURE_MAG_FILTER, c.GL_NEAREST); c.glTexParameteri(c.GL_TEXTURE_2D, c.GL_TEXTURE_MIN_FILTER, c.GL_NEAREST); c.glTexParameteri(c.GL_TEXTURE_2D, c.GL_TEXTURE_WRAP_S, c.GL_CLAMP_TO_EDGE); c.glTexParameteri(c.GL_TEXTURE_2D, c.GL_TEXTURE_WRAP_T, c.GL_CLAMP_TO_EDGE); c.glPixelStorei(c.GL_PACK_ALIGNMENT, 4); c.glTexImage2D( c.GL_TEXTURE_2D, 0, c.GL_RGBA, @as(c_int, @intCast(s.img.width)), @as(c_int, @intCast(s.img.height)), 0, c.GL_RGBA, c.GL_UNSIGNED_BYTE, @as(*anyopaque, @ptrCast(&s.img.raw[0])), ); c.glGenBuffers(1, &s.vertex_buffer); errdefer c.glDeleteBuffers(1, &s.vertex_buffer); const vertexes = [_][3]c.GLfloat{ [_]c.GLfloat{ 0.0, 0.0, 0.0 }, [_]c.GLfloat{ 0.0, @as(c.GLfloat, @floatFromInt(h)), 0.0 }, [_]c.GLfloat{ @as(c.GLfloat, @floatFromInt(w)), 0.0, 0.0 }, [_]c.GLfloat{ @as(c.GLfloat, @floatFromInt(w)), @as(c.GLfloat, @floatFromInt(h)), 0.0 }, }; c.glBindBuffer(c.GL_ARRAY_BUFFER, s.vertex_buffer); c.glBufferData(c.GL_ARRAY_BUFFER, 4 * 3 * @sizeOf(c.GLfloat), @as(*const anyopaque, @ptrCast(&vertexes[0][0])), c.GL_STATIC_DRAW); s.tex_coord_buffers = try alloc(c.GLuint, s.count); //s.tex_coord_buffers = try c_allocator.alloc(c.GLuint, s.count); //errdefer c_allocator.free(s.tex_coord_buffers); c.glGenBuffers(@as(c.GLint, @intCast(s.tex_coord_buffers.len)), s.tex_coord_buffers.ptr); errdefer c.glDeleteBuffers(@as(c.GLint, @intCast(s.tex_coord_buffers.len)), &s.tex_coord_buffers[0]); for (s.tex_coord_buffers, 0..) |tex_coord_buffer, i| { const upside_down_row = i / col_count; const col = i % col_count; const row = row_count - upside_down_row - 1; const x = @as(f32, @floatFromInt(col * w)); const y = @as(f32, @floatFromInt(row * h)); const img_w = @as(f32, @floatFromInt(s.img.width)); const img_h = @as(f32, @floatFromInt(s.img.height)); const tex_coords = [_][2]c.GLfloat{ [_]c.GLfloat{ x / img_w, (y + @as(f32, @floatFromInt(h))) / img_h, }, [_]c.GLfloat{ x / img_w, y / img_h, }, [_]c.GLfloat{ (x + @as(f32, @floatFromInt(w))) / img_w, (y + @as(f32, @floatFromInt(h))) / img_h, }, [_]c.GLfloat{ (x + @as(f32, @floatFromInt(w))) / img_w, y / img_h, }, }; c.glBindBuffer(c.GL_ARRAY_BUFFER, tex_coord_buffer); c.glBufferData(c.GL_ARRAY_BUFFER, 4 * 2 * @sizeOf(c.GLfloat), @as(*const anyopaque, @ptrCast(&tex_coords[0][0])), c.GL_STATIC_DRAW); } } pub fn deinit(s: *Spritesheet) void { c.glDeleteBuffers(@as(c.GLint, @intCast(s.tex_coord_buffers.len)), s.tex_coord_buffers.ptr); //c_allocator.free(s.tex_coord_buffers); c.glDeleteBuffers(1, &s.vertex_buffer); c.glDeleteTextures(1, &s.texture_id); s.img.destroy(); } }; fn alloc(comptime T: type, n: usize) ![]T { const ptr = c.malloc(@sizeOf(T) * n) orelse return error.OutOfMemory; return @as([*]T, @ptrCast(@alignCast(ptr)))[0..n]; }
0
repos/gotta-go-fast/src/tetris/tetris
repos/gotta-go-fast/src/tetris/tetris/src/debug_gl.zig
const c = @import("c.zig"); const std = @import("std"); const os = std.os; const builtin = @import("builtin"); pub const is_on = if (builtin.mode == .ReleaseFast) c.GL_FALSE else c.GL_TRUE; pub fn assertNoError() void { if (builtin.mode != .ReleaseFast) { const err = c.glGetError(); if (err != c.GL_NO_ERROR) { _ = c.printf("GL error: %s\n", err); c.abort(); } } }
0
repos/gotta-go-fast/src
repos/gotta-go-fast/src/build-self-hosted/stage2.zig
const std = @import("std"); const bench = @import("root"); const OUTPUT_DIR = "stage2"; const Context = struct { zig_exe: []const u8, build_file_path: []const u8, }; pub fn setup(gpa: std.mem.Allocator, options: *bench.Options) !Context { options.useChildProcess(); try std.fs.cwd().deleteTree(OUTPUT_DIR); return Context{ .zig_exe = options.zig_exe, .build_file_path = try std.fs.path.join(gpa, &.{ options.zig_src_root, "build.zig" }), }; } pub fn run(gpa: std.mem.Allocator, context: Context) !void { return bench.exec(gpa, &.{ context.zig_exe, "build", "--build-file", context.build_file_path, "-p", OUTPUT_DIR, "-Dno-lib", }, .{}); }
0
repos
repos/wazm/README.md
# wazm — Web Assembly Zig Machine | Feature | Implemented | Tested | |:------|:------:|:------:| | Bytecode parser | ✅ | ⚠️ | | Bytecode output | ❌ | ❌ | | WAT parser | 🚧 | ⚠️ | | WAT output | ❌ | ❌ | | Execution | ✅ | 🐛 | | WASI | 🚧 | ⚠️ | ```bash $ git clone https://github.com/fengb/wazm.git $ cd wazm $ zig build test ```
0
repos
repos/wazm/build.zig
const std = @import("std"); pub fn build(b: *std.build.Builder) void { const target = b.standardTargetOptions(.{}); const mode = b.standardReleaseOptions(); const exe = b.addExecutable("wazm", "src/main.zig"); exe.setTarget(target); exe.setBuildMode(mode); exe.install(); const run_cmd = exe.run(); run_cmd.step.dependOn(b.getInstallStep()); if (b.args) |args| { run_cmd.addArgs(args); } const run_step = b.step("run", "Run the app"); run_step.dependOn(&run_cmd.step); var all_tests = b.addTest("src/main.zig"); all_tests.setBuildMode(mode); const test_step = b.step("test", "Run library tests"); test_step.dependOn(&all_tests.step); addScript(b, "opcodes"); addScript(b, "fibo-bench"); } fn addScript(b: *std.build.Builder, name: []const u8) void { const filename = std.fmt.allocPrint(b.allocator, "scripts/{s}.zig", .{name}) catch unreachable; const mode = b.standardReleaseOptions(); const exe = b.addExecutable(name, filename); exe.setBuildMode(mode); exe.addPackagePath("self", "src/main.zig"); const run_cmd = exe.run(); if (b.args) |args| { run_cmd.addArgs(args); } const run_step = b.step(name, filename); run_step.dependOn(&run_cmd.step); }
0
repos/wazm
repos/wazm/scripts/opcodes.zig
const std = @import("std"); const self = @import("self"); pub fn main() !void { const stdout = std.io.getStdOut(); try outputHtml(stdout.writer()); } fn outputConsole(writer: anytype) !void { for (self.Op.Meta.all) |op, i| { var buf = [_]u8{' '} ** 13; if (op) |o| { std.mem.copy(u8, &buf, o.name); } try writer.print("{}", .{buf}); if (i % 0x10 == 0xF) { try writer.print("\n", .{}); } } } fn outputHtml(writer: anytype) !void { try writer.print("<html>\n<body>\n<table>\n", .{}); try writer.print("<tr>\n<th></th>\n", .{}); for ([_]u8{0} ** 16) |_, i| { try writer.print("<th>_{X}</th>\n", .{i}); } try writer.print("</tr>\n", .{}); for (self.Op.Meta.all) |op, i| { if (i % 0x10 == 0x0) { try writer.print("<tr>\n<th>{X}_</th>\n", .{i / 16}); } try writer.print("<td style='white-space: nowrap; font-family: monospace'>\n", .{}); if (op) |o| { try writer.print("<strong>{s}</strong><br />\n", .{o.name}); try writer.print("(", .{}); if (o.pop.len > 0) { for (o.pop) |change| { try writer.print("{s} ", .{@tagName(change)}); } } try writer.print(") ", .{}); try writer.print("&rarr; ({s})\n", .{if (o.push) |change| @tagName(change) else ""}); } try writer.print("</td>", .{}); if (i % 0x10 == 0xF) { try writer.print("</tr>\n", .{}); } } try writer.print("</table>\n</body>\n</html>\n", .{}); }
0
repos/wazm
repos/wazm/scripts/fibo-bench.zig
const std = @import("std"); const Wat = @import("self").Wat; pub fn main() !void { var gpa = std.heap.GeneralPurposeAllocator(.{}){}; const allocator = &gpa.allocator; const args = try std.process.argsAlloc(allocator); defer std.process.argsFree(allocator, args); const iters: u32 = try std.fmt.parseInt(u8, args[1], 10); var fbs = std.io.fixedBufferStream( \\(module \\ (func (param i32) (result i32) (local i32) \\ i32.const 1 \\ local.set 1 \\ block \\ local.get 0 \\ i32.const 2 \\ i32.lt_s \\ br_if 0 \\ local.get 0 \\ i32.const -1 \\ i32.add \\ call 0 \\ local.get 0 \\ i32.const -2 \\ i32.add \\ call 0 \\ i32.add \\ local.set 1 \\ end \\ local.get 1) \\ (export "fib" (func 0))) ); var module = try Wat.parse(allocator, fbs.reader()); defer module.deinit(); var instance = try module.instantiate(allocator, null, struct {}); defer instance.deinit(); const result = try instance.call("fib", .{iters}); std.debug.print("{}\n", .{result.?.I32}); }
0
repos/wazm
repos/wazm/src/wasi.zig
const std = @import("std"); const Module = @import("module.zig"); const Instance = @import("instance.zig"); const Memory = @import("Memory.zig"); const Wasi = @This(); argv: [][]u8, environ: [][]u8 = &.{}, exit_code: ?Exitcode = null, const P = Memory.P; pub fn run(self: *Wasi, allocator: *std.mem.Allocator, reader: anytype) !Exitcode { var module = try Module.parse(allocator, reader); defer module.deinit(); var instance = try module.instantiate(allocator, self, struct { pub const wasi = imports; pub const wasi_snapshot_preview1 = imports; }); defer instance.deinit(); _ = instance.call("_start", .{}) catch |err| switch (err) { error.Unreachable => { if (self.exit_code) |code| return code; return err; }, else => return err, }; // TODO: what should we do if there is no explicit exit? return @intToEnum(Exitcode, 0); } pub const Size = u32; /// Non-negative file size or length of a region within a file. pub const Filesize: u64; /// Timestamp in nanoseconds. pub const Timestamp = u64; /// Identifiers for clocks. pub const ClockId = enum(u32) { /// The clock measuring real time. Time value zero corresponds with 1970-01-01T00:00:00Z. realtime = 0, /// The store-wide monotonic clock, which is defined as a clock measuring real time, whose value cannot be adjusted and which cannot have negative clock jumps. The epoch of this clock is undefined. The absolute time value of this clock therefore has no meaning. monotonic = 1, /// The CPU-time clock associated with the current process. process_cputime_id = 2, /// The CPU-time clock associated with the current thread. thread_cputime_id = 3, _, }; /// Exit code generated by a process when exiting. pub const Exitcode = enum(u32) { _ }; /// A file descriptor handle. const Fd = enum(u32) { stdin = 0, stdout = 1, stderr = 2, _, }; /// A region of memory for scatter/gather reads. const Iovec = extern struct { buf: P(u8), len: Size, }; /// Error codes returned by functions. Not all of these error codes are returned by the functions provided by this API; some are used in higher-level library layers, and others are provided merely for alignment with POSIX. pub const Errno = enum(u32) { /// No error occurred. System call completed successfully. success = 0, /// Permission denied. acces = 2, /// Resource unavailable, or operation would block. again = 6, /// Bad file descriptor. badf = 8, /// Connection aborted. connaborted = 13, /// Connection refused. connrefused = 14, /// Connection reset. connreset = 15, /// Reserved. dquot = 19, /// File too large. fbig = 22, /// Invalid argument. inval = 28, /// I/O error. io = 29, /// No buffer space available. nobufs = 42, /// No space left on device. nospc = 51, /// Function not supported. nosys = 52, /// Broken pipe. pipe = 64, unexpected = 0xAAAA, _, }; /// File descriptor rights, determining which actions may be performed. pub const Rights = packed struct { fd_datasync: bool, fd_read: bool, fd_seek: bool, fd_fdstat_set_flags: bool, fd_sync: bool, fd_tell: bool, fd_write: bool, fd_advise: bool, fd_allocate: bool, path_create_directory: bool, path_create_file: bool, path_link_source: bool, path_link_target: bool, path_open: bool, fd_readdir: bool, path_readlink: bool, path_rename_source: bool, path_rename_target: bool, path_filestat_get: bool, path_filestat_set_size: bool, path_filestat_set_times: bool, fd_filestat_get: bool, fd_filestat_set_size: bool, fd_filestat_set_times: bool, path_symlink: bool, path_remove_directory: bool, path_unlink_file: bool, poll_fd_readwrite: bool, sock_shutdown: bool, _pad: u3, _pad1: u32, }; const imports = struct { pub fn args_get(mem: *Memory, argv: P(P(u8)), argv_buf: P(u8)) !Errno { const wasi = mem.ext(Wasi); return strings_get(mem, wasi.argv, argv, argv_buf); } pub fn args_sizes_get(mem: *Memory, argc: P(Size), argv_buf_size: P(Size)) !Errno { const wasi = mem.ext(Wasi); return strings_sizes_get(mem, wasi.argv, argc, argv_buf_size); } pub fn environ_get(mem: *Memory, environ: P(P(u8)), environ_buf: P(u8)) !Errno { const wasi = mem.ext(Wasi); return strings_get(mem, wasi.environ, environ, environ_buf); } pub fn environ_sizes_get(mem: *Memory, environc: P(Size), environ_buf_size: P(Size)) !Errno { const wasi = mem.ext(Wasi); return strings_sizes_get(mem, wasi.environ, environc, environ_buf_size); } pub fn fd_write(mem: *Memory, fd: Fd, iovs: P(Iovec), iovs_len: Size, nread: P(Size)) !Errno { var os_vec: [128]std.os.iovec_const = undefined; var i: u32 = 0; var osi: u32 = 0; while (i < iovs_len) : (i += 1) { const iov = try mem.get(try iovs.add(i)); var iter = mem.iterBytes(iov.buf, iov.len); while (try iter.next()) |bytes| { os_vec[osi] = .{ .iov_base = bytes.ptr, .iov_len = bytes.len }; osi += 1; } } const handle = switch (fd) { .stdin => unreachable, .stdout => std.io.getStdOut().handle, .stderr => std.io.getStdErr().handle, else => unreachable, }; var written = std.os.writev(handle, os_vec[0..osi]) catch |err| return switch (err) { error.DiskQuota => Errno.dquot, error.FileTooBig => Errno.fbig, error.InputOutput => Errno.io, error.NoSpaceLeft => Errno.nospc, error.AccessDenied => Errno.acces, error.BrokenPipe => Errno.pipe, error.SystemResources => Errno.nobufs, error.OperationAborted => unreachable, error.NotOpenForWriting => Errno.badf, error.WouldBlock => Errno.again, error.ConnectionResetByPeer => Errno.connreset, error.Unexpected => Errno.unexpected, }; try mem.set(nread, @intCast(u32, written)); return Errno.success; } fn strings_get(mem: *Memory, strings: [][]u8, target: P(P(u8)), target_buf: P(u8)) !Errno { var target_ = target; var target_buf_ = target_buf; for (strings) |string| { try mem.set(target_, target_buf_); target_ = try target_.add(1); try mem.setMany(target_buf_, string); target_buf_ = try target_buf_.add(@intCast(u32, string.len)); try mem.set(target_buf_, 0); target_buf_ = try target_buf_.add(1); } return Errno.success; } fn strings_sizes_get(mem: *Memory, strings: [][]u8, targetc: P(Size), target_buf_size: P(Size)) !Errno { try mem.set(targetc, @intCast(Size, strings.len)); var buf_size: usize = 0; for (strings) |string| { buf_size += string.len + 1; } try mem.set(target_buf_size, @intCast(Size, buf_size)); return Errno.success; } pub fn clock_res_get(mem: *Memory, clock_id: ClockId, resolution: P(Timestamp)) !Errno { const clk: i32 = switch (clock_id) { .realtime => std.os.CLOCK_REALTIME, .monotonic => std.os.CLOCK_MONOTONIC, .process_cputime_id => std.os.CLOCK_PROCESS_CPUTIME_ID, .thread_cputime_id => std.os.CLOCK_THREAD_CPUTIME_ID, else => return Errno.inval, }; var result: std.os.timespec = undefined; std.os.clock_getres(clk, &result) catch |err| switch (err) { error.UnsupportedClock => return Errno.inval, error.Unexpected => return Errno.unexpected, }; try mem.set(resolution, @intCast(Timestamp, std.time.ns_per_s * result.tv_sec + result.tv_nsec)); return Errno.success; } pub fn clock_time_get(mem: *Memory, clock_id: ClockId, precision: Timestamp, time: P(Timestamp)) !Errno { const clk: i32 = switch (clock_id) { .realtime => std.os.CLOCK_REALTIME, .monotonic => std.os.CLOCK_MONOTONIC, .process_cputime_id => std.os.CLOCK_PROCESS_CPUTIME_ID, .thread_cputime_id => std.os.CLOCK_THREAD_CPUTIME_ID, else => return Errno.inval, }; var result: std.os.timespec = undefined; std.os.clock_gettime(clk, &result) catch |err| switch (err) { error.UnsupportedClock => return Errno.inval, error.Unexpected => return Errno.unexpected, }; try mem.set(time, @intCast(Timestamp, std.time.ns_per_s * result.tv_sec + result.tv_nsec)); return Errno.success; } pub fn proc_exit(mem: *Memory, rval: Exitcode) !void { const wasi = mem.ext(Wasi); wasi.exit_code = rval; return error.Unreachable; } pub fn sched_yield(mem: *Memory) Errno { std.os.sched_yield() catch |err| switch (err) { error.SystemCannotYield => return Errno.nosys, }; return Errno.success; } }; test "smoke" { _ = Instance.ImportManager(struct { pub const wasi = imports; }); }
0
repos/wazm
repos/wazm/src/wat.zig
const std = @import("std"); const Module = @import("module.zig"); const Op = @import("op.zig"); const util = @import("util.zig"); const debug_buffer = std.builtin.mode == .Debug; fn sexpr(reader: anytype) Sexpr(@TypeOf(reader)) { return .{ .reader = reader, ._debug_buffer = if (debug_buffer) std.fifo.LinearFifo(u8, .{ .Static = 0x100 }).init() else {}, }; } fn Sexpr(comptime Reader: type) type { return struct { const Self = @This(); reader: Reader, current_stack: isize = 0, _peek: ?u8 = null, _debug_buffer: if (debug_buffer) std.fifo.LinearFifo(u8, .{ .Static = 0x100 }) else void, const Token = enum { OpenParen, CloseParen, Atom, }; pub const List = struct { ctx: *Self, stack_level: isize, const Next = union(enum) { Atom: []const u8, List: List }; pub fn next(self: List, allocator: *std.mem.Allocator) !?Next { if (self.isAtEnd()) return null; return switch (try self.ctx.scan()) { .OpenParen => Next{ .List = .{ .ctx = self.ctx, .stack_level = self.ctx.current_stack } }, .CloseParen => null, .Atom => Next{ .Atom = try self.loadIntoAllocator(allocator) }, }; } pub fn obtainAtom(self: List, allocator: *std.mem.Allocator) ![]u8 { return (try self.nextAtom(allocator)) orelse error.ExpectedAtomGotNull; } pub fn obtainList(self: List) !List { return (try self.nextList()) orelse error.ExpectedListGotNull; } pub fn nextAtom(self: List, allocator: *std.mem.Allocator) !?[]u8 { if (self.isAtEnd()) return null; return switch (try self.ctx.scan()) { .OpenParen => error.ExpectedAtomGotList, .CloseParen => null, .Atom => try self.loadIntoAllocator(allocator), }; } pub fn nextList(self: List) !?List { if (self.isAtEnd()) return null; return switch (try self.ctx.scan()) { .OpenParen => List{ .ctx = self.ctx, .stack_level = self.ctx.current_stack }, .CloseParen => null, .Atom => error.ExpectedListGotAtom, }; } pub fn expectEnd(self: List) !void { if (self.isAtEnd()) return; switch (try self.ctx.scan()) { .CloseParen => {}, else => return error.ExpectedEndOfList, } } fn isAtEnd(self: List) bool { switch (self.stack_level - self.ctx.current_stack) { 0 => return false, 1 => { if (debug_buffer and self.ctx._debug_buffer.peekItem(self.ctx._debug_buffer.count - 1) != ')') { self.ctx.debugDump(std.io.getStdOut().writer()) catch {}; unreachable; } return true; }, else => { if (debug_buffer) { self.ctx.debugDump(std.io.getStdOut().writer()) catch {}; std.debug.print("Unexpected list depth -- Current {} != List {}\n", .{ self.ctx.current_stack, self.stack_level }); } unreachable; }, } } fn loadIntoAllocator(self: List, allocator: *std.mem.Allocator) ![]u8 { var list = std.ArrayList(u8).init(allocator); const writer = list.writer(); const first = try self.ctx.readByte(); try writer.writeByte(first); const is_string = first == '"'; while (true) { const byte = try self.ctx.readByte(); if (is_string) { try writer.writeByte(byte); // TODO: handle escape sequences? if (byte == '"') { return list.toOwnedSlice(); } } else { switch (byte) { 0, ' ', '\t', '\n', '(', ')' => { self.ctx.putBack(byte); return list.toOwnedSlice(); }, else => try writer.writeByte(byte), } } } } }; pub fn root(self: *Self) !List { const token = try self.scan(); std.debug.assert(token == .OpenParen); return List{ .ctx = self, .stack_level = self.current_stack }; } pub fn debugDump(self: Self, writer: anytype) !void { var tmp = self._debug_buffer; const reader = tmp.reader(); var buf: [0x100]u8 = undefined; const size = try reader.read(&buf); try writer.writeAll(buf[0..size]); try writer.writeByte('\n'); } fn skipPast(self: *Self, seq: []const u8) !void { std.debug.assert(seq.len > 0); var matched: usize = 0; while (true) { const byte = try self.readByte(); if (byte == seq[matched]) { matched += 1; if (matched >= seq.len) { return; } } else { matched = 0; } } } pub fn expectEos(self: *Self) !void { const value = self.scan() catch |err| switch (err) { error.EndOfStream => return, else => return err, }; return error.ExpectEos; } fn readByte(self: *Self) !u8 { if (self._peek) |p| { self._peek = null; return p; } else { const byte = try self.reader.readByte(); if (debug_buffer) { if (self._debug_buffer.writableLength() == 0) { self._debug_buffer.discard(1); std.debug.assert(self._debug_buffer.writableLength() == 1); } self._debug_buffer.writeAssumeCapacity(&[_]u8{byte}); } return byte; } } fn peek(self: *Self) !u8 { return self._peek orelse { const byte = try self.readByte(); self._peek = byte; return byte; }; } fn putBack(self: *Self, byte: u8) void { std.debug.assert(self._peek == null); self._peek = byte; } fn scan(self: *Self) !Token { while (true) { const byte = try self.readByte(); switch (byte) { 0, ' ', '\t', '\n' => {}, '(' => { const next = self.peek() catch |err| switch (err) { error.EndOfStream => 0, else => return err, }; if (next == ';') { // Comment block -- skip to next segment try self.skipPast(";)"); } else { self.current_stack += 1; return Token.OpenParen; } }, ')' => { if (self.current_stack <= 0) { return error.UnmatchedParens; } self.current_stack -= 1; return Token.CloseParen; }, ';' => try self.skipPast("\n"), else => { self.putBack(byte); if (self.current_stack <= 0) { return error.TrailingLiteral; } return Token.Atom; }, } } } }; } test "sexpr" { var buf: [256]u8 align(32) = undefined; var ring = util.RingAllocator.init(&buf, 32); { var fbs = std.io.fixedBufferStream("(a bc 42)"); var s = sexpr(fbs.reader()); const root = try s.root(); try std.testing.expectEqualSlices(u8, "a", try root.obtainAtom(&ring.allocator)); try std.testing.expectEqualSlices(u8, "bc", try root.obtainAtom(&ring.allocator)); try std.testing.expectEqualSlices(u8, "42", try root.obtainAtom(&ring.allocator)); try root.expectEnd(); try root.expectEnd(); try root.expectEnd(); } { var fbs = std.io.fixedBufferStream("(() ())"); var s = sexpr(fbs.reader()); const root = try s.root(); const first = try root.obtainList(); try std.testing.expectEqual(@as(?@TypeOf(root), null), try first.nextList()); const second = try root.obtainList(); try std.testing.expectEqual(@as(?@TypeOf(root), null), try second.nextList()); } { var fbs = std.io.fixedBufferStream("( ( ( ())))"); var s = sexpr(fbs.reader()); const root = try s.root(); const first = try root.obtainList(); const second = try first.obtainList(); const third = try second.obtainList(); try third.expectEnd(); try second.expectEnd(); try first.expectEnd(); } { var fbs = std.io.fixedBufferStream("(block (; ; ; ;) ;; label = @1\n local.get 4)"); var s = sexpr(fbs.reader()); const root = try s.root(); try std.testing.expectEqualSlices(u8, "block", try root.obtainAtom(&ring.allocator)); try std.testing.expectEqualSlices(u8, "local.get", try root.obtainAtom(&ring.allocator)); try std.testing.expectEqualSlices(u8, "4", try root.obtainAtom(&ring.allocator)); try root.expectEnd(); } } pub fn parse(allocator: *std.mem.Allocator, reader: anytype) !Module { var result = try parseNoValidate(allocator, reader); errdefer result.deinit(); try result.postProcess(); return result; } pub fn parseNoValidate(allocator: *std.mem.Allocator, reader: anytype) !Module { var ctx = sexpr(reader); const root = try ctx.root(); errdefer if (debug_buffer) ctx.debugDump(std.io.getStdOut().writer()) catch {}; var ring_buf: [256]u8 align(32) = undefined; var ring = util.RingAllocator.init(&ring_buf, 32); if (!std.mem.eql(u8, try root.obtainAtom(&ring.allocator), "module")) { return error.ExpectModule; } var arena = std.heap.ArenaAllocator.init(allocator); errdefer arena.deinit(); var customs = std.ArrayList(Module.Section(.custom)).init(&arena.allocator); var types = std.ArrayList(Module.Section(.type)).init(&arena.allocator); var imports = std.ArrayList(Module.Section(.import)).init(&arena.allocator); var functions = std.ArrayList(Module.Section(.function)).init(&arena.allocator); var tables = std.ArrayList(Module.Section(.table)).init(&arena.allocator); var memories = std.ArrayList(Module.Section(.memory)).init(&arena.allocator); var globals = std.ArrayList(Module.Section(.global)).init(&arena.allocator); var exports = std.ArrayList(Module.Section(.@"export")).init(&arena.allocator); var start: ?Module.Section(.start) = null; var elements = std.ArrayList(Module.Section(.element)).init(&arena.allocator); var codes = std.ArrayList(Module.Section(.code)).init(&arena.allocator); var data = std.ArrayList(Module.Section(.data)).init(&arena.allocator); while (try root.nextList()) |command| { const swhash = util.Swhash(8); switch (swhash.match(try command.obtainAtom(&ring.allocator))) { swhash.case("memory") => { try memories.append(.{ .limits = .{ .initial = try std.fmt.parseInt(u32, try command.obtainAtom(&ring.allocator), 10), .maximum = if (try command.nextAtom(&ring.allocator)) |value| try std.fmt.parseInt(u32, value, 10) else null, }, }); // TODO: this is broken // try command.expectEnd(); }, swhash.case("type") => { while (try command.nextList()) |args| { switch (swhash.match(try args.obtainAtom(&ring.allocator))) { swhash.case("func") => { var params = std.ArrayList(Module.Type.Value).init(&arena.allocator); var result: ?Module.Type.Value = null; while (try args.nextList()) |pair| { const loc = try pair.obtainAtom(&ring.allocator); const typ: Module.Type.Value = switch (swhash.match(try pair.obtainAtom(&ring.allocator))) { swhash.case("i32") => .I32, swhash.case("i64") => .I64, swhash.case("f32") => .F32, swhash.case("f64") => .F64, else => return error.ExpectedType, }; switch (swhash.match(loc)) { swhash.case("param") => try params.append(typ), swhash.case("result") => result = typ, else => return error.ExpectedLoc, } try pair.expectEnd(); } try types.append(.{ .form = .Func, .param_types = params.items, .return_type = result, }); }, else => return error.TypeNotRecognized, } } }, swhash.case("import") => { const module = try command.obtainAtom(&arena.allocator); if (module[0] != '"') { return error.ExpectString; } const field = try command.obtainAtom(&arena.allocator); if (field[0] != '"') { return error.ExpectString; } var result = Module.Section(.import){ .module = module[1 .. module.len - 1], .field = field[1 .. field.len - 1], .kind = undefined, }; const kind_list = try command.obtainList(); switch (swhash.match(try kind_list.obtainAtom(&ring.allocator))) { swhash.case("func") => { const type_pair = try kind_list.obtainList(); if (!std.mem.eql(u8, "type", try type_pair.obtainAtom(&ring.allocator))) { @panic("TODO inline function prototypes"); } const index = try type_pair.obtainAtom(&ring.allocator); try type_pair.expectEnd(); result.kind = .{ .Function = @intToEnum(Module.Index.FuncType, try std.fmt.parseInt(u32, index, 10)), }; }, swhash.case("table") => @panic("TODO"), swhash.case("memory") => @panic("TODO"), swhash.case("global") => @panic("TODO"), else => return error.ImportNotSupported, } try kind_list.expectEnd(); try command.expectEnd(); try imports.append(result); }, swhash.case("func") => { var params = std.ArrayList(Module.Type.Value).init(&arena.allocator); var locals = std.ArrayList(Module.Type.Value).init(&arena.allocator); var result: ?Module.Type.Value = null; while (command.obtainList()) |pair| { const loc = try pair.obtainAtom(&ring.allocator); const typ: Module.Type.Value = switch (swhash.match(try pair.obtainAtom(&ring.allocator))) { swhash.case("i32") => .I32, swhash.case("i64") => .I64, swhash.case("f32") => .F32, swhash.case("f64") => .F64, else => return error.ExpectedType, }; switch (swhash.match(loc)) { swhash.case("param") => try params.append(typ), swhash.case("local") => try locals.append(typ), swhash.case("result") => result = typ, else => return error.ExpectedLoc, } try pair.expectEnd(); } else |err| switch (err) { error.ExpectedListGotNull, error.ExpectedListGotAtom => {}, else => return err, } var body = std.ArrayList(Module.Instr).init(&arena.allocator); while (try command.nextAtom(&ring.allocator)) |op_string| { for (op_string) |*letter| { if (letter.* == '.') { letter.* = '_'; } } const op = std.meta.stringToEnum(std.wasm.Opcode, op_string) orelse return error.OpNotFound; const op_meta = Op.Meta.of(op); try body.append(.{ .op = op, .pop_len = @intCast(u8, op_meta.pop.len), .arg = switch (op_meta.arg_kind) { .Void => undefined, .Type => blk: { const pair = command.obtainList() catch |err| switch (err) { error.ExpectedListGotAtom => break :blk Op.Arg{ .Type = .Void }, else => |e| return e, }; if (!std.mem.eql(u8, try pair.obtainAtom(&ring.allocator), "result")) { return error.ExpectedResult; } const typ: Op.Arg.Type = switch (swhash.match(try pair.obtainAtom(&ring.allocator))) { swhash.case("void") => .Void, swhash.case("i32") => .I32, swhash.case("i64") => .I64, swhash.case("f32") => .F32, swhash.case("f64") => .F64, else => return error.ExpectedType, }; try pair.expectEnd(); break :blk Op.Arg{ .Type = typ }; }, .U32z, .Mem, .Array => @panic("TODO"), else => blk: { const arg = try command.obtainAtom(&ring.allocator); break :blk @as(Op.Arg, switch (op_meta.arg_kind) { .Void, .Type, .U32z, .Mem, .Array => unreachable, .I32 => .{ .I32 = try std.fmt.parseInt(i32, arg, 10) }, .U32 => .{ .U32 = try std.fmt.parseInt(u32, arg, 10) }, .I64 => .{ .I64 = try std.fmt.parseInt(i64, arg, 10) }, .U64 => .{ .U64 = try std.fmt.parseInt(u64, arg, 10) }, .F32 => .{ .F32 = try std.fmt.parseFloat(f32, arg) }, .F64 => .{ .F64 = try std.fmt.parseFloat(f64, arg) }, }); }, }, }); } try functions.append(.{ .type_idx = @intToEnum(Module.Index.FuncType, @intCast(u32, types.items.len)), }); try codes.append(.{ .locals = locals.items, .body = body.items, }); try types.append(.{ .form = .Func, .param_types = params.items, .return_type = result, }); }, swhash.case("global") => { // 'skip' the id const id = (try command.next(&ring.allocator)) orelse return error.ExpectedNext; const next = blk: { // a comment was skipped so 'id' is the actual Atom/List we want if (id != .Atom or id.Atom[0] != '$') break :blk id; // if it was an id get next list/atom break :blk (try command.next(&ring.allocator)) orelse return error.ExpectedNext; }; const mutable = blk: { if (next == .Atom) break :blk false; const mut = try next.List.obtainAtom(&ring.allocator); break :blk std.mem.eql(u8, mut, "mut"); }; const valtype = blk: { const type_atom = switch (next) { .List => |list| list_blk: { const res = try list.obtainAtom(&ring.allocator); try list.expectEnd(); break :list_blk res; }, .Atom => |atom| atom, }; break :blk @as(Module.Type.Value, switch (swhash.match(type_atom)) { swhash.case("i32") => .I32, swhash.case("i64") => .I64, swhash.case("f32") => .F32, swhash.case("f64") => .F64, else => return error.ExpectedType, }); }; const init_pair = try command.obtainList(); var op_string = try init_pair.obtainAtom(&ring.allocator); for (op_string) |*letter| { if (letter.* == '.') { letter.* = '_'; } } const op = std.meta.stringToEnum(std.wasm.Opcode, op_string) orelse return error.OpNotFound; const value = try init_pair.obtainAtom(&ring.allocator); const result: Module.InitExpr = switch (op) { .i32_const => .{ .i32_const = try std.fmt.parseInt(i32, value, 10) }, .i64_const => .{ .i64_const = try std.fmt.parseInt(i64, value, 10) }, .f32_const => .{ .f32_const = try std.fmt.parseFloat(f32, value) }, .f64_const => .{ .f64_const = try std.fmt.parseFloat(f64, value) }, else => return error.UnsupportedInitExpr, }; try init_pair.expectEnd(); try globals.append(.{ .@"type" = .{ .content_type = valtype, .mutability = mutable, }, .init = result, }); }, swhash.case("export") => { const export_name = try command.obtainAtom(&arena.allocator); if (export_name[0] != '"') { return error.ExpectString; } std.debug.assert(export_name[export_name.len - 1] == '"'); const pair = try command.obtainList(); const kind = try pair.obtainAtom(&ring.allocator); const index = try pair.obtainAtom(&ring.allocator); try exports.append(.{ .field = export_name[1 .. export_name.len - 1], .kind = switch (swhash.match(kind)) { swhash.case("func") => .Function, swhash.case("table") => .Table, swhash.case("memory") => .Memory, swhash.case("global") => .Global, else => return error.ExpectExternalKind, }, .index = try std.fmt.parseInt(u32, index, 10), }); try pair.expectEnd(); }, else => return error.CommandNotRecognized, } try command.expectEnd(); } try root.expectEnd(); try ctx.expectEos(); return Module{ .custom = customs.items, .@"type" = types.items, .import = imports.items, .function = functions.items, .table = tables.items, .memory = memories.items, .global = globals.items, .@"export" = exports.items, .start = start, .element = elements.items, .code = codes.items, .data = data.items, .arena = arena, }; } test "parseNoValidate" { { var fbs = std.io.fixedBufferStream("(module)"); var module = try parseNoValidate(std.testing.allocator, fbs.reader()); defer module.deinit(); try std.testing.expectEqual(@as(usize, 0), module.memory.len); try std.testing.expectEqual(@as(usize, 0), module.function.len); try std.testing.expectEqual(@as(usize, 0), module.@"export".len); } { var fbs = std.io.fixedBufferStream("(module (memory 42))"); var module = try parseNoValidate(std.testing.allocator, fbs.reader()); defer module.deinit(); try std.testing.expectEqual(@as(usize, 1), module.memory.len); try std.testing.expectEqual(@as(u32, 42), module.memory[0].limits.initial); } { var fbs = std.io.fixedBufferStream( \\(module \\ (func (param i64) (param f32) (result i64) (local f64) \\ local.get 0 \\ drop \\ local.get 0)) ); var module = try parseNoValidate(std.testing.allocator, fbs.reader()); defer module.deinit(); try std.testing.expectEqual(@as(usize, 1), module.function.len); const func_type = module.@"type"[0]; try std.testing.expectEqual(@as(usize, 2), func_type.param_types.len); try std.testing.expectEqual(Module.Type.Value.I64, func_type.param_types[0]); try std.testing.expectEqual(Module.Type.Value.F32, func_type.param_types[1]); try std.testing.expectEqual(Module.Type.Value.I64, func_type.return_type.?); const code = module.code[0]; try std.testing.expectEqual(@as(usize, 1), code.locals.len); try std.testing.expectEqual(Module.Type.Value.F64, code.locals[0]); try std.testing.expectEqual(@as(usize, 3), code.body.len); } { var fbs = std.io.fixedBufferStream( \\(module \\ (func (param i32) (result i32) local.get 0) \\ (export "foo" (func 0))) ); var module = try parseNoValidate(std.testing.allocator, fbs.reader()); defer module.deinit(); try std.testing.expectEqual(@as(usize, 1), module.function.len); try std.testing.expectEqual(@as(usize, 1), module.@"export".len); try std.testing.expectEqualSlices(u8, "foo", module.@"export"[0].field); try std.testing.expectEqual(Module.ExternalKind.Function, module.@"export"[0].kind); try std.testing.expectEqual(@as(u32, 0), module.@"export"[0].index); } { var fbs = std.io.fixedBufferStream( \\(module \\ (type (;0;) (func (param i32) (result i32))) \\ (import "env" "fibonacci" (func (type 0)))) ); var module = try parseNoValidate(std.testing.allocator, fbs.reader()); defer module.deinit(); try std.testing.expectEqual(@as(usize, 1), module.@"type".len); try std.testing.expectEqual(Module.Type.Form.Func, module.@"type"[0].form); try std.testing.expectEqual(@as(usize, 1), module.@"type"[0].param_types.len); try std.testing.expectEqual(Module.Type.Value.I32, module.@"type"[0].param_types[0]); try std.testing.expectEqual(Module.Type.Value.I32, module.@"type"[0].return_type.?); try std.testing.expectEqual(@as(usize, 1), module.import.len); try std.testing.expectEqualSlices(u8, "env", module.import[0].module); try std.testing.expectEqualSlices(u8, "fibonacci", module.import[0].field); try std.testing.expectEqual(Module.ExternalKind.Function, module.import[0].kind); try std.testing.expectEqual(@intToEnum(Module.Index.FuncType, 0), module.import[0].kind.Function); try std.testing.expectEqual(@as(usize, 0), module.function.len); } { var fbs = std.io.fixedBufferStream( \\(module \\ (global $x (mut i32) (i32.const -12)) \\ (global $x i64 (i64.const 12)) \\ (global (;1;) i32 (i32.const 10))) ); var module = try parseNoValidate(std.testing.allocator, fbs.reader()); defer module.deinit(); try std.testing.expectEqual(@as(usize, 3), module.global.len); try std.testing.expectEqual(Module.Type.Value.I32, module.global[0].@"type".content_type); try std.testing.expectEqual(true, module.global[0].@"type".mutability); try std.testing.expectEqual(@as(i32, -12), module.global[0].init.i32_const); try std.testing.expectEqual(Module.Type.Value.I64, module.global[1].@"type".content_type); try std.testing.expectEqual(false, module.global[1].@"type".mutability); try std.testing.expectEqual(@as(i64, 12), module.global[1].init.i64_const); try std.testing.expectEqual(Module.Type.Value.I32, module.global[2].@"type".content_type); try std.testing.expectEqual(false, module.global[2].@"type".mutability); try std.testing.expectEqual(@as(i32, 10), module.global[2].init.i32_const); } } test "parse blocks" { var fbs = std.io.fixedBufferStream( \\(module \\ (func (result i32) \\ block (result i32) \\ loop \\ br 0 \\ br 1 \\ end \\ end)) ); var module = try parseNoValidate(std.testing.allocator, fbs.reader()); defer module.deinit(); const body = module.code[0].body; try std.testing.expectEqual(@as(usize, 6), body.len); try std.testing.expectEqual(std.wasm.Opcode.block, body[0].op); try std.testing.expectEqual(Op.Arg.Type.I32, body[0].arg.Type); try std.testing.expectEqual(std.wasm.Opcode.loop, body[1].op); try std.testing.expectEqual(Op.Arg.Type.Void, body[1].arg.Type); try std.testing.expectEqual(std.wasm.Opcode.br, body[2].op); try std.testing.expectEqual(@as(u32, 0), body[2].arg.U32); try std.testing.expectEqual(std.wasm.Opcode.br, body[3].op); try std.testing.expectEqual(@as(u32, 1), body[3].arg.U32); try std.testing.expectEqual(std.wasm.Opcode.end, body[4].op); try std.testing.expectEqual(std.wasm.Opcode.end, body[5].op); }
0
repos/wazm
repos/wazm/src/main.zig
const std = @import("std"); pub const Instance = @import("instance.zig"); pub const Module = @import("module.zig"); pub const Op = @import("op.zig"); pub const Wat = @import("wat.zig"); pub const Wasi = @import("wasi.zig"); pub fn main() !u8 { var gpa = std.heap.GeneralPurposeAllocator(.{}){}; defer _ = gpa.deinit(); const allocator = &gpa.allocator; const args = try std.process.argsAlloc(allocator); defer std.process.argsFree(allocator, args); const file = try std.fs.cwd().openFile(args[1], .{}); defer file.close(); var wasi = Wasi{ .argv = args[1..] }; const exit_code = @enumToInt(try wasi.run(&gpa.allocator, file.reader())); if (exit_code > 255) { std.debug.print("Exit code {} > 255\n", .{exit_code}); return 255; } else { return @intCast(u8, exit_code); } } test "" { _ = Instance; _ = Module; _ = Op; _ = Wat; _ = Wasi; _ = main; _ = @import("func/basic.zig"); _ = @import("func/imports.zig"); _ = @import("func/logic.zig"); _ = @import("func/global.zig"); }
0
repos/wazm
repos/wazm/src/instance.zig
const std = @import("std"); const Module = @import("module.zig"); const Op = @import("op.zig"); const Execution = @import("execution.zig"); const Memory = @import("Memory.zig"); const Instance = @This(); module: *const Module, allocator: *std.mem.Allocator, memory: Memory, exports: std.StringHashMap(Export), funcs: []const Func, globals: []Op.Fixval, // TODO: revisit if wasm ever becomes multi-threaded mutex: std.Thread.Mutex, pub fn init(module: *const Module, allocator: *std.mem.Allocator, context: ?*c_void, comptime Imports: type) !Instance { var exports = std.StringHashMap(Export).init(allocator); errdefer exports.deinit(); for (module.@"export") |exp| { try exports.putNoClobber(exp.field, .{ .Func = exp.index }); } var funcs = std.ArrayList(Func).init(allocator); errdefer funcs.deinit(); const karen = ImportManager(Imports); for (module.post_process.?.import_funcs) |import_func| { const type_idx = @enumToInt(import_func.type_idx); const func_type = module.@"type"[type_idx]; const lookup = karen.get(import_func.module, import_func.field) orelse return error.ImportNotFound; if (!std.meta.eql(lookup.return_type, func_type.return_type)) { return error.ImportSignatureMismatch; } if (!std.mem.eql(Module.Type.Value, lookup.param_types, func_type.param_types)) { return error.ImportSignatureMismatch; } try funcs.append(.{ .func_type = type_idx, .params = func_type.param_types, .result = func_type.return_type, .locals = &[0]Module.Type.Value{}, .kind = .{ .imported = .{ .func = lookup.func, .frame_size = lookup.frame_size }, }, }); } for (module.code) |code, i| { const type_idx = @enumToInt(module.function[i].type_idx); const func_type = module.@"type"[type_idx]; try funcs.append(.{ .func_type = type_idx, .params = func_type.param_types, .result = func_type.return_type, .locals = code.locals, .kind = .{ .instrs = code.body }, }); } var globals = try allocator.alloc(Op.Fixval, module.global.len); errdefer allocator.free(globals); for (module.global) |global, i| { globals[i] = switch (global.type.content_type) { .I32 => .{ .I32 = global.init.i32_const }, .I64 => .{ .I64 = global.init.i64_const }, .F32 => .{ .F32 = global.init.f32_const }, .F64 => .{ .F64 = global.init.f64_const }, }; } const initial = if (module.memory.len > 0) @intCast(u16, module.memory[0].limits.initial) else 0; var memory = try Memory.init(allocator, context, initial); errdefer memory.deinit(); for (module.data) |data| { // TODO: add validation in processing const offset = switch (data.offset) { .i32_const => |num| num, .global_get => @panic("I don't know"), else => unreachable, }; const addr = Memory.P(u8).init(@enumToInt(data.index) + @intCast(u32, offset)); try memory.setMany(addr, data.data); } return Instance{ .module = module, .mutex = .{}, .memory = memory, .exports = exports, .funcs = funcs.toOwnedSlice(), .globals = globals, .allocator = allocator, }; } pub fn deinit(self: *Instance) void { self.allocator.free(self.funcs); self.allocator.free(self.globals); self.memory.deinit(); self.exports.deinit(); self.* = undefined; } pub fn call(self: *Instance, name: []const u8, params: anytype) !?Value { const lock = self.mutex.acquire(); defer lock.release(); const exp = self.exports.get(name) orelse return error.ExportNotFound; if (exp != .Func) { return error.ExportNotAFunction; } const func_id = exp.Func; const func = self.funcs[func_id]; if (params.len != func.params.len) { return error.TypeSignatureMismatch; } var converted_params: [params.len]Op.Fixval = undefined; inline for ([_]void{{}} ** params.len) |_, i| { const param_type: Module.Type.Value = switch (@TypeOf(params[i])) { i32, u32 => .I32, i64, u64 => .I64, f32 => .F32, f64 => .F64, else => @compileError("Unsupported type"), }; if (param_type != func.params[i]) return error.TypeSignatureMismatch; converted_params[i] = switch (@TypeOf(params[i])) { i32 => .{ .I32 = params[i] }, i64 => .{ .I64 = params[i] }, u32 => .{ .U32 = params[i] }, u64 => .{ .U64 = params[i] }, f32 => .{ .F32 = params[i] }, f64 => .{ .F64 = params[i] }, else => @compileError("Unsupported type"), }; } var stack: [1 << 10]Op.Fixval = undefined; const result = try Execution.run(self, &stack, func_id, converted_params[0..params.len]); if (result) |res| { return switch (func.result.?) { .I32 => Value{ .I32 = res.I32 }, .I64 => Value{ .I64 = res.I64 }, .F32 => Value{ .F32 = res.F32 }, .F64 => Value{ .F64 = res.F64 }, }; } else { return null; } } pub fn getGlobal(self: Instance, idx: usize) Value { const raw = self.globals[idx]; return switch (self.module.global[idx].type.content_type) { .I32 => Value{ .I32 = raw.I32 }, .I64 => Value{ .I64 = raw.I64 }, .F32 => Value{ .F32 = raw.F32 }, .F64 => Value{ .F64 = raw.F64 }, }; } pub const Value = union(Module.Type.Value) { I32: i32, I64: i64, F32: f32, F64: f64, }; pub const Export = union(enum) { Func: usize, Table: usize, Memory: usize, Global: usize, }; pub fn ImportManager(comptime Imports: type) type { const V = struct { func: ImportFunc, frame_size: usize, param_types: []const Module.Type.Value, return_type: ?Module.Type.Value, }; const KV = struct { @"0": []const u8, @"1": V, }; const helpers = struct { fn Unwrapped(comptime T: type) type { return switch (@typeInfo(T)) { .ErrorUnion => |eu_info| Unwrapped(eu_info.payload), .Enum => |e_info| if (e_info.is_exhaustive) @compileError("Enum must be exhaustive") else e_info.tag_type, .Struct => { return std.meta.Int(.unsigned, @bitSizeOf(T)); }, else => T, }; } fn shim(comptime func: anytype) ImportFunc { return struct { fn unwrap(raw: anytype) !Unwrapped(@TypeOf(raw)) { const T = @TypeOf(raw); return switch (@typeInfo(T)) { .ErrorUnion => unwrap(try raw), .Enum => @enumToInt(raw), .Struct => @bitCast(Unwrapped(T), raw), else => raw, }; } pub fn shimmed(ctx: *Execution, params: []const Op.Fixval) Op.WasmTrap!?Op.Fixval { var args: std.meta.ArgsTuple(@TypeOf(func)) = undefined; args[0] = ctx.memory; inline for (std.meta.fields(@TypeOf(args))) |f, i| { if (i == 0) continue; const raw_value = switch (Unwrapped(f.field_type)) { i32 => params[i - 1].I32, i64 => params[i - 1].I64, u32 => params[i - 1].U32, u64 => params[i - 1].U64, f32 => params[i - 1].F32, f64 => params[i - 1].F64, else => @compileError("Signature not supported"), }; args[i] = switch (@typeInfo(f.field_type)) { .Enum => @intToEnum(f.field_type, raw_value), .Struct => @bitCast(f.field_type, raw_value), else => raw_value, }; } // TODO: move async call to where this is being invoked // const fixval_len = std.math.divCeil(comptime_int, @sizeOf(@Frame(func)), @sizeOf(Op.Fixval)) catch unreachable; // const frame_loc = ctx.pushOpaque(fixval_len) catch unreachable; // const frame = @ptrCast(*@Frame(func), frame_loc); // comptime const opts = std.builtin.CallOptions{ .modifier = .async_kw }; // frame.* = @call(opts, func, args); // const result = nosuspend await frame; const result = try unwrap(@call(.{}, func, args)); return switch (@TypeOf(result)) { void => null, i32 => Op.Fixval{ .I32 = result }, i64 => Op.Fixval{ .I64 = result }, u32 => Op.Fixval{ .U32 = result }, u64 => Op.Fixval{ .U64 = result }, f32 => Op.Fixval{ .F32 = result }, f64 => Op.Fixval{ .F64 = result }, else => @compileError("Signature not supported"), }; } }.shimmed; } fn mapType(comptime T: type) ?Module.Type.Value { return switch (Unwrapped(T)) { void => null, i32, u32 => .I32, i64, u64 => .I64, f32 => .F32, f64 => .F64, else => @compileError("Type '" ++ @typeName(T) ++ "' not supported"), }; } }; const sep = "\x00\x00"; var kvs: []const KV = &[0]KV{}; inline for (std.meta.declarations(Imports)) |decl| { if (decl.is_pub) { inline for (std.meta.declarations(decl.data.Type)) |decl2| { if (decl2.is_pub) { const func = @field(decl.data.Type, decl2.name); const fn_info = @typeInfo(@TypeOf(func)).Fn; const shimmed = helpers.shim(func); kvs = kvs ++ [1]KV{.{ .@"0" = decl.name ++ sep ++ decl2.name, .@"1" = .{ .func = shimmed, .frame_size = @sizeOf(@Frame(shimmed)), .param_types = params: { var param_types: [fn_info.args.len - 1]Module.Type.Value = undefined; for (param_types) |*param, i| { param.* = helpers.mapType(fn_info.args[i + 1].arg_type.?).?; } break :params &param_types; }, .return_type = helpers.mapType(fn_info.return_type.?), }, }}; } } } } const map = if (kvs.len > 0) std.ComptimeStringMap(V, kvs) else {}; return struct { pub fn get(module: []const u8, field: []const u8) ?V { if (kvs.len == 0) return null; var buffer: [1 << 10]u8 = undefined; var fbs = std.io.fixedBufferStream(&buffer); fbs.writer().writeAll(module) catch return null; fbs.writer().writeAll(sep) catch return null; fbs.writer().writeAll(field) catch return null; return map.get(fbs.getWritten()); } }; } const ImportFunc = fn (ctx: *Execution, params: []const Op.Fixval) Op.WasmTrap!?Op.Fixval; pub const Func = struct { func_type: usize, params: []const Module.Type.Value, result: ?Module.Type.Value, locals: []const Module.Type.Value, kind: union(enum) { imported: struct { func: ImportFunc, frame_size: usize, }, instrs: []const Module.Instr, }, }; test "" { _ = call; }
0
repos/wazm
repos/wazm/src/util.zig
const std = @import("std"); /// Super simple "perfect hash" algorithm /// Only really useful for switching on strings // TODO: can we auto detect and promote the underlying type? pub fn Swhash(comptime max_bytes: comptime_int) type { const T = std.meta.Int(.unsigned, max_bytes * 8); return struct { pub fn match(string: []const u8) T { return hash(string) orelse std.math.maxInt(T); } pub fn case(comptime string: []const u8) T { return hash(string) orelse @compileError("Cannot hash '" ++ string ++ "'"); } fn hash(string: []const u8) ?T { if (string.len > max_bytes) return null; var tmp = [_]u8{0} ** max_bytes; std.mem.copy(u8, &tmp, string); return std.mem.readIntNative(T, &tmp); } }; } pub const RingAllocator = struct { buffer: []u8, alignment: u29, max_alloc_size: usize, curr_index: usize = 0, allocator: std.mem.Allocator = .{ .allocFn = alloc, .resizeFn = resize, }, pub fn init(buffer: []u8, max_alloc_size: usize) RingAllocator { std.debug.assert(@popCount(usize, max_alloc_size) == 1); std.debug.assert(buffer.len % max_alloc_size == 0); return .{ .buffer = buffer, .alignment = @as(u29, 1) << @intCast(std.math.Log2Int(u29), @ctz(usize, max_alloc_size | @ptrToInt(buffer.ptr))), .max_alloc_size = max_alloc_size, }; } const ShiftSize = std.math.Log2Int(usize); fn shiftSize(self: RingAllocator) ShiftSize { return @intCast(ShiftSize, @ctz(usize, self.max_alloc_size)); } fn totalSlots(self: RingAllocator) usize { return self.buffer.len >> self.shiftSize(); } pub fn ownsSlice(self: *const RingAllocator, slice: []u8) bool { return @ptrToInt(slice.ptr) >= @ptrToInt(self.buffer.ptr) and (@ptrToInt(slice.ptr) + slice.len) <= (@ptrToInt(self.buffer.ptr) + self.buffer.len); } fn alloc(allocator: *std.mem.Allocator, n: usize, ptr_align: u29, len_align: u29, return_address: usize) error{OutOfMemory}![]u8 { const self = @fieldParentPtr(RingAllocator, "allocator", allocator); std.debug.assert(ptr_align <= self.alignment); if (n >= self.max_alloc_size) { return error.OutOfMemory; } const start = self.curr_index << self.shiftSize(); self.curr_index += 1; if (self.curr_index >= self.totalSlots()) { // Wrap around the ring self.curr_index = 0; } return self.buffer[start..][0..self.max_alloc_size]; } fn resize(allocator: *std.mem.Allocator, buf: []u8, buf_align: u29, new_size: usize, len_align: u29, return_address: usize) error{OutOfMemory}!usize { const self = @fieldParentPtr(RingAllocator, "allocator", allocator); std.debug.assert(self.ownsSlice(buf)); // sanity check std.debug.assert(buf_align == 1); if (new_size >= self.max_alloc_size) { return error.OutOfMemory; } return new_size; } };
0
repos/wazm
repos/wazm/src/Memory.zig
const std = @import("std"); const Memory = @This(); pages: std.ArrayListUnmanaged(*[65536]u8), allocator: *std.mem.Allocator, context: ?*c_void, const page_size = 65536; pub fn init(allocator: *std.mem.Allocator, context: ?*c_void, initial_pages: u16) !Memory { var result = Memory{ .allocator = allocator, .pages = .{}, .context = context }; try result.grow(initial_pages); return result; } pub fn deinit(self: *Memory) void { for (self.pages.items) |page| { self.allocator.destroy(page); } self.pages.deinit(self.allocator); self.* = undefined; } pub fn pageCount(self: Memory) u16 { return @intCast(u16, self.pages.items.len); } pub fn ext(self: Memory, comptime T: type) *T { return @ptrCast(*T, @alignCast(@alignOf(T), self.context)); } pub fn grow(self: *Memory, additional_pages: u16) !void { const new_page_count = self.pageCount() + additional_pages; if (new_page_count > 65536) { return error.OutOfMemory; } try self.pages.ensureCapacity(self.allocator, new_page_count); var i: u16 = 0; while (i < additional_pages) : (i += 1) { const page = try self.allocator.alloc(u8, page_size); self.pages.appendAssumeCapacity(@ptrCast(*[page_size]u8, page.ptr)); } } pub fn load(self: Memory, comptime T: type, start: u32, offset: u32) !T { const Int = std.meta.Int(.unsigned, @bitSizeOf(T)); const idx = try std.math.add(u32, start, offset); const bytes = try self.pageChunk(idx); // TODO: handle split byte boundary return @bitCast(T, std.mem.readIntLittle(Int, bytes[0..@sizeOf(T)])); } pub fn store(self: Memory, comptime T: type, start: u32, offset: u32, value: T) !void { const Int = std.meta.Int(.unsigned, @bitSizeOf(T)); const idx = try std.math.add(u32, start, offset); const bytes = try self.pageChunk(idx); // TODO: handle split byte boundary std.mem.writeIntLittle(Int, bytes[0..@sizeOf(T)], @bitCast(Int, value)); } fn pageChunk(self: Memory, idx: u32) ![]u8 { const page_num = idx / page_size; const offset = idx % page_size; if (page_num >= self.pageCount()) { std.log.info("{} > {}", .{ page_num, self.pageCount() }); return error.OutOfBounds; } const page = self.pages.items[page_num]; return page[offset..]; } pub fn get(self: Memory, ptr: anytype) !@TypeOf(ptr).Pointee { return self.load(@TypeOf(ptr).Pointee, @enumToInt(ptr), 0); } pub fn iterBytes(self: Memory, ptr: P(u8), size: u32) ByteIterator { return .{ .memory = self, .ptr = ptr, .remaining = size, }; } const ByteIterator = struct { memory: Memory, ptr: P(u8), remaining: u32, pub fn next(iter: *ByteIterator) !?[]u8 { if (iter.remaining == 0) { return null; } const bytes = try iter.memory.pageChunk(@enumToInt(iter.ptr)); const size = @intCast(u17, bytes.len); if (size >= iter.remaining) { defer iter.remaining = 0; return bytes[0..iter.remaining]; } else { iter.remaining -= size; iter.ptr = try iter.ptr.add(size); return bytes; } } }; pub fn set(self: Memory, ptr: anytype, value: @TypeOf(ptr).Pointee) !void { return self.store(@TypeOf(ptr).Pointee, @enumToInt(ptr), 0, value); } pub fn setMany(self: Memory, ptr: anytype, values: []const @TypeOf(ptr).Pointee) !void { for (values) |value, i| { try self.set(try ptr.add(@intCast(u32, i)), value); } } pub fn P(comptime T: type) type { return enum(u32) { _, const Self = @This(); pub const Pointee = T; pub const stride = @sizeOf(T); pub fn init(addr: u32) Self { return @intToEnum(Self, addr); } pub fn add(self: Self, change: u32) !Self { return init(try std.math.add(u32, @enumToInt(self), try std.math.mul(u32, change, stride))); } pub fn sub(self: Self, change: u32) !Self { return init(try std.math.sub(u32, @enumToInt(self), try std.math.mul(u32, change, stride))); } }; } test "grow" { var mem = try Memory.init(std.testing.allocator, null, 1); defer mem.deinit(); try std.testing.expectEqual(@as(u16, 1), mem.pageCount()); try mem.grow(1); try std.testing.expectEqual(@as(u16, 2), mem.pageCount()); } test "get/set" { var mem = try Memory.init(std.testing.allocator, null, 1); defer mem.deinit(); try std.testing.expectEqual(@as(u16, 1), mem.pageCount()); const ptr1 = P(u32).init(1234); const ptr2 = P(u32).init(4321); try mem.set(ptr1, 69); try mem.set(ptr2, 420); try std.testing.expectEqual(@as(u32, 69), try mem.get(ptr1)); try std.testing.expectEqual(@as(u32, 420), try mem.get(ptr2)); }
0
repos/wazm
repos/wazm/src/execution.zig
const std = @import("std"); const Op = @import("op.zig"); const Module = @import("module.zig"); const Instance = @import("instance.zig"); const Memory = @import("Memory.zig"); const util = @import("util.zig"); const Execution = @This(); memory: *Memory, funcs: []const Instance.Func, allocator: *std.mem.Allocator, instance: *const Instance, stack: []Op.Fixval, stack_top: usize, current_frame: Frame = Frame.terminus(), result: Op.WasmTrap!?Op.Fixval, pub fn run(instance: *Instance, stack: []Op.Fixval, func_id: usize, params: []Op.Fixval) !?Op.Fixval { var ctx = Execution{ .memory = &instance.memory, .funcs = instance.funcs, .allocator = instance.allocator, .instance = instance, .stack = stack, .stack_top = 0, .result = undefined, }; // initCall assumes the params are already pushed onto the stack for (params) |param| { try ctx.push(Op.Fixval, param); } try ctx.initCall(func_id); if (ctx.current_frame.isTerminus()) { return switch (ctx.stack_top) { 0 => null, 1 => ctx.stack[0], else => unreachable, }; } tailDispatch(&ctx, undefined); return ctx.result; } fn tailDispatch(self: *Execution, arg: Op.Arg) callconv(.C) void { const func = self.funcs[self.current_frame.func]; if (self.current_frame.instr >= func.kind.instrs.len) { return @call(.{ .modifier = .always_tail }, tailUnwind, .{ self, arg }); } const instr = func.kind.instrs[self.current_frame.instr]; self.current_frame.instr += 1; const TailCalls = comptime blk: { var result: [256]fn (self: *Execution, arg: Op.Arg) callconv(.C) void = undefined; @setEvalBranchQuota(10000); for (Op.Meta.sparse) |meta| { const Tail = TailWrap(meta.code); result[@enumToInt(meta.code)] = Tail.call; } break :blk result; }; return @call(.{ .modifier = .always_tail }, TailCalls[@enumToInt(instr.op)], .{ self, instr.arg }); } fn tailUnwind(self: *Execution, arg: Op.Arg) callconv(.C) void { const result = self.unwindCall(); if (self.current_frame.isTerminus()) { std.debug.assert(self.stack_top == 0); self.result = result; return; } else { if (result) |res| { self.push(Op.Fixval, res) catch unreachable; } } return @call(.{ .modifier = .always_inline }, tailDispatch, .{ self, arg }); } fn TailWrap(comptime opcode: std.wasm.Opcode) type { const meta = Op.Meta.of(opcode); return struct { fn call(ctx: *Execution, arg: Op.Arg) callconv(.C) void { const pops = ctx.popN(meta.pop.len); const result = @call( .{ .modifier = .always_inline }, Op.stepName, .{ meta.func_name, ctx, arg, pops.ptr }, ) catch |err| { ctx.result = err; return; }; if (result) |res| { ctx.push(@TypeOf(res), res) catch |err| { ctx.result = err; return; }; } return @call(.{ .modifier = .always_inline }, tailDispatch, .{ ctx, arg }); } }; } pub fn getLocal(self: Execution, idx: usize) Op.Fixval { return self.stack[idx + self.current_frame.locals_begin]; } pub fn getLocals(self: Execution, idx: usize, len: usize) []Op.Fixval { return self.stack[idx + self.current_frame.locals_begin ..][0..len]; } pub fn setLocal(self: Execution, idx: usize, value: Op.Fixval) void { self.stack[idx + self.current_frame.locals_begin] = value; } pub fn getGlobal(self: Execution, idx: usize) Op.Fixval { return self.instance.globals[idx]; } pub fn setGlobal(self: Execution, idx: usize, value: Op.Fixval) void { self.instance.globals[idx] = value; } pub fn initCall(self: *Execution, func_id: usize) !void { const func = self.funcs[func_id]; if (func.kind == .imported) { // TODO: investigate imported calling another imported const params = self.popN(func.params.len); const result = try func.kind.imported.func(self, params); if (result) |res| { self.push(Op.Fixval, res) catch unreachable; } } else { const locals_begin = self.stack_top - func.params.len; for (func.locals) |local| { // TODO: assert params on the callstack are correct _ = local; try self.push(u128, 0); } try self.push(Frame, self.current_frame); self.current_frame = .{ .func = @intCast(u32, func_id), .instr = 0, .stack_begin = @intCast(u32, self.stack_top), .locals_begin = @intCast(u32, locals_begin), }; } } pub fn unwindCall(self: *Execution) ?Op.Fixval { const func = self.funcs[self.current_frame.func]; const result = if (func.result) |_| self.pop(Op.Fixval) else null; self.stack_top = self.current_frame.stack_begin; self.current_frame = self.pop(Frame); _ = self.popN(func.params.len + func.locals.len); return result; } pub fn jump(self: *Execution, table_idx: ?u32) void { const meta = self.instance.module.post_process.?.jumps.get(.{ .func = self.current_frame.func, .instr = self.current_frame.instr - 1, }).?; const target = if (table_idx) |idx| meta.many[idx] else meta.one; const result = if (target.has_value) self.peek(Op.Fixval) else null; _ = self.popN(target.stack_unroll); // Jumps to 1 after the target. // If target == "end", this skips a noop and is faster. // If target == "else", this correctly skips over the annoying check. self.current_frame.instr = target.addr + 1; if (result) |value| { self.push(Op.Fixval, value) catch unreachable; } } pub fn peek(self: *Execution, comptime T: type) T { std.debug.assert(@sizeOf(T) == 16); return @bitCast(T, self.stack[self.stack_top - 1]); } pub fn pop(self: *Execution, comptime T: type) T { std.debug.assert(@sizeOf(T) == 16); self.stack_top -= 1; return @bitCast(T, self.stack[self.stack_top]); } pub fn popN(self: *Execution, size: usize) []Op.Fixval { std.debug.assert(self.stack_top + size <= self.stack.len); self.stack_top -= size; return self.stack[self.stack_top..][0..size]; } pub fn push(self: *Execution, comptime T: type, value: T) !void { std.debug.assert(@sizeOf(T) == 16); self.stack[self.stack_top] = @bitCast(Op.Fixval, value); self.stack_top = try std.math.add(usize, self.stack_top, 1); } pub fn pushOpaque(self: *Execution, comptime len: usize) !*[len]Op.Fixval { const start = self.stack_top; self.stack_top = try std.math.add(usize, len, 1); return self.stack[start..][0..len]; } const Frame = extern struct { func: u32, instr: u32, stack_begin: u32, locals_begin: u32, pub fn terminus() Frame { return @bitCast(Frame, @as(u128, 0)); } pub fn isTerminus(self: Frame) bool { return @bitCast(u128, self) == 0; } };
0
repos/wazm
repos/wazm/src/module.zig
const std = @import("std"); const Instance = @import("instance.zig"); const Op = @import("op.zig"); pub const PostProcess = @import("module/post_process.zig"); const log = std.log.scoped(.wazm); const magic_number = std.mem.readIntLittle(u32, "\x00asm"); const Module = @This(); arena: std.heap.ArenaAllocator, /// Code=0 custom: []const struct { name: []const u8, payload: []const u8, } = &.{}, /// Code=1 @"type": []const struct { form: Type.Form, // TODO: why is this called form? param_types: []const Type.Value, return_type: ?Type.Value, } = &.{}, /// Code=2 import: []const struct { module: []const u8, field: []const u8, kind: union(ExternalKind) { Function: Index.FuncType, // TODO: add these types Table: void, Memory: void, Global: void, }, } = &.{}, /// Code=3 function: []const struct { type_idx: Index.FuncType, } = &.{}, /// Code=4 table: []const struct { element_type: Type.Elem, limits: ResizableLimits, } = &.{}, /// Code=5 memory: []const struct { limits: ResizableLimits, } = &.{}, /// Code=6 global: []const struct { @"type": struct { content_type: Type.Value, mutability: bool, }, init: InitExpr, } = &.{}, /// Code=7 @"export": []const struct { field: []const u8, kind: ExternalKind, index: u32, } = &.{}, /// Code=8 start: ?struct { index: Index.Function, } = null, /// Code=9 element: []const struct { index: Index.Table, offset: InitExpr, elems: []const Index.Function, } = &.{}, /// Code=10 code: []const struct { locals: []const Type.Value, body: []const Module.Instr, } = &.{}, /// Code=11 data: []const struct { index: Index.Memory, offset: InitExpr, data: []const u8, } = &.{}, post_process: ?PostProcess = null, pub fn init(arena: std.heap.ArenaAllocator) Module { return Module{ .arena = arena }; } pub fn deinit(self: *Module) void { self.arena.deinit(); self.* = undefined; } pub fn Section(comptime section: std.wasm.Section) type { const fields = std.meta.fields(Module); const num = @enumToInt(section) + 1; // 0 == allocator, 1 == custom, etc. return std.meta.Child(fields[num].field_type); } test "Section" { const module: Module = undefined; try std.testing.expectEqual(std.meta.Child(@TypeOf(module.custom)), Section(.custom)); try std.testing.expectEqual(std.meta.Child(@TypeOf(module.memory)), Section(.memory)); try std.testing.expectEqual(std.meta.Child(@TypeOf(module.data)), Section(.data)); } pub const Index = struct { pub const FuncType = enum(u32) { _ }; pub const Table = enum(u32) { _ }; pub const Function = enum(u32) { _ }; pub const Memory = enum(u32) { _ }; pub const Global = enum(u32) { _ }; }; pub const Type = struct { pub const Value = enum(i7) { I32 = -0x01, I64 = -0x02, F32 = -0x03, F64 = -0x04, }; pub const Block = enum(i7) { I32 = -0x01, I64 = -0x02, F32 = -0x03, F64 = -0x04, Empty = -0x40, }; pub const Elem = enum(i7) { Anyfunc = -0x10, }; pub const Form = enum(i7) { Func = -0x20, }; }; pub const ExternalKind = enum(u7) { Function = 0, Table = 1, Memory = 2, Global = 3, }; pub const ResizableLimits = struct { initial: u32, maximum: ?u32, }; pub const Instr = struct { op: std.wasm.Opcode, pop_len: u8, arg: Op.Arg, }; pub const InitExpr = union(enum) { i32_const: i32, i64_const: i64, f32_const: f32, f64_const: f64, global_get: u32, fn parse(reader: anytype) !InitExpr { const opcode = @intToEnum(std.wasm.Opcode, try reader.readByte()); const result: InitExpr = switch (opcode) { .i32_const => .{ .i32_const = try readVarint(i32, reader) }, .i64_const => .{ .i64_const = try readVarint(i64, reader) }, .f32_const => .{ .f32_const = @bitCast(f32, try reader.readIntLittle(i32)) }, .f64_const => .{ .f64_const = @bitCast(f64, try reader.readIntLittle(i64)) }, .global_get => .{ .global_get = try readVarint(u32, reader) }, else => return error.UnsupportedInitExpr, }; if (std.wasm.opcode(.end) != try reader.readByte()) { return error.InitExprTerminationError; } return result; } }; pub fn postProcess(self: *Module) !void { if (self.post_process == null) { self.post_process = try PostProcess.init(self); } } fn readVarint(comptime T: type, reader: anytype) !T { const readFn = switch (@typeInfo(T).Int.signedness) { .signed => std.leb.readILEB128, .unsigned => std.leb.readULEB128, }; return try readFn(T, reader); } test "readVarint" { { var ios = std.io.fixedBufferStream("\xE5\x8E\x26"); try std.testing.expectEqual(@as(u32, 624485), try readVarint(u32, ios.reader())); ios.pos = 0; try std.testing.expectEqual(@as(u21, 624485), try readVarint(u21, ios.reader())); } { var ios = std.io.fixedBufferStream("\xC0\xBB\x78"); try std.testing.expectEqual(@as(i32, -123456), try readVarint(i32, ios.reader())); ios.pos = 0; try std.testing.expectEqual(@as(i21, -123456), try readVarint(i21, ios.reader())); } { var ios = std.io.fixedBufferStream("\x7F"); try std.testing.expectEqual(@as(i7, -1), try readVarint(i7, ios.reader())); ios.pos = 0; try std.testing.expectEqual(@as(i21, -1), try readVarint(i21, ios.reader())); ios.pos = 0; try std.testing.expectEqual(@as(i32, -1), try readVarint(i32, ios.reader())); } { var ios = std.io.fixedBufferStream("\xa4\x03"); try std.testing.expectEqual(@as(i21, 420), try readVarint(i21, ios.reader())); ios.pos = 0; try std.testing.expectEqual(@as(i32, 420), try readVarint(i32, ios.reader())); } } fn readVarintEnum(comptime E: type, reader: anytype) !E { const raw = try readVarint(std.meta.TagType(E), reader); if (@typeInfo(E).Enum.is_exhaustive) { return try std.meta.intToEnum(E, raw); } else { return @intToEnum(E, raw); } } fn expectEos(reader: anytype) !void { var tmp: [1]u8 = undefined; const len = try reader.read(&tmp); if (len != 0) { return error.NotEndOfStream; } } fn Mut(comptime T: type) type { var ptr_info = @typeInfo(T).Pointer; ptr_info.is_const = false; return @Type(.{ .Pointer = ptr_info }); } // --- Before --- // const count = try readVarint(u32, section.reader()); // result.field = arena.allocator.alloc(@TypeOf(result.field), count); // for (result.field) |*item| { // // --- After --- // const count = try readVarint(u32, section.reader()); // for (self.allocInto(&result.field, count)) |*item| { fn allocInto(self: *Module, ptr_to_slice: anytype, count: usize) !Mut(std.meta.Child(@TypeOf(ptr_to_slice))) { const Slice = Mut(std.meta.Child(@TypeOf(ptr_to_slice))); std.debug.assert(@typeInfo(Slice).Pointer.size == .Slice); var result = try self.arena.allocator.alloc(std.meta.Child(Slice), count); ptr_to_slice.* = result; return result; } pub fn parse(allocator: *std.mem.Allocator, reader: anytype) !Module { const signature = try reader.readIntLittle(u32); if (signature != magic_number) { return error.InvalidFormat; } const version = try reader.readIntLittle(u32); if (version != 1) { return error.InvalidFormat; } var result = Module.init(std.heap.ArenaAllocator.init(allocator)); errdefer result.arena.deinit(); var customs = std.ArrayList(Module.Section(.custom)).init(&result.arena.allocator); errdefer customs.deinit(); while (true) { const id = reader.readByte() catch |err| switch (err) { error.EndOfStream => break, else => return err, }; const section_len = try readVarint(u32, reader); var section = std.io.limitedReader(reader, section_len); switch (try std.meta.intToEnum(std.wasm.Section, id)) { .type => { const count = try readVarint(u32, section.reader()); for (try result.allocInto(&result.@"type", count)) |*t| { t.form = try readVarintEnum(Type.Form, section.reader()); const param_count = try readVarint(u32, section.reader()); for (try result.allocInto(&t.param_types, param_count)) |*param_type| { param_type.* = try readVarintEnum(Type.Value, section.reader()); } const return_count = try readVarint(u1, section.reader()); t.return_type = if (return_count == 0) null else try readVarintEnum(Type.Value, section.reader()); } try expectEos(section.reader()); }, .import => { const count = try readVarint(u32, section.reader()); for (try result.allocInto(&result.import, count)) |*i| { const module_len = try readVarint(u32, section.reader()); const module_data = try result.arena.allocator.alloc(u8, module_len); try section.reader().readNoEof(module_data); i.module = module_data; const field_len = try readVarint(u32, section.reader()); const field_data = try result.arena.allocator.alloc(u8, field_len); try section.reader().readNoEof(field_data); i.field = field_data; // TODO: actually test import parsing const kind = try readVarintEnum(ExternalKind, section.reader()); i.kind = switch (kind) { .Function => .{ .Function = try readVarintEnum(Index.FuncType, section.reader()) }, .Table => @panic("TODO"), .Memory => @panic("TODO"), .Global => @panic("TODO"), }; } try expectEos(section.reader()); }, .function => { const count = try readVarint(u32, section.reader()); for (try result.allocInto(&result.function, count)) |*f| { f.type_idx = try readVarintEnum(Index.FuncType, section.reader()); } try expectEos(section.reader()); }, .table => { const count = try readVarint(u32, section.reader()); for (try result.allocInto(&result.table, count)) |*t| { t.element_type = try readVarintEnum(Type.Elem, section.reader()); const flags = try readVarint(u1, section.reader()); t.limits.initial = try readVarint(u32, section.reader()); t.limits.maximum = if (flags == 0) null else try readVarint(u32, section.reader()); } try expectEos(section.reader()); }, .memory => { const count = try readVarint(u32, section.reader()); for (try result.allocInto(&result.memory, count)) |*m| { const flags = try readVarint(u1, section.reader()); m.limits.initial = try readVarint(u32, section.reader()); m.limits.maximum = if (flags == 0) null else try readVarint(u32, section.reader()); } try expectEos(section.reader()); }, .global => { const count = try readVarint(u32, section.reader()); for (try result.allocInto(&result.global, count)) |*g| { g.@"type".content_type = try readVarintEnum(Type.Value, section.reader()); g.@"type".mutability = (try readVarint(u1, section.reader())) == 1; g.init = try InitExpr.parse(section.reader()); } try expectEos(section.reader()); }, .@"export" => { const count = try readVarint(u32, section.reader()); for (try result.allocInto(&result.@"export", count)) |*e| { const field_len = try readVarint(u32, section.reader()); const field_data = try result.arena.allocator.alloc(u8, field_len); try section.reader().readNoEof(field_data); e.field = field_data; e.kind = try readVarintEnum(ExternalKind, section.reader()); e.index = try readVarint(u32, section.reader()); } try expectEos(section.reader()); }, .start => { const index = try readVarint(u32, section.reader()); result.start = .{ .index = try readVarintEnum(Index.Function, section.reader()), }; try expectEos(section.reader()); }, .element => { const count = try readVarint(u32, section.reader()); for (try result.allocInto(&result.element, count)) |*e| { e.index = try readVarintEnum(Index.Table, section.reader()); e.offset = try InitExpr.parse(section.reader()); const num_elem = try readVarint(u32, section.reader()); for (try result.allocInto(&e.elems, count)) |*func| { func.* = try readVarintEnum(Index.Function, section.reader()); } } try expectEos(section.reader()); }, .code => { const count = try readVarint(u32, section.reader()); for (try result.allocInto(&result.code, count)) |*c| { const body_size = try readVarint(u32, section.reader()); var body = std.io.limitedReader(section.reader(), body_size); c.locals = blk: { // TODO: double pass here to preallocate the exact array size var list = std.ArrayList(Type.Value).init(&result.arena.allocator); var local_count = try readVarint(u32, body.reader()); while (local_count > 0) : (local_count -= 1) { var current_count = try readVarint(u32, body.reader()); const typ = try readVarintEnum(Type.Value, body.reader()); while (current_count > 0) : (current_count -= 1) { try list.append(typ); } } break :blk list.items; }; c.body = body: { var list = std.ArrayList(Module.Instr).init(&result.arena.allocator); while (true) { const opcode = body.reader().readByte() catch |err| switch (err) { error.EndOfStream => { const last = list.popOrNull() orelse return error.MissingFunctionEnd; if (last.op != .end) { return error.MissingFunctionEnd; } break :body list.items; }, else => return err, }; const op_meta = Op.Meta.all[opcode] orelse return error.InvalidOpCode; try list.append(.{ .op = @intToEnum(std.wasm.Opcode, opcode), .pop_len = @intCast(u8, op_meta.pop.len), .arg = switch (op_meta.arg_kind) { .Void => undefined, .I32 => .{ .I32 = try readVarint(i32, body.reader()) }, .U32 => .{ .U32 = try readVarint(u32, body.reader()) }, .I64 => .{ .I64 = try readVarint(i64, body.reader()) }, .U64 => .{ .U64 = try readVarint(u64, body.reader()) }, .F32 => .{ .F64 = @bitCast(f32, try body.reader().readIntLittle(i32)) }, .F64 => .{ .F64 = @bitCast(f64, try body.reader().readIntLittle(i64)) }, .Type => .{ .Type = @intToEnum(Op.Arg.Type, try readVarint(u7, body.reader())) }, .U32z => .{ .U32z = .{ .data = try readVarint(u32, body.reader()), .reserved = try body.reader().readByte(), }, }, .Mem => .{ .Mem = .{ .align_ = try readVarint(u32, body.reader()), .offset = try readVarint(u32, body.reader()), }, }, .Array => blk: { const target_count = try readVarint(u32, body.reader()); const size = target_count + 1; // Implementation detail: we shove the default into the last element of the array const data = try result.arena.allocator.alloc(u32, size); for (data) |*item| { item.* = try readVarint(u32, body.reader()); } break :blk .{ .Array = .{ .ptr = data.ptr, .len = data.len, }, }; }, }, }); } }; try expectEos(body.reader()); } try expectEos(section.reader()); }, .data => { const count = try readVarint(u32, section.reader()); for (try result.allocInto(&result.data, count)) |*d| { d.index = try readVarintEnum(Index.Memory, section.reader()); d.offset = try InitExpr.parse(section.reader()); const size = try readVarint(u32, section.reader()); const data = try result.arena.allocator.alloc(u8, size); try section.reader().readNoEof(data); d.data = data; } try expectEos(section.reader()); }, .custom => { const custom_section = try customs.addOne(); const name_len = try readVarint(u32, section.reader()); const name = try result.arena.allocator.alloc(u8, name_len); try section.reader().readNoEof(name); custom_section.name = name; const payload = try result.arena.allocator.alloc(u8, section.bytes_left); try section.reader().readNoEof(payload); custom_section.payload = payload; try expectEos(section.reader()); }, } // Putting this in all the switch paths makes debugging much easier // Leaving an extra one here in case one of the paths is missing if (std.builtin.mode == .Debug) { try expectEos(section.reader()); } } result.custom = customs.toOwnedSlice(); result.post_process = try PostProcess.init(&result); return result; } pub const instantiate = Instance.init; const empty_raw_bytes = &[_]u8{ 0, 'a', 's', 'm', 1, 0, 0, 0 }; test "empty module" { var ios = std.io.fixedBufferStream(empty_raw_bytes); var module = try Module.parse(std.testing.allocator, ios.reader()); defer module.deinit(); try std.testing.expectEqual(@as(usize, 0), module.memory.len); try std.testing.expectEqual(@as(usize, 0), module.@"type".len); try std.testing.expectEqual(@as(usize, 0), module.function.len); try std.testing.expectEqual(@as(usize, 0), module.@"export".len); } test "module with only type" { const raw_bytes = empty_raw_bytes ++ // (module "\x01\x04\x01\x60\x00\x00" ++ // (type (func))) ""; var ios = std.io.fixedBufferStream(raw_bytes); var module = try Module.parse(std.testing.allocator, ios.reader()); defer module.deinit(); try std.testing.expectEqual(@as(usize, 1), module.@"type".len); try std.testing.expectEqual(@as(usize, 0), module.@"type"[0].param_types.len); try std.testing.expectEqual(@as(?Type.Value, null), module.@"type"[0].return_type); } test "module with function body" { const raw_bytes = empty_raw_bytes ++ // (module "\x01\x05\x01\x60\x00\x01\x7f" ++ // (type (;0;) (func (result i32))) "\x03\x02\x01\x00" ++ // (func (;0;) (type 0) "\x07\x05\x01\x01\x61\x00\x00" ++ // (export "a" (func 0)) "\x0a\x07\x01\x05\x00\x41\xa4\x03\x0b" ++ // i32.const 420 ""; var ios = std.io.fixedBufferStream(raw_bytes); var module = try Module.parse(std.testing.allocator, ios.reader()); defer module.deinit(); try std.testing.expectEqual(@as(usize, 1), module.@"type".len); try std.testing.expectEqual(@as(usize, 0), module.@"type"[0].param_types.len); try std.testing.expectEqual(Type.Value.I32, module.@"type"[0].return_type.?); try std.testing.expectEqual(@as(usize, 1), module.@"export".len); try std.testing.expectEqual(@as(usize, 1), module.function.len); try std.testing.expectEqual(@as(usize, 1), module.code.len); try std.testing.expectEqual(@as(usize, 1), module.code[0].body.len); try std.testing.expectEqual(std.wasm.Opcode.i32_const, module.code[0].body[0].op); } test "global definitions" { const raw_bytes = empty_raw_bytes ++ // (module "\x06\x09\x01\x7f\x01\x41\x80\x80\xc0\x00\x0b" ++ // (global (mut i32) (i32.const 1048576))) ""; var ios = std.io.fixedBufferStream(raw_bytes); var module = try Module.parse(std.testing.allocator, ios.reader()); defer module.deinit(); try std.testing.expectEqual(@as(usize, 1), module.global.len); try std.testing.expectEqual(Type.Value.I32, module.global[0].type.content_type); try std.testing.expectEqual(true, module.global[0].type.mutability); }