| Summary: | [Cairo] Accelerated canvas should fall back to non-accelerated canvas on creation failure | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Jinyoung Hur <hur.ims> | ||||
| Component: | New Bugs | Assignee: | Jinyoung Hur <hur.ims> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | commit-queue | ||||
| Priority: | P2 | ||||||
| Version: | WebKit Nightly Build | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Attachments: |
|
||||||
|
Description
Jinyoung Hur
2015-08-26 08:03:22 PDT
Created attachment 259952 [details]
Patch
Cairo-gl backed surface might fail to be created with large dimensions, e.g., 50x32000, depending on the gl implementations. In case of Mac port, ImageBufferCG falls back to a software surface when it fails to create
IOSurface, an accelerated surface. Though the unaccelerated surface could be slower, it would be better
to create a working surface than nothing.
Cairo-gl backed surface might fail to be created with large dimensions, e.g., 50x32000, depending on the gl implementations. In case of Mac port, ImageBufferCG falls back to a software surface when it fails to create IOSurface, an accelerated surface. Though the unaccelerated surface could be slower, it would be better to create a working surface than nothing. Comment on attachment 259952 [details]
Patch
r=me.
Comment on attachment 259952 [details] Patch Clearing flags on attachment: 259952 Committed r188968: <http://trac.webkit.org/changeset/188968> All reviewed patches have been landed. Closing bug. |