Cairo Antialiasing Modes: When SUBPIXEL Helps and When It Hurts
Cairo offers NONE, GRAY and SUBPIXEL antialiasing, but SUBPIXEL is silently downgraded on PDF/PS. Match the mode to the surface type for predictable rendering.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Cairo offers NONE, GRAY and SUBPIXEL antialiasing, but SUBPIXEL is silently downgraded on PDF/PS. Match the mode to the surface type for predictable rendering.
Practical guide to off-screen rendering in LÖVE 11.x: create canvases, redirect draw calls, apply post-processing shaders, build a throttled minimap, and read back pixels without stalling the GPU. Includes verification steps and mobile caveats.
Learn how SDL’s borderless window flag lets you render a true full‑screen image while keeping the window managed by the OS, enabling instant alt‑tabbing and avoiding mode‑switch flicker.
Immediate mode re-sends every vertex every frame. VBOs move that data to the GPU once — here's the minimal correct setup, the usage hints that matter, and the stride bugs that fail silently.
Learn how SDL_TEXTUREACCESS_STREAMING lets you write pixels directly into GPU‑owned memory each frame, reducing copy overhead for video or procedural textures.
Stop using glTexImage2D for every texture. Learn how glTexStorage2D reduces driver overhead, prevents texture incompleteness, and optimizes GPU memory layout.
Learn how Vulkan push constants let you update small per‑draw data like matrices without costly descriptor set changes or CPU‑GPU stalls.
Learn how to implement a Vulkan sub-allocation system to bypass the maxMemoryAllocationCount limit, ensuring stable memory management and hardware alignment.
Learn how to optimize WebGPU performance by choosing between static Bind Groups and Dynamic Offsets for uniform data, including alignment requirements and implementation steps.