-
- Downloads
Implement a really damn elegant solution to subpixel antialiasing in the GPU...
Implement a really damn elegant solution to subpixel antialiasing in the GPU renderer, if I don't say so myself. - Add a frame cursor renderer. Pass screen scale through to all transient states. - Use a single value for gridsize between frameData and perFrameState - Subpixel color channels are completely independent. Change models to be keyed on a pair of colors, not a combo of six. Get bilinear interpolation working! YAY! - Refactor here and there - Move inputs to transient state into a new class so it's easier to pass new data to renderers' transient states - Fork the text fragment shader into a blending and nonblending version - Draw background image to a temporary texture so the text renderer can sample its background color to do subpixel aa - Alpha blend default background color over background image
Showing
- sources/Metal/Renderers/iTermTextRenderer.mm 68 additions, 89 deletionssources/Metal/Renderers/iTermTextRenderer.mm
- sources/Metal/Shaders/iTermCopyBackground.metal 39 additions, 0 deletionssources/Metal/Shaders/iTermCopyBackground.metal
- sources/Metal/Shaders/iTermShaderTypes.h 7 additions, 2 deletionssources/Metal/Shaders/iTermShaderTypes.h
- sources/Metal/Shaders/iTermText.metal 220 additions, 22 deletionssources/Metal/Shaders/iTermText.metal
- sources/Metal/iTermMetalDriver.h 6 additions, 0 deletionssources/Metal/iTermMetalDriver.h
- sources/Metal/iTermMetalDriver.m 140 additions, 44 deletionssources/Metal/iTermMetalDriver.m
- sources/NSDictionary+iTerm.h 0 additions, 2 deletionssources/NSDictionary+iTerm.h
- sources/NSDictionary+iTerm.m 0 additions, 6 deletionssources/NSDictionary+iTerm.m
- sources/PTYSession.m 4 additions, 0 deletionssources/PTYSession.m
- sources/PTYTextView.h 2 additions, 0 deletionssources/PTYTextView.h
- sources/iTermApplicationDelegate.m 1 addition, 1 deletionsources/iTermApplicationDelegate.m
- sources/iTermMetalFrameData.h 6 additions, 1 deletionsources/iTermMetalFrameData.h
- sources/iTermMetalFrameData.m 2 additions, 0 deletionssources/iTermMetalFrameData.m
- sources/iTermMetalGlue.m 28 additions, 6 deletionssources/iTermMetalGlue.m
Please register or sign in to comment