!rVEexYywXeSfBJNgdx:matrix.org

Lite XL

837 Members
Talk about the Lite XL text editor | https://github.com/lite-xl/lite-xl | Other rooms: #lite-xl-feature-requests:matrix.org, #lite-xl-offtopic:matrix.org, #lite-xl-plugin-showcase:matrix.org, #lite-xl-plugins-qa:matrix.org, #lite-xl-technical-questions:matrix.org10 Servers

Load older messages


SenderMessageTime
30 Mar 2023
@_discord_144622832704290817:t2bot.ioGuldoman https://freetype.org/freetype2/docs/reference/ft2-error_enumerations.html 14:31:43
@_discord_373409581973504000:t2bot.ioTakase actual freetype more like free me from eternal suffering 14:31:53
@_discord_144622832704290817:t2bot.ioGuldoman ah fuck, found a nice optimization for canvas 14:47:05
@_discord_144622832704290817:t2bot.ioGuldoman aka match the goddamn window pixel format 14:47:18
@_discord_144622832704290817:t2bot.ioGuldoman now the full window rendering of doom is smooth 14:47:50
@_discord_144622832704290817:t2bot.ioGuldoman and uses 50% of the CPU 14:47:57
@_discord_144622832704290817:t2bot.ioGuldoman I wonder if we have some optimizations like this around our renderer 14:48:14
@_discord_144622832704290817:t2bot.ioGuldoman * I wonder if we have some optimizations like this to do around our renderer 14:48:21
@_discord_186987670021472257:t2bot.ioaethy#7194 You're begging for it 15:36:51
@_discord_186987670021472257:t2bot.ioaethy#7194 https://www.youtube.com/watch?v=E2SVkZu-yNY&ab_channel=Yronno%27sClips 15:37:05
@_discord_186987670021472257:t2bot.ioaethy#7194 I really do need to write a bot 16:51:09
@_discord_186987670021472257:t2bot.ioaethy#7194 Trigger on \b[aA]{3,}\b 16:52:06
@_discord_186987670021472257:t2bot.ioaethy#7194 * Trigger on \b[aA]{3,}\b 16:55:15
@_discord_144622832704290817:t2bot.ioGuldoman I'm adding a parameter to canvas creation to specify if the canvas should be transparent 17:03:54
@_discord_144622832704290817:t2bot.ioGuldoman if it's not, we just use the window pixel format 17:04:03
@_discord_144622832704290817:t2bot.ioGuldoman this improves performance by a lot 17:04:14
@_discord_144622832704290817:t2bot.ioGuldoman what should be the default? 17:04:45
@_discord_144622832704290817:t2bot.ioGuldoman transparent? 17:04:49
@_discord_144622832704290817:t2bot.ioGuldoman also what name should I use for the parameter? opaque? transparent? 17:05:05
@_discord_144622832704290817:t2bot.ioGuldoman this raises a problem tho 17:13:45
@_discord_144622832704290817:t2bot.ioGuldoman what if the purpose of the canvas wasn't to draw on the window? 17:14:07
@_discord_144622832704290817:t2bot.ioGuldoman could using the window pixel format cause problems for people that want to use canvas as an intermediary? 17:14:37
@_discord_144622832704290817:t2bot.ioGuldoman * this raises a question tho 17:14:58
@_discord_144622832704290817:t2bot.ioGuldoman at this point I might just allow specifying a pixel format for the canvas itself 18:10:04
@_discord_144622832704290817:t2bot.ioGuldoman so it would be like either boolean to indicate optimized for transparency or not, or a pixelformat table 18:10:44
@_discord_144622832704290817:t2bot.ioGuldoman WTF SDL, why does creating an RGBA8888 take double the time to create an ARGB8888 21:29:04
@_discord_144622832704290817:t2bot.ioGuldoman do I need to dive in SDL again, or does anyone already know why? 21:29:40
@_discord_144622832704290817:t2bot.ioGuldoman ok no maybe the issue is the scaled blitting??? why is blitting from an RGBA8888 to a surface with the same format slower than blitting onto an ARGB8888 22:17:22
@_discord_144622832704290817:t2bot.ioGuldoman AGH 22:17:35
@_discord_144622832704290817:t2bot.ioGuldoman alright I'll think more about it tomorrow 22:17:43

There are no newer messages yet.


Back to Room ListRoom Version: 6