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

Side by Side Diff: cc/surfaces/display.cc

Issue 1144693002: cc: Move files out of cc/resources/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: resources: android Created 5 years, 7 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/resources/zero_copy_tile_task_worker_pool.cc ('k') | cc/test/fake_content_layer_client.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 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 "cc/surfaces/display.h" 5 #include "cc/surfaces/display.h"
6 6
7 #include "base/thread_task_runner_handle.h" 7 #include "base/thread_task_runner_handle.h"
8 #include "base/trace_event/trace_event.h" 8 #include "base/trace_event/trace_event.h"
9 #include "cc/debug/benchmark_instrumentation.h" 9 #include "cc/debug/benchmark_instrumentation.h"
10 #include "cc/output/compositor_frame.h" 10 #include "cc/output/compositor_frame.h"
11 #include "cc/output/compositor_frame_ack.h" 11 #include "cc/output/compositor_frame_ack.h"
12 #include "cc/output/direct_renderer.h" 12 #include "cc/output/direct_renderer.h"
13 #include "cc/output/gl_renderer.h" 13 #include "cc/output/gl_renderer.h"
14 #include "cc/output/renderer_settings.h" 14 #include "cc/output/renderer_settings.h"
15 #include "cc/output/software_renderer.h" 15 #include "cc/output/software_renderer.h"
16 #include "cc/resources/texture_mailbox_deleter.h" 16 #include "cc/output/texture_mailbox_deleter.h"
17 #include "cc/surfaces/display_client.h" 17 #include "cc/surfaces/display_client.h"
18 #include "cc/surfaces/surface.h" 18 #include "cc/surfaces/surface.h"
19 #include "cc/surfaces/surface_aggregator.h" 19 #include "cc/surfaces/surface_aggregator.h"
20 #include "cc/surfaces/surface_manager.h" 20 #include "cc/surfaces/surface_manager.h"
21 #include "cc/trees/blocking_task_runner.h" 21 #include "cc/trees/blocking_task_runner.h"
22 22
23 namespace cc { 23 namespace cc {
24 24
25 Display::Display(DisplayClient* client, 25 Display::Display(DisplayClient* client,
26 SurfaceManager* manager, 26 SurfaceManager* manager,
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 251
252 int Display::GetMaxFramesPending() { 252 int Display::GetMaxFramesPending() {
253 int max_frames_pending = 253 int max_frames_pending =
254 output_surface_ ? output_surface_->capabilities().max_frames_pending : 0; 254 output_surface_ ? output_surface_->capabilities().max_frames_pending : 0;
255 if (max_frames_pending <= 0) 255 if (max_frames_pending <= 0)
256 max_frames_pending = OutputSurface::DEFAULT_MAX_FRAMES_PENDING; 256 max_frames_pending = OutputSurface::DEFAULT_MAX_FRAMES_PENDING;
257 return max_frames_pending; 257 return max_frames_pending;
258 } 258 }
259 259
260 } // namespace cc 260 } // namespace cc
OLDNEW
« no previous file with comments | « cc/resources/zero_copy_tile_task_worker_pool.cc ('k') | cc/test/fake_content_layer_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698