Open
Bug 766346
Opened 13 years ago
Updated 1 year ago
CSS 3D visual errors with software webrender
Categories
(Core :: Graphics: WebRender, defect)
Core
Graphics: WebRender
Tracking
()
REOPENED
People
(Reporter: bobby, Unassigned)
References
(Blocks 1 open bug, )
Details
Attachments
(2 files)
|
3.67 KB,
patch
|
jrmuizel
:
review-
|
Details | Diff | Splinter Review |
|
589.17 KB,
video/webm
|
Details |
http://k88hudson.github.com/sadcube/
The link above will lead to a page with a simple (yet sad) spinning cube. With layers acceleration enabled, the cube appears as expected. Without layers acceleration, however, the cube's constituent planes and its shadow shake violently.
Comment 1•13 years ago
|
||
This is confirmed on both Mac and Linux.
Comment 2•13 years ago
|
||
We implement 3D transforms using pixman when we don't have hardware acceleration. Sounds like there's something wrong with that implementation.
Comment 3•13 years ago
|
||
The "shaking" we're seeing here seems too much to be explained by pixman bugs. The cube seems to be making "two steps forward, one step back" kind of dance.
Comment 4•13 years ago
|
||
Though: does pixman do matrix transforms? If yes, the bug could be explained by a bug there.
Comment 5•13 years ago
|
||
This is definitely a pixman issue.
Attached is a patch that switches the rendering of BasicLayers 3d-transforms to be done via skia instead.
This fixes the wobbling for me. Quality still is pretty low (unsurprisingly).
Comment 6•13 years ago
|
||
(In reply to Matt Woodrow (:mattwoodrow) from comment #5)
> Created attachment 634678 [details] [diff] [review]
> Use skia for BasicLayers 3d transforms
>
> This is definitely a pixman issue.
>
> Attached is a patch that switches the rendering of BasicLayers 3d-transforms
> to be done via skia instead.
>
> This fixes the wobbling for me. Quality still is pretty low (unsurprisingly).
It would be good to fix pixman too...
Comment 7•13 years ago
|
||
(In reply to Jeff Muizelaar [:jrmuizel] from comment #6)
> It would be good to fix pixman too...
It looked to me like it was the result of rounding inaccuracies, not sure if that will be easy to fix.
That said, I don't disagree with your statement at all.
I think we should take my patch for the time being, without blocking this on finding someone to debug pixman.
Comment 8•12 years ago
|
||
So what's the final decision here?
Updated•12 years ago
|
Flags: needinfo?(matt.woodrow)
Updated•12 years ago
|
Attachment #634678 -
Flags: review?(jmuizelaar)
Updated•12 years ago
|
Flags: needinfo?(matt.woodrow)
Comment 9•12 years ago
|
||
Comment on attachment 634678 [details] [diff] [review]
Use skia for BasicLayers 3d transforms
Review of attachment 634678 [details] [diff] [review]:
-----------------------------------------------------------------
I'd like an explanation for why this is broken in pixman before taking the patch.
Attachment #634678 -
Flags: review?(jmuizelaar) → review-
Updated•3 years ago
|
Severity: normal → S3
Comment 10•3 years ago
|
||
Unable to reproduce in current versions.
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → WORKSFORME
Comment 11•3 years ago
|
||
Oops actually this is still a problem with Software WebRender
Severity: S3 → --
Status: RESOLVED → REOPENED
Component: Graphics → Graphics: WebRender
OS: macOS → All
Hardware: x86 → All
Resolution: WORKSFORME → ---
Summary: CSS 3D visual errors with layers acceleration disabled → CSS 3D visual errors with software webrender
Comment 12•3 years ago
|
||
Updated•1 year ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•