This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0eNrdXe+O27gRfxXDHw9yKvGvFOAKtD1c0S9FcQ3aD7mFobW1u0K0lk+SNxcc8gB9j/bF+iTlkLJFe21rRpe7Hp0AISVRQ84fcYb08Jef5vfVrtg25aZb3tf1h/nbn4Y77fzte+8SnpWreuNut+XjJq/g3iZ/LuZv501eVvPP0bzcrIsf52+Tz9GZRtu8bcuXYrFt6pdyXTSL1VPRdt5r7PNdNC82XdmVhevIXnxabnbP90Vj6EZ7Wl2Tb9pt3XSL+6Lq5tF8W7fmtXoD/RlSXKo3Mpp/mr9dsFS8kaaTddkUK9ckhfGd0GZ42ooTaXM8bR0TaQsCbU2kLQ+0H/K2W5Sbtmg68+CMuL1hM0vaGEvX1NXyvnjKX8q6gZarslntym7ZFt3yoawMKaPmrtkVpv3h2qh9b0bRYDqNqZjni9h0/sMur8wwzf1N3TwbG4PenqFNB/3Mv56DIe3a4rSTVwwqPINJkAxqwhfjcchPrSNhZ4inBOLxFeLnTC/Da4YFqZkkxnPIw+SQMl0zqvElhAnbFyCSOsdrR4apHYHnUITJoSRYiCRbiCJQF2TqGq8dHaZ20mnBHFJ+GYG6JvomRpi60yCVwxI8h1mYHFLcR0o1P0aI+H0BIqnjp24VZlzO8CsPFWZgzgjuQ8VkCyHE/Yoc97MUr50wg3NGcB+KHLryeNpeA5I6fu5WYQZ2nOE5DDM45wT/oQQxfOGELSNFjos5YeoOM3Ll+F0jpcLkkOI+yLE5J0T+SpOp43eOVJihq8AvP1SYyw9B2DlS5OBcULb6ycG5wO8c6TBDV0H5ySEhOichp/1WglQOIerW5MhL4DdtdJhbugIf+eswI39BiPw1OfKX+Klbhxm5SsLUrcnBpcRH/jrMtY2k/FZM3laW+J0jHWboKin+gxy6SjXt13Yk9cF/QELFos+geE1aeF41PiUtzlE+CrnLzaLt6u05wnxPNjkd73X9F5v8virWTi3R4bZ5ZX3o4KFsWmMpr9NCBktwVtZ2OWScxCdG8Ht |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#[std140::uniform] | |
#[derive(Copy, Clone)] | |
pub struct SpriteUniform { | |
pub ortho: std140::mat4, | |
} | |
// expanded | |
#[repr(C, align(16))] | |
pub struct SpriteUniform { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0eNqkvU2PZseNrftfNC4Zm2TwIzw+wMGd3mnDaEhWXXfhyJJQkhrHaPR/v5lSV2aqtCOTD2tkWzL57oy1I8i19oqI//rq2+9/ff/Txw8//PLv3/744//56q//9fxPfv7qr//24n8+/rsPf//xh9//8c8f/vHDN98//rNf/vXT+6/++tV/fvj4y68P/+TdVz9888/Hf/D7/+Pr//3Vf7/76sMP373/v1/9Vf77HYj8f19EKor8f15EGor8Xy8i13//7d1X73/45cMvH97//kf/9j/+9e8//PrPb99/fPhznqL//uvH/3z/3dcfv/nwmPKnH39+iPnxh8ffe8gTut599a+v/vr18ush+3cfPr7/++//2h+f7bOk+pT0MdvXf/+Pbz788PX/PP9NavuLf0r+8F//+yahPf+Nvzyk/Md//HJ8zudUd4nWU6JvP/zj6/ffP/wVHz/8/euffvz+/V2yek72EPj+4Ye//fHXj48DKfFO0t5J5d9ufsabo2p6GNV1kzTag2Dy6iDkH+E5AmP6R2DefMLq/dmZ5GXa5GXKfPtlkqs7kJmvv00i5HXKPL9Oer2Tbe/0un2dRJsDW+R9kvasynr9hZLVe6Meng++UeKDmS+3z/g8ff75/rsPv/7z7dmfzw97/fawf4Bs3SKVbOmrz3/ixXjoXf4aLAL347EHs+A2k15wZDNfH1mRu6FVYQsBHVrVwXS4HxCjRXXVH58v7rIuPhXWvn0+XJ4+fz67yzqoT4fnS1pHWuNX/IU/PN+my3Fn/Ozi79/98xmaKSH7aaas+HymyF1+7b+JT0/6Wd68y2uDvNkY2TXtR38bj7uMg7L08KR3mZ5nzccfv/3xpx8//vJaI7riNkkOpt7944D64gcI7po424O8jVdxXagoBH3Vl/QXDfKqLx3kbbzqy6bd8ulVX2uwbN6+W8sbr/pzk3z/qq8YrJL3j5P9TORVXzXI23kV+1Posbf7Pa+9/Sr6Ncjrb7+K3pYW4lNWfZsQuHZ7l+uQ9Q4zR9P |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# General settings | |
[General] | |
# The program to perform the actual stress test | |
# The following programs are available: | |
# - PRIME95 | |
# - AIDA64 | |
# - YCRUNCHER | |
# You can change the test mode for each program in the relavant [sections] below. | |
# Note: For AIDA64, you need to manually download and extract the portable ENGINEER version and put it |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Changes from OpenGL GLSL 3.3 to GLSL 3.0 es | |
Removed: | |
• Profiles and deprecation | |
• Geometry shaders | |
• Multiple compilation units | |
• Shared globals (except for uniforms) | |
• in and out blocks | |
• vertex array inputs (attribute arrays) | |
• Layout qualifiers: index, origin_upper_left and pixel_center_integer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fn perceptual(db: f32) -> f32 { | |
const LUT: [f32; 256] = [ | |
1.0, 1.0027113, 1.00543, 1.008156, 1.0108894, 1.01363, 1.0163783, 1.0191339, 1.0218971, | |
1.0246677, 1.0274459, 1.0302317, 1.0330249, 1.0358257, 1.0386341, 1.0414501, 1.0442737, | |
1.0471052, 1.0499442, 1.0527908, 1.0556451, 1.0585073, 1.0613772, 1.0642549, 1.0671405, | |
1.0700337, 1.0729349, 1.0758438, 1.0787607, 1.0816857, 1.0846184, 1.0875591, 1.0905077, | |
1.0934645, 1.0964291, 1.0994017, 1.1023827, 1.1053715, 1.1083684, 1.1113734, 1.1143868, | |
1.1174082, 1.1204377, 1.1234756, 1.1265216, 1.129576, 1.1326386, 1.1357094, 1.1387887, | |
1.1418762, 1.1449722, 1.1480765, 1.1511892, 1.1543103, 1.1574401, 1.1605783, 1.1637249, | |
1.16688, 1.1700438, 1.1732162, 1.176397, 1.1795865, 1.1827847, 1.1859916, 1.1892071, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GlobalAnimator.animate(SimpleAnimationInstance, new_value => { | |
textReveal.minCharacters = new_value; | |
}) | |
Pseudo code: | |
GlobalAnimator Animate(SimpleAnimation, lambda) { | |
Store the (SimpleAnimation, lambda) pair. | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0eNrlnd2OI8mRpV+lkVcjoCiE/7v3nbS7wOhiRhezAhYYNBpZVVSLUFZmISurtQ2h332ZmQwyKuhBns8jmGxhdSG1qosnzM3Mf8z8uNk/b97ffV1/ftzcP/34/uHh7zff//PwJ19uvv/vwf99/nebDw/3r3/8ZfPT/e3d8589/fJ5ffP9zc+bx6ev2z95d3N/++n5D17/xurfb359d7O5/7j+vzffm1/fgV/+r8EvLfrlL+u7u4d/DH7u0M//z+CX/tcf3t2s7582T5v168hf/s8vP95//fR+/bgd0+HXT4+3m5/+9rTa/s8z6OeHL9tfPdw/f3GLtEr53c0v2/+NcQv/cfO4/vD6b1+0MkK1KmqKddBUAXUYNH8L6iqgXh//hKihgho4qj+v1SgrwNdBa1pNGDSe12rWxz8hak2rZY/64evjz+uPk5hmh2nOD990XFR73lTmMK+e0Va7yVsBtb8PO1j3+3Bes8ZqSoilrgNbw9Rnlq2roKpZ/60KPvztdnM/qYjUTeuhquCAZfaCduUptsqxroqa45okem7e6SCUX2swmUvXCaqk86oune2IvVcx7Q1uxgavOakVZ1QMEBdOqO3gz29/TsPMDmDKO1X2ddvXJqkNGNWen0Y2IlfIB1foxiarCp30eTChi9ostRnDhiwYTp5eoe4NsXYWAttWV1dBbTI4/TgYM4C1OmwEsE6H9QBWPxNGC2D1Q2EkJtO3rEBMps+xQEymz7FATFZ0WGAyr8+yAEzm9Vnmgcm8Pss8MJnXZ5kHJvP6LPPEZPos88Rk+ixzxGT6LHPEZPosc8Rk+ixzwGRBn2UOmCzos8wCkwV9lllgsqDPMgtMFvRZZonJ9Flmicn0WWaIyfRZZojJ9FlmiMn0WWaAyaI+ywwwWdRnGbBYBAdGgAp2MoAKphhAlWcYMZY8v4ik8uwiSpXnFrG/PLOAqyZ5XpFpleRpRdaAJE8rsmAleVqR1TXJ04psBUmeVmTfSvq8ItaSJxY5ESR5ZpHjS5KnFjl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use crate::math::Geometry; | |
use crate::simd::*; | |
use alloc::vec; | |
use alloc::vec::*; | |
#[cfg(target_arch = "x86")] | |
use core::arch::x86::*; | |
#[cfg(target_arch = "x86_64")] | |
use core::arch::x86_64::*; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Invalid write of size 4 | |
==115836== at 0x18A4D6: add (raster.rs:39) | |
==115836== by 0x18A4D6: line (raster.rs:90) | |
==115836== by 0x18A4D6: fontdue::raster::Raster::draw (raster.rs:30) | |
==115836== by 0x1896B4: fontdue::font::Font::rasterize_indexed (font.rs:219) | |
==115836== by 0x18941D: fontdue::font::Font::rasterize (font.rs:209) | |
==115836== by 0x120852: letter_render_tests::render_liberation_serif_characters (letter_render_tests.rs:48) | |
==115836== by 0x11CC09: letter_render_tests::render_liberation_serif_characters::{{closure}} (letter_render_tests.rs:44) | |
==115836== by 0x11F0DD: core::ops::function::FnOnce::call_once (function.rs:232) | |
==115836== by 0x13100E: <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once (boxed.rs:1015) |
NewerOlder