Closed Bug 994050 Opened 11 years ago Closed 11 years ago

[e10s] gfx.direct3d.last_used_feature_level_idx pref should only be set on main process.

Categories

(Core :: Graphics, defect)

All
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla31

People

(Reporter: bobowen, Assigned: bobowen)

Details

Attachments

(1 file, 1 obsolete file)

gfx.direct3d.last_used_feature_level_idx is set to save time at start up. This fails on the content processes, but it only really needs to be set on the main process anyway.
Just a check for the main process around the pref set and an updated comment. Try push: https://tbpl.mozilla.org/?tree=Try&rev=cc8e8574c28e
Comment on attachment 8403996 [details] [diff] [review] Bug 994050: Only set gfx.direct3d.last_used_feature_level_idx pref from main process. Matt - I hope you're OK for a review on this one. We're a bit out of sync time zone wise to ask on IRC. :-)
Attachment #8403996 - Flags: review?(matt.woodrow)
Comment on attachment 8403996 [details] [diff] [review] Bug 994050: Only set gfx.direct3d.last_used_feature_level_idx pref from main process. Review of attachment 8403996 [details] [diff] [review]: ----------------------------------------------------------------- ::: gfx/thebes/gfxWindowsPlatform.cpp @@ +475,5 @@ > // the 10.1 check. > if (device) { > mD2DDevice = cairo_d2d_create_device_from_d3d10device(device); > > + // Setup a pref for future launch optimizaitons when main process. when in main process?
Attachment #8403996 - Flags: review?(matt.woodrow) → review+
Comment on attachment 8404548 [details] [diff] [review] Bug 994050: Only set gfx.direct3d.last_used_feature_level_idx pref from main process. r=mattwoodrow - from comment 3. Comment fixed. try push URL from earlier for ease of access: https://tbpl.mozilla.org/?tree=Try&rev=cc8e8574c28e
Attachment #8404548 - Flags: review+
Keywords: checkin-needed
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla31
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: