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

Side by Side Diff: content/renderer/gpu/render_widget_compositor_unittest.cc

Issue 2324273002: Remove external begin frame source parameter and settings (Closed)
Patch Set: Add back comment, remove more febfs includes Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/renderer/gpu/render_widget_compositor.h" 5 #include "content/renderer/gpu/render_widget_compositor.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/location.h" 9 #include "base/location.h"
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "base/memory/ptr_util.h" 11 #include "base/memory/ptr_util.h"
12 #include "base/run_loop.h" 12 #include "base/run_loop.h"
13 #include "base/single_thread_task_runner.h" 13 #include "base/single_thread_task_runner.h"
14 #include "base/threading/thread_task_runner_handle.h" 14 #include "base/threading/thread_task_runner_handle.h"
15 #include "cc/output/begin_frame_args.h" 15 #include "cc/output/begin_frame_args.h"
16 #include "cc/output/copy_output_request.h" 16 #include "cc/output/copy_output_request.h"
17 #include "cc/test/fake_compositor_frame_sink.h" 17 #include "cc/test/fake_compositor_frame_sink.h"
18 #include "cc/test/fake_external_begin_frame_source.h"
19 #include "cc/test/test_context_provider.h" 18 #include "cc/test/test_context_provider.h"
20 #include "cc/test/test_web_graphics_context_3d.h" 19 #include "cc/test/test_web_graphics_context_3d.h"
21 #include "cc/trees/layer_tree_host.h" 20 #include "cc/trees/layer_tree_host.h"
22 #include "content/public/test/mock_render_thread.h" 21 #include "content/public/test/mock_render_thread.h"
23 #include "content/renderer/render_widget.h" 22 #include "content/renderer/render_widget.h"
24 #include "content/test/fake_compositor_dependencies.h" 23 #include "content/test/fake_compositor_dependencies.h"
25 #include "gpu/GLES2/gl2extchromium.h" 24 #include "gpu/GLES2/gl2extchromium.h"
26 #include "testing/gmock/include/gmock/gmock.h" 25 #include "testing/gmock/include/gmock/gmock.h"
27 #include "testing/gtest/include/gtest/gtest.h" 26 #include "testing/gtest/include/gtest/gtest.h"
28 27
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after
292 291
293 TEST_F(RenderWidgetCompositorFrameSinkTest, FallbackSuccessNormalSuccess) { 292 TEST_F(RenderWidgetCompositorFrameSinkTest, FallbackSuccessNormalSuccess) {
294 // The first success is a fallback, but the next should not be a fallback. 293 // The first success is a fallback, but the next should not be a fallback.
295 RunTest(false, 294 RunTest(false,
296 RenderWidgetCompositor::COMPOSITOR_FRAME_SINK_RETRIES_BEFORE_FALLBACK, 295 RenderWidgetCompositor::COMPOSITOR_FRAME_SINK_RETRIES_BEFORE_FALLBACK,
297 1, 1); 296 1, 1);
298 } 297 }
299 298
300 } // namespace 299 } // namespace
301 } // namespace content 300 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/gpu/render_widget_compositor.cc ('k') | content/test/fake_compositor_dependencies.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698