Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

osr: Support smooth scrolling with shared texture #3842

Open
shabesgoi opened this issue Nov 26, 2024 · 0 comments
Open

osr: Support smooth scrolling with shared texture #3842

shabesgoi opened this issue Nov 26, 2024 · 0 comments
Labels
enhancement Enhancement request help wanted Issue resolution will likely require community contributions osr Related to off-screen rendering

Comments

@shabesgoi
Copy link

shabesgoi commented Nov 26, 2024

Smooth scrolling does not work in OSR rendering when using OnAcceleratedPaint.

To Reproduce
Steps to reproduce the behavior:

  • Run cefclient.exe --off-screen-rendering-enabled --shared-texture-enable
  • Scrolling without animation
  • Run cefclient.exe --use-alloy-style
  • Works fine

Videos
https://github.com/user-attachments/assets/866d681f-a97a-4145-9806-a8e002f7df86
https://github.com/user-attachments/assets/1afe5ad4-8751-4d15-b7bb-f20461076cef

Versions:

  • OS: Windows 10 х64
  • CEF Version: 131.2.7+g9a14dc9

Additional context
I’ve seen in older discussions of similar issues that smooth scrolling is disabled when using OSR to improve OnPaint performance. However, I don’t see the point of this when using OnAcceleratedPaint and shared textures.

@shabesgoi shabesgoi added the bug Bug report label Nov 26, 2024
@magreenblatt magreenblatt changed the title osr: Smooth scrolling does not work osr: Support smooth scrolling with shared texture Nov 26, 2024
@magreenblatt magreenblatt added enhancement Enhancement request help wanted Issue resolution will likely require community contributions osr Related to off-screen rendering and removed bug Bug report labels Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement request help wanted Issue resolution will likely require community contributions osr Related to off-screen rendering
Projects
None yet
Development

No branches or pull requests

2 participants