WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED CONFIGURATION CHANGED
52041
[Win] Can ask for a bitmap that is too large when accelerated compositing and tiling
https://bugs.webkit.org/show_bug.cgi?id=52041
Summary
[Win] Can ask for a bitmap that is too large when accelerated compositing and...
Chris Marrin
Reported
2011-01-06 19:32:04 PST
When running compositing/tiling/huge-layer-with-layer-children.html we ask for a bitmap that is 500 by 20000, which is too large and the creation fails. This hits an assert in GraphicsContextCGWin::CGContextWithHDC because bmBitsPixel is zero. But this seems benign, so for now I added a graceful exit rather than the assert. But we should understand why we're going down this path.
Attachments
Add attachment
proposed patch, testcase, etc.
Ahmad Saleem
Comment 1
2023-05-05 12:49:50 PDT
(In reply to Chris Marrin from
comment #0
)
> When running compositing/tiling/huge-layer-with-layer-children.html we ask > for a bitmap that is 500 by 20000, which is too large and the creation > fails. This hits an assert in GraphicsContextCGWin::CGContextWithHDC because > bmBitsPixel is zero. But this seems benign, so for now I added a graceful > exit rather than the assert. But we should understand why we're going down > this path.
This test seems to be only marked as 'Failure' on GTK and 'Skip' for wincairo build and it does not seems to be an issue on mac systems. While I couldn't find - GraphicsContextCGWin or CGContextWithHDC in WebKit source (might have been renamed etc.). From the 'Hardware' field, it seems that it was 'Windows' bit so don't know whether wincairo would be still applicable or since Apple Windows build is gone, this is no longer applicable. Just wanted to share latest status to see if we can close this or we still need to do something here for 'wincairo' builds.
Fujii Hironori
Comment 2
2023-05-06 20:02:16 PDT
AppleWin port was removed. I confirmed WinCairo port doesn't have the problem for the test.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug