Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • gtk gtk
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,606
    • Issues 1,606
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 219
    • Merge requests 219
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOMEGNOME
  • gtkgtk
  • Merge requests
  • !3393

WIP: Add support for subpixel font antialiasing to ngl renderer

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open Marcus Gursch requested to merge mgursch/gtk:mgursch-ngl-subpixel-font-antialiasing into master Apr 02, 2021
  • Overview 26
  • Commits 2
  • Pipelines 3
  • Changes 7

This pull request adds support for subpixel font antialiasing to the ngl renderer. For GLES Systems, this feature is disabled since I am unsure about hardware support for the required OpenGL extensions. Tagged as WIP due to uncertainty regarding the performance impact of using dual source blending on non GLES-Systems.

Using this patch, gtk4-demo renders as follows:

  1. With font antialiasing set to greyscale

Bildschirmfoto_von_2021-04-08_08-26-37

  1. With font antialiasing set to subpixel (rgb)

Bildschirmfoto_vom_2021-04-08_08-43-56

Direct comparison:

Bildschirmfoto_von_2021-04-08_08-26-37-extract Bildschirmfoto_von_2021-04-08_08-26-50-extract

Edited Apr 08, 2021 by Marcus Gursch
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: mgursch-ngl-subpixel-font-antialiasing