Closed
Bug 771307
Opened 13 years ago
Closed 13 years ago
Disable OMTC for small widgets
Categories
(Core :: Graphics: Layers, defect)
Tracking
()
RESOLVED
FIXED
mozilla16
People
(Reporter: nical, Assigned: nical)
Details
Attachments
(1 file, 2 obsolete files)
1.09 KB,
patch
|
ajuma
:
review+
|
Details | Diff | Splinter Review |
Currently, when OMTC is enabled, small widgets like tooltips and autocompletion lists are using OMTC with their own pair of Shadowable/ShadowLayerManager. This is overkill.
We need to disable OMTC for such widgets, just like we forced layers acceleration to be disabled for them (bug 751370).
Assignee | ||
Updated•13 years ago
|
Assignee: nobody → nsilva
Assignee | ||
Comment 1•13 years ago
|
||
Attachment #639455 -
Flags: review?(ajuma)
Updated•13 years ago
|
Attachment #639455 -
Flags: review?(ajuma) → review+
Assignee | ||
Updated•13 years ago
|
Keywords: checkin-needed
Comment 2•13 years ago
|
||
This patch is bitrotted. Please rebase and re-attach.
Keywords: checkin-needed
Assignee | ||
Comment 3•13 years ago
|
||
Rebased the patch.
Attachment #639455 -
Attachment is obsolete: true
Attachment #639558 -
Flags: review?(ajuma)
Assignee | ||
Comment 4•13 years ago
|
||
Ooops... incorrectly rebased previous one, this one is good and checked :)
Attachment #639558 -
Attachment is obsolete: true
Attachment #639558 -
Flags: review?(ajuma)
Attachment #639567 -
Flags: review?(ajuma)
Comment 5•13 years ago
|
||
Comment on attachment 639567 [details] [diff] [review]
Disables OMTC for popup widgets that are not xul panels.
Review of attachment 639567 [details] [diff] [review]:
-----------------------------------------------------------------
::: widget/xpwidgets/nsBaseWidget.cpp
@@ +921,5 @@
> bool nsBaseWidget::UseOffMainThreadCompositing()
> {
> + bool isSmallPopup = ((mWindowType == eWindowType_popup) &&
> + (mPopupType != ePopupTypePanel));
> + return (sUseOffMainThreadCompositing != nsnull) && !isSmallPopup;
return sUseOffMainThreadCompositing && !isSmallPopup;
I'll fix this and land the patch.
Attachment #639567 -
Flags: review?(ajuma) → review+
Comment 6•13 years ago
|
||
Target Milestone: --- → mozilla16
Comment 7•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•