Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • gstreamer gstreamer
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 712
    • Issues 712
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 368
    • Merge requests 368
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GStreamer
  • gstreamergstreamer
  • Merge requests
  • !2462
The source project of this merge request has been removed.

d3d11screencapture: fix missing/outdated cursor shape

Closed Erwann Gouesbet requested to merge (removed):fix-d3d11screencapture-missing-cursor-shape into main May 21, 2022
  • Overview 9
  • Changes 1

d3d11screencapture can miss a cursor shape to draw or draw an outdated cursor shape.

  • AcquireNextFrame only provides cursor shape when there is one update
  • d3d11screencapture skips cursor shape when mouse is not drawn

So, if a gstreamer application uses d3d11screencapture with cursor initially not drawn "show-cursor"=false and then switches this property to true, the cursor will not be actually drawn until AcquireNextFrame provides a new cursor shape.

This commit makes d3d11screencapture always update the cursor shape information, even if the mouse is not drawn. d3d11screencapture will always have the latest cursor shape when requested to draw it.

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: fix-d3d11screencapture-missing-cursor-shape