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

Side by Side Diff: cc/trees/layer_tree_host_pixeltest_tiles.cc

Issue 2452483002: Move GpuMemoryBufferManager and SharedBitmapManager to CompositorFrameSink (Closed)
Patch Set: rebase Created 4 years, 1 month 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/trees/layer_tree_host_in_process.cc ('k') | cc/trees/layer_tree_host_unittest.cc » ('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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 <stddef.h> 5 #include <stddef.h>
6 6
7 #include "cc/layers/content_layer_client.h" 7 #include "cc/layers/content_layer_client.h"
8 #include "cc/layers/picture_layer.h" 8 #include "cc/layers/picture_layer.h"
9 #include "cc/output/copy_output_request.h" 9 #include "cc/output/copy_output_request.h"
10 #include "cc/playback/display_item_list.h" 10 #include "cc/playback/display_item_list.h"
11 #include "cc/playback/display_item_list_settings.h" 11 #include "cc/playback/display_item_list_settings.h"
12 #include "cc/playback/drawing_display_item.h" 12 #include "cc/playback/drawing_display_item.h"
13 #include "cc/test/layer_tree_pixel_test.h" 13 #include "cc/test/layer_tree_pixel_test.h"
14 #include "cc/test/test_gpu_memory_buffer_manager.h"
15 #include "third_party/skia/include/core/SkCanvas.h" 14 #include "third_party/skia/include/core/SkCanvas.h"
16 #include "third_party/skia/include/core/SkPictureRecorder.h" 15 #include "third_party/skia/include/core/SkPictureRecorder.h"
17 16
18 #if !defined(OS_ANDROID) 17 #if !defined(OS_ANDROID)
19 18
20 namespace cc { 19 namespace cc {
21 namespace { 20 namespace {
22 21
23 enum RasterMode { 22 enum RasterMode {
24 PARTIAL_ONE_COPY, 23 PARTIAL_ONE_COPY,
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 FullRaster_SingleThread_GpuRaster) { 233 FullRaster_SingleThread_GpuRaster) {
235 RunRasterPixelTest( 234 RunRasterPixelTest(
236 false, FULL_GPU, picture_layer_, 235 false, FULL_GPU, picture_layer_,
237 base::FilePath(FILE_PATH_LITERAL("blue_yellow_flipped.png"))); 236 base::FilePath(FILE_PATH_LITERAL("blue_yellow_flipped.png")));
238 } 237 }
239 238
240 } // namespace 239 } // namespace
241 } // namespace cc 240 } // namespace cc
242 241
243 #endif // !defined(OS_ANDROID) 242 #endif // !defined(OS_ANDROID)
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_host_in_process.cc ('k') | cc/trees/layer_tree_host_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698