Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(269)

Issue 22198004: Always enable FCM on Windows. (Closed)

Created:
7 years, 4 months ago by gab
Modified:
7 years, 3 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, cpu_(ooo_6.6-7.5)
Visibility:
Public.

Description

Always enable FCM on Windows. This also re-enables loading the blacklist in tests (and adds a content_browsertest to make sure that the configuration we expect to be testing is indeed the one we are testing). This is a stepping stone towards getting the waterfall closer to what we actually ship and closer to Aura; I will try to force threaded compositing next provided this goes well. This CL also cleans up compositor_util.cc which was enforcing the blacklist twice. Instead of keeping --skip-gpu-data-loading around to avoid regressing issue 190942, introduce a better global solution which involves initializing a fake gpu_info in GpuDataManagerImplPrivate::Initialize instead of querying real gpu_info (slow) when OSMesa is the GL being used (which it is in non-pure GPU tests). Keeps --skip-gpu-data-loading around temporarily on Mac and Linux, see http://crbug.com/277242 and try failures on patch set 17 for details. BUG=233830, 267038, 190942, 277242 TBR=jcivelli, piman Originally Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=219132 Reverted: https://src.chromium.org/viewvc/chrome?view=rev&revision=219159

Patch Set 1 #

Patch Set 2 : blacklist FCM below Vista + add test #

Total comments: 2

Patch Set 3 : remove XP logic from ShouldRunCompositingFieldTrial() #

Total comments: 1

Patch Set 4 : WinAura is always in THREADED mode #

Total comments: 3

Patch Set 5 : Remove kSkipGpuDataLoading => Re-enable the blacklist on the bots #

Total comments: 13

Patch Set 6 : update blacklist version #

Total comments: 4

Patch Set 7 : address zmo's comments #

Patch Set 8 : bring back --skip-gpu-data-loading for content_shell.exe #

Patch Set 9 : Get rid of --skip-gpu-data-loading again #

Patch Set 10 : remove --skip-gpu-data-loading entirely from shell_main_delegate.cc #

Patch Set 11 : some hardcoded GPUInfo for OSMesa #

Total comments: 3

Patch Set 12 : merge up to r218059 #

Patch Set 13 : only write vendor id and device id #

Patch Set 14 : 0xffff as vendor and device id #

Patch Set 15 : merge up to r218759 #

Patch Set 16 : Hardcode driver_vendor and driver_date. #

Patch Set 17 : fix compile #

Patch Set 18 : Also expect THREADED on Android. #

Patch Set 19 : Re-enable --skip-gpu-data-loading on Mac and Linux #

Patch Set 20 : Change AcceleratedCompositingBlockedTest test fixture to override in SetUpOnMainThread instead of S… #

Patch Set 21 : merge up to r219022 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+125 lines, -56 lines) Patch
M chrome/browser/gpu/chrome_gpu_util.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +0 lines, -12 lines 0 comments Download
M chrome/test/base/test_launcher_utils.cc View 1 2 3 4 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/test/gpu/gpu_feature_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +4 lines, -2 lines 0 comments Download
M content/browser/gpu/compositor_util.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 5 chunks +21 lines, -24 lines 0 comments Download
A content/browser/gpu/compositor_util_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +41 lines, -0 lines 0 comments Download
M content/browser/gpu/gpu_data_manager_impl_private.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +22 lines, -2 lines 0 comments Download
M content/content_tests.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +2 lines, -1 line 0 comments Download
M content/public/common/content_switches.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 2 chunks +4 lines, -1 line 0 comments Download
M content/public/common/content_switches.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 2 chunks +10 lines, -6 lines 0 comments Download
M content/public/test/browser_test_base.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +4 lines, -0 lines 0 comments Download
M content/shell/app/shell_main_delegate.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +0 lines, -1 line 0 comments Download
M gpu/config/software_rendering_list_json.cc View 1 2 3 4 5 6 4 chunks +17 lines, -3 lines 0 comments Download

Messages

Total messages: 44 (0 generated)
gab
Short CL, please take a look. Thanks! Gab
7 years, 4 months ago (2013-08-05 16:38:19 UTC) #1
apatrick_chromium
Is it possible to do this with the GPU blacklist? See gpu/config/software_rendering_list_json.cc. I think you ...
7 years, 4 months ago (2013-08-05 19:06:22 UTC) #2
gab
On 2013/08/05 19:06:22, apatrick_chromium wrote: > Is it possible to do this with the GPU ...
7 years, 4 months ago (2013-08-06 15:10:38 UTC) #3
gab
Some inline comments to guide your review. https://codereview.chromium.org/22198004/diff/14001/content/browser/gpu/compositor_util.cc File content/browser/gpu/compositor_util.cc (left): https://codereview.chromium.org/22198004/diff/14001/content/browser/gpu/compositor_util.cc#oldcode39 content/browser/gpu/compositor_util.cc:39: bool IsForceCompositingModeBlacklisted() ...
7 years, 4 months ago (2013-08-06 15:11:21 UTC) #4
wiltzius
Yeah; Al as Gab says the idea is to move to using the blacklist as ...
7 years, 4 months ago (2013-08-06 16:58:04 UTC) #5
wiltzius
https://codereview.chromium.org/22198004/diff/26001/content/browser/gpu/compositor_util.cc File content/browser/gpu/compositor_util.cc (right): https://codereview.chromium.org/22198004/diff/26001/content/browser/gpu/compositor_util.cc#newcode101 content/browser/gpu/compositor_util.cc:101: // TODO(gab): Do the same thing for Mac OS ...
7 years, 4 months ago (2013-08-06 16:58:14 UTC) #6
wiltzius
Lastly, Gab this doesn't actually remove the field trial code -- is the idea you'll ...
7 years, 4 months ago (2013-08-06 17:01:15 UTC) #7
gab
On 2013/08/06 17:01:15, wiltzius wrote: > Lastly, Gab this doesn't actually remove the field trial ...
7 years, 4 months ago (2013-08-06 18:34:58 UTC) #8
gab
Also added a test to make sure the bots actually run what we expect them ...
7 years, 4 months ago (2013-08-06 18:35:51 UTC) #9
gab
https://codereview.chromium.org/22198004/diff/21002/content/browser/gpu/compositor_util_browsertest.cc File content/browser/gpu/compositor_util_browsertest.cc (right): https://codereview.chromium.org/22198004/diff/21002/content/browser/gpu/compositor_util_browsertest.cc#newcode18 content/browser/gpu/compositor_util_browsertest.cc:18: IN_PROC_BROWSER_TEST_F(CompositorUtilTest, CompositingModeAsExpected) { Maybe this can be a unit ...
7 years, 4 months ago (2013-08-06 18:47:07 UTC) #10
apatrick_chromium
LGTM but please hold off on committing until we've completed our experimental disabling of all ...
7 years, 4 months ago (2013-08-08 20:06:44 UTC) #11
gab
https://codereview.chromium.org/22198004/diff/21002/content/browser/gpu/compositor_util_browsertest.cc File content/browser/gpu/compositor_util_browsertest.cc (right): https://codereview.chromium.org/22198004/diff/21002/content/browser/gpu/compositor_util_browsertest.cc#newcode31 content/browser/gpu/compositor_util_browsertest.cc:31: if (base::win::GetVersion() >= base::win::VERSION_VISTA) Actually this won't work because ...
7 years, 4 months ago (2013-08-09 14:17:02 UTC) #12
wiltzius
Complexity, complexity. There are two kinds of bots (relevant here), the main waterfall bots (and ...
7 years, 4 months ago (2013-08-09 21:20:04 UTC) #13
gab
Ok, so then blacklisting all XP machines won't work because we will enable FCM on ...
7 years, 4 months ago (2013-08-10 02:11:07 UTC) #14
gab
https://codereview.chromium.org/22198004/diff/21002/content/browser/gpu/compositor_util_browsertest.cc File content/browser/gpu/compositor_util_browsertest.cc (right): https://codereview.chromium.org/22198004/diff/21002/content/browser/gpu/compositor_util_browsertest.cc#newcode31 content/browser/gpu/compositor_util_browsertest.cc:31: if (base::win::GetVersion() >= base::win::VERSION_VISTA) On 2013/08/09 14:17:03, gab wrote: ...
7 years, 4 months ago (2013-08-13 21:05:24 UTC) #15
wiltzius
+zmo Mo, this is the patch that forms the beginning of what I just talked ...
7 years, 4 months ago (2013-08-13 21:26:51 UTC) #16
Zhenyao Mo
On 2013/08/13 21:26:51, wiltzius wrote: > +zmo > > Mo, this is the patch that ...
7 years, 4 months ago (2013-08-13 21:35:07 UTC) #17
wiltzius
OK that's great, sounds like we have a way forward then (drop that skip gpu ...
7 years, 4 months ago (2013-08-13 22:52:05 UTC) #18
gab
@zmo: Does this LGTY? I added a bunch of comments for you on patch set ...
7 years, 4 months ago (2013-08-15 20:07:48 UTC) #19
Zhenyao Mo
LGTM with these issues addressed
7 years, 4 months ago (2013-08-15 20:23:30 UTC) #20
Zhenyao Mo
https://chromiumcodereview.appspot.com/22198004/diff/61001/content/browser/gpu/compositor_util.cc File content/browser/gpu/compositor_util.cc (right): https://chromiumcodereview.appspot.com/22198004/diff/61001/content/browser/gpu/compositor_util.cc#newcode90 content/browser/gpu/compositor_util.cc:90: #endif This should be below the CanDOAcceleratedCompositing(), because if ...
7 years, 4 months ago (2013-08-15 20:23:37 UTC) #21
gab
https://codereview.chromium.org/22198004/diff/61001/content/browser/gpu/compositor_util.cc File content/browser/gpu/compositor_util.cc (right): https://codereview.chromium.org/22198004/diff/61001/content/browser/gpu/compositor_util.cc#newcode90 content/browser/gpu/compositor_util.cc:90: #endif On 2013/08/15 20:23:37, Zhenyao Mo wrote: > This ...
7 years, 4 months ago (2013-08-15 21:03:19 UTC) #22
gab
FYI, had to bring back --skip-gpu-data-loading, as added to the description: "Keep --skip-gpu-data-loading around only ...
7 years, 4 months ago (2013-08-15 21:45:55 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gab@chromium.org/22198004/100001
7 years, 4 months ago (2013-08-15 21:46:37 UTC) #24
Zhenyao Mo
https://codereview.chromium.org/22198004/diff/71001/content/browser/gpu/gpu_data_manager_impl_private.cc File content/browser/gpu/gpu_data_manager_impl_private.cc (left): https://codereview.chromium.org/22198004/diff/71001/content/browser/gpu/gpu_data_manager_impl_private.cc#oldcode565 content/browser/gpu/gpu_data_manager_impl_private.cc:565: { Here you should check if kUseGL is "osmesa" ...
7 years, 4 months ago (2013-08-15 21:53:41 UTC) #25
gab
PTAL, I don't really like the hardcoded approach (see comment below). https://codereview.chromium.org/22198004/diff/71001/content/browser/gpu/gpu_data_manager_impl_private.cc File content/browser/gpu/gpu_data_manager_impl_private.cc (left): ...
7 years, 4 months ago (2013-08-16 16:37:07 UTC) #26
Zhenyao Mo
https://codereview.chromium.org/22198004/diff/95002/content/browser/gpu/gpu_data_manager_impl_private.cc File content/browser/gpu/gpu_data_manager_impl_private.cc (right): https://codereview.chromium.org/22198004/diff/95002/content/browser/gpu/gpu_data_manager_impl_private.cc#newcode566 content/browser/gpu/gpu_data_manager_impl_private.cc:566: gpu_info.gpu.vendor_string = gfx::kGLImplementationOSMesaName; Actually you don't have to fake ...
7 years, 4 months ago (2013-08-16 16:59:01 UTC) #27
gab
https://codereview.chromium.org/22198004/diff/95002/content/browser/gpu/gpu_data_manager_impl_private.cc File content/browser/gpu/gpu_data_manager_impl_private.cc (right): https://codereview.chromium.org/22198004/diff/95002/content/browser/gpu/gpu_data_manager_impl_private.cc#newcode566 content/browser/gpu/gpu_data_manager_impl_private.cc:566: gpu_info.gpu.vendor_string = gfx::kGLImplementationOSMesaName; On 2013/08/16 16:59:01, Zhenyao Mo wrote: ...
7 years, 4 months ago (2013-08-16 17:04:45 UTC) #28
Zhenyao Mo
On 2013/08/16 17:04:45, gab wrote: > https://codereview.chromium.org/22198004/diff/95002/content/browser/gpu/gpu_data_manager_impl_private.cc > File content/browser/gpu/gpu_data_manager_impl_private.cc (right): > > https://codereview.chromium.org/22198004/diff/95002/content/browser/gpu/gpu_data_manager_impl_private.cc#newcode566 > ...
7 years, 4 months ago (2013-08-16 17:15:52 UTC) #29
gab
PTAL. Thanks! Gab https://codereview.chromium.org/22198004/diff/95002/content/browser/gpu/gpu_data_manager_impl_private.cc File content/browser/gpu/gpu_data_manager_impl_private.cc (right): https://codereview.chromium.org/22198004/diff/95002/content/browser/gpu/gpu_data_manager_impl_private.cc#newcode566 content/browser/gpu/gpu_data_manager_impl_private.cc:566: gpu_info.gpu.vendor_string = gfx::kGLImplementationOSMesaName; On 2013/08/16 16:59:01, ...
7 years, 4 months ago (2013-08-16 19:42:15 UTC) #30
Zhenyao Mo
LGTM
7 years, 4 months ago (2013-08-16 21:45:49 UTC) #31
gab
TBR jcivelli: chrome\test\base\test_launcher_utils.cc TBR piman: content\content_tests.gypi content\public\common\content_switches.cc content\public\common\content_switches.h content\public\test\browser_test_base.cc content\shell\app\shell_main_delegate.cc TBR'ed files are trivial side-effects ...
7 years, 4 months ago (2013-08-21 20:59:06 UTC) #32
gab
On 2013/08/21 20:59:06, gab wrote: > TBR jcivelli: chrome\test\base\test_launcher_utils.cc > TBR piman: content\content_tests.gypi > content\public\common\content_switches.cc ...
7 years, 4 months ago (2013-08-21 21:09:36 UTC) #33
Zhenyao Mo
LGTM again
7 years, 4 months ago (2013-08-21 21:20:37 UTC) #34
piman
lgtm
7 years, 4 months ago (2013-08-21 21:23:33 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gab@chromium.org/22198004/164001
7 years, 4 months ago (2013-08-21 21:26:49 UTC) #36
commit-bot: I haz the power
Retried try job too often on linux_aura for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_aura&number=70851
7 years, 4 months ago (2013-08-22 01:12:07 UTC) #37
gab
Added OS_ANDROID to the list of expected OSes running in threaded compositing mode. Re-introduced --skip-gpu-data-loading ...
7 years, 4 months ago (2013-08-22 02:46:59 UTC) #38
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gab@chromium.org/22198004/178001
7 years, 4 months ago (2013-08-22 02:49:14 UTC) #39
commit-bot: I haz the power
Retried try job too often on win7_aura for step(s) interactive_ui_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win7_aura&number=71890
7 years, 4 months ago (2013-08-22 04:29:54 UTC) #40
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gab@chromium.org/22198004/211001
7 years, 4 months ago (2013-08-22 15:28:40 UTC) #41
commit-bot: I haz the power
Change committed as 219132
7 years, 4 months ago (2013-08-22 22:26:41 UTC) #42
ccameron
On 2013/08/22 22:26:41, I haz the power (commit-bot) wrote: > Change committed as 219132 FYI, ...
7 years, 3 months ago (2013-08-28 20:04:03 UTC) #43
gab
7 years, 3 months ago (2013-08-28 20:09:06 UTC) #44
Message was sent while issue was closed.
On 2013/08/28 20:04:03, ccameron1 wrote:
> On 2013/08/22 22:26:41, I haz the power (commit-bot) wrote:
> > Change committed as 219132
> 
> FYI, this was reverted due to GpuTabTest.testScreenshot  -- that test failed
on
> Mac enabling FCM on 10.6 as well. It has since been disabled as a flake.

Thanks, there were actually other issues as well, another CL is in progress to
re-land this @ https://codereview.chromium.org/23534006/

Powered by Google App Engine
This is Rietveld 408576698