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

Side by Side Diff: cc/layers/texture_layer_unittest.cc

Issue 2147873003: cc: Dedup IPCs to return resources to client (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 years, 5 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
« no previous file with comments | « cc/ipc/cc_param_traits.cc ('k') | cc/output/compositor_frame_ack.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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 "cc/layers/texture_layer.h" 5 #include "cc/layers/texture_layer.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <algorithm> 10 #include <algorithm>
11 #include <string> 11 #include <string>
12 12
13 #include "base/bind.h" 13 #include "base/bind.h"
14 #include "base/callback.h" 14 #include "base/callback.h"
15 #include "base/location.h" 15 #include "base/location.h"
16 #include "base/macros.h" 16 #include "base/macros.h"
17 #include "base/memory/ptr_util.h" 17 #include "base/memory/ptr_util.h"
18 #include "base/single_thread_task_runner.h" 18 #include "base/single_thread_task_runner.h"
19 #include "base/synchronization/lock.h" 19 #include "base/synchronization/lock.h"
20 #include "base/synchronization/waitable_event.h" 20 #include "base/synchronization/waitable_event.h"
21 #include "base/threading/thread.h" 21 #include "base/threading/thread.h"
22 #include "base/threading/thread_task_runner_handle.h" 22 #include "base/threading/thread_task_runner_handle.h"
23 #include "base/time/time.h" 23 #include "base/time/time.h"
24 #include "cc/animation/animation_host.h" 24 #include "cc/animation/animation_host.h"
25 #include "cc/layers/solid_color_layer.h" 25 #include "cc/layers/solid_color_layer.h"
26 #include "cc/layers/texture_layer_client.h" 26 #include "cc/layers/texture_layer_client.h"
27 #include "cc/layers/texture_layer_impl.h" 27 #include "cc/layers/texture_layer_impl.h"
28 #include "cc/output/compositor_frame_ack.h"
29 #include "cc/output/context_provider.h" 28 #include "cc/output/context_provider.h"
30 #include "cc/resources/returned_resource.h" 29 #include "cc/resources/returned_resource.h"
31 #include "cc/test/fake_impl_task_runner_provider.h" 30 #include "cc/test/fake_impl_task_runner_provider.h"
32 #include "cc/test/fake_layer_tree_host_client.h" 31 #include "cc/test/fake_layer_tree_host_client.h"
33 #include "cc/test/fake_layer_tree_host_impl.h" 32 #include "cc/test/fake_layer_tree_host_impl.h"
34 #include "cc/test/fake_output_surface.h" 33 #include "cc/test/fake_output_surface.h"
35 #include "cc/test/layer_test_common.h" 34 #include "cc/test/layer_test_common.h"
36 #include "cc/test/layer_tree_test.h" 35 #include "cc/test/layer_tree_test.h"
37 #include "cc/test/test_task_graph_runner.h" 36 #include "cc/test/test_task_graph_runner.h"
38 #include "cc/test/test_web_graphics_context_3d.h" 37 #include "cc/test/test_web_graphics_context_3d.h"
(...skipping 1413 matching lines...) Expand 10 before | Expand all | Expand 10 after
1452 int callback_count_; 1451 int callback_count_;
1453 scoped_refptr<Layer> root_; 1452 scoped_refptr<Layer> root_;
1454 scoped_refptr<TextureLayer> layer_; 1453 scoped_refptr<TextureLayer> layer_;
1455 }; 1454 };
1456 1455
1457 SINGLE_AND_MULTI_THREAD_DIRECT_RENDERER_TEST_F( 1456 SINGLE_AND_MULTI_THREAD_DIRECT_RENDERER_TEST_F(
1458 TextureLayerWithMailboxImplThreadDeleted); 1457 TextureLayerWithMailboxImplThreadDeleted);
1459 1458
1460 } // namespace 1459 } // namespace
1461 } // namespace cc 1460 } // namespace cc
OLDNEW
« no previous file with comments | « cc/ipc/cc_param_traits.cc ('k') | cc/output/compositor_frame_ack.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698