Closed
Bug 576182
Opened 15 years ago
Closed 15 years ago
Avoid doing manual hit testing when the mouse is not in a known non-client area. (performance regression)
Categories
(Core :: Widget: Win32, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: jimm, Assigned: jimm)
References
Details
We get WM_NCHITTEST events for visible regions of the top level chrome window. There's no need to process or send hit testing events unless we know the mouse in in a possible drag area.
Comment 1•15 years ago
|
||
(In reply to comment #0)
> We get WM_NCHITTEST events for visible regions of the top level chrome window.
When? Only on mousedown?
I don't think sending hit test events is expensive - it's the same workload as we're doing for every single mouse move event.
| Assignee | ||
Comment 2•15 years ago
|
||
(In reply to comment #1)
> (In reply to comment #0)
> > We get WM_NCHITTEST events for visible regions of the top level chrome window.
>
> When? Only on mousedown?
>
> I don't think sending hit test events is expensive - it's the same workload as
> we're doing for every single mouse move event.
Any mouse event. Overhead for a hit test is added to existing mouse events for chrome currently. When 130078 lands this will expand to the entire window, including content.
It should be easy to restrict this to the new client areas though so that in most areas we are "doing what we normally do".
| Assignee | ||
Updated•15 years ago
|
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•