Closed
Bug 1107259
Opened 10 years ago
Closed 10 years ago
Remove the sync IPC getDPI() and getDefaultScale() during app startup (~15ms).
Categories
(Firefox OS Graveyard :: Performance, defect)
Tracking
(feature-b2g:2.2+)
People
(Reporter: fabrice, Assigned: fabrice)
References
Details
Attachments
(1 file)
6.23 KB,
patch
|
sinker
:
review+
|
Details | Diff | Splinter Review |
This is technically a subset of 835679. This patch sends dpi and defaultScale in the SendShow() call along with other initialization data.
Assignee | ||
Updated•10 years ago
|
Attachment #8531730 -
Flags: review?(tlee)
Assignee | ||
Comment 1•10 years ago
|
||
Updated•10 years ago
|
Blocks: AppStartup
Updated•10 years ago
|
Summary: Remove the sync IPC getDPI() and getDefaultScale() during app startup. → Remove the sync IPC getDPI() and getDefaultScale() during app startup (~15ms).
Comment 2•10 years ago
|
||
Comment on attachment 8531730 [details] [diff] [review]
getdpi.patch
Review of attachment 8531730 [details] [diff] [review]:
-----------------------------------------------------------------
::: dom/ipc/TabParent.cpp
@@ +2028,5 @@
> widget = nsContentUtils::WidgetForDocument(mFrameElement->OwnerDoc());
> }
>
> if (widget) {
> + printf_stderr("XXX TryCacheDPIAndScale parent=%p widget=%p\n", this, widget.get());
Do you remove this debug message?
::: widget/gonk/nsWindow.cpp
@@ +557,5 @@
>
> float
> nsWindow::GetDPI()
> {
> + printf_stderr("XXX gonk nsWindow::GetDPI() %p\n", this);
Do you remove this debug message?
Updated•10 years ago
|
Attachment #8531730 -
Flags: review?(tlee) → review+
Assignee | ||
Comment 4•10 years ago
|
||
Assignee: nobody → fabrice
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → 2.2 S2 (19dec)
Updated•10 years ago
|
feature-b2g: --- → 2.2?
Updated•10 years ago
|
feature-b2g: 2.2? → 2.2+
Updated•10 years ago
|
OS: Linux → Gonk (Firefox OS)
Hardware: x86_64 → ARM
You need to log in
before you can comment on or make changes to this bug.
Description
•