Open
Bug 1255307
Opened 10 years ago
Updated 3 years ago
Stop asking for a context when doing widget theme painting (avoid gfxNativeDrawing)
Categories
(Core :: Graphics, defect, P3)
Core
Graphics
Tracking
()
NEW
People
(Reporter: jrmuizel, Unassigned)
References
Details
(Whiteboard: gfx-noted)
In order for off-main-thread-painting to have a nice time we need to defer drawing and don't want widget to be able to paint directly into our contexts.
With skia we also don't have a context to use directly for painting so we need a similar solution there.
Comment 1•10 years ago
|
||
If we try to prevent direct drawing into the context, we might just have some off-main-thread-painting checking to use the temp surface.
mac:
https://hg.mozilla.org/mozilla-central/annotate/dd1abe874252e507b825a0a4e1063b0e13578288/gfx/thebes/gfxQuartzNativeDrawing.cpp#l22
windows platform:
https://hg.mozilla.org/mozilla-central/annotate/dd1abe874252e507b825a0a4e1063b0e13578288/gfx/thebes/gfxWindowsNativeDrawing.cpp#l46
Whiteboard: gfx-noted
Updated•9 years ago
|
Priority: -- → P3
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•