Closed Bug 1755470 Opened 2 years ago Closed 2 years ago

gfxWindowsPlatform::GetGpuTimeSinceProcessStartInMs should have an IsWin32kLockedDown guard.

Categories

(Toolkit :: Performance Monitoring, defect, P1)

All
Windows
defect

Tracking

()

RESOLVED FIXED
99 Branch
Tracking Status
firefox99 --- fixed

People

(Reporter: bobowen, Assigned: bobowen)

References

Details

Attachments

(1 file)

gfxWindowsPlatform::GetGpuTimeSinceProcessStartInMs uses gdi32.dll, so should not be used when win32k is locked down.
The calls will fail and so they just cause lots of DLLs to be loaded unnecessarily.

In theory there shouldn't (hopefully can't) be any GPU usage in processes with win32k lockdown enabled.

See Also: → 1755866
Assignee: nobody → bobowencode
Status: NEW → ASSIGNED
Priority: -- → P1
Pushed by bobowencode@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/86408d479d7b
Assume zero GPU usage in GetGpuTimeSinceProcessStartInMs when win32k locked down. r=florian
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 99 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: