Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • gtk gtk
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 1.6k
    • Issues 1.6k
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 242
    • Merge requests 242
  • 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
  • !2996

gdkglcontext-win32.c: Workaround Intel glBlitFramebuffer() issues

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Chun-wei Fan requested to merge workaround-win32-intel-blit into gtk-3-24 Dec 23, 2020
  • Overview 1
  • Commits 1
  • Pipelines 3
  • Changes 2

Hi,

From the commit message:

Intel OpenGL drivers have an issue where the results of a series of glBlitFramebuffer() can delay updating the display, when we use GDK_GL=always, which is manifested when attempting to enter text in text boxes.

This attempts to work around this issue by requiring a glFlush() call and a retry to the same glBlitFramebuffer() calls to avoid delays in keystrokes when using GDK_GL=always and when not using libANGLE OpenGL/ES emulation, when an Intel OpenGL driver is being used.

Fixes issue #3487 (closed)

Special thanks to @carrotIndustries for the analysis and coming up with a workaround, which this MR is based upon. It may the best we can do as this is most likely a driver-related issue.

With blessings, thank you!

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: workaround-win32-intel-blit